Operating Hours (T32)
Operating hours counter
FB(BSET:= BOOL1, ENABLED:= BOOL2, IN:= BOOL3,TINIT:= TIME1, OUT=> TIME2, TSET=>DT1);
The block measures total activity time of a binary input, or cumulated operating time of the connected aggregate (pump, fan, boiler).
||Rising edge sets the counter to TINIT
||This input must be TRUE for the block to operate
||“Starting” value after reset, usually 0
||Total time the IN input was in TRUE
||Date and time of last reset (rising edge on BSET) as UTC
The block acts as a stopwatch. Time measuring start is activated by bringing the IN input to True, and stopped by bringing IN to False. The default state is set by a rising edge at bset, while the block writes the TINIT value to the OUT output rather than the cumulated time. This becomes the starting value for further cumulation. TSET records the rising edge time.
The variable PUMP1FB gives the pump operation signal. The cumulated time is recorded in T32 and of the total operation time exceeds PUMP_SERVICE_TIME, an alarm to call for service inspection is generated.