User manual

High-Speed Input and
Pulse Output Features
3--35
High-Speed Input and Pulse Output Features
DL105 PLC User Manual, 3 rd Edition
Start Profile
Profile / Target
Velocity
LD
K9100
Load the c onstant K9100 which is required to select
Registration Profile, relative positioning, and a target
velocity of 1 kHz (9xxx times 10 pps).
OUT
V2320
Output this constant to V2320, the location of the Profile
Select / Starting Velocity setup register.
Target Position
SP0
LDD
K5000
Load the c onstant K5000 which selects a target
position of 5000 pulses. Don’t forget to use double
word size (8-digit BCD position value).
OUTD
V2321
Output this constant to V2321 and V2322, the location of
the Target Position double-word register.
OUT
V2323
Output this constant to V2323, the location of the starting
velocity parameter register.
LD
K4
Load the constant K4 which is required to select a
starting velocity of 40 Hz (4 x 10 pps).
Starting Velocity
OUT
V2324
Output this constant to V2324, the location of the
acceleration parameter register.
LD
K20
Load the constant K20 which is required to select an
acceleration time of 2 seconds (20 x 100 mS).
Acceleration
OUT
V2325
Output this constant to V2325, the location of the
deceleration parameter register.
LD
K40
Load the constant K40 which is required to select a
deceleration time of 4 seconds (40 x 100 mS).
Deceleration
X3
SET
We use a spare filtered input to allow the operator
to start the profile. X3 is a momentary Start switch.
When the operator turns X3 ON, logical output Y0
starts the profile.
Y0
X0
OUT
X0 is the logical output of the HSIO to indicate the
move is complete. We use Y2 to energize an
annunciator that the profile has finished. This won’t
occur until after the interrupt from X2 has occurred
and the profile is complete.
Y2
Profile Complete
PD
C0
C0
RST
Y0
The profile will begin when the start input (X3) is given. Then the motion begins an
indefinite move, which lasts until an external interrupt on X2 occurs. Then the motion
continues on for 5000 more pulses before stopping.
Program
Example Cont’d