Omron CP2E Programming Manual

The Omron CP2E is a compact, cost-effective PLC from the CP series, designed for small-scale automation applications. It features built-in I/O, Ethernet connectivity (on some models), USB programming port, support for ladder logic programming, analog I/O options, pulse outputs, and high-speed counters. Below are key sections for safety, features, installation, setup, programming, operation, and troubleshooting.

1. Features at a Glance 2. Installation 3. First-Time Setup 4. Specifications 5. Hardware Configuration 6. Connecting Devices 7. Programming Basics 8. Advanced Functions 10. Care & Maintenance 11. Regulatory Information 12. Troubleshooting

Features at a Glance

Key components: CPU unit with built-in I/O, expansion I/O units (optional), USB programming port, Ethernet port (CP2E-E), power supply terminal, and removable terminal blocks.

FeatureDescription
Built-in I/ODigital inputs and outputs (sink/source selectable)
USB PortFor connection to programming software (CX-Programmer)
Ethernet Port (CP2E-E)For network communication and programming
Expansion I/OSupports up to 3 expansion units for additional I/O points
Analog I/O OptionAnalog input and output modules available
High-speed CountersUp to 4 high-speed counters for encoder input
Pulse OutputsBuilt-in pulse outputs for positioning control
MemoryProgram memory, data memory, and retentive memory areas
Programming SoftwareCX-Programmer (version 9.7 or later)
Operating ModesRUN, MONITOR, PROGRAM modes

Installation

Unpack and inspect contents. Mount on DIN rail or panel.

  1. Mounting: Attach to DIN rail (35mm) or directly to panel using mounting holes.
  2. Wiring: Connect power supply (24VDC) to power terminals. Ensure correct polarity.
  3. I/O Wiring: Connect input devices (sensors, switches) and output devices (relays, valves) to terminal blocks.
  4. Expansion Units: Connect expansion I/O units to the right side of CPU unit.
  5. Communication: Connect USB cable to PC for programming.

WARNING! Disconnect power before wiring. Ensure proper grounding to prevent electrical shock and noise interference.

First-Time Setup

Power on PLC; connect to programming software.

  1. Install CX-Programmer: Install software on PC from provided CD or download.
  2. Connect USB: Connect USB cable between PC and CP2E USB port.
  3. Create New Project: In CX-Programmer, select CP2E CPU type and create new project.
  4. Transfer Settings: Set communication path (USB) and go online.
  5. Initial Settings: Configure PLC settings (I/O table, memory allocation) if required.
  6. Write Initial Program: Create simple ladder logic and transfer to PLC.
  7. Switch to RUN Mode: Change PLC mode from PROGRAM to RUN to start operation.

CAUTION! Ensure program logic is correct before switching to RUN mode to prevent unintended machine operation.

Specifications

Hardware Configuration

Access hardware settings via CX-Programmer or built-in DIP switches. Front Panel: RUN/STOP switch, USB port, communication indicators (PWR, RUN, ERR, IN, OUT).

DIP Switches: Used to set parameters like input filter time, startup mode.

I/O Allocation: Automatic allocation for built-in I/O and expansion units. Memory Areas: CIO (input/output), WR (work), DM (data), HR (holding), AR (auxiliary). System Settings: Configure in CX-Programmer PLC settings dialog (cycle time, memory protect, etc.).

Connecting Devices

Input Devices: Connect to input terminals (sink/source wiring). Output Devices: Connect to output terminals (relay or transistor outputs). Expansion Units: Connect to right side of CPU. PC: USB for programming. Network: Ethernet cable for CP2E-E models.

  1. Turn off power before connecting devices.
  2. Refer to wiring diagrams in manual for sink/source configurations.
  3. Use appropriate wire gauge (AWG 22-16).
  4. Secure connections and route wires properly to avoid interference.

Tip: Label all wires for easy identification during maintenance.

Programming Basics

Uses ladder logic programming in CX-Programmer.

  1. Create New Project: Select CP2E CPU type.
  2. Ladder Elements: Use contacts (NO, NC), coils, timers, counters, comparators.
  3. Programming: Drag and drop elements to create rungs.
  4. Timers: TIM, TIMH (high-speed) instructions with set value in 0.1s or 0.01s units.
  5. Counters: CNT, CNTR (reversible) instructions.
  6. Data Movement: MOV instruction to transfer data between memory areas.
  7. Compile: Check program for errors (compile).
  8. Transfer to PLC: Download program to PLC memory.
  9. Monitor: Go online to monitor I/O status and data values in real-time.
  10. Debug: Use force set/reset for testing (use with caution).

WARNING! Always test program in a safe environment. Use forced I/O only when machine is stopped.

Advanced Functions

High-speed Counters: Configure in PLC settings for encoder input. Pulse Outputs: Use PLS2 instruction for positioning control. Analog I/O: Scale analog values using SCL instruction. Communications: Ethernet (FINS/TCP, Socket) for CP2E-E; protocol macro for serial communication. Interrupts: Scheduled interrupts, I/O interrupts.

Care & Maintenance

Disconnect power before cleaning. Use dry cloth only; no liquids or aerosols. Periodically check terminal connections for tightness. Replace backup battery (if equipped) every 5 years.

CAUTION! Do not spray liquids; keep away from excessive dust, heat, and moisture.

Regulatory Information

CE marked; complies with relevant EU directives. UL listed; CSA certified. Copyright © Omron Corporation. All trademarks are property of their respective owners. For support, visit www.omron.com/industrial or contact your local Omron representative.

Troubleshooting

SymptomPossible CauseCorrective Action
PWR LED offNo powerCheck power supply voltage and connections.
ERR LED flashing/onHardware/software errorCheck error code via CX-Programmer; refer to manual.
PLC not connecting to PCUSB driver/cableInstall USB driver; try different cable; check COM port settings.
Inputs not respondingWiring/configurationCheck input wiring (sink/source); verify input filter settings.
Outputs not turning onWiring/program logicCheck output wiring and load; monitor program to see if coil is energized.
Program not runningPLC modeEnsure PLC is in RUN mode (RUN LED on).
Memory errorBattery/corruptionReplace battery; clear memory and reload program.

Reset: Use CX-Programmer to clear memory and reset PLC if needed.

Service: Contact Omron technical support or authorized distributor.

Omron CP2E Programming Manual © - All Rights Reserved 2025