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

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

Advertisement

CPM2A/CPM2C Interrupt Functions
PC Setup
Ladder Diagram
Programming
With a CPM2C, wire to the input terminals as shown in the following illustration.
Input terminals
Note
1. Refer to the operation manual for your CPU Unit for information on wiring.
2. Input terminal and pin numbers depend on the model. Refer to the CPM2C
Operation Manual (W356) for details.
The following table shows the settings in the PC Setup area related to interrupt
input usage.
Word
Bits
DM 6628
00 to 03
04 to 07
08 to 11
12 to 15
Note *Input points 00005 and 00006 do not exist in CPM2C CPU Units with only 10 I/O
points and in CPM2C-S CPU Units.
The settings will go into effect when the mode is changed (from PROGRAM to
MONITOR/RUN) or when the power supply is turned ON to the CPM2A/
CPM2C.
The following table shows the instruction operations related to interrupt input
control.
Instruction
(@)INT(89)
Mask/unmask interrupt
inputs
Clear interrupt inputs
Read current mask
status
Mask all interrupts
Unmask all interrupts
Input connector
(Example for
Fujitsu-compatible
connector.)
00004
00003
Function
0: Normal input
Interrupt setting for
input 00003
1: Interrupt input
1: Interrupt input
Interrupt setting for
(interrupt input mode or
input 00004
counter mode)
counter mode)
Interrupt setting for
2: Quick-response input
input 00005*
Interrupt setting for
input 00006*
Control
Prohibits or permits specified interrupts.
Clears the cause of a prohibited interrupt
input.
Reads the permitted/prohibited status of
an interrupt input.
Prohibits all interrupts, including interrupt
inputs, interval timer interrupts, high-speed
counters, etc.
Permits all interrupts, including interrupt
inputs, interval timer interrupts, high-speed
counters, etc.
Section
(See note 2.)
00006
00005
00004
00003
Setting
1
Operation
2-1
33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents