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. |