Allen-Bradley MicroLogix 1200 Reference Manual page 123

Hide thumbs Also See for MicroLogix 1200:
Table of Contents

Advertisement

Error
Non-User
Recoverable
Code
Fault
Fault
-2
Yes
No
-1
Yes
No
0
1
No
No
2
No
No
3
Yes
Yes
4
Reserved
5
Yes
Yes
PWM Accel/Decel Delay (ADD)
Element Description
ADD - Accel/Decel Delay PWM:0.ADD word (INT)
PWM ADD (Accel/Decel Delay) defines the amount of time in 10
millisecond intervals to ramp from zero to the specified frequency or
duration. Also specifies the time to ramp down to zero.
The PWM ADD value is loaded and activated immediately (whenever the
PWM instruction is scanned on a true rung of logic). This allows multiple
steps or stages of acceleration or deceleration to occur.
PWM Error Code (ER)
Element Description
ER - PWM Error Codes
PWM ER (Error Codes) detected by the PWM sub-system are displayed in
this register. The table identifies known errors.
Instruction
Error
Description
Errors
Name
No
Overlap
An output overlap is detected. Multiple functions are assigned to the same
Error
physical output. This is a configuration error. The controller faults and the
User Fault Routine does not execute. Example: PWM0 and PWM1 are both
attempting to use a single output.
No
Output
An invalid output has been specified. Output 2 and output 3 are the only valid
Error
choices. This is a configuration error. The controller faults and the User Fault
Routine does not execute.
Normal
Normal (0 = no error present)
Yes
Hardstop
This error is generated whenever a hardstop is detected. This error does not
Error
fault the controller. It is automatically cleared when the hardstop condition is
removed.
Yes
Output
The configured PWM output (2 or 3) is currently forced. The forced condition
Forced
must be removed for the PWM to operate. This error does not fault the
Error
controller. It is automatically cleared when the force condition is removed.
No
Frequency
The frequency value is less than 0 or greater than 20,000. This error faults
Error
the controller. It can be cleared by logic within the User Fault Routine.
No
Duty Cycle
The PWM duty cycle is either less than zero or greater than 1000.
Error
This error faults the controller. It can be cleared by logic within the User Fault
Routine.
Address
Data Format Range
Address
Data Format
PWM:0.ER
word (INT)
Using High-Speed Outputs
Type
User Program
Access
0 to 32,767 control read/write
Range
Type
User Program
Access
-2 to 5
status read only
Publication 1762-RM001C-EN-P
6-25

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Micrologix 1500

Table of Contents