Publication 1766-RM001A-EN-P - October 2008
Using High-Speed Outputs
161
PWMX Output (OUT)
The PWMX OUT (Output) variable defines the physical output that the
PWM instruction controls. This variable is set within the function file
folder when the control program is written and cannot be set by the user
program. The outputs are defined as O0:0/2, O0:0/3 or O0:0/4 as listed
below:
•
O0:0.0/2: PWM modulates output 2 of the embedded outputs.
•
O0:0.0/3: PWM modulates output 3 of the embedded outputs.
•
O0:0.0/4: PWM modulates output 4 of the embedded outputs.
PWMX Decelerating Status (DS)
The PWMX DS (Decel) bit is controlled by the PWM sub-system. It can be
used by an input instruction on any rung within the control program. The
DS bit operates as follows:
•
Set (1) - Whenever a PWM output is within the deceleration phase
of the output profile.
•
Cleared (0) - Whenever a PWM output is not within the deceleration
phase of the output profile.
PWMX Run Status (RS)
The PWMX RS (Run Status) bit is controlled by the PWM sub-system. It
can be used by an input instruction on any rung within the control
program.
Element
Description
Address
Data
Format
Range
Type
User Program Access
OUT - PWM Output
PWMX:0.OU
T
word (INT)
2…4
status
read only
Element Description
Address
Data Format Range Type
User Program
Access
DS - Decelerating Status
PWM:0/DS bit
0 or 1
status
read only
Element Description Address
Data Format Range
Type
User Program
Access
RS - PWM Run Status
PWMX:0/RS bit
0 or 1
status read only
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive