F_BA_ToTime

The function F_BA_ToTIME of return type TIME converts a time value stTime of type ST_BA_Time into a time value of type TIME.
Entries of the time input value stTime, which are unspecified, i.e. entries with the value 16#FF, are evaluated in the calculation with 0.
Syntax
FUNCTION F_BA_ToTIME : TIME
VAR_INPUT
stTime : ST_BA_Time;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
stTime |
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 |