391
Special Instructions
Section 5-28
Flags
ER:
T is not BCD.
C is not a constant or is not BCD 00 to 99.
Indirectly addressed EM/DM word is non-existent.
(Content of
*
EM/
*
DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
CY:
ON when the time between the execution of FPD(––) and the execu-
tion of a diagnostic output exceeds T.
5-28-8 INTERRUPT CONTROL – INT(89)
Limitations
DM 6644 to DM 6655 cannot be used for D when CC=002.
Description
When the execution condition is OFF, INT(89) is not executed. When the exe-
cution condition is ON, INT(89) is used to control interrupts and performs one
of the six functions shown in the following table depending on the value of CC.
Note
Refer to
1-4 Interrupt Functions
for more details.
These six functions are described in more detail below. Refer to page 44 for
more information on these functions.
Mask/Unmask I/O
Interrupts (CC=000)
This function is used to mask and unmask I/O interrupt inputs 00000 to
00003. Masked inputs are recorded, but ignored. When an input is masked,
the interrupt program for it will be run as soon as the bit is unmasked (unless
it is cleared beforehand by executing INT(89) with CC=001).
HR 10
0000
HR 11
0000
HR 12
0000
HR 13
0000
HR 14
0000
HR 15
4142
HR 16
430D
HR 17
0000
HR 18
0000
HR 10
C000
Indicates information, normally closed condition
HR 11
2031
"1"
HR 12
3030
"00"
HR 13
3032
"02"
HR 14
2D31
"
−
1"
HR 15
4142
"AB"
HR 16
430D
"C", and CR code
HR 17
0000
The last two words are ignored.
HR 18
0000
(Displayed as spaces.)
Ladder Symbols
INT(89)
CC
000
D
@INT(89)
CC
000
D
CC
:
Control code
# (000 to 003, 100, or 200)
000
:
No function
# (000)
Operand Data Areas
D
:
Control data
IR, SR, AR, DM, EM, HR, TIM/CNT, LR, TR, #
INT(89) function
CC
Mask/unmask input interrupts
000
Clear input interrupts
001
Read current mask status
002
Renew counter SV
003
Mask all interrupts
100
Unmask all interrupts
200
Содержание 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: ......