F_BA_TimeStruct_TO_DateTime

The function F_BA_TIMESTRUCT_TO_DateTime of return type ST_BA_DateTime converts a time value tValue of type TIMESTRUCT into a time value of type ST_BA_DateTime.
Syntax
FUNCTION F_BA_TIMESTRUCT_TO_DateTime : ST_BA_DateTime
VAR_INPUT
tValue : TIMESTRUCT;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
tValue | Time input value to be converted. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT 3.1 4024.35 | Tc3_BA2_Common from V2.1.20.0 |