![background image](http://html1.mh-extra.com/html/omron/srm1-programing-02-2001/srm1-programing-02-2001_programming-manual_742414099.webp)
2-3
Section
CPM1/CPM1A Interrupt Functions
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.
@INT(89)
000
100
000
INI(61)
000
000
000
@INT(89)
000
200
000
Method 2
Execute the instruction again in the main program.
1, 2, 3...
1. This is the program section from the main program:
@PRV(62)
002
000
DM 0000
CTBL(63)
000
000
DM 0000
RSET LR 0000
LR 0000
2. This is the program section from the interrupt subroutine:
SBN(92) 000
@CTBL(63)
000
000
DM 0000
25313
25503
LR
0000
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.
Содержание SRM1 - PROGRAMING 02-2001
Страница 1: ...Programmable Controllers Cat No W353 E1 06 SYSMAC CPM1 CPM1A CPM2A CPM2C SRM1 V2 PROGRAMMING MANUAL ...
Страница 2: ...CPM1 CPM1A CPM2A CPM2C SRM1 V2 Programmable Controllers Programming Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 9: ...x ...
Страница 15: ...xvi ...