High
-S
peed
Input
and
Pulse
O
utput
Features
3--44
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 40 in the lower byte to select High-Speed Interrupt Mode. Use BCD 00 or 20 in
the upper byte as required. Combine the two bytes into a data word “xx40”, 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
0
0
1
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
40 = High-Speed Interrupt
2
0
0
4
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.
Refer to the drawing below. The source of the interrupt may be external (X0), or the
HSIO timer function. The setup parameter in V7634 serves a dual purpose:,
S
It selects between the two interrupt sources, external (X0) or an internal
timer.
S
In the case of the timer interrupt, it programs the interrupt timebase
between 5 and 999 mS.
The resulting interrupt uses label INT 0 in the ladder program. Be sure to include the
Enable Interrupt (ENI) instruction at the beginning of your program. Otherwise, the
interrupt routine will not be executed.
X0, External Interrupt
CPU Scan
Interrupt source /
Time select
V7634 xxx4
Input
Update
Ladder
Program
Execution
Input
Update
current
instruction
INT
Interrupt
Routine
Program
IRT
TIMER
Setup for Mode 40
Interrupts and the
Ladder Program
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...