7-29
Section
Interrupt Control Instructions
501
yields a 4-digit hexadecimal value which is converted to its 8-digit ASCII equiva-
lent, as shown below.
3 4 4 1
Byte frame checksum value
D
4A
4 6 3 1
Word frame checksum value
D
F10B
3 0 4 2
D+1
Flags
ER:
Indirectly addressed DM word is non-existent. (Content of
*
DM word is
not BCD, or the DM area boundary has been exceeded.)
The number of items is not 001 to 999 BCD.
Example
When IR 00000 is ON in the following example, the frame checksum (0008) is
calculated for the 8 words from DM 0000 to DM 0007 and the ASCII equivalent
(30 30 30 38) is written to DM 0010 and DM 0011.
@FCS(––)
DM 0000
#0008
00000
DM 0010
Address
Instruction
Operands
00000
LD
00000
00001
@FCS(––)
#
0008
DM
0000
DM
0010
DM 0000
0001
DM 0001
0002
DM 0002
0003
DM 0003
0004
DM 0004
0005
DM 0005
0006
DM 0006
0007
DM 0007
0008
0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
0
8
0
0
FCS
calculation
3 0 3 8
DM 0011
3 0 3 0
DM 0010
ASCII code
conversion
7-29 Interrupt Control Instructions
This section describes the operation of INT(89) and STIM(69). For general
information on interrupt processing in CPM1/CPM1A, CPM2A/CPM2C, or
SRM1(-V2) PCs refer to the section shown in the following table.
PC
Reference
CPM1/CPM1A
See
2-3 CPM1/CPM1A Interrupt Functions
.
CPM2A/CPM2C
See
2-1 CPM2A/CPM2C Interrupt Functions
.
SRM1(-V2)
See
2-4 SRM1 Interrupt Functions
.
7-29-1 INTERRUPT CONTROL – INT(89)
C1
: Control code
# (000 to 004, 100, or 200)
000
: No function
000
Ladder Symbols
Operand Data Areas
C2
: Control data
IR, SR, AR, DM, HR, TC, LR, #
INT(89)
C1
000
C2
@INT(89)
C1
000
C2