FB_HVACTimeConSec

This function block converts a TIME variable tTime into a UDINT variable udiSec, which indicates the seconds. This conversion is reversible, so that a TIME variable can be formed from seconds.
VAR_IN_OUT
udiSec : UDINT;
tTime : TIME;
udiSec: Variable that displays the seconds (0..4294967)
tTime: Variable of the type Time.
Requirements
Development environment | required library | required function |
---|---|---|
TwinCAT 3.1 build 4022.16 or higher | Tc2_HVAC V3.3.1.0 | TF8000 | TC3 HVAC V1.0.0.0 |