FB_HVACBlink

FB_HVACBlink 1:

Application

The function block delivers a flash sequence at the output bBlink that is dependent on the two adjustable times tTimeOn and tTimeOff.

VAR_INPUT

bEnable         :REAL;
tTimeOn         :TIME;
tTimeOff        :TIME;

bEnable: enable of the function block.

tTimeOn: switch-on time of the flash pulse, bBlink = TRUE.

tTimeOff: switch-off time of the flash pulse, bBlink = FALSE.

VAR_OUTPUT

bBlink          :BOOL;
tNextSwitching  :TIME;

bBlink: flash output

tNextSwitching: time until the next change of state of the output bBlink .

Behavior of the output value

FB_HVACBlink 2: