High
-S
peed
Input
and
Pulse
O
utput
Features
3--27
High-Speed Input and Pulse Output Features
DL105 PLC User Manual, 3rd Edition
Recall that V7633 is the HSIO Mode Select register. Refer to the diagram below. Use
BCD 30 in the lower byte to select Pulse Output Mode. Use BCD 00 or 20 in the upper
byte as required. Combine the two bytes into a data word “xx30”, for writing to
V7633.
0
15 14 13 12
Memory Location V7633
11
10
1
2
3
4
5
6
7
8
9
Bits
0
0
1
0
0
0
1
1
0
0
0
HSIO Mode Setup (BCD)
Miscellaneous Setup (BCD)
0
0
0
0
00 = Power Up in Previous Mode
20 = Power Up in Run Mode Always
30 = Pulse Output
2
0
0
3
0
Choose the most convenient method of programming V7633 from the following:
S
Include load and out instructions in your ladder program
S
Direct
SOFT’s memory editor
S
Use the Handheld Programmer D2--HPP
We recommend using the first method above so that the HSIO setup becomes an
integral part of your application program. An example program later in this section
shows how to to this.
The first location in the Profile Parameter Table stores two key pieces of information.
The upper four bits (12--15) select the type of profile required. The lower 12 bits
(0--11) select the Target Velocity.
0
15 14 13 12
Memory Location V2320 (default)
11
10
1
2
3
4
5
6
7
8
9
Bits
0
0
0
0
0
0
0
0
0
0
0
Target Velocity Value
Profile Select (BCD)
0
1
1
1
0 = Trapezoidal Profile, Absolute Position
8 = Trapezoidal Profile, Relative Position
Range = 4 to 700, representing
40 Hz to 7 kHz pulse rate
0
7
0
0
0
9 = Registration Profile, Relative Position
2 = Velocity Profile
The ladder program must program this location before initiating any of the three
profiles. The LD and OUT instruction will write all 16 bits, so be sure to fully specify
the full four-digit BCD value for the Position / Velocity Select Register each time.
The absolute and relative selection determines how the HSIO circuit will interpret
your specified target position. Absolute position targets are referenced to zero.
Relative position targets are referenced to the current position (previous target
position). You may choose whichever reference method that is most convenient for
your application.
Setup for Mode 30
Profile / Velocity
Select Register
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...