EasyManua.ls Logo

Omron CPM1

Omron CPM1
541 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
68
CPM1/CPM1A Interrupt Functions Section 1-6
4. An interrupt program cannot be written within a subroutine program. Do not
write an interrupt program between a SUBROUTINE DEFINE instruction
(SBN(92)) and a RETURN instruction (RET(93)).
Inputs used as interrupts cannot be used as regular inputs.
High-speed Counter
Instructions and
Interrupts
The following instructions cannot be executed in an interrupt subroutine when
an instruction that controls high-speed counters is being executed in the main
program:
INI(61), PRV(62), or CTBL(63)
The following methods can be used to circumvent this limitation:
Method 1
All interrupt processing can be masked while the instruction is being exe-
cuted.
Method 2
Execute the instruction again in the main program.
1,2,3... 1. This is the program section from the main program:
@INT(89)
000
100
000
INI(61)
000
000
000
@INT(89)
000
200
000
@PRV(62)
002
000
DM 0000
CTBL(63)
000
000
DM 0000
RSET LR 0000
LR 0000

Table of Contents

Other manuals for Omron CPM1

Related product manuals