High-Speed Input and Pulse Output Features
3–36
High-speed Input and Pulse Output Features
Start Profile
Profile / Target
Velocity
LD
K9100
Load the constant 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 constant 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 an 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
SP104
OUT
SP104 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
Summary of Contents for DL05
Page 1: ...DL05 User Manual Automationdirect com ...
Page 2: ...DL05 User Manual Automationdirect com ...
Page 436: ...1B DL05 Error Codes In This Appendix Ċ Error Code Table ...
Page 443: ...1C Instruction Execution Times In This Appendix Ċ Introduction Ċ Instruction Execution Times ...
Page 459: ...1D Special Relays In This Appendix Ċ DL05 PLC Special Relays ...
Page 464: ...1E DL05 Product Weights In This Appendix Ċ Product Weight Table ...