F_BA_To100msTime

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