26
Interrupt Functions
Section 1-4
Count Input Signal (Counter Mode) Wiring Example
PC Setup Parameters
Before executing the program, make the following settings in the PC Setup in
PROGRAM mode.
Interrupt Input Settings (DM 6628)
If these settings are not made, interrupts cannot be used in the program.
Input Refresh Word Settings (DM 6630 to DM 6633)
Make these settings when it is necessary to refresh inputs for input interrupt
or counter mode.
Example
If DM 6630 is set to 0100, IR 000 will be refreshed when a signal is received
for interrupt 0.
Note
If input refreshing is not used, input signal status within the interrupt routine
will not be reliable. This includes even the status of the interrupt input bit that
activated the interrupt. For example, IR 00000 would not be ON in interrupt
Terminal
Corresponding bit address
Decrementing mode
B0 (IN0)
IR 00000
Pulse inputs (4 inputs max.)
A0 (IN1)
IR 00001
B1 (IN2)
IR 00002
A1 (IN3)
IR 00003
Count input signal
CPU Unit
Input interrupt 3 setting
Input interrupt 2 setting
Input interrupt 1 setting
Input interrupt 0 setting
0: Normal input
1: Interrupt input
Default:
All normal inputs.
15
0
DM 6628
Bit
Number of words (2-digit BCD) 00 to 16
Beginning word (2-digit BCD) 00 to 15
(IR 000 to IR 015)
Default:
No input refresh
15
0
Bit
DM 6630: Interrupt 0
DM 6631: Interrupt 1
DM 6632: Interrupt 2
DM 6633: Interrupt 3
DM 6630 to DM 6633
Содержание SYSMAC CQM1H Series
Страница 3: ...iv...
Страница 5: ...vi...
Страница 9: ......
Страница 11: ......
Страница 15: ...xvi...
Страница 87: ...62 Calculating with Signed Binary Data Section 1 7...
Страница 169: ...144 Serial Communications Board Section 2 6...
Страница 537: ......
Страница 565: ......
Страница 569: ......
Страница 573: ......
Страница 577: ......