FB_BACnet_PWM

FB_BACnet_PWM 1:

Application

The function block FB_BACnet_PWM can be used to generate a pulsating output signal with defined switch-on and switch-off duration in percent of the cycle duration.

VAR_INPUT

bEnable        : BOOL;
fPercent       : REAL;
tPeriod        : TIME;

bEnable:

fPercent: 0...100%

tPeriod: PWM period time

VAR_OUPUT

bEnablePV      : BOOL;
bPresentValue      : BOOL;

bEnablePV:

bPresentValue: