High
-S
peed
Input
and
Pulse
O
utput
Features
3--40
High-speed Input and Pulse Output Features
DL105 PLC User Manual, 3rd Edition
Profile / Target
Velocity
LD
K2000
Load the constant K2000 which is required to select
Velocity Profile. This data word contains no velocity
information in the case of velocity mode.
OUT
V2320
Output this constant to V2320, the location of the Profile
Select setup register.
Select Direction
SP0
LDD
K80000000
Load the constant K80000000 which selects CCW
direction for Velocity Profiles. 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 velocity
parameter register. After the program is running, we can
write here again, using discrete input switches.
LD
K10
Load the constant K10 which is required to select an
initial velocity of 100 pps (uses x10 multiplier).
Set Velocity
X1
OUT
We use a spare filtered input to allow the operator
to start the profile. When the operator turns X1 ON
and leaves it on, logical output Y0 starts the profile.
Y0
Start Profile
LD
K50
OUT
V2323
X2
Output this constant to V2323, the location of the velocity
parameter register. The speed will change immediately.
Load the constant K50 which is required to select a
velocity of 500 pps when the operator closes X2.
Go Slow
LD
K200
OUT
V2323
X3
Output this constant to V2323, the location of the velocity
parameter register. The speed will change immediately.
Load the constant K200 which is required to select a
velocity of 2000 pps when the operator closes X3.
Go Moderately
LD
K600
OUT
V2323
X4
Output this constant to V2323, the location of the velocity
parameter register. The speed will change immediately.
Load the constant K600 which is required to select a
velocity of 6000 pps when the operator closes X4.
Go Fast
Program
Example Cont’d
Summary of Contents for DL105
Page 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Page 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Page 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Page 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Page 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...