FB_HVACTimeConSec

FB_HVACTimeConSec 1:

Application

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

Application example

Download

Required library

tchvac.zip

TcHVAC.lib