Publication 1766-RM001A-EN-P - October 2008
158 Using High-Speed Outputs
PWM - Pulse Width
Modulation
Instruction Type: output
4No Yes No Accel/
Decel
Error
The accelerate/decelerate parameters (ADP) are:
•less than zero
•greater than half the total output pulses to be generated (TOP)
•Accel/Decel exceeds limit (See page 152.)
This error faults the controller. It can be cleared by logic within the User
Fault Routine.
5 No No Yes Jog Error PTO is in the idle state and two or more of the following are set:
•Enable (EN) bit set
•Jog Pulse (JP) bit set
•Jog Continuous (JC) bit set
This error does not fault the controller. It is automatically cleared when the
error condition is removed.
6 No Yes No Jog
Frequenc
y Error
The jog frequency (JF) value is less than 0 or greater than 100,000. This
error faults the controller. It can be cleared by logic within the User Fault
Routine.
7 No Yes No Length
Error
The total output pulses to be generated (TOP) is less than zero. This error
faults the controller. It can be cleared by logic within the User Fault Routine.
Pulse Train Output Error Codes
Error
Code
Non-Use
r Fault
Recoverabl
e Fault
Instructio
n Errors
Error
Name
Description
PWM
Pulse Width Modulation
PWM Number 1
PWM
IMPORTANT
The PWM function can only be used with the controller’s embedded I/O. It
cannot be used with expansion I/O modules.
IMPORTANT
The PWM instruction should only be used with MicroLogix 1400 BXB or
BXBA unit. Relay outputs are not capable of performing very high-speed
operations.
Execution Time for the PWM Instruction
Controller When Rung Is:
True False
MicroLogix 1400 13.2160 µs 7.1710 µs
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive