Manual Cpm1a
Manual Cpm1a
Basic Configuration
Peripheral port Connecting cable
CPM1-CIF01/CIF11 Serial
Communications Adapter
AC and DC power supply models: Expansion I/O Unit Expansion I/O Unit Expansion I/O Unit
30-point CPU and 40-point CPU
only may be expanded up to a
maximum of 3 Units.
1
CPM1A CPM1A
Ordering Information
J CPU UNITS
Number of Inputs Outputs Power Part number
I/O terminals supply Relay output Transistor output
Sink type Source type
10 6 DC points 4 points AC CPM1A-10CDR-A CPM1A-10CDT-A CPM1A-10CDT1-A
DC CPM1A-10CDR-D CPM1A-10CDT-D CPM1A-10CDT1-D
20 12 DC points 8 points AC CPM1A-20CDR-A CPM1A-20CDT-A CPM1A-20CDT1-A
DC CPM1A-20CDR-D CPM1A-20CDT-D CPM1A-20CDT1-D
30 18 DC points 12 points AC CPM1A-30CDR-A CPM1A-30CDT-A CPM1A-30CDT1-A
DC CPM1A-30CDR-D CPM1A-30CDT-D CPM1A-30CDT1-D
40 24 DC points 16 points AC CPM1A-40CDR-A CPM1A-40CDT-A CPM1A-40CDT1-A
DC CPM1A-40CDR-D CPM1A-40CDT-D CPM1A-40CDT1-D
20 12 AC points 8 points AC CPM1A-20CAR-A — —
32 20 AC points 12 points AC CPM1A-32CAR-A — —
Note: A maximum of 3 expansion modules can be used with the following CPUs: 30-point and 40-point with DC inputs; 20-point and
32-point with AC inputs.
Note: Only one CPM1A-TS002/TS102 Temperature Sensor Input Module can be connected to the CPU. If a CPM1A-TS002/102 is con-
nected to the CPU, only one additional Special I/O Module (other than a CPM1A-TS002/102) or one Expansion I/O Module can be
connected to the CPU.
2
CPM1A CPM1A
J PERIPHERAL DEVICES
Product Description Part number
Programming console Hand-held programming console with cable attached, 2 m length CQM1-PRO01–E
Hand-held programming console with back light (cable not included) C200H-PRO27-E
Connecting cable Connects C200H programming console to peripheral port, 2 m length C200H-CN222
Connects C200h programming console to peripheral port, 4 m length C200H–CN422
J SUPPORT SOFTWARE
Product Functions Part number
CX-Programmer Jr. Windows-based programming software; reduced instruction set WS02-CXPC1-EJR-V2.0
and networking commands. OS: Windows 95/98/NT
CX-Programmer Full programming software package programs micro, small and WS02-CXPC1-EV2.0
larger controllers.
J MANUALS
Product Description Part number
Operation manual CPM1A DC Input CPUs operation manual W317
CPM1A AC Input CPUs operation manual P12FAZ1
Programming manual CPM1/CPM1A programming manual W353
3
CPM1A CPM1A
Specifications
J GENERAL SPECIFICATIONS
Input type DC input AC input
CPU type 10-point I/O 20-point I/O 30-point I/O 40-point I/O 20-point I/O 32-point I/O
Power supply AC power supply 100 to 240 VAC, 50/60 Hz
voltage/fre-
quency DC power supply 24 VDC —
Operating AC power supply 85 to 264 VAC
voltage range DC power supply 20.4 to 26.4 VDC —
Power AC power supply 30 VA max. 60 VA max. 30 VA max. 60 VA max.
consumption DC power supply 6 W max. 20 W max. —
Inrush current 30 A max. 60 A max. 30 A max. 60 A max.
External power Power supply 24 VDC
supply (AC only) voltage
Power supply 200 mA 300 mA
output capacity
Insulation resistance 20 MΩ min. at 500 VDC between the AC terminals and the protective earth terminal.
Dielectric strength 2,300 VAC at 50/60 Hz for one minute with a leakage current of 10 mA max. between all the
external AC terminals and the protective earth terminal.
Noise resistance Conforms to IEC61000-4-4, 2 kV (power lines)
1500 Vp-p, pulse width 0.1 to 1 µs, rise time: 1 ns (via noise simulation)
Vibration resistance 10 to 61.2 Hz with an amplitude of 0.075 mm, and 57 to 150 Hz with an acceleration of 1.5 G in
the X, Y, and Z directions for 10 sweeps of minutes each.
Shock resistance 147 m/s2 in the X, Y and Z directions 3 times each. 20 G the X, Y and Z directions
3 times each.
Ambient Operating 0°C to 55°C (32°F to 131°F)
temperature Storage –20°C to 75°C (–4°F to 167°F)
Ambient Operating 10% to 90% RH no condensation
humidity
Ambient Operating With no corrosive gas
environment
Terminal screw size M3
Power supply holding time 10 ms min. for AC models, and 2 ms min. for DC models
Weight AC models 400 g max. 500 g max.. 600 g max.. 700 g max. 500 g max. 575 g max.
DC models 300 g max. 400 g max. 500 g max. 600 g max. — —
Note: The specifications of the Expansion I/O Modules are the same as for the CPU except that the power is supplied from the CPU and
the weight is 300 g.
4
CPM1A CPM1A
J CHARACTERISTICS
Input type DC input AC input
CPU type 10-point I/O 20-point I/O 30-point I/O 40-point I/O 20-point I/O 32-point I/O
Control method Stored program method
I/O control method Combination of the cyclic scan and immediate refresh processing methods.
Programming language Ladder diagram
Instruction word 1 step per instruction, 1 to 5 words per instruction
Types of Basic instructions 14 types
instructions Special instructions 79 types, 139 instructions
Instruction Basic instructions 0.72 to 16.2 µs
execution time Special instructions MOV instruction = 16.3 µs
Program capacity 2,048 words
User data memory 1,024 words
Maximum I/O CPU only 10 points 20 points 30 points 40 points 20 points 32 points
points (6 input/ (12 input/ (18 input/ (24 input/ (12 input/ (20 input/
4 output 8 output 12 output 16 output 8 output 12 output
points) points) points) points) points) points
With Expansion I/O — — Up to 90 Up to 100 Up to 80 Up to 92
Module points points points points
(54 input/ (60 input/ (48 input/ (56 input/
36 output 40 output 32 output 36 output
points) points) points) points)
Memory protection Maintains the contents of the HR, AR, Counter and Data Memory Areas.
Memory backup Flash memory: User program, data memory (Read only) and PLC setup area are backed
up without a battery.
Super capacitor: Data memory (Read/Write), holding bits, auxiliary memory bits, counter
values, error log area are backed up by a capacitor for 20-days at an
ambient temperature of 25°C.
Self-diagnostic function CPU error (watchdog timer), memory errors, I/O bus errors
Program check No END instruction programming errors (constantly checked during operation)
Pulse output 1 point: 2 kHz
High-speed counter 1 point: Single phase at 5 kHz or two-phase at 2.5 kHz (linear counting method)
Incremental mode: 0 to 65535 (16-bit)
Decremental mode: –32767 to 32767 (16-bit)
Quick-response inputs Together with the external interrupt input (minimum pulse width of 0.2 ms)
Input time constant Can be set at 1 ms, 2 ms, 4 ms, 8 ms, 16 ms, 32 ms, 64 ms, or 128 ms.
Interrupt processing: 2 points (Re- 4 points 4 points
External interrupt sponse time (Response time of 0.3 ms max.) (Response time of 5 ms max.)
of 0.3 ms
max.)
Analog settings 2 points: (0 to 200 BCD)
J I/O ALLOCATION
Input bits 00000 to 00915; words not used for input or output bits can be used for work bits.
Output bits 01000 to 01915; words not used for input or output bits can be used for work bits.
Work bits (IR Area) 512: IR 20000 to IR 23115 (IR 200 to IR 231)
Special bits (SR Area) 384: SR 23200 to SR 25515 (SR 232 to SR 255)
Temporary bits (TR Area) 8: TR 0 to TR 7
Holding bits (HR Area) 320: HR 0000 to HR 1915 (HR 00 to HR 19)
Auxiliary bits (AR Area) 256: AR 0000 to AR 1515 (AR 00 to AR 15)
Link bits (LR Area) 256: LR 0000 to LR 1515 (LR 00 to LR 15)
Timers/Counters 128: TIM/CNT 000 to 127
100-ms timer: TIM 000 to TIM 127
10-ms timer: TIM 000 to TIM 127
Decremental counter, reversible counter
Data memory Read/Write 1,024 words (DM 0000 to DM 1023)
Read only 512 words (DM 6144 to DM 6655)
5
CPM1A CPM1A
J I/O SPECIFICATIONS
CPU Unit AC-Input
Item Specification
Input voltage 120 VAC/DC nominal, range 85 to 132
Input impedance 17 kΩ AC @ 60Hz, 69kΩ DC
Input current 7.2 mA AC, 1.7 mA DC @ 120 V typical for:
CPM1A-20CAR-A, Inputs 00 to 11
CPM1A-32CAR-A, Ch 0 Inputs 00 to 11 and
CPM1A-32CAR-A, Ch 1 Inputs 00 to 03
1.9 mA AC or DC @ 120 V typical for:
CPM1A-32CAR-A, Ch 1 Inputs 04 to 07 only
ON voltage 65 VAC/DC
OFF voltage 25 VAC/DC
ON delay 1 to 128 ms max. Default: 8 ms (See Note.)
OFF delay 1 to 128 ms max. Default: 8 ms (See Note.)
Circuit configuration
Input LED CPM1A-20CAR-A
470 Ω 68 Ω Inputs 00-11
Internal CPM1A-32CAR-A
120 VAC 2.2 kΩ Inputs Ch 0: 00-11
0.15 µF circuits
Inputs Ch 1: 00-03
Input LED
68 Ω
CPM1A-32CAR-A only
Inputs Ch 1: 04-07
120 VAC 2.2 kΩ Internal
circuits
Note: Using the PLC Setup, 1, 2, 4, 8, 16, 32, 64, or 128 ms can be selected. When IN00000 through IN00002 are used as high-speed
counter inputs, the delays are as shown in the following table. Typically for AC inputs, the delay is set at the default, 8 ms.
T1 T2 T3 T4 : 20 ms min.
When IN00003 through IN00006 are used as interrupt inputs, the delay is 0.3 ms max. The delay is measured from the time that
the input goes ON until the interrupt subroutine is executed.
6
CPM1A CPM1A
CPU Unit DC Input
Note: 1. The actual ON/OFF delay includes an input constant of 1, 2, 4, 8, 16, 32, 64, or 128 ms (default: 8 ms).
2. When IN0000 to IN0006 are used for the high-speed counter inputs, the delays are as shown below:
Input Increment mode Differential phase mode
IN0000 (A-phase) 5 kHz 2.5 kHz
IN0001 (B-phase) Normal input
IN0002 (Z-phase) ON: 100 µs max. OFF: 500 µs max.
IN0003 to IN0006 0.3 ms max. (From the time of input ON until the interrupt subroutine is executed.)
Note: The actual ON/OFF delay includes an input constant of 1, 2, 4, 8, 16, 32, 64, or 128 ms (default: 8 ms).
7
CPM1A CPM1A
COM (–)
Source Type
Output LED
ON delay 0.1 ms max.
COM (+)
Internal
Circuits OUT 24 VDC
OUT
Note: 1. The maximum switching capacity of the CPM1A with transistor outputs (sink type and source type) are limited to the currents
shown in the following table for the common and for the Unit.
Part number Max. switching capacity
CPM1A-10CDT, CPM1A-10CDT1-A, CPM1A-10CDT1-D 0.9 A/Unit
CPM1A-20CDT-D, CPM1A-20CDT1-A, CPM1A-20CDT1-D 0.9 A/common; 1.8 A/Unit
CPM1A-30CDT-D, CPM1A-30CDT1-A, CPM1A-30CDT1-D 0.9 A/common; 2.7 A/Unit
CPM1A-40CDT-D, CPM1A-40CDT1-A, CPM1A-40CDT1-D 0.9 A/common; 3.6 A/Unit
CPM1A-20EDT, CPM1A-20EDT1 0.9 A/common; 1.8 A/Unit
CPM1A-8ET, CPM1A-8ET1 0.9 A/common; 1.8 A/Unit
2. When using the pulse output function of the CPM1A with transistor outputs (sink type and source type):
The output current must be within a range from 100 to 200 mA when using the output 01000 or 01001 as a pulse output with
the maximum frequency of 2 kHz. The outputs 01000 and 01001 will vary depending on the output current.
Load current OFF delay
100 to 200 mA 0.2 ms max.
0 to 300 mA except for the above range 0.5 ms max.
8
CPM1A CPM1A
Note: 1. The voltage output and current output can be used at the same time, but the total output current cannot exceed 21 mA.
2. The conversion time is the total time for 2 analog inputs and 1 analog output.
Specifications
Item Specification
Model CPM1A-TS001/TS002 CPM1A-TS101/TS102 CPM1A-TS101-DA
Number of inputs TS001: 2; TS002: 4 TS101: 2; TS102: 4 2
Input types Thermocouple types K or J, selectable Platinum resistance thermometer types Pt100 and JPt1100, selectable
(See Note 1)
Input resolution 0.1°C in 2’s complement format 0.1°C in 2’s complement format
Input accuracy ±0.5% or ±2% of the stored value ±0.5% or ±1% of the stored value 1.0% max. full scale
whichever is larger ±1 digit max. whichever is larger ±1 digit max.
(See Note 2) (See Note 2)
Number of outputs None None 1
Output types — — Voltage or current output
Output resolution — — 1/256 (0 to 10 V)
1/512 (–10 to +10 V)
1/256 (4 to 20 mA)
Output accuracy — — 1.0% max. full scale
Conversion cycle 250 ms for all points 60 ms max. for all points
Converted Binary data (4-digit hexadecimal) Binary data (8-digit hexadecimal)
temperature data
Isolation method Photocoupler isolation between I/O terminals and the PLC
Note: 1. The same input type must be used for all inputs.
2. Accuracy for K thermocouples at temperatures less than –100°C: ±4°C ± 1 digit max.
9
CPM1A CPM1A
Input Temperature Ranges for CPM1A-TS001/TS002
The rotary switch can be used to make of the following range and input type settings for CPM1A-TS001/002 models.
J COMMUNICATIONS ADAPTER
RS-232C Adapter and RS-422 Adapter
Model CPM1-CIF01 CPM1-CIF11
Functions Level conversion between the CMOS level Level conversion between the CMOS level
(CPU side) and the RS-232C (peripheral (CPU side) and the RS-422 (peripheral device
device side) side)
Insulation The RS-232C (peripheral device side) is insu- The RS-422 (peripheral device side) is insu-
lated by a DC/DC converter and photocoupler. lated by a DC/DC converter and photocoupler.
Power supply Power is supplied by the CPU.
Power consumption 0.3 A max.
Transmission speed 38.4 kbits/s max.
Vibration resistance 10 to 57 Hz with an amplitude of 0.075 mm, and 57 to 150 Hz with an acceleration of 1 G in the X,
Y and Z directions for 80 minutes each (i.e. for 8 minutes each, 10 times).
Shock resistance 1.5 G in the X, Y and Z directions 3 times each.
Ambient temperature Operating 0°C to 55°C (32°F to 131°F) 0°C to 55°C (32°F to 131°F)
Storage –20°C to 75°C (–4°F to 167°F) –20°C to 75°C (–4°F to 167°F)
Ambient humidity Operating 10% to 90% RH (with no condensation)
Ambient environment Operating With no corrosive gas
Weight 200 g max.
10
CPM1A CPM1A
CS1j, C200Hj,
CQM1 (H), or SRM1 PC
Model CPM1A-SRT21
Master/Slave CompoBus/S Slave
Number of I/O bits 8 input bits, 8 output bits
Number of words occupied in 1 input word, 1 output word
CPM2A I/O memory (Allocated in the same way as other Expansion I/O Modules or Expansion Modules)
Node number setting Set using the DIP switch.
Note: See the CompoBus/S section of Omron’s Remote I/O and Wiring Solutions Catalog (GC RIO1) for more details on CompoBus/S
communications.
Dimensions
Unit: mm (inch)
85 (3.35)
CPM1A-TSjjj 86 (3.39)
AC power supply
11
CPM1A CPM1A
Unit: mm (inch)
90
90 (3.54)
(3.54)
81
81
12
CPM1A CPM1A
Functions
J CONFIGURATION
The CPM1A CPU units feature a compact, one-piece CPM1A-10CDj-j CPM1A-20CDj-j
construction that includes 10, 20, 30 or 40 built-in I/O terminals. (10 I/O terminals) (20 I/O terminals)
Three output models are available: Relay outputs, sinking (NPN)
transistor output and sourcing (PNP) transistor output.
Expansion
Up to three Expansion I/O Modules can be connected to a
30-point or 40-point CPU Unit to add an extra 8 or 20 I/O points
for each, for a maximum of up to 100 I/O points.
Dedicated I/O Modules
Up to 3 Analog I/O Modules or Temperature Sensor Input CPM1A-30CDj-j CPM1A-40CDj-j
Modules can be used with 30-point and 40-point CPU Units. (30 I/O terminals) (40 I/O terminals)
Each analog I/O module provides 2 analog inputs and 1 analog
output, so a maximum of 6 analog inputs and 3 analog outputs
can be achieved by connecting 3 Analog I/O Modules. Each
Temperature Sensor Module provides two temperature sensor
inputs from either thermocouples or platinum resistance
thermometers. Up to 6 inputs can be connected.
J INTERRUPT INPUTS
There are two input interrupts in the CPM1A 10-point I/O CPU
and four in the 20-, 30-, and 40-point I/O CPUs. Input interrupts
are available in two modes.. In addition to normal interrupt inputs,
the CPM1A has a counter mode that counts high-speed input
signals and triggers interrupts at fixed count multiples.
Application Example:
10 point I/O CPU 20, 30, and 40 point I/O CPU Cutting Metal Sheets to Specified Lengths
The proximity sensor detects the edge of a
metal plate to operate the cutter. Metal sheets
can be cut continuously to the specified
lengths at a high speed.
Metal
Cutter sheets
Cutter
Conveyor operation
signal
Proximity
sensor
Input
interrupt CPM1A
Input interrupt
13
CPM1A CPM1A
Counter Mode
When the number of external signals counted at high speed reaches a specified number of counts, the regular program shuts down, and
the interrupt processing program is executed at fixed counts. The count can be set between 0 and 65535.
Interrupt program
Input interrupt
Counter setting
J QUICK-RESPONSE INPUTS
Quick-response inputs can detect input signals with a pulse width CPU Input no. Minimum input
as short as 0.2 ms regardless of their timing during the scan pulse width
cycle. Quick-response inputs and interrupt inputs use the same
10 point I/O CPU 00003 to 00004 0.2 ms
input terminals.
20 point, 30 point, 00003 to 00006
40 point I/O CPU
Application Example:
Overseeing Program I/O Overseeing Program I/O Calculating the Number of Chips
processes execution refreshing processes execution refreshing
The metal sensor counts the number of
parts that have passed. Steady counting
0.2 ms min
can be achieved even when the input-ON
Input signal
(00003) time is short.
CPM1A
IR 00003
One cycle
F2LP-WK4
F2LP-W
14
CPM1A CPM1A
J HIGH-SPEED COUNTER
The CPM1A has a high-speed counter function that can be used Counting mode Incrementing Up/Down mode
in the incrementing and up/down mode. Using this function mode
together with the input interrupts enables zone comparison
Input 00000 Count input A-phase input
control or target value control irrelevant of the cycle time.
no. 00001 — B-phase input
00002 Reset input Z-phase input
Input method Single-phase in- Phase-differ-
put ence, 4× inputs
Count frequency 5.0 kHz 2.5 kHz
Count range 0 to 65535 –32767 to 32767
Note: When using in the incrementing mode, the input 00001
can be used as an input contact.
Count input
Reset input
00000
00001
00002
Solenoid
Inverter, etc.
15
CPM1A CPM1A
Application Example:
Normal program
Computing the Sheet Speed
The number of pulse inputs is computed
Interval timer
in the interrupt mode at a fixed time to
MOV(21) calculate the speed.
MOV(21)
RET(93)
END(01)
J ANALOG SETTING
The CPM1A contains two analog setting controls that can be used for a broad range of analog timer and counter settings. Turning the
setting control stores values of 0 to 200 (BCD data) in the SR area.
Application Example:
Analog setting 0
Tact Operation Control of Conveyor Lines
Analog setting 1
A conveyor can be stopped temporarily as required for assembly
*Phillips screwdriver is required.
processes. When the timer function and limit switches are used
in a combination, conveyors can be stopped for a fixed time or
can be run at a constant speed for a fixed distance. Fine
adjustment of the stopping time can be easily done by using the
analog setting controls.
CPM1A
LS
Motor
16
CPM1A CPM1A
Program Example
1. Analog timer for 0.0 to 20.0 seconds 2. Analog timer for 0.0 to 60.0 seconds
A 25313(ON)
TIM BCD multiplication
000 250 MUL(32)
250 Value of the analog setting 0
Value of the analog #0003 (0 to 200)
DM0500
setting 0 (0 to 200) Triples the above value
Multiplication result (0 to 600)
B
TIM
001 DM 0500
25,000 pulses
ÉÉÉÉÉÉ
Output 1 khzZ 15000
frequency
ÉÉÉÉÉÉ
200 Hz
ÉÉÉÉÉÉ
ÉÉÉÉÉÉ Pulse rate
17
CPM1A CPM1A
Communications
J NT LINK FOR PROGRAMMABLE TERMINALS
Use Omron’s high-speed NT Link for real-time communications between the CPM1A and a Programmable Terminal.
Programmable Terminal
RS-232C
Adapter
Communication Cable
C200H-CN320-EU (2 m)
C200H-CN520-EU (5 m)
CPM1A CPU
C200HS-CN220-EU
cable (2 m)
Response
RS-232C CPM1A
Adapter CPU
Computer with a
RS-422/RS-485
communications port
Command
Response
Master Slave
Uploading
Downloading
EEPROM
Omron SRM1, CPM1A, CPM2A,
CPM2B, CPM2C and CQM1H
programmable controllers
19
CPM1A CPM1A
Instruction Set
J SEQUENCE INSTRUCTIONS J DATA CONVERSION INSTRUCTIONS
Sequence Input Instructions Instruction Mnemonic Code
Instruction Mnemonic Code BCD TO BINARY BIN(@) 23
LOAD LD f BINARY TO BCD BCD(@) 24
LOAD NOT LD NOT f 4 TO 16 DECODER MLPX(@) 76
AND AND f 16 TO 4 DECODER DMPX(@) 77
AND NOT AND NOT f ASCII CODE CONVERT ASC(@) 86
OR OR f Data Comparison Instructions
OR NOT OR NOT f
Instruction Mnemonic Code
AND LOAD AND LD f
COMPARE CMP 20
OR LOAD OR LD f
DOUBLE COMPARE CMPL 60
Sequence Output Instructions BLOCK COMPARE BCMP(@) 68
Instruction Mnemonic Code TABLE COMPARE TCMP(@) 85
OUTPUT OUT f
OUT NOT OUT NOT f J BCD/BINARY CALCULATION
SET SET f Instruction Mnemonic Code
RESET RSET f BCD ADD ADD(@) 30
KEEP KEEP 11 BCD SUBTRACT SUB(@) 31
DIFFERENTIATE UP DIFU 13 BCD MULTIPLY MUL(@) 32
DIFFERENTIATE DOWN DIFD 14 BCD DIVIDE DIV(@) 33
BINARY ADD ADB(@) 50
Sequence Control Instructions
BINARY SUBTRACT SBB(@) 51
Instruction Mnemonic Code
BINARY MULTIPLY MLB(@) 52
NO OPERATION NOP 00
BINARY DIVIDE DVB(@) 53
END END 01
DOUBLE BCD ADD ADDL(@) 54
INTERLOCK IL 02
DOUBLE BCD SUBTRACT SUBL(@) 55
INTERLOCK CLEAR ILC 03
DOUBLE BCD MULTIPLY MULL(@) 56
JUMP JMP 04
DOUBLE BCD DIVIDE DIVL(@) 57
JUMP END JME 05
20
CPM1A CPM1A
21
CPM1A CPM1A
NOTE: DIMENSIONS SHOWN ARE IN MILLIMETERS. To convert millimeters to inches divide by 25.4.
R
OMRON ELECTRONICS LLC OMRON CANADA, INC.
One East Commerce Drive 885 Milner Avenue
Schaumburg, IL 60173 Scarborough, Ontario M1B 5V8
1-800-55-OMRON 416-286-6465
Cat. No. GC MSPLC1 03/01 Specifications subject to change without notice. Printed in U.S.A.
22