FB_HVACTimeConSecMs

This function block converts a TIME variable tTime into two UDINT variables, udiSec and udiMs, which indicate the seconds and milliseconds respectively. The conversion is also reversible, so that a TIME variable can be formed from the seconds and milliseconds.
VAR_IN_OUT
udiMs : UDINT;
udiSec : UDINT;
tTime : TIME;
udiMs: Variable that displays the milliseconds (0..999).
udiSec: Variable that displays the seconds (0..4294966).
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 |