This table describes the input pins of the FB_PWM function block:
Output |
Data Type |
Description |
---|---|---|
q_xEn |
BOOL |
TRUE if function block is enabled. |
q_xBusy |
BOOL |
TRUE if function block is enabled and no detected error. |
q_xPstv |
BOOL |
PWM output is positive if PWM input >0. |
q_xNgtv |
BOOL |
PWM output is negative if PWM Input <0. |
q_xErr |
BOOL |
Detected error |
q_uiErrId |
UINT |
0 = No detected error 1 = Invalid parameter i_ tCyclTime = 0 2 = Invalid parameter i_ tPwmPeriod <= i_tCyclTime Range: 0...2 |