CPM1A To CP1E Replacement Guide
CPM1A To CP1E Replacement Guide
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.
                                 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.
 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.
                                     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.
 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
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.
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.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.
  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
    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
    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
     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
                +            00          01          02         NC                                     NC        00          01          02        NC
           -       COM0           COM1        COM2        03          NC                         NC       COM0        COM1        COM2        03        NC
                 10CH                                                                                   10CH
CP1E-E10D□□-□
                00           01          02          03                                                00        01          02          03
          COM      COM             NC         COM         NC                                     COM      COM          NC         COM         NC
                 100CH                                                                                  100CH
As the Output Window shows the errors and warnings, check them and modify the program.
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
  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.
  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.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.
(2)Open the PLC Memory Window of the CP1E, and paste the areas.
  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
END END
        PLC Setup
                                                        PLC Setup
  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
  (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.
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
                                  SBN 41
                                                                                        END
                 Range comparison 2
                 Ladder program for
                                                       Interrupt task 11
                    interruption
PLC Setup
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.
  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
P083-E1-01 0412(-)