Publication 1762-RM001C-EN-P
Using High-Speed Outputs 6-23
PWM Normal Operation (NS)
The PWM NS (Normal Operation) bit is controlled by the PWM
sub-system. It can be used by an input instruction on any rung within the
control program to detect when the PWM is in its normal state. A normal
state is defined as ACCEL, RUN, or DECEL with no PWM errors.
•
Set (1) - Whenever a PWM instruction is in its normal state.
•
Cleared (0) - Whenever a PWM instruction is not in its normal state.
PWM Enable Hard Stop (EH)
The PWM EH (Enable Hard Stop) bit stops the PWM sub-system
immediately. A PWM hard stop generates a PWM sub-system error.
•
Set (1) - Instructs the PWM sub-system to stop its output modulation
immediately (output off = 0).
•
Cleared (0) - Normal operation.
PWM Enable Status (ES)
The PWM ES (Enable Status) is controlled by the PWM sub-system. When
the rung preceding the PWM instruction is solved true, the PWM
instruction is enabled, and the enable status bit is set. When the rung
preceding the PWM instruction transitions to a false state, the enable
status bit is reset (0) immediately.
•
Set (1) - PWM is enabled.
•
Cleared (0) - PWM has completed or the rung preceding the PWM is
false.
Element Description Address Data
Format
Range Type User Program
Access
NS - PWM Normal Operation PWM:0/NS bit 0 or 1 status read only
Element Description Address Data
Format
Range Type User Program
Access
EH - PWM Enable Hard Stop PWM:0/EH bit 0 or 1 control read/write
Element Description Address Data Format Range Type User Program
Access
ES - PWM Enable Status PWM:0/ES bit 0 or 1 status read only