Publication 1766-RM001A-EN-P - October 2008
164 Using High-Speed Outputs
PWMX Enable Hard Stop (EH)
The PWMX 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.
PWMX Enable Status (ES)
The PWMX 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.
PWMX Output Frequency (OF)
The PWMX OF (Output Frequency) variable defines the frequency of the
PWM function. This frequency can be changed at any time. In the
MicroLogix 1400 controller, the data less than zero or greater than 40,000
generates a PWM error.
Element Description Address Data
Format
Range Type User Program
Access
EH - PWM Enable Hard Stop PWMX:0/EH bit 0 or 1 control read/write
Element Description Address Data Format Range Type User Program
Access
ES - PWM Enable Status PWMX:0/ES bit 0 or 1 status read only
Element Description Address Data Format Range Type User Program Access
OF - PWM Output Frequency PWMX:0.OF long word
(32-bit INT)
0…40,000 control read/write
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive