0% found this document useful (0 votes)
65 views36 pages

CPM1A To CP1E Replacement Guide

Uploaded by

coronaqc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views36 pages

CPM1A To CP1E Replacement Guide

Uploaded by

coronaqc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 36

Programmable Controller CPM1A-series

Replacement Guide
From CPM1A to CP1E

P083-E1-01
About this document
This document provides the reference information for replacing CPM1A PLC systems with CP1E series PLC.
This document does not include precautions and reminders ;please read and understand the important precautions
and reminders described on the manuals of PLCs (both of PLC used in the existing system and PLC you will use to
replace the existing PLC) before attempting to start operation.
■ Related Manuals
 CPM1A
Man. No. Model Manual
W317 CPM1A-□□CD□-□-V1 CPM1A Operation Manual
W353 CPM1A-□□CD□-□-V1 CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2)
Programming Manual

 CP1E
Man. No. Model Manual
W479 CP1E-E□□D□-□ CP1E CPU Unit Hardware User’s Manual
CP1E-N□□D□-□
CP1E-NA□□D□-□
W480 CP1E-E□□D□-□ CP1E CPU Unit Software User’s Manual
CP1E-N□□D□-□
CP1E-NA□□D□-□
W483 CP1E-E□□D□-□ CP1E CPU Unit Instructions Reference Manual
CP1E-N□□D□-□
CP1E-NA□□D□-□
Read and Understand this Document
Please read and understand this document before using the product. Please consult your OMRON representative
if you have any questions or comments.

Warranty and Limitations of Liability


WARRANTY
OMRON's exclusive warranty is that the products are free from defects in materials and workmanship for a
period of one year (or other period if specified) from date of sale by OMRON.

OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, REGARDING NON-


INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR PARTICULAR PURPOSE OF THE
PRODUCTS. ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS
DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR
INTENDED USE. OMRON DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED.

LIMITATIONS OF LIABILITY
OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES,
LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS,
WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT
LIABILITY.

In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which
liability is asserted.

IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS


REGARDING THE PRODUCTS UNLESS OMRON'S ANALYSIS CONFIRMS THAT THE PRODUCTS
WERE PROPERLY HANDLED, STORED, INSTALLED, AND MAINTAINED AND NOT SUBJECT TO
CONTAMINATION, ABUSE, MISUSE, OR INAPPROPRIATE MODIFICATION OR REPAIR.
Disclaimers
CHANGE IN SPECIFICATIONS
Product specifications and accessories may be changed at any time based on improvements and other
reasons.

It is our practice to change model numbers when published ratings or features are changed, or when
significant construction changes are made. However, some specifications of the products may be changed
without any notice. When in doubt, special model numbers may be assigned to fix or establish key
specifications for your application on your request. Please consult with your OMRON representative at any
time to confirm actual specifications of purchased products.

DIMENSIONS AND WEIGHTS


Dimensions and weights are nominal and are not to be used for manufacturing purposes, even when
tolerances are shown.

PERFORMANCE DATA
Performance data given in this manual is provided as a guide for the user in determining suitability and does
not constitute a warranty. It may represent the result of OMRON's test conditions, and the users must
correlate it to actual application requirements. Actual performance is subject to the OMRON Warranty and
Limitations of Liability.

ERRORS AND OMISSIONS


The information in this manual has been carefully checked and is believed to be accurate; however, no
responsibility is assumed for clerical, typographical, or proofreading errors, or omissions.
Application Considerations
SUITABILITY FOR USE
OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the
combination of products in the customer's application or use of the products.

At the customer's request, OMRON will provide applicable third party certification documents identifying
ratings and limitations of use that apply to the products. This information by itself is not sufficient for a
complete determination of the suitability of the products in combination with the end product, machine,
system, or other application or use.

The following are some examples of applications for which particular attention must be given. This is not
intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply that the uses
listed may be suitable for the products:

• Outdoor use, uses involving potential chemical contamination or electrical interference, or conditions or
uses not described in this manual.
• Nuclear energy control systems, combustion systems, railroad systems, aviation systems, medical
equipment, amusement machines, vehicles, safety equipment, and installations subject to separate
industry or government regulations.
• Systems, machines, and equipment that could present a risk to life or property.

Please know and observe all prohibitions of use applicable to the products.

NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR
PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO
ADDRESS THE RISKS, AND THAT THE OMRON PRODUCTS ARE PROPERLY RATED AND
INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.

PROGRAMMABLE PRODUCTS
OMRON shall not be responsible for the user's programming of a programmable product, or any
consequence thereof.
Table of Contents
Replacement flow ...................................................................................................................................2
1. Replacement model............................................................................................................................3
2. Main specifications and differences between CP1E and CPM1A...................................................4
2.1. Dimensions ....................................................................................................................................4
2.2. Mounting ........................................................................................................................................4
2.3. Expansion Units .............................................................................................................................4
2.4. Supply voltage ...............................................................................................................................4
2.5. External power supply....................................................................................................................4
2.6. I/O memory backup time................................................................................................................5
2.7. Wiring.............................................................................................................................................5
3. Converting program and settings ...................................................................................................10
3.1. Transferring program and settings of CPM1A..............................................................................10
3.1.1. Transferring user program .....................................................................................................10
3.1.2. Transferring Data Memory (DM)............................................................................................10
3.2. Converting program .....................................................................................................................10
3.3. Checking error and warning report ..............................................................................................10
3.4. Modifying program .......................................................................................................................12
3.4.1. Modifying I/O memory area ...................................................................................................12
3.4.2. Allocations of Auxiliary Area and Special Area.......................................................................12
3.4.3. Allocation of Link Words ........................................................................................................12
3.5. Modifying instructions ..................................................................................................................12
3.5.1. Converting instructions that are changed to different instructions for CP1E..........................12
3.5.2. Modifying the CPM1A instructions that include changes of operand specifications...............12
3.6. PLC Setup ...................................................................................................................................13
3.7. I/O memory ..................................................................................................................................13
3.8. Converting when interrupt input is used.......................................................................................14
3.9. Converting when quick-response input is used............................................................................15
3.10. Converting when high-speed counter is used ............................................................................16
4. Transferring data ..............................................................................................................................18
5. Precaution.........................................................................................................................................18
Appendix 1. Specification and performance comparison between CPM1A and CP1E ..................19
Appendix 2. Changes in Special Area.................................................................................................22
Appendix 3. Changes in Auxiliary Area ..............................................................................................23
Appendix 4. Instructions changed by replacing CPM1A with CP1E ................................................24
Appendix 5. Instruction specifications changed by replacing CPM1A with CP1E .........................25
Appendix 6. PLC Setup changed by replacing CPM1A with CP1E ..................................................26
Appendix 7. Expansion Units ..............................................................................................................27

[Replacement Guide]From CPM1A to CP1E 1


Replacement flow
The procedure to replace the CPM1A with the CP1E is as follows. (Each number shows the number of the
section)
1. Replacement model
Select replacement model.

2. Main specifications and differences


Check specifications such as dimensions and wiring.

3.1. Loading program and settings


Load program and settings from CPM1A.

3.2. Converting program


Convert program loaded from CPM1A for CP1E.

3.3. Checking error and warning report


Check error and warning report of conversion and
modify.

3.4. Modifying program


Modify different I/O memory areas between CPM1A
and CP1E.

3.5. Modifying instructions


Check and modify instructions that are converted into
other instructions and changed operand specifications
when converting CPM1A into CP1E.

3.6. Setting PLC Setup


PLC Setup cannot be converted automatically.
Set PLC Setup again.

3.7. Copying I/O memory if settings are stored in I/O


memory.

3.8/3.9/3.10. Changing difference of each function.

Trial operation

Note
After replacement, please perform trial operation before starting actual operation and check that the system
operates correctly. This guide does not include sufficient specifications for replacement. Please refer to the
manuals listed on the Related Manuals page and check the specifications before converting.
[Replacement Guide]From CPM1A to CP1E 2
1. Replacement model
< Precaution for replacement >
The dimensions, specifications, program, settings, terminal arrangements and others are changed by
replacing the CPM1A with the CP1E. Please refer to this replacement guide and the manuals of the CPM1A
and CP1E for details.

Note:
This guide provides the procedure to replace the CPM1A with the CP1E. However, there are
some differences in the functions and performance between the CPM1A and the CP1E, and all
CPM1A cannot be replaced with the CP1E. Please refer to this guide and the manuals to
examine replacement carefully.

Replacement configuration (example)


Using the only CPM1A CPU Unit without using the CPM1-CIF01 or CPM1-CIF11
CPM1A CPU Unit CP1E E-type
CP1E N-type

RS-232C Communications (example)


Using the CPM1A CPU Unit in combination with the CPM1-CIF01
CPM1A CPU Unit CP1E N-type
+ CPM1-CIF01 (RS-232C Adaptor) (using built-in RS-232C port)

RS-422 Communications (example)


Using the CPM1A CPU Unit in combination with the CPM1-CIF11
CPM1A CPU Unit Mount CP1W-CIF11 or CP1W-CIF12 to
+ CPM1-CIF11 (RS-422 Adaptor) CP1E N-type

Table of replacement models (example)


Power Output type I/O Original Unit Replacement Unit
supply points CPM1A-V1 CP1E E-type CP1E N-type
type (built-in RS-232C type)
AC Relay output 10 CPM1A-10CDR-A-V1 CP1E-E10DR-A -
type 20 CPM1A-20CDR-A-V1 CP1E-E20DR-A CP1E-N20DR-A
30 CPM1A-30CDR-A-V1 CP1E-E30DR-A CP1E-N30DR-A
40 CPM1A-40CDR-A-V1 CP1E-E40DR-A CP1E-N40DR-A
Transistor output 10 CPM1A-10CDT-A-V1 CP1E-E10DT-A -
(sinking) 20 CPM1A-20CDT-A-V1 - CP1E-N20DT-A
30 CPM1A-30CDT-A-V1 - CP1E-N30DT-A
40 CPM1A-40CDT-A-V1 - CP1E-N40DT-A
Transistor output 10 CPM1A-10CDT1-A-V1 CP1E-E10DT1-A -
(sourcing) 20 CPM1A-20CDT1-A-V1 - CP1E-N20DT1-A
30 CPM1A-30CDT1-A-V1 - CP1E-N30DT1-A
40 CPM1A-40CDT1-A-V1 - CP1E-N40DT1-A
DC Relay output 10 CPM1A-10CDR-D-V1 CP1E-E10DR-D -
type 20 CPM1A-20CDR-D-V1 - CP1E-N20DR-D
30 CPM1A-30CDR-D-V1 - CP1E-N30DR-D
40 CPM1A-40CDR-D-V1 - CP1E-N40DR-D
Transistor output 10 CPM1A-10CDT-D-V1 CP1E-E10DT-D -
(sinking) 20 CPM1A-20CDT-D-V1 - CP1E-N20DT-D
30 CPM1A-30CDT-D-V1 - CP1E-N30DT-D
40 CPM1A-40CDT-D-V1 - CP1E-N40DT-D
Transistor output 10 CPM1A-10CDT1-D-V1 CP1E-E10DT1-D -
(sourcing) 20 CPM1A-20CDT1-D-V1 - CP1E-N20DT1-D
30 CPM1A-30CDT1-D-V1 - CP1E-N30DT1-D
40 CPM1A-40CDT1-D-V1 - CP1E-N40DT1-D

[Replacement Guide]From CPM1A to CP1E 3


2. Main specifications and differences between CP1E and CPM1A
2.1. Dimensions
The dimensions of the CP1E are different from that of the CPM1A. Secure the depth of the control panel
because the depth of the CPU Unit will increase.

Dimension comparison table


Power supply I/O Dimensions (W x H x D)
type CPM1A-V1 CP1E
DC type 10 points 66 x 90 x 50 66 x 90 x 85
20 points 86 x 90 x 50 86 x 90 x 85
30 points 130 x 90 x 50 130 x 90 x 85
40 points 150 x 90 x 50 150 x 90 x 85
AC type 10 points 66 x 90 x 70 66 x 90 x 85
20 points 86 x 90 x 70 86 x 90 x 85
30 points 130 x 90 x 70 130 x 90 x 85
40 points 150 x 90 x 70 150 x 90 x 85

2.2. Mounting
The DIN Track and mounting hole pitch of the CP1E are the same as those of the CPM1A though the depth
is different.

2.3. Expansion Units


The Expansion Units that can be connected to the CPM1A are the CPM1A Expansion (I/O) Units, and the
Expansion Units for the CP1E is the CP1W Expansion (I/O) Units. Refer to the Appendix 7. Expansion
Units for the Expansion (I/O) Units to replace.

2.4. Supply voltage


The power consumption depends on the model though the power supply voltage and operating voltage
range of the CP1E and CPM1A are the same.
Change to an appropriate power supply if power supply capacity is insufficient.
Refer to the Appendix 1. Specification and performance comparison between CPM1A and CP1E for
the current consumption specifications.

2.5. External power supply


The CP1E CPU Units with 10 and 20 I/O points do not provide an external power supply.
When the external power supply is used for the CPM1A CPU Unit with 10 or 20 I/O points, another 24 VDC
power supply is required.

Power supply I/O External power supply specification


type CPM1A-V1 CP1E
DC type 10 points Not provided Not provided
20 points
30 points
40 points
AC type 10 points 24VDC Not provided
20 points 200mA max. When using, another 24
VDC Power Supply is
required.
30 points 24VDC 24VDC
40 points 300mA max. 300mA max.

[Replacement Guide]From CPM1A to CP1E 4


2.6. I/O memory backup time
The I/O memory backup time (to retain the contents of the DM Area and Holding Area, and Counter values)
of the CP1E is shorter than that of the CPM1A.
Use the CP1E N-type CPU Unit with an optional Battery (CP1W-BAT01) mounted if the backup time of the
CP1E is insufficient.
Note: The DM Area, Holding Area, and Counter Flags/PVs become unstable when power is interrupted for
longer than the I/O memory backup time, which may cause the system to malfunction.

I/O memory backup time

Capacitor backup time of CPM1A Capacitor backup time of CP1E

2.7. Wiring
Wire to the same I/O when the I/O is used as a normal I/O.
Note: Because both terminal blocks of the CPM1A-V1 and CP1E are fixed, rewiring is required.
Review the wiring as the terminal arrangement is changed.

Method of terminal block and change in terminal arrangement


I/O Terminal block Change in terminal
CPM1A CP1E arangement by replacing
CPM1A with CP1E
10 points Fixed Fixed Changed
20 points Fixed Fixed Changed
30 points Fixed Fixed Changed
40 points Fixed Fixed Changed

Terminal arrangements
●Terminal arrangements for CPU Units with 40 I/O points
CPM1A-40D□□-□-V1

AC power supply
0CH 1CH
L1 L2/N COM 01 03 05 07 09 11 01 03 05 07 09 11
● NC GR 00 02 04 06 08 10 00 02 04 06 08 10 ●

+ 00 01 02 04 05 07 00 02 04 05 07 NC NC ●
- COM0 COM1 COM2 03 COM3 06 COM4 01 03 COM5 06 NC NC NC
10CH 11CH

DC power supply
0CH 1CH
+ - COM 01 03 05 07 09 11 01 03 05 07 09 11
● NC GR 00 02 04 06 08 10 00 02 04 06 08 10 ●

NC 00 01 02 04 05 07 00 02 04 05 07 NC NC ●
NC COM0 COM1 COM2 03 COM3 06 COM4 01 03 COM5 06 NC NC NC
10CH 11CH

[Replacement Guide]From CPM1A to CP1E 5


CP1E-□40D□□-□

AC power supply
0CH 1CH
L1 L2/N COM 01 03 05 07 09 11 01 03 05 07 09 11
● LG GR 00 02 04 06 08 10 00 02 04 06 08 10 ●

+ 00 01 02 03 04 06 00 01 03 04 06 ●
● - COM COM COM COM 05 07 COM 02 COM 05 07
100CH 101CH

DC power supply
0CH 1CH
+ - COM 01 03 05 07 09 11 01 03 05 07 09 11
● NC GR 00 02 04 06 08 10 00 02 04 06 08 10 ●

NC 00 01 02 03 04 06 00 01 03 04 06 ●
● NC COM COM COM COM 05 07 COM 02 COM 05 07
100CH 101CH

●Terminal arrangements for CPU Units with 30 I/O points


CPM1A-30D□□-□-V1

AC power supply
0CH 1CH
L1 L2/N COM 01 03 05 07 09 11 01 03 05
● NC GR 00 02 04 06 08 10 00 02 04 ●

+ 00 01 02 04 05 07 00 02 NC NC ●
- COM0 COM1 COM2 03 COM3 06 COM4 01 03 NC NC
10CH 11CH

DC power supply
0CH 1CH
+ - COM 01 03 05 07 09 11 01 03 05
● NC GR 00 02 04 06 08 10 00 02 04 ●

NC 00 01 02 04 05 07 00 02 NC NC ●
NC COM0 COM1 COM2 03 COM3 06 COM4 01 03 NC NC
10CH 11CH

CP1E-□30D□□-□

AC power supply
0CH 1CH
L1 L2/N COM 01 03 05 07 09 11 01 03 05 ●
● LG GR 00 02 04 06 08 10 00 02 04 NC

● + 00 01 02 04 05 07 00 02 ●
- COM COM COM 03 COM 06 CO M 01 03
100CH 101CH

DC power supply
0CH 1CH
+ - COM 01 03 05 07 09 11 01 03 05 ●
● NC GR 00 02 04 06 08 10 00 02 04 NC

● NC 00 01 02 04 05 07 00 02 ●
NC COM COM COM 03 COM 06 CO M 01 03
100CH 101CH

[Replacement Guide]From CPM1A to CP1E 6


●Terminal arrangements for CPU Units with 20 I/O points
CPM1A-20D□□-□-V1

AC power supply
0CH
L1 L2/N COM 01 03 05 07 09 11
NC GR 00 02 04 06 08 10

+ 00 01 02 04 05 07 NC
- COM0 COM1 COM2 03 COM3 06 NC NC
10CH

DC power supply
0CH
+ - COM 01 03 05 07 09 11
NC GR 00 02 04 06 08 10

NC 00 01 02 04 05 07 NC
NC COM0 COM1 COM2 03 COM3 06 NC NC
10CH

CP1E-□20D□□-□
AC power supply
0CH
L1 L2/N COM 01 03 05 07 09 11
NC GR 00 02 04 06 08 10

00 01 02 03 04 05 07
COM COM NC COM NC COM 06
100CH

DC power supply
0CH
+ - COM 01 03 05 07 09 11
NC GR 00 02 04 06 08 10

00 01 02 03 04 05 07
COM COM NC COM NC COM 06
100CH

●Terminal arrangements for CPU Units with 10 I/O points


CPM1A-10D□□-□-V1

AC power supply DC power supply


0CH 0CH
L1 L2/N COM 01 03 05 + - COM 01 03 05
NC GR 00 02 04 NC GR 00 02 04

+ 00 01 02 NC NC 00 01 02 NC
- COM0 COM1 COM2 03 NC NC COM0 COM1 COM2 03 NC
10CH 10CH

CP1E-E10D□□-□

AC power supply DC power supply


0CH 0CH
L1 L2/N COM 01 03 05 + - COM 01 03 05
NC GR 00 02 04 NC GR 00 02 04

00 01 02 03 00 01 02 03
COM COM NC COM NC COM COM NC COM NC
100CH 100CH

[Replacement Guide]From CPM1A to CP1E 7


■ Terminal arrangements for interrupt inputs, quick-response inputs, high-speed counter inputs, and pulse
outputs
Note. As for the high-speed counter input and pulse output, the functions and terminal arrangement of the
CP1E might be different from those of the CPM1A. Refer to this guide and the manuals and check
that necessary functions can be performed before changing the wiring and programming for
replacement.
(1) Using interrupt inputs and quick-response inputs
Note. Replacement of interrupt inputs and quick-response inputs requires to change ladder programs and
PLC setup. Refer to the 3.8. Converting when interrupt input is used and 3.9. Converting when
quick-response input is used to convert.
CIO CPM1A CP1E
0.00 - -
0.01 - -
0.02 - Interrupt input 2/Quick-response input 2
0.03 Interrupt input 0/Quick-response input 0 Interrupt input 3/Quick-response input 3
0.04 Interrupt input 1/Quick-response input 1 Interrupt input 4/Quick-response input 4
0.05 Interrupt input 2/Quick-response input 2 *2 Interrupt input 5/Quick-response input 5
0.06 *1 Interrupt input 3/Quick-response input 3 Interrupt input 6/Quick-response input 6
0.07 *1 - Interrupt input 7/Quick-response input 7
*1. The CPM1A or CP1E CPU Unit with 10 I/O points does not have CIO 0.06 and 0.07.
*2. CIO 0.05 of the CPM1A does not have the interrupt input 2/quick-response input 2 function.

(2) Using high-speed counter inputs


The terminal arrangement for high-speed counter inputs of the CPM1A is different from that of the CP1E.
 Using increment mode for CPM1A
Use the increment pulse input for the CP1E. However, the CP1E does not support the reset input for the
increment pulse input.
When an external reset input is required in "increment mode" in the CPM1A, set to "up/down pulse input"
in the CP1E, change the input from high-speed counter 0 (CIO 0.00) of the CPM1A to high-speed
counter 0 up input (CIO 0.00) of the CP1E, and use reset input (CIO 0.04). In this case, connect nothing
to high-speed counter 0 down input (CIO 0.01) of the CP1E.
When CIO 0.01 of the CPM1A is used, change the input to an unused input bit of the CP1E, and change
the input bit in the ladder program.
 Using up/down mode for CPM1A
The input bit for phase Z/reset input is changed from CIO 0.02 of the CPM1A to CIO 0.04 of the CP1E.
When CIO 0.04 of the CPM1A is used, change the input to CIO 0.02 of the CP1E, and change the input
bit in the ladder program.

Comparison of input arrangement of high-speed counter between CPM1A and CP1E


CIO CPM1A CP1E
Increment mode Up/down mode - Increment Differential phase or Pulse + direction
Differential phase x4 pulse up/down
0.00 High-speed High-speed counter 0 - High-speed High-speed counter 0 High-speed counter 0
counter 0 (phase A) counter 0 (phase A/up input) (pulse input)
0.01 - High-speed counter 0 - High-speed High-speed counter 0 High-speed counter 1
(phase B) counter 1 (phase B/down input) (pulse input)
0.02 High-speed High-speed counter 0 - High-speed High-speed counter 1 High-speed counter 0
counter 0 (reset) (phase Z/reset) counter 2 (phase A/up input) (direction)
0.03 - - - - High-speed counter 1 High-speed counter 1
(phase B/down input) (direction)
0.04 - - - High-speed High-speed counter 0 High-speed counter 0
counter 3 (phase Z/reset input) (reset input)
0.05 - - - High-speed High-speed counter 1 High-speed counter 1
counter 4 (phase Z/reset input) (reset input)
0.06 - - - High-speed - -
counter 5
Shaded item: Allocation of the CPM1A is different from that of the CP1E.
Grayed item: The item is not used for replacement of the CPM1A.
Note. The input that is not used as a high-speed counter of the CP1E can be used as a normal input.

[Replacement Guide]From CPM1A to CP1E 8


(3) Using pulse outputs
Note. As the CP1E does not have a single-phase pulse mode, use the pulse + direction mode.
In this case, do not use a direction signal and not wire anything.

CIO CPM1A CP1E-N *1


CP1E Single-phase output Pulse + direction *2
(CPM1A)
100.00 Pulse output 0 Pulse output 0
(10.00) (pulse)
100.01 Pulse output 1 Pulse output 1
(10.01) (pulse)
100.02 - Pulse output 0
(10.02) (direction) Do not use.
100.03 - Pulse output 1
(10.03) (direction) Do not use.
Shaded item: Output allocation is changed when replacing the CPM1A with the CP1E.
*1. The pulse output cannot be used with the CP1E-E type.
*2. Use without using a direction signal.

[Replacement Guide]From CPM1A to CP1E 9


3. Converting program and settings
3.1. Transferring program and settings of CPM1A
3.1.1. Transferring user program
Transfer the user program and PLC Setup from PLC to PC with the CX-Programmer, and save them.

3.1.2. Transferring Data Memory (DM)


Transfer the DM data from PLC to PC, and save them.
PLC memoryOpen DMFileSave to File

3.2. Converting program


Changing the PLC
Change the Device Type of the user program for the CPM1A from "CPM1 (CPM1A)" to "CP1E" with the
CX-Programmer.

3.3. Checking error and warning report


Select Program - Compile to check the program.

As the Output Window shows the errors and warnings, check them and modify the program.

[Replacement Guide]From CPM1A to CP1E 10


If a rung contains an error, a red line appears down the left-hand side of the ladder rung.

Compile can check the following contents.


 Illegal data
 Instruction support by PLC
 Operand ranges
 Program capacity for PLC
 Syntax
 Ladder diagram structure
 Output duplication
 Tasks

Note. Some errors might not be detected by the above-mentioned check with Compile.
Check the entire program to operate the system correctly after checking and modifying the contents in
3.4. Modifying program and other sections

[Replacement Guide]From CPM1A to CP1E 11


3.4. Modifying program
3.4.1. Modifying I/O memory area
Some I/O memory areas might be required to be changed.
If the address that does not exist in the CP1E is specified, an error will be displayed as a rung error in the
Output Window of the CX-Programmer when converted. (The error instruction is displayed in red on the
Ladder Program Window.)

Changing allocation of output bits


The output bits must be modified because the output bits of the CPM1A starting from CIO 10 changed to
those of the CP1E starting from CIO 100.
CPM1A CP1E
Output bits CIO 10 CIO 100
CIO 11 CIO 101
... ...
CIO 19 CIO 119

Example: CPU Unit with 40 I/O points


CPM1A : 010.00 to 010.07, 011.00 to 011.07 (starting from CIO10)
CP1E : 100.00 to 100.07, 101.00 to 101.07 (starting from CIO100)

The allocation of input bits does not need to be changed.

Refer to the I/O memory of the Appendix 1. Specification and performance comparison between
CPM1A and CP1E for the range of the CIO Area.

3.4.2. Allocations of Auxiliary Area and Special Area


Some bits and functions in the Auxiliary Area of the CP1E are different from those in the Auxiliary Area and
Special Area of the CPM1A. The allocations of the Auxiliary Area and Special Area are not displayed as
errors when converted. Refer to the Appendices 2 and 3, and reference manuals to change the bits and
ladder program.
Note. The Special Area of the CPM1A is included in the Auxiliary Area in the CP1E.

Refer to the Appendix 2. Changes in Special Area for the difference of the Special Area.
Refer to the Appendix 3. Changes in Auxiliary Area for the difference of the Auxiliary Area.

3.4.3. Allocation of Link Words


Although the allocations of the Link Words of the CPM1A and the CP1E are different, the CX-Programmer
does not convert. The Link Words are converted into the Work Area (W) for the CP1E as follows. If you use
Serial Links with the CP1E, modify the Link Words to the Serial PLC Link Words of the CP1E.
Link Words of When converted with Serial PLC Link
CPM1A CX-Programmer Words of CP1E
Link Words (CPM1A) LR0 to LR15 W0 to W15 CIO 200 to CIO 289
Serial PLC Link Words (CP1E)

3.5. Modifying instructions


3.5.1. Converting instructions that are changed to different instructions for CP1E
Some of the CPM1A instructions are changed to different instructions for the CP1E when converted.
Refer to the Instructions Reference Manuals in the reference manuals to modify the instructions for
operations of the system.
Some instructions that exist in the CPM1A do not exist in the CP1E.
Modify or add the ladder program so that the system may work correctly by other methods.
Refer to the Appendix 4. Instructions changed by replacing CPM1A with CP1E for the instructions to
be modified.

3.5.2. Modifying the CPM1A instructions that include changes of operand specifications
Some operand specifications of instructions that are supported by the CPM1A are changed for the CP1E.
Refer to the Instructions Reference Manual in the reference manuals to modify the operands for operations
of the system. Review modified operands and all parts using the I/O memory that is used for the operands
of the modified instructions, and check if operations are performed correctly.
Refer to the Appendix 5. Instruction specifications changed by replacing CPM1A with CP1E for the
instructions changed the specifications and their details.

[Replacement Guide]From CPM1A to CP1E 12


3.6. PLC Setup
The PLC Setup is not converted though the ladder program is converted by Change Model. The PLC Setup
settings of the CP1E must be changed. Refer to the Appendix 6. PLC Setup changed by replacing
CPM1A with CP1E for the difference in PLC Setup between the CPM1A and the CP1E.

3.7. I/O memory


When the data for the ladder program is set in the I/O memory (DM Area and Holding Area) of the CPM1A,
it is necessary to copy it to the I/O memory area of the CP1E.
Open the screen of the PLC memory of the CPM1A, copy necessary data, and paste it onto the I/O memory
of the CP1E.
(1) Select the necessary areas on the CPM1A PLC Memory Window, and right-clickCopy

(2)Open the PLC Memory Window of the CP1E, and paste the areas.

[Replacement Guide]From CPM1A to CP1E 13


3.8. Converting when interrupt input is used
When the interrupt input is used, it is necessary to change the ladder program and PLC Setup settings.
The interrupt program operates in subroutine of the CPM1A and in the interrupt task of the CP1E.
The subroutine program must be modified to the interrupt task.

(1) PLC Setup


When the model is changed from the CPM1A to the CP1E, the PLC Setup is not converted.
Enter the settings for the interrupt input to be used from the PLC Setup.

(2)Changing the instruction for permitting interrupts


The CPM1A permits (enables) interrupt inputs with the INT instruction, but the CP1E with the MSKS
instruction.
Note 1. When the model is changed, an error is output because the CP1E does not support the INT
instruction. Change to the MSKS instruction.
Note 2. Specify the interrupt when the input turns ON, because the CP1E has two methods to execute the
interrupt: when the input turns ON or when it turns OFF.
In the CPM1A, the interrupt is executed only when the input turns ON.
Note 3. Refer to the Instructions Reference Manuals for details of the instructions.

(3) Changing the interrupt ladder program


The ladder program of the CPM1A that is executed by the interrupt input is written between the
subroutine instructions (between SBN and RET).
Copy the interrupt program in the cyclic task and paste it onto the interrupt task after changing the model
to the CP1E.
Note 1. Allocate the task type when creating an interrupt task. If the task type is not allocated, the ladder
program in the interrupt task is not checked by compile on the CX-Programmer.

Interrupt inputs, subroutine numbers, and interrupt task numbers


CIO CPM1A CP1E
0.02 - Interrupt input 2 (Interrupt task 02)
0.03 Interrupt input 0 (Subroutine number 0) Interrupt input 3 (Interrupt task 03)
0.04 Interrupt input 1 (Subroutine number 01) Interrupt input 4 (Interrupt task 04)
0.05 Interrupt input 2 (Subroutine number 02) Interrupt input 5 (Interrupt task 05)
0.06 * Interrupt input 3 (Subroutine number 03) Interrupt input 6 (Interrupt task 06)
0.07 * - Interrupt input 7 (Interrupt task 07)
*The CP1E CPU Unit with 10 I/O points does not have CIO 0.06 and 0.07.

Example: Changing the CPM1A "0.03: Interrupt input 0" to the CP1E "0.03: Interrupt input 3"
CPM1A CP1E
Cyclic task

INT(89) MSKS
000 113
Permission for Interrupt input 3
interrupt input o 000 When input turns ON #0000
#000E
MSKS
*: CPM1A interrupt is executed only 103
when input turns ON. Enable interrupt input 3
#0000

END
SBN 00

Interrupt task 03 (interrupt input 03)


Ladder program for
interruption
Interrupt processing
RET

END END

PLC Setup
PLC Setup

[Replacement Guide]From CPM1A to CP1E 14


3.9. Converting when quick-response input is used
When the quick-response input is used, it is necessary to change the PLC Setup settings.

(1) PLC Setup


When the model is changed from the CPM1A to the CP1E, the PLC Setup is not converted.
Enter the settings for the quick-response input to be used from the PLC Setup.

(2) Changing the instruction for permitting interrupts


The CPM1A permits (enables) quick-response inputs with the INT instruction, but the CP1E cannot
permit with any instruction. Delete the INT instruction after changing the model.
Note 1. When the model is changed, an error is output because the CP1E does not support the INT
instruction.
Note 2. The PLC Setup of the CP1E enables after the power supply is turned ON.

Example: Changing the CPM1A "0.03: Quick-response input 0" to theCP1E "0.03: Quick-response input 3"
CPM1A CP1E
No ladder program

INT(89)
000
Permission for
interrupt input 0 000
#000E

PLC Setup PLC Setup

[Replacement Guide]From CPM1A to CP1E 15


3.10. Converting when high-speed counter is used
As for the high-speed counter, "up/down mode" and "incremental mode" of the CPM1A correspond to
"differential phase input" and "increment pulse input or up/down pulse input" of the CP1E.

Comparison of high-speed counter specifications


Item CPM1A CP1E
Input mode Up/down mode Differential phase inputs (x4)
(differential phase inputs (x4))
Incremental mode (single-phase Increment pulse inputs
inputs) or up/down pulse inputs *1
Pulse + direction inputs
Counting mode Linear mode only Linear mode
Ring mode
Count values Linear mode only Linear mode
Up/down mode: -32767 to +32767 80000000 to 7FFFFFFF Hex
Incremental mode: 0 to +65535 Ring mode
00000000 to Ring SV
Control method Target matching: Up to 16 target Target matching: Up to 6 target
values values
Range comparison: Up to 8 target Range comparison: Up to 6 target
values values *2
Input frequency Up/down mode: 2.5kHz max. Differential phase input:
N-type 50kHz max.
E-type 5kHz max.
Single-phase input: 5kHz max. Increment pulse input:
N-type 100kHz max.
E-type 10kHz max.
Reset method Phase Z + software reset Phase Z + software reset
Software reset *3 Software reset *4
*1. Refer to the 2.6. (2) to select the mode when converting.
*2. Examine to reduce to six or less target values on the system or to change to a high-end model such as
the CP1L when seven or more target values are set in the CPM1A.
*3. The comparison operation is always being executed.
*4. The comparison operation can be set to be being executed or stopped.

(1) PLC Setup


When the model is changed from the CPM1A to the CP1E, the PLC Setup is not converted.
Enter the settings for the high-speed counter from the PLC Setup.

(2) Changing the comparison table of the high-speed counter comparison instruction (CTBL instruction)
Although the specifications of the CTBL instructions of the CPM1A and CP1E are same, the data formats
of the comparison tables are different.
It is necessary to change target values of comparison tables (change from BCD to BIN) and to change
from subroutine numbers to interrupt task numbers.
Note. Allocate the task type when creating an interrupt task. If the task type is not allocated, the ladder
program in the interrupt task is not checked by compile on the CX-Programmer.

Target value comparison table


Item CPM1A CP1E
S Number of target values Number of target values
S+1 to S+2 Lower word of target value: BCD Lower word of target value: BIN
S+3 to S+4 Upper word of target value: BCD Upper word of target value: BIN
S+5 Subroutine number Interrupt task number

Range comparison table


Item CPM1A CP1E
S to S +1 Lower word of target value: BCD Lower word of target value: BIN
S +2 to S +3 Upper word of target value: BCD Upper word of target value: BIN
S +4 Subroutine number Interrupt task number

[Replacement Guide]From CPM1A to CP1E 16


(3) Changing the ladder program for interrupt processing
The ladder program for interrupt processing of the CPM1A is written between the subroutine instructions
(between SBN and RET).
Copy the interrupt processing program in the cyclic task and paste it onto the interrupt task after changing
the model to the CP1E.

Example
Change the CPM1A “up/down mode: registers a range comparison table and performs one comparison”
to the CP1E “differential phase input: registers a range comparison table and performs one
comparison”.
Two comparison tables are "1500 to 3000" and "14500 to 16000".

CPM1A CP1E
Cyclic task

CTBL(63) CTBL
000 #0000
High-speed counter 0
001 #0001
Registers a range
comparison table and DM100 Registers a range
performs one comparison table and D100
performs one
comparison.
comparison.
END
SBN 40

Range comparison 1 Interrupt task 10


Ladder program for
interruption Range comparison 1
Ladder program for
RET interruption

SBN 41
END

Range comparison 2
Ladder program for
Interrupt task 11
interruption

RET Range comparison 2


Ladder program for
interruption
END

PLC Setup END

PLC Setup

DM setting for CTBL instruction DM setting for CTBL instruction


DM100 1500 Comparison table 1 D100 #05DC Comparison table 1
DM101 0000 Lower word D101 #0000 Lower word 1500(5DC Hex)
DM102 3000 Comparison table 1 D102 #0BB8 Comparison table 1
DM103 0000 Upper word D103 #0000 Upper word 3000(BB8 Hex)
DM104 0040 Subroutine number D104 #000A Interrupt task number No.10(A Hex)
DM105 4500 Comparison table 2 D105 #38A4 Comparison table 2
DM106 0001 Lower word D106 #0000 Lower word 14500(38A4Hex)
DM107 6000 Comparison table 2 D107 #3E80 Comparison table 2
DM108 0001 Upper word D108 #0000 Upper word 16000(3E80 Hex)
DM109 0041 Subroutine number D109 #000B Interrupt task number No.11(B Hex)

[Replacement Guide]From CPM1A to CP1E 17


4. Transferring data
Transfer the program, settings, and data that had been converted and modified in Section 3 to the CP1E
CPU Unit via the peripheral USB port.

5. Precaution
 When the input device such as a Touch Panel is connected, the words used in the Programmable
Terminal might not be within the range of the I/O memory area of the CP1E. It is necessary to change the
settings of the Touch Panel as well as the ladder program.

[Replacement Guide]From CPM1A to CP1E 18


Appendix 1. Specification and performance comparison between CPM1A and CP1E
 Performance specifications
Item CPM1A CP1E E-type CP1E N-type
Maximum number of I/O points 10 to 160 points 10 to 160 points
Number of Expansion Units 10 and 20-point type: None 10, 14 and 20-point type: None
connected 30 and 40-point type: 3 units 30, 40 and 60-point type: 3 units
Power supply AC power supply models: AC power supply models: 100 to 240VAC
Operating voltage range 100 to 240VAC Operating voltage range: 85 to 264VAC
Power consumption Operating voltage range: Power consumption
85 to 264VAC 10, 14 , 20-point type: 15VA max./100VAC,
Power consumption 25VA max./ 240VAC
10, 20-point type: 30VA max. 30, 40, 60-point type: 50VA max./100VAC,
30, 40-point type: 60VA max. 70VA max./240VAC
DC power supply models: 24 VDC DC power supply models: 24VDC
Operating voltage range: Operating voltage range: 20.4 to 26.4VDC
20.4 to 26.4VDC Power consumption
Power consumption 10-point type: 9W max., 14, 20-point type: 13W max.
10, 20-point type: 6W max. 30, 40, 60-point type: 20W max.
30, 40 -point type: 20W max.
Output type Relay or transistor outputs Relay or transistor outputs
Terminal block Fixed Fixed
External power supply AC power supply models only AC power supply models only
30/40-point CPU Unit: 300mA 30/40/60-point CPU Unit: 300mA
10/20-point CPU Unit: 200mA 10/14/20-point CPU Unit: None
Program capacity 2K words not including 2K steps including 8K steps including
(External specification. Add 1K comments, symbol table, and comments, symbol table, comments, symbol table,
steps for internal Specification) program indices and program indices and program indices
DM Area capacity 1K words 2K words 8K words
D0 to D1499 can be D0 to D6999 can be backed
backed up to EEPROM. up to EEPROM.
Program language Ladder diagram only Ladder diagram only
Function block Not provided. Not provided.
SFC Not provided. Not provided.
Instructions Approximately 90 instructions Approximately 200 instructions
Instruction execution time LD: 1.72μs, MOV: 16.3μs LD: 1.19μs, MOV: 7.9μs
High-speed counter input
Mode Incremental pulse inputs: Up/down, pulse + Up/down inputs:
5kHz x 1 counter direction inputs: 100kHz x 1 counter,
or 10kHz x 2 counters 10kHz x 1 counter
Differential phase inputs (x4): or or
2.5kHz x 1counter Differential phase inputsPulse + direction inputs:
(x4): 5kHz x 2 counters 100kHz x 2 counters
or or
Incremental pulse inputs:Differential phase inputs
10kHz x 6 counters (x4): 50kHz x 1 counter,
Note. 10kHz x 5 counters 5kHz x 1 counter
for 10-point CPU Unit or
Incremental pulse inputs:
100kHz x 2 counters,
10kHz x 4 counters
Control method Target matching/ Target matching/Range comparison
Range comparison
Quick-response inputs 4 inputs 6 inputs (4 inputs only for 10 I/O inputs)
Input interrupts 4 inputs 6 inputs (4 inputs only for 10 I/O inputs)
Direct mode or counter mode Direct mode only

[Replacement Guide]From CPM1A to CP1E 19


Item CPM1A CP1E E-type CP1E N-type
Pulse Pulse output method Single-phase pulse Pulse output function not Pulse+ direction mode only
outputs Speed control Included included Included
Positioning Included Included
(trapezoidal control not included)
S-curve acceleration Not included Not included
and deceleration
Origin searches Not included Included
PWM outputs Not included Not included 1 output
DIP switch on front panel (SW) None None
Analog adjusters 2 adjusters 2 adjusters
Peripheral port C-series peripheral port USB2.0 Full-speed (12M)
Programming Console Can be connected Cannot be connected
Built-in serial communication None None RS-232C
port
Serial option port None None 14/20-point CPU Unit: None
30/40/60-point CPU Unit:
1 port
Serial communication Connected CPM1-CIF01/CI F11 Not included RS-232C port or serial
protocols to peripheral port. option port
Baud rate 1200/2400/4800/9600/19.2k No communication port 1200/2400/4800/9600/
19.2k/38.4k/57.6k/115.2k
Compatible Host Link Host Link
protocols Peripheral bus No-protocol mode
NT Link (1:1) NT Link (1:N) *1 *2
1:1 link (master) Serial PLC Links (master) *3
1:1 link (slave) Serial PLC Links (slave)
Modbus-RTU
Refreshed at once when PLC
Setup is changed. Refreshed for power
interruption after PLC Setup
has been changed.
Mountable Option Boards Option Board cannot be Option Board cannot be RS-232C Option Board
mounted. mounted. CP1W-CIF01
RS-422A/485 Option Board
The followings can be connected CP1W-CIF11/12
to peripheral port: Ethernet Option Board
RS-232C Adapter CP1W-CIF41
CPM1-CIF01
RS-422A Adapter The followings cannot be
CPM1-CIF11 mounted:
LCD Option Board
CP1W-DAM01
Battery None None None
Battery cannot be mounted. Battery cannot be Optional battery
mounted. (CP1W-BAT01) can be
mounted.
Capacitor backup 20 days (at ambient temperature 50 hours (at ambient 40 hours (at ambient
of 25C) temperature of 25C) temperature of 25C)
Nonvolatile memory Built-in flash memory (contains Built-in EEPROM (contains user programs, parameters,
(Backup memory) user programs, parameters, DM DM Area initial values and comment files)
Area initial values and comment
files)
*1. Only one PT can be connected.
*2. PT programming console is not supported.
*3. PTs participation is not possible.

[Replacement Guide]From CPM1A to CP1E 20


Item CPM1A CP1E E-type CP1E N-type
Backup function of DM Area to Initial values in DM 6144 to DM Any specified data (from D0) of DM Area can be backed
nonvolatile memory 6599 can be changed from up to backup memory by using Auxiliary Area control bits.
(The function to retain I/O Programming Device. Data can be restored to DM Area automatically when
memory data in battery-free They cannot be overwritten from power is turned ON for settings in PLC Setup.
operation) program during operation. Data that can be backed up
E-type: D0 to D1499 (max.)
N-type: D0 to D6999 (max.)
Trace memory Not included Not included
Clock (RTC) Not included Not included Included
Address offsets Not included Included
Number of cyclic tasks 1 1
Number of interrupt tasks None 16
Number of subroutine 49 128
Jump numbers 49 128
Scheduled interrupt 1 1
Time unit: 0.1ms Time unit: Only 0.1ms
Interrupt intervals are fixed when MSKS instruction is
executed.
Only reset/start can be executed by MSKS instruction.

 I/O memory
Item CPM1A CP1E E-type CP1E N-type
CIO 320 bits 4640 bits
CIO0.00 to CIO19.15 CIO0.00 to CIO289.00
Input bits: Starting from CIO0.00 Input bits: Starting from CIO0.00
Output bits: Starting from Output bits: Starting from CIO100.00
CIO10.00
Work Area (WR) 512 bits 1600 bits
CIO 200.00 to CIO 231.15 W0.00 to W99.15
Link Area(LR) 256 bits None
LR0.00 to LR15.15 (Serial PLC Link Words: CIO200.00 to 289.15)
Temporary Relay Area 8 bits 16 bits
TR0 to TR7 TR0 to TR15
Holding Area (HR) 320 bits 800 bits
H0.00 to H19.15 H0.00 to H49.15
Auxiliary Area (AR) Special Area Auxiliary area
Special Area (CPM1A only) 384bits SR232.00 to SR255.15 Read only: 7168 bits A0 to A447
Auxiliary Area Read/write: 4896 bits A448 to A753
384 bits A00.00 to A15.15
Timer Area 128 timer numbers 256 timer numbers
T0 to T127 (Using same T0 to T255
numbers as counters)
Counter Area 128 counter numbers 256 counter numbers
C0 to C127 (Using same C0 to C255
numbers as timers)
Data Memory Area 1K words 2K words 8K words
DM0 to 1023:Read/Write D0 to D2047 D0 to D8191
DM1000 to 1021: Error Log Area (D0 to D1499 can be (D0 to D6999 can be
D6144 to 6599: Read-only backed up to EEPROM by backed up to EEPROM by
D6600-6655: PLC Setup using Auxiliary Area using Auxiliary Area control
control bits. Data is bits. Data is restored to
restored to RAM when RAM when power is turned
power is turned ON for ON for settings in PLC
settings in PLC Setup.) Setup.)
Task Flag Area None 1
Index registers (IR) None None
Data registers (DR) None None
Trace memory None None

[Replacement Guide]From CPM1A to CP1E 21


Appendix 2. Changes in Special Area
CPM1A CP1E
Name
Special Area Auxiliary Area
Macro function output area 236 to 239 None
Input interrupt 3 counter mode SV 240 None
Input interrupt 4 counter mode SV 241 None
Input interrupt 5 counter mode SV 242 None
Input interrupt 6 counter mode SV 243 None
Input interrupt 3 counter mode PV 244 None
Input interrupt 4 counter mode PV 245 None
Input interrupt 5 counter mode PV 246 None
Input interrupt 6 counter mode PV 247 None
High-speed counter PV area 248 to 249 A270 to A271
Analog setting 0 250 A642
Analog setting 1 251 A643
High-speed counter reset bit 252.00 A531.00
A526.01
Peripheral port reset bit 252.08
(Serial option port restart)
PLC Setup reset bit 252.10 None
Forced status hold bit 252.11 A500.13
IOM hold bit 252.12 A500.12
Error log reset bit 252.14 A500.14
Error code 253.00 to 07 A400
Cycle time overrun flag 253.09 A401.08
Changing COMM port setup flag 253.12 None
Always ON flag 253.13 P_On
Always OFF flag 253.14 P_Off
First cycle flag 253.15 A200.11
1-minute clock pulse 254.00 P_1min
0.02-second clock pulse 254.01 P_0_02s
Negative flag 254.02 P_N
Differential monitor completed flag 254.06 A508.09
STEP execution flag 254.07 A200.12
0.1-second clock pulse 255.00 P_0_1s
0.2-second clock pulse 255.01 P_0_2s
1.0-second clock pulse 255.02 P_1s
Instruction execution error (ER) flag 255.03 P_ER
Carry (CY) flag 255.04 P_CY
Greater than flag 255.05 P_GT
Equals flag 255.06 P_EQ
Less than flag 255.07 P_LT

[Replacement Guide]From CPM1A to CP1E 22


Appendix 3. Changes in Auxiliary Area
CPM1A CP1E
Name
Auxiliary Area Auxiliary Area
Expansion Unit error flag for 1st Unit AR02.00 A436.00
Expansion Unit error flag for 2nd Unit AR02.01 A436.01
Expansion Unit error flag for 3rd Unit AR02.02 A436.02
Number of Expansion Units connected AR02.08 to 11 A437
Peripheral port error code AR08.08 to 11 None
Peripheral port communications error flag AR08.12 A392.12
Power-off counter AR10 A514
Range comparison flags AR11.00 to 07 A274.00 to 05
A280.04 (pulse 0)
Pulse output status AR11.15
A281.04 (pulse 1)
Power-up PLC Setup error flag AR13.00 A402.10
Start-up PLC Setup error flag AR13.01 A402.10
RUN PLC Setup error flag AR13.02 A402.10
Long cycle time flag AR13.05 A401.08
UM Area specification error flag AR13.08 None
FROM error flag AR13.09 A315.15
Read-only DM error flag AR13.10 None
PLC Setup error flag AR13.11 A402.10
Program error flag AR13.12 A401.15/A401.09
Data save error flag AR13.14 None
Maximum cycle time AR14 A262 to A263
Current cycle time AR15 A264 to A265

[Replacement Guide]From CPM1A to CP1E 23


Appendix 4. Instructions changed by replacing CPM1A with CP1E
Instruction CPM1A CP1E Result of instruction
conversion and measure
Shift instruction ASYNCHRONOUS SHIFT ASFT None Displayed as error.
REGISTER As CP1E does not have
alternative instruction, we
recommend you to use
CPIL/CP1H.
Increment INCREMENT INC ++B Converted
/decrement instructions DECREMENT DEC --B Converted
Calculation instructions BCD ADD ADD +BC Converted
BCD SUBTRACT SUB -BC Converted
BCD MULTIPLY MUL *B Converted
BCD DIVIDE DIV /B Converted
BINARY ADD ADB +C Converted
BINARY SUBTRACT SBB -C Converted
BINARY MULTIPLY MLB None Displayed as error.
SIGNED BINARY Use SIGNED BINARY
MULTIPLY: * MULTIPLY instead.
BINARY DIVIDE DVB None Displayed as error
SIGNED BINARY Use SIGNED BINARY
DIVIDE: / DIVIDE instead.
DOUBLE BCD ADD ADDL +BCL Converted
DOUBLE BCD SUBTRACT SUBL -BCL Converted
DOUBLE BCD MULTIPLY MULL *BL Converted
DOUBLE BCD DIVIDE DIVL /BL Converted
Logic instruction EXCLUSIVE NOR XNRW None Displayed as error.
(XORW+COM) Use combination of XORW
instruction and COM
instruction instead.
Subroutine instruction MACRO MCRO None Displayed as error.
As CP1E does not have
alternative instruction,
change ladder program
with multiple subroutines.
Interrupt control INTERVAL TIMER STIM MSKS Displayed as error.
instructions Use MSKS instruction
instead.
INTERRUPT CONTROL INT MSKS Displayed as error.
Use MSKS instruction
instead.
Special instruction MESSAGE DISPLAY MSG None Displayed as error.
CP1E does not have
alternative instruction
because Programming
Console cannot be used.
We recommend you to use
CP1W-DAM01.
Note. Refer to the Instructions Reference Manuals in the related manuals for details of the instructions.

[Replacement Guide]From CPM1A to CP1E 24


Appendix 5. Instruction specifications changed by replacing CPM1A with CP1E
Instruction Mnemonic Operand Operand specification of Operand specification of Modification after converting
number CPM1A CP1E with CX-Programmer
SINGLE DIST 3 C: Control word Of: Offset  Change Of from BCD data
WORD  C is BCD data when  Of is BIN data. to BIN data when using for
DISTRIBUTE using for single-word  No stack operation. single-word distribution.
distribution.  Stack operation can not be
converted because CP1E
does not have this function.
DATA COLL 2 C: Control word Of: Offset  Change Of to BIN data
COLLECT  C is BCD data when  Of is BIN data. when using for data
using for data collection.  No stack operation. collection.
 Stack operation can not be
converted because CP1E
does not have this function.
WORD SHIFT WSFT 1 St: Starting word S: Source word Although &0 data is input in
S is store in St. S: Source word, operation is
2 E: End word St: Starting word the same as CPM1A.
3 - E: End word
SPEED SPED 1 Single-phase pulse Pulse + direction only. Specify pulse output port
OUTPUT output Single-phase output and mode to be used.
cannot be specified.
2 M: Output mode M: Output mode
Output method and Output method and
direction are not direction must be
specified. specified.
3 F: Target frequency F: Target frequency It is necessary to convert
Set BCD value in 10Hz. Set BIN value in Hz. unit of target frequency and
convert BCD data into BIN
data.
SET PULSES PULS 1 Single-phase pulse Pulse output 0 Specify pulse output port
output Fixed at 000 Fixed at #0000 and mode to be used.
2 Fixed at 000 Fixed at #0000
(relative mode) (relative mode)
3 When specifying word, When specifying word, Change pulse output
contents of word are BCD contents of word are BIN amount from BCD data to
data data BIN data.
When specifying constant, When specifying
BCD data constant, BIN data
FAILURE FAL 2 No second operand Specify message word Second operand is
ALARM with second operand. converted to #0 data (no
message).
SEVERE FALS 2 No second operand Specify message word Second operand is
FAILURE with second operand. converted to #0 data (no
ALARM message).
Note. Refer to the Instructions Reference Manuals in the related manuals for details of the instructions.

[Replacement Guide]From CPM1A to CP1E 25


Appendix 6. PLC Setup changed by replacing CPM1A with CP1E
It is necessary to set because the PLC Setup is not converted even if the model is changed.
CPM1A CP1E
Function Item Function Item
Startup Startup mode PROGRAM Startup Startup mode PROGRAM
MONITOR MONITOR
RUN RUN
Continue operating mode None
last used before power
was turned OFF.
Programming Console None
switch
IOM hold Reset/Maintain None None
Forced status Reset/Maintain None None
Programming Japanese - Programming Console
Console display cannot be connected.
language
Program memory Unprotected/Protected Transition from PLC Setup.
write-protection Various protections available.
If data could not be Memory error will be Clear held memory to zero
saved with built-in generated when power is turned ON.
capacitor
Cycle time Cycle monitor timer Disable: fixed at 120ms Timing/ Watch cycle time Default: 1000ms
Setting: 99s max. Interrupt Any value can be set.
Monitor time
= setting x unit
Setting unit: 10ms/
100ms/1s
Cycle time Default: Variable Constant cycle Default: Variable
Other: Minimum time time Other: Any value can be set.
Servicing time for Peripheral port Service for None None
peripheral port 0 to 99%of cycle time peripheral port
Interrupt/ Interrupt input IR 00003 to 6 Built-in input Interrupt input IN2 to 7
Refreshing Input constant IR 000 to 0009 Input constant Input constant 0 to 17CH
IN0ch is set every 2bits. (0 to 17CH) All words including IN0ch are
1/2/4/8/16/32/64/128ms set at the same time.
No filter/1/2/4/8/16/32ms
Host Link Communications Standard Built-in Communications Standard
port setting Custom RS-232C setting Custom
Baud rate 1200 to 19.2kbps Baud rate 1200 to 115.2kbps
Mode Host Link Mode Host Link
1:1 PC Link (slave) Serial PLC Link (slave)
1:1 PC Link (master) Serial PLC Link (master)
NT Link (1:1) NT Link (1:N)
Link words LR00 to LR15 - No setting (fixed value)
Node number 0 to 31 Unit number 0 to 31
Delay 0 to 9999ms Delay 0 to 9999ms
Error log Cycle time monitor Detect (non-fatal error) / Timing/ Watch cycle time Check/Not check
setting Not detect Interrupt Cycle time Check/Not check
Style Shift after 7 records has - - No setting
been stored / Store only 20 records (fixed)
first 7 records / Not store
High-speed Counter reset Z phase + software reset Built-in input High-speed Select reset method.
counter Software reset only counter 0
Counter mode Differential phase input Differential phase input (x4)
(2.5kHz)
Increment mode (5kHz) Increment pulse input
Counter enable Not use/Use Check "Use".
Shaded item: Specification of setting item is changed.

[Replacement Guide]From CPM1A to CP1E 26


Appendix 7. Expansion Units
Model numbers of the Expansion Units when replacing the CPM1A with the CP1E
CPM1A CP1W When replacement model does
Expansion Unit Expansion Unit not exist
I/O Unit with 40 I/O CPM1A-40EDR CP1W-40EDR
points CPM1A-40EDT CP1W-40EDT
CPM1A-40EDT1 CP1W-40EDT1
I/O Unit with 20 I/O CPM1A-20EDR1 CP1W-20EDR1
points CPM1A-20EDT CP1W-20EDT
CPM1A-20EDT1 CP1W-20EDT1
Input Unit with 8 inputs CPM1A-8ED CP1W-8ED
Output Unit with 8 CPM1A-8ET CP1W-8ET
outputs CPM1A-8ET1 CP1W-8ET1
Analog Input Unit CPM1A-AD041 CP1W-AD041
Analog Output Unit CPM1A-DA041 CP1W-DA041
Analog I/O Unit CPM1A-MAD01 None Replace with CP1W-MAD11.
CPM1A-MAD11 CP1W-MAD11
CompoBus/S CPM1A-SRT21 CP1W-SRT21
I/O Link Unit
DeviceNet CPM1A-DRT21 None There is no Unit to replace.
I/O Link Unit Please examine to replace
DeviceNet with Compobus/S or
replace PLC with another PLC
that can be used with DeviceNet.
Temperature Sensor CPM1A-TS001 CP1W-TS001
Unit CPM1A-TS002 CP1W-TS002
CPM1A-TS101 CP1W-TS101
CPM1A-TS102 CP1W-TS102

[Replacement Guide]From CPM1A to CP1E 27


MEMO
MEMO
2012

P083-E1-01 0412(-)

You might also like