FB_BA_ExtTiSt
Time structure resolution
Functional description
The function block FB_BA_ExtTiSt resolves a time structure into the different components, so that it can be used for time conditions, for example.
Inputs/outputs
VAR_INPUT
stTi : TIMESTRUCT;
stTi: Input: Time structure
VAR_OUTPUT
wYear : WORD;
wMonth : WORD;
wDay : WORD;
wHour : WORD;
wMinute : WORD;
wSecond : WORD;
wMilliseconds : WORD;
nYear: year (1970...2106)
wMonth: month (1..12)
wDay: day of the month (1…31)
wHour: hour (0..23)
wMinute: minutes (0..59)
wSecond ys: seconds (0..59)
wMillisecond: milliseconds (0..999)
Requirements
Development environment | Target system | required library | required supplement |
---|---|---|---|
TwinCAT 2.11 R3/x64 | PC/CX | TcBA library from V1.0.0 | TS8040 | TwinCAT Building Automation from V1.0.0 |