FB_HVACTimeCon

FB_HVACTimeCon 1:

This function block converts a TIME variable tTime into the three UDINT variables udiSec, udiMin and udiHour, which indicate the seconds, minutes and hours. This conversion is reversible, so that a TIME variable can be formed from seconds, minutes and hours.

VAR_IN_OUT

udiSec      : UDINT;
udiMin      : UDINT;
udiHour     : UDINT;
tTime       : TIME;

udiSec: Variable that displays the seconds (0..59).

udiMin: Variable that displays the minutes (0..59).

udiHour: Variable that displays the hours (0..1191).

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