Interrupt Control Instructions - Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

Interrupt Control Instructions

Flags
Example
00000
DM 0000
DM 0001
DM 0002
DM 0003
DM 0004
DM 0005
DM 0006
DM 0007
7-29 Interrupt Control Instructions
7-29-1 INTERRUPT CONTROL – INT(89)
yields a 4-digit hexadecimal value which is converted to its 8-digit ASCII equiva-
lent, as shown below.
Byte frame checksum value
4A
D
3 4 4 1
Indirectly addressed DM word is non-existent. (Content of *DM word is
ER:
not BCD, or the DM area boundary has been exceeded.)
The number of items is not 001 to 999 BCD.
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(––)
#0008
DM 0000
DM 0010
FCS
0001
calculation
0002
0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
0003
0004
0005
0006
0007
DM 0010
0008
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
CPM1/CPM1A
CPM2A/CPM2C
SRM1(-V2)
Ladder Symbols
INT(89)
C1
000
C2
D
Address Instruction
00000
LD
00001
@FCS(––)
0
0
0
3 0 3 0
DM 0011
3 0 3 8
Reference
See 2-3 CPM1/CPM1A Interrupt Functions.
See 2-1 CPM2A/CPM2C Interrupt Functions.
See 2-4 SRM1 Interrupt Functions.
@INT(89)
C1
000
C2
Section
Word frame checksum value
F10B
4 6 3 1
D+1
3 0 4 2
Operands
00000
#
0008
DM
0000
DM
0010
8
ASCII
code
conversion
Operand Data Areas
C1: Control code
# (000 to 004, 100, or 200)
000: No function
000
C2: Control data
IR, SR, AR, DM, HR, TC, LR, #
7-29
501

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?

Questions and answers

Table of Contents