Publication 1766-RM001A-EN-P - October 2008
152
Using High-Speed Outputs
The choice of selecting a common profile or separate profiles must be
made at the time of programming. This cannot be changed once the
program is downloaded into the controller. The selection of the ramp type
must be made prior to going to run. The acceleration and deceleration
counts must be entered before the PTO is enabled. If the four long
elements are not properly identified, the controller will return a -3 error in
the PTOX function file when going to run.
PTOX Accel / Decel Pulses (ADP) (ADI=0) or File:Elem (ADI=1)
The PTOX ADP (Accel/Decel Pulses) defines how many of the total
pulses (TOP variable) will be applied to each of the ACCEL and DECEL
components. The ADP will determine the acceleration and deceleration
rate from 0 to the PTOX Output Frequency (OF). The PTOX Output
Frequency (OF) defines the operating frequency in pulses/second during
the run portion of the profile.
In the example below (when ADI=0),
•
TOP (total output pulses) = 12,000
•
ADP (accelerate/decelerate pulses)= 6,000 (This is the maximum
ADP value that may be entered without causing a fault. The run
portion will equal 0.)
Sub-Element Description
Address
Data Format
Range
Type
User Program Access
ADP - Accel/Decel Pulses
PTOX:0.ADP long word (32-bit INT)
0…1,073,741,824
(ADI=0)
0…2,147,483,647
(ADI=1)
control
read/write
TIP
When entering the ADP parameters, the PTO will generate an Accel/Decel
Error if one of the following conditions occur:
•
The PTOX ADP for accel and/or decel is negative.
•
The total pulses for the acceleration and deceleration phases is
greater than the total output pulses to be generated (TOP).
Acceleration and deceleration values can either be identical (ADI = 0), or a
unique value for each (ADI = 1).
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive