![background image](http://html1.mh-extra.com/html/omron/srm1-programing-02-2001/srm1-programing-02-2001_programming-manual_742414057.webp)
2-1
Section
CPM2A/CPM2C Interrupt Functions
36
Operation Example
In this example, an interrupt subroutine is executed by turning input 00003 from
OFF to ON. The interrupt subroutine adds 1 to DM 0000.
The following diagram shows input wiring in the CPM2A.
Input device
The following diagram shows input wiring in the CPM2C.
Input
device
Input
device
Input terminals
Input connector
(See note 2.)
(Example for
Fujitsu-compatible
connector.)
PC Setup
DM 6628
Input 00003 is used as an interrupt input.
(Inputs 00004 to 00006 are used as ordinary inputs.)
0
0
0
1
15
0
Explanation
Wiring