FB_HVACSystemTaskInfo
The function block determines system variables of the task with a resolution of 1 ms, in which it is currently called. If the current cycle time is less than 1 ms, the set task cycle time tTaskCycleTime is output on the output variable tCycleTime.
Notice | |
The tTaskCycleTime of the PLC program must not be longer than 100 ms, as otherwise the digital outputs will be deactivated. |
VAR_OUTPUT
bReady : BOOL;
tTaskCycleTime : TIME;
tCycleTime : TIME;
usiSystemTask : USINT;
bReady: the variable is TRUE if the system information has been read out.
tTaskCycleTime: set task cycle time.
tCycleTime: cycle time required for the last cycle.
usiSystemTask: task index of the task.