In the field of small and medium-sized automation equipment control, programmable logic controllers (PLCs) need to balance compactness, high performance, and rich scalability. The OMRON CP1H series is precisely such a "compact high-performance" PLC that combines the advanced architecture of the CS/CJ series with the ease of use of the CPM series. This article is based on the original factory technical manual and provides a comprehensive operation guide for automation engineers, system integrators, and equipment maintenance personnel, covering CPU selection, hardware configuration, built-in functions (high-speed counting, pulse output, interrupts), use of expansion units, programming debugging, and fault diagnosis.
Chapter 1: Overview and Selection of CP1H Series
CP1H offers three CPU models to meet different application requirements.
1.1 X-type (basic type)
Model: CP1H-X40DR-A (relay output, AC power supply), CP1H-X40DT-D (transistor drain output, DC power supply), CP1H-X40DT1-D (transistor source output, DC power supply)
Built in I/O: 24 point input (24VDC)+16 point output
Program capacity: 20K steps
High speed counter: 4-axis, 100kHz (single-phase)/50kHz (differential phase)
Pulse output: 4-axis, 100kHz (unit version 1.1 and later); Version 1.0 is 2-axis 100kHz+2-axis 30kHz)
1.2 XA type (with built-in analog)
Model: CP1H-XA40DR-A/XA40DT-D/XA40DT1-D
Add: 4 analog inputs (voltage/current optional)+2 analog outputs on the basis of X-type
Analog resolution: 1/6000 or 1/12000 (adjustable)
Input range: 0~5V, 1~5V, 0~10V, -10~+10V, 0~20mA, 4~20mA
Output range: 1-5V, 0-10V, -10~+10V, 0-20mA, 4-20mA
1.3 Y-type (dedicated pulse I/O type)
Model: CP1H-Y20DT-D (24VDC power supply, transistor leakage output)
Built in I/O: 12 point input+8 point output
High speed counter: 2-axis 1MHz (differential phase 500kHz)+2-axis 100kHz (dedicated terminal)
Pulse output: 2-axis 1MHz (line driven output)+2-axis 100kHz
Suitable for applications such as linear servo and high-precision positioning
1.4 System Expansion Capability
Up to 7 CP series expansion units or expansion I/O units can be connected
Maximum total I/O points: 320 points (X/XA type) or 300 points (Y type)
Up to 2 CJ series special I/O units or CPU bus units (such as Controller Link, Ethernet, DeviceNet, serial communication units, etc.) can be connected through the CP1W-EXT01 adapter
Attention: CJ series basic I/O units cannot be connected
1.5 Unit Version Management
CP1H introduces the concept of Unit Version, with different versions having different functionalities. The unit version is marked on the nameplate and can be read through CX Programmer (Ver. 6.1 or above). The starting version of Y-shaped is 1.1, and the starting version of X/XA is 1.0. Version 1.1 increases the pulse output from 2-axis 100kHz+2-axis 30kHz to 4-axis 100kHz.
Chapter 2: Installation and Wiring - Reliability Fundamentals
2.1 Environmental Requirements
Working temperature: 0~55 ℃
Humidity: 10%~90% RH (no condensation)
No corrosive gas, no excessive dust, no strong electromagnetic interference
Installed inside the control cabinet (IP54 or above)
2.2 Power Wiring
AC power type (100~240VAC): L1, L2/N terminals, grounding resistance ≤ 100 Ω. Provide 24VDC 300mA external service power supply.
DC power supply type (24VDC): voltage range 20.4~26.4V (21.6~26.4V is required when connecting more than 4 expansion units)
Grounding: The GR terminal must be grounded (≤ 100 Ω), and LG is the neutral terminal of the noise filter. If necessary, it should be short circuited to GR and grounded.
2.3 Input wiring
X/XA type inputs are divided into three groups:
CIO 0.00~0.03, CIO 1.00~1.03: Input impedance 3.0k Ω, ON voltage ≥ 17VDC, response time ≤ 50 μ s (can be used for high-speed counting, interruption, fast response)
CIO 0.04~0.11: Input impedance 3.0k Ω, response time ≤ 2.5 μ s (ultra high speed input)
CIO 1.04~1.11: Input impedance 4.7k Ω, response time ≤ 1ms (normal input)
All inputs share COM. Fixed allocation of input terminals for high-speed counters:
Counter 0: Phase A → CIO 0.08, Phase B → 0.09, Phase Z → 0.03
Counter 1: Phase A → 0.06, Phase B → 0.07, Phase Z → 0.02
Counter 2: Phase A → 0.04, Phase B → 0.05, Phase Z → 0.01
Counter 3: Phase A → 0.10, Phase B → 0.11, Phase Z → 1.00
2.4 Output wiring
Relay output: maximum 2A/point (250VAC or 24VDC), electrical life 100000 times (resistive load)
Transistor output (drain/source): maximum 300mA per point, 0.9A/common terminal, 3.6A/unit
Pulse output uses CIO 100.00~100.07, PWM output uses CIO 101.00~101.01
When searching for the origin, CIOs 101.02~101.05 can be used as bias counter reset outputs
2.5 Anti interference and safety measures
Separate the control line and power line for routing (spacing ≥ 300mm)
Inductive loads require parallel surge absorbers (RC or diodes)
External hard wired safety circuits such as emergency stop and limit must be set up, and cannot rely solely on PLC programs
Wait at least 1 minute (capacitor discharge) after power failure before touching the interior

Chapter 3: I/O Memory Structure - Fundamentals of Programming
The I/O memory of CP1H adopts a similar architecture to CS/CJ series, but the I/O allocation method is the same as CPM series (fixed area).
3.1 CIO Area (Core I/O Area)
Built in input: CIO 0.00~CIO 1.11 (24 o'clock)
Built in output: CIO 100.00~CIO 101.07 (16 points)
Expansion unit input: Allocate sequentially starting from CIO 2
Expansion unit output: allocated sequentially starting from CIO 102
Data link area: CIO 1000~1199
CPU bus unit area: CIO 1500~1899
Special I/O Unit Area: CIO 2000~2959
Serial PLC link area: CIO 3100~3189
DeviceNet area: CIO 3200~3799
Internal workspace: CIO 1200~1499, CIO 3800~6143
3.2 Work Area (W)
W0~W511 (512 characters), pure internal working bit, power off reset (IOM hold bit can be held)
3.3 Holding Zone (H)
H0~H511 (512 characters), power off hold, suitable for devices that require memory states
3.4 Auxiliary Area (A)
A0~A447: Read only system flag
A448~A959: Read and write (such as A500.12 IOM hold bit, A500.15 output OFF bit, etc.)
3.5 Timer/Counter Area
T0~T4095 (4096 timers), C0~C4095 (4096 counters)
You can choose BCD mode (0~9999) or binary mode (0~65535)
3.6 Data Storage Area (D)
D0~D32767 (32K characters), keep powered off
D20000~D29599: Used for CJ series special I/O units
D30000~D31599: Used for CJ series CPU bus units
D32200~D32299 (serial port 1)/D32300~D32399 (serial port 2): Modbus RTU for easy main station use
3.7 Index registers (IR0~IR15) and data registers (DR0~DR15)
Used for indirect addressing, supporting automatic addition, subtraction, offset and other operations
By default, each task is independent and can be set as shared in CX Programmer
Chapter 4: Core Built in Functions - High speed Counting and Pulse Output
4.1 High speed counter (up to 100kHz/1MHz)
CP1H has 4 built-in high-speed counters (Y-shaped with 2 dedicated 1MHz terminals). Set up through PLC Setup:
Input modes: differential phase (4th harmonic), pulse+direction, increasing/decreasing pulse, single-phase increasing
Counting mode: linear mode (range -2147483648~+2147483647) or circular mode (0~set maximum value)
Reset methods: Z-phase+software reset, software only reset, Z-phase with comparison continuation+software reset, etc
Comparison function: Target value comparison (up to 48 points) or region comparison (up to 8 intervals), triggering interrupt tasks when PV matching (0~255)
Use the CTBL (882) instruction to register the comparison table, the INI (880) instruction to control the start and stop of the comparison, and the PRV (881) instruction to read PV or frequency. Frequency measurement only supports counter 0.
4.2 Pulse output (positioning and speed control)
Built in 4-channel pulse output (Y-shaped with 2-channel 1MHz line driven output). The output mode can be CW/CCW or pulse+direction.
SPED (885): No acceleration/deceleration pulse output (continuous or independent mode)
ACC (888): with acceleration/deceleration pulse output (acceleration rate=deceleration rate)
PLS2 (887): with acceleration/deceleration pulse output (acceleration rate ≠ deceleration rate, supports starting frequency)
PULS (886): Set the number of pulses (used in conjunction with SPED or ACC)
ORG (889): Origin Search/Origin Return
INI (880): Stop pulse output or change PV
PWM (891): Variable duty cycle pulse output (frequency 0.1~6553.5Hz, duty cycle 0.0~100.0%)
Key features:
Multi stage startup: PLS2 can be executed again during execution to change the target position, speed, and acceleration/deceleration rate
Triangle control: When the required number of pulses for acceleration and deceleration exceeds the total number of pulses, the constant speed segment is automatically cancelled
Automatic selection of absolute coordinates: After the origin is determined, CW/CCW is automatically selected based on the current PV and target values
Interrupted feed: In speed control (continuous mode), executing PLS2 can switch to positioning mode and stop after outputting a fixed pulse
4.3 Origin Search and Origin Return
To execute through ORG (889), it is necessary to enable and set parameters in the PLC Setup:
Operation modes: 0 (no deviation counter reset, no positioning completion input), 1 (deviation counter reset), 2 (positioning completion input)
Search direction: CW or CCW
Detection method: Select the inversion method based on the near origin signal
Speed parameters: starting speed, high speed, approach speed, acceleration and deceleration rate
Origin compensation: offset by a specified number of pulses after detecting the origin
Limit input: CW/CCW limit switch type (normally open/normally closed)
During the origin search process, the external limit switch signal needs to be written into A540.008-A543.09 (CW limit mark) and A540.009-A543.09 (CCW limit mark). The origin search error code is stored in A444/A445, etc.

Chapter 5: Interrupt Function - Real time Response
5.1 Input Interrupt (Direct Mode)
X/XA type: 8 points (CIO 0.00~0.03, CIO 1.00~1.03)
Y-shaped: 6 points (CIO 0.00~0.01, CIO 1.00~1.03)
Triggered by rising or falling edge, with a response time of approximately 0.3ms
Corresponding interrupt tasks 140~147
5.2 Input Interrupt (Counting Mode)
The same terminal can be set to counter mode, triggering an interrupt when the count reaches the set value
Total frequency ≤ 5kHz (sum of all count mode interrupts)
SV is stored in A532~A551, PV is stored in A536~A551
5.3 Timed Interruption
Fixed interval triggered interrupt task 2
The interval unit can be selected as 10ms, 1ms, or 0.1ms (PLC Setup setting)
Minimum interval of 0.5ms, response error ≤ 1ms
5.4 High speed counter interrupt
Register target values or region comparison tables through CTBL (882), and trigger specified interrupt tasks (0~255) when PV matches
The maximum number of entries in the target value comparison table is 48, and the maximum number of intervals in the region comparison table is 8
5.5 External Interrupt
Interrupt requests from CJ series special I/O units or CPU bus units
5.6 Precautions for Interrupt Programming
The interrupt task program must be independent and end with END (001)
When multiple interrupts occur simultaneously, the priority is: external interrupt>input interrupt>high-speed counter interrupt>timed interrupt; Priority given to tasks with smaller numbers within the same category
If the interrupt task and the loop task access the same memory address, DI (693)/EI (694) should be used to mask the interrupt to prevent data inconsistency
Chapter 6: Analog Function (XA Type) and Analog Adjustment
6.1 Built in analog input (XA type)
4-channel, select voltage or current input through internal DIP switch (factory default voltage)
Resolution options are 1/6000 or 1/12000 (set uniformly in PLC Setup)
Voltage input range: 0~5V, 1~5V, 0~10V, -10~+10V
Current input range: 0~20mA, 4~20mA
Average processing function (can be enabled separately)
Wire breakage detection: When 1-5V input is less than 0.8V or 4-20mA is less than 3.2mA, the converted data is 8000 hex
A/D conversion data stored in CIO 200~203
6.2 Built in analog output (XA type)
2 channels, output range same as input (voltage/current optional)
Convert data and write it to CIO 210~211
Conversion time: 1ms/point (total 6ms)
6.3 Analog regulator and external analog setting
Front panel analog regulator: 0~255 (A642)
External analog input (0~10V): 0~256 (A643)
Suitable for on-site settings that do not require high precision (such as timer SV)

Chapter 7: Serial Communication and Option Board
7.1 USB port
Standard USB 1.1 (Type B), used to connect supported software such as CX Programmer
Plug and play, requires installation of USB driver (located in the CX One installation directory)
Only one CP1H can be connected to the same computer (USB restriction)
7.2 Serial Option Board
CP1H provides two option slots for installation:
CP1W-CIF01: RS-232C port (D-sub 9-pin female head)
CP1W-CIF11: RS-422A/485 port (non isolated, 50m)
CP1W-CIF12: RS-422A/485 port (isolated, 500m)
7.3 Communication Mode
Host Link: Upper computer C-Mode/FINS command, 1:1 or 1: N (NT-AL001 required)
NT Link (1: N): Connect NS/NT series touch screens
No protocol: TXD/RXD instructions can be freely sent and received
Serial PLC link: Up to 9 CP1H/CJ1M share data (1 master and 8 slaves), 10 words per unit
Modbus RTU simple master station: Control Modbus slave stations through DM fixed allocation words (D32200~D32299 serial port 1, D32300~D32399 serial port 2) and software switches
Serial gateway: FINS command to CompoWay/F or Modbus RTU
7.4 Serial PLC Link
Can be implemented on RS-422A/485 (multiple units) or RS-232C (2 units)
Data refresh method: full link (all node data mapped to each other) or master link (slave only exchanges with master)
Link word range: CIO 3100~3189
Chapter 8: LCD Option Board (CP1W-DAM01)
8.1 Function Overview
2.6cm x 1.45cm LCD screen, 4 lines x 12 characters
Green backlight (normal)/Red backlight (flashing when PLC error occurs)
Supports display in English/Japanese (katakana)
8.2 Main functions
PLC mode display/switching: RUN/MONITOR/PROJECT
I/O memory monitoring/modification: supports CIO, W, H, A, D, T, C and other areas, can display hexadecimal, signed/unsigned decimal
PLC Setup monitoring/modification: quick access to key parameters such as operating modes
Analog monitoring: Display analog regulator (A642) and external analog settings (A643)
Error history: up to 20 records, displaying error codes and occurrence times
Memory card operation: load, save, compare, format CP1W-ME05M
User monitoring screen: up to 16 screens, 4 lines per screen, with customizable I/O addresses and text strings
Message screen: Up to 16 screens, triggered by control bits (W000.00~W000.15) for display
Timer switches: daily timer, weekly timer, calendar timer, up to 16 each
Data backup: Save user settings (monitoring screen, message screen, timer, etc.) to the DM area (D8000~D8999) or load from the DM area
8.3 Installation and DIP switch
Installed in option slot 1, the CPU unit DIP switch SW4 needs to be set to ON (Toolbus 115.2kbps)
Otherwise, communication will not be possible
Chapter 9: Ethernet Option Board (CP1W-CIF41)
9.1 Specifications
100Base-TX/10Base-T, Support automatic negotiation, automatic MDI/MDI-X
Protocol: FINS/UDP, FINS/TCP, HTTP (Web Server)
FINS message maximum length: 1016 bytes (data area 1004 bytes)
Number of TCP connections: 2 (only as a server)
Support IP address table, IP router table, and routing table
9.2 Function
Programming/monitoring via Ethernet using CX Programmer (Ver. 8.1 or above)
Set parameters and monitoring status through a web browser (default IP 192.168.250.1, password "ETHERNET")
Support FINS/TCP traversal through routers (Internet)
Not supporting FTP, email, socket services
9.3 Memory Allocation
CIO area: m=2980+10 x (0xFD - Unit Address), occupying 3 words (Service Status, Error Status, TCP Connection Status)
DM area: n=32000+300 x (0xFD - unit address), occupying approximately 157 words (IP address, subnet mask, IP address table, IP router table, etc.)

Chapter 10: Program Debugging and Fault Diagnosis
10.1 Working mode
Program: does not execute the program, can modify or transmit the program
MONITOR: Execute program, can be forcibly set/reset, online editing
RUN: Execute program, prohibit forced operation
10.2 Debugging Tools
Force Set/Reset: Force ON/OFF of I/O bits, timer/counter completion flags, etc. in MONITOR mode
Differential monitoring: monitoring the rising or falling edge of a specific location
Online editing: Modify program segments in MONITOR mode, with an extended cycle time during the modification period (up to 26ms), and automatically backup to flash memory after modification (BKUP light on)
Data tracking: can be sampled at regular intervals, per cycle, or triggered by TRSM (045), with a maximum of 31 bits and 6 words
10.3 Misclassification
CPU Error (WDT): ERR/ALM red light on, RUN off, stop running (7-segment display frozen or no display)
Fatal error: ERR/ALM red light on, RUN off, stop running (7-segment displays error code)
Non fatal error: ERR/ALM red light flashing, continue running
Standby: RUN off, ERR/ALM not on, waiting for startup conditions to be met
10.4 Common fatal errors and their handling
Possible reasons for displaying incorrect names in paragraph 7 and handling them
80F1 → 0001 User Program Verification Error Program Damage Program Resend Program
80F1 → 0100 PLC Setup verification error, damaged settings, resend PLC Setup
80C0~80CF I/O bus error, poor connection of expansion unit, missing terminal cover, check connection, install terminal cover
80E9 Unit Number Duplicate CJ Unit Number Conflict Modification Unit Number
Reduce the number of expansion units from 80E1 to 6000 if there are more than 7 expansion units
80E1 → 4000 I/O word count exceeds limit, input or output word count exceeds 15, adjust expansion unit combination
80F0 → 0800 No END instruction in program. No END (001). Insert END at the end of the task
809F cycle time exceeds the monitoring time by optimizing the program or extending the monitoring time
C101~C2FF FALS instruction execution user-defined fatal error check FALS trigger conditions
10.5 Common Non fatal Errors
Possible reasons for displaying incorrect names in paragraph 7 and handling them
4101~42FF FAL instruction execution user-defined non fatal error check FAL trigger conditions
008B Interrupt Task Error: Repeatedly refreshing special I/O units, modifying programs, or disabling detection in interrupt tasks
009B PLC Setup setup error setting value out of range check A406 positioning error address
0200~020F CPU bus unit error, unit failure or communication abnormality, restart or replace unit
0300~035F Special I/O Unit Error Unit Fault Check Corresponding Unit
00F7 battery error, low battery voltage, battery replacement (CJ1W-BAT01)
00D1/00D2 option board error. Option board not installed or communication abnormal. Check installation and DIP switch
10.6 Interpretation of 7-segment LED Display
Error codes are displayed on two screens (e.g. 80F1 → 0001)
When multiple errors occur simultaneously, display the most severe one and clear it to display the next one
Special display: 8.0. → c.f. → 0. f. → 0. f. indicates I/O bus error (CJ unit, unknown location)
Chapter 11: Maintenance and Battery Replacement
11.1 Regular inspection items
Environmental temperature (0~55 ℃), humidity (10%~90%)
Power supply voltage fluctuation
Tightening condition of terminal screws
Operation of cooling fan (if any)
Battery status (A402.04 battery error flag)
11.2 Battery Replacement (CJ1W-BAT01)
Battery life: about 5 years at 25 ℃, about 1.5 years at 55 ℃
Replacement steps:
Power on for at least 5 minutes (to charge the capacitor)
Power off, complete replacement within 5 minutes
Open the battery cover, remove the old battery, and insert the new battery
Replace the battery cover and power on again
Automatically clear battery errors after replacement (if PLC Setup is set to detect battery)
Strictly prohibit: short circuit, charging, heating, dismantling, and burning of batteries
11.3 Battery free operation
Automatically save user programs, PLC Setup, etc. to flash memory
The initial value of DM can be saved to flash memory through CX Programmer and set to automatically load when powered on
HR area, DM area (non initial values), and counter PV do not maintain power when there is no battery, requiring program initialization
