FB_BA_ExtTiSt
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.
VAR_OUTPUT
VAR_OUTPUT
nYear : WORD;
nMonth : WORD;
nDayOfWeek : WORD;
nDay : WORD;
nHour : WORD;
nMinute : WORD;
nSecond : WORD;
nMilliseconds : WORD;
END_VAR
Name | Type | Description |
---|---|---|
nYear | WORD | The year (1970...2106). |
nMonth | WORD | The month (1...12). |
nDayOfWeek | WORD | The day of the week (0 (Sun)...0 (Sat)). |
nDay | WORD | The day of the month (1...31). |
nHour | WORD | The hour (0...23). |
nMinute | WORD | The minute (0...59). |
nSecond | WORD | The second (0...59). |
nMilliseconds | WORD | The millisecond (0...999). |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT from v3.1.4024.22 | Tc3_BA2 from v5.2.5.0 |