Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 99

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

Advertisement

CPM1/CPM1A Interrupt Functions
1, 2, 3...
78
The following methods can be used to circumvent this limitation:
Method 1
All interrupt processing can be masked while the instruction is being executed.
Method 2
Execute the instruction again in the main program.
1. This is the program section from the main program:
2. This is the program section from the interrupt subroutine:
Note
1. Define interrupt routines at the end of the main program with SBN(92) and
RET(93) instructions, just like regular subroutines.
2. When defining an interrupt routine, a "SBS UNDEFD" error will occur during
the program check operation, but the program will be executed normally.
LR 0000
25313
25503
Section
@INT(89)
100
000
000
INI(61)
000
000
000
@INT(89)
200
000
000
@PRV(62)
000
002
DM 0000
CTBL(63)
000
000
DM 0000
RSET LR 0000
SBN(92) 000
@CTBL(63)
000
000
DM 0000
LR
0000
2-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents