Omron C200H PLC RS-232 and Peripheral Port Communication Setup

James Nishida12 min read
OmronPLC HardwareTutorial / How-to
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Overview

The Omron C200H, C200H-α (C200H alpha), C200HG, and C200HX CPU families expose two distinct serial channels for engineering access: a built-in RS-232C port and a high-density peripheral port. Both are usable for ladder upload/download, online editing, and HMIs (such as the NT-series and NS-series), but they require different cables, different protocol modes, and different DIP switch or DM-area settings. The two channels are not redundant—they coexist, and selecting the wrong protocol on one of them is the most common cause of "computer cannot talk to PLC" failures in the field.

This procedure covers three decisions an engineer must make before plugging in a PC:

  1. Which physical port (built-in RS-232C or peripheral) will be used?
  2. Which protocol (Host Link / C-mode, NT-Link 1:1, or NT-Link 1:N) is loaded on that port?
  3. Which DIP switch and DM area words correspond to that protocol?

After these are fixed the wiring collapses to either a straight DB9 null-modem cable (RS-232C Host Link) or a CPM1-CIF01 adapter plugged into the peripheral port. The HMI is not required for any of these decisions—any NT31/NS5/NS8 can be unplugged while the PC is online.

Safety: All DIP switch and DM changes must be made with the PLC in PROGRAM mode. Changing the communication mode while the PLC is in RUN/MONITOR can corrupt an active Host Link session or cause the HMI to drop comms mid-scan.

Prerequisites

  • Omron C200H / C200H-α / C200HG / C200HX CPU module (CPU01, CPU03, CPU11, CPU21, CPU23, CPU31, CPU33, or later).
  • Programming software: CX-Programmer v9.x or later, or legacy Syswin 3.x for older workstations (Omron Industrial Automation support portal).
  • Cable option A — built-in RS-232C: Omron XW2Z-200S-CV (2 m) or XW2Z-500S-CV (5 m) null-modem DB9 male/female assembly.
  • Cable option B — peripheral port: CPM1-CIF01 (RS-232C adapter, mini-DIN to DB9 female) or CPM1-CIF11 (RS-422/485 adapter) per CPM1-CIF01 product page.
  • Flat-blade screwdriver for CPU faceplate DIP access.
  • Reference manuals: C200H Operation Manual (W197), C200H-α Operation Manual (W353), NT-series Host Link manual (V028).

Communication Protocol Selection

The C200H CPU runs only one protocol on each port at a time, and each protocol carries strict baud-rate and frame-format constraints. Select the protocol that matches the equipment at the other end of the cable.

Mode Typical Use Default Baud Frame Max Distance Multi-drop
Host Link (C-mode) PC ↔ PLC programming, SCADA 9600 bps 7E2 (7 data, even parity, 2 stop) 15 m Up to 32 nodes
NT-Link 1:1 NT31/NT631 ↔ PLC dedicated 9600 / 19200 bps 7E2 15 m No
NT-Link 1:N NS-series ↔ PLC bus 115200 bps (H) 7E2 15 m Up to 8 nodes
Peripheral bus Programming Console only 9600 bps 1 m No

Rule of thumb: If the PC is the only device on the cable, leave the port in Host Link. If a real HMI is on the bus, switch that HMI's port to NT-Link and leave the PC's port as Host Link on the other channel. Mixing Host Link and NT-Link on the same cable produces framing errors and intermittent disconnects.

C200H DIP Switch Configuration

The C200H CPU faceplate carries two 4-position DIP switches labelled SW1 and SW2 (positions 1 through 4 on each). Switch state is read at power-up and on each transition to RUN/MONITOR; runtime changes are ignored.

Switch Pin Function OFF (default) ON
SW1 1 Memory-protect enable (UM read-only) Protect OFF Protect ON
SW1 2 Power-up mode MONITOR RUN
SW1 3 Expansion instruction set Disabled Enabled
SW1 4 RS-232C port communication parameters DM6645–DM6649 (user-defined) Standard defaults (Host Link, 9600, unit 00)
SW2 1 Peripheral port communication parameters DM6650–DM6654 (user-defined) Standard defaults (Host Link, 9600, unit 00)
SW2 2–4 Reserved / model-dependent

For first-time bring-up:

  1. Set SW1 pin 4 = OFF if you intend to configure the RS-232C port through DM6645–DM6649; set it to ON if you want the factory default (Host Link, 9600 bps, 7E2, unit 00).
  2. Set SW2 pin 1 = OFF for peripheral-port DM configuration, or ON to revert to standard Host Link on the peripheral port.
  3. Keep SW1 pin 1 OFF unless you want to lock the program memory.
  4. Keep SW1 pin 2 OFF unless the machine must boot into RUN unattended.
Field note: SW1 pin 4 and SW2 pin 1 only flip between "use DM" and "use standard defaults." If the port is non-functional, first return both to ON (defaults) to confirm hardware is intact, then move to OFF and configure DM.

DM Area Configuration for Host Link

When SW1 pin 4 is OFF, the RS-232C port reads its parameters from DM6645–DM6649 at every CPU cycle reset. Common settings:

Word Bit(s) Meaning Typical Value (Host Link, 9600)
DM6645 00–07 Port settings: 0000 = standard, 0001 = Host Link, 0002 = NT-Link 1:1, 0003 = NT-Link 1:N, 0004 = Peripheral bus 0001 (Host Link)
DM6646 00–07 Baud: 00 = 9600, 01 = 300, 02 = 600, 03 = 1200, 04 = 2400, 05 = 4800, 06 = 9600, 07 = 19200, 08 = 38400, 09 = 57600, 0A = 115200 00 (9600) or 07 (19200)
DM6647 00–15 Unit number + transmission delay (high byte = delay ms, low byte = FINS unit) 0000 (unit 00, delay 0 ms)
DM6648 Reserved 0000
DM6649 Reserved 0000

Mirror the same layout on DM6650–DM6654 for the peripheral port (read when SW2 pin 1 is OFF). The peripheral port supports Host Link and NT-Link but never runs at the higher 38400/115200 bps of NT-Link 1:N.

RS-232C Port — Host Link Cable and Pinout

The built-in RS-232C port on the C200H is a female DB-9. The PC end is a male DB-9. The two are joined by a null-modem cable that swaps TD/RD and loops RTS/CTS and DTR/DSR.

PC DB9 (male) Pin Signal Direction C200H DB9 (female) Pin PLC Signal
2 RXD 3 RD
3 TXD 2 SD
5 GND 9 SG
4 DTR 6 +5 V (DR) — use only if cable powers adapter
6 DSR 4 RS (RTS)
7 RTS 5 CS (CTS)
8 CTS
1, 9 NC 1, 7, 8 NC

If a pre-built Omron cable is not available, the minimum workable null modem for Host Link requires only three conductors plus the handshaking loopbacks on the PC end:

PC DB9 male                C200H DB9 male (use gender changer)
1  DCD  ---------- NC ---------- 1  NC
2  RXD  ---------- ----------> 3  RD
3  TXD  <---------- ---------- 2  SD
4  DTR  ---+                 4  RS
6  DSR  ---+-- loopback      5  CS
7  RTS  ---+                 9  SG
8  CTS  ---+-- loopback
5  GND  ---------- ----------

Recommended cable: Omron XW2Z-200S-CV (2 m) or XW2Z-500S-CV (5 m). These are shielded, pre-built null modems with both ends DB9 and are the supported cable for Host Link upload/download. Reference: Omron Industrial Automation portal.

Peripheral Port — CPM1-CIF01 Adapter

The peripheral port on C200H uses a 5-pin mini-DIN connector (similar to PS/2 mechanically but proprietary electrically). It is not an RS-232C port and will not accept a DB9 directly. The CPM1-CIF01 plugs into this port and breaks out a DB9 female RS-232C, which then takes the same null-modem cable described above.

CPM1-CIF01 Specification
Order code CPM1-CIF01 (RS-232C) / CPM1-CIF11 (RS-422/485)
PLC-side connector 5-pin mini-DIN male
PC-side connector DB9 female (RS-232C DCE pinout)
Cable length 0.5 m (adapter pigtail)
Power Bus-powered from PLC peripheral port
Supported protocols Host Link, NT-Link 1:1, programming console
Not supported NT-Link 1:N (baud > 38400)

If you do not have a CPM1-CIF01 and do not wish to fabricate one, you can buy a pre-made assembly (Omron CS1W-CN118 or third-party equivalent) that ends in DB9 female. If you must hand-wire it, the peripheral-port pinout is:

C200H peripheral port (mini-DIN, looking at PLC face)

      3   4
   2         5
      1

Pin 1 = +5 V (do not tie to PC side)
Pin 2 = SD (PLC sends)
Pin 3 = RD (PLC receives)
Pin 4 = NC
Pin 5 = SG
Shield = chassis

Map pin 2 to PC RXD (PC pin 2), pin 3 to PC TXD (PC pin 3), and pin 5 to PC GND (PC pin 5). Tie +5 V (pin 1) only if the adapter requires bus power; for a passive breakout, leave it disconnected.

Do not feed +5 V from the PC into the peripheral port. The PLC powers the adapter, not the reverse. Reversing this on a hand-built cable will short the PLC's internal regulator and disable the peripheral port until the CPU is replaced.

CX-Programmer / Syswin Settings

On the PC side, both CX-Programmer and Syswin need the matching network parameters before they will handshake.

CX-Programmer (v9.x and later)

  1. Open the project. PLC → Auto Online → Direct Online.
  2. Select Serial Port as the connection type.
  3. Set COM port to the physical port (COM1 typical).
  4. Set baud to match DM6646 / DM6651.
  5. Frame format forced to 7,E,2 for Host Link.
  6. Network address = 0; Node address = 0 (Host Link unit number from DM6647).
  7. Click Connect. The CPU should reply with a banner containing the model code (e.g. CPU21-E).

Syswin (legacy)

  1. Project → Communications.
  2. Select the COM port.
  3. Baud = 9600, Frame = 7E2, Unit = 00.
  4. Online → Connect.

CX-Programmer Driver Settings — Reference

Field Host Link NT-Link 1:1 NT-Link 1:N
Network type Host Link NT Link 1:1 NT Link 1:N
Baud 9600 / 19200 9600 / 19200 38400 / 57600 / 115200
Frame 7,E,2 7,E,2 7,E,2
Unit number 0–31 0 0–7
Timeout 5 s 2 s 2 s

Configuring NT-Link 1:1 for an HMI

If the goal is to dedicate the built-in RS-232C port to an NT31 (or NS5/NS8) panel, switch the port to NT-Link 1:1:

  1. Place the CPU in PROGRAM mode.
  2. In CX-Programmer, edit DM6645 = 0002 (NT-Link 1:1).
  3. Set DM6646 = 07 (19200 bps, recommended for HMI tag throughput).
  4. Set DM6647 = 0000 (unit 0, no delay).
  5. Power cycle the CPU. The HMI's own "Comm" menu must also be set to NT-Link 1:1 at 19200, 7E2.
  6. On the HMI side the "PLC model" field must read C200H or C200Hα; selecting CQM1H or CP1E will produce no response because the FINS command sets differ.
HMI comm loss diagnosis: If the HMI shows "Comm Err 02" continuously, the baud or unit number on the HMI does not match DM. If it shows "Comm Err 03" only on first poll, the PLC is in PROGRAM mode and NT-Link cannot run—return the PLC to MONITOR.

Verification Procedure

  1. Confirm the cable: continuity check on pins 2, 3, 5; no continuity between 2 and 3 (they must be crossed).
  2. Confirm DIP state: SW1 pin 4 in the expected position; SW2 pin 1 in the expected position. Power off and on so the PLC re-reads the switches.
  3. Confirm DM: dump DM6645–DM6654 from CX-Programmer and verify against the table above.
  4. Open CX-Programmer, click Online → Connect. The status bar should report the CPU model within 3 seconds.
  5. Upload the program: PLC → Transfer From PLC → Programs. If upload completes, link is healthy.
  6. Cycle power and reconnect to confirm the session survives a warm restart.

Troubleshooting Matrix

Symptom Likely Cause Fix
PC reports "No response from PLC" SW1 pin 4 ON (standard) but DM still set to non-default; CPU is in PROGRAM and HMI is wired to RS-232C Set SW1 pin 4 OFF and power cycle; verify DM6645 = 0001
"Framing error" in CX-Programmer Baud mismatch or 8N1 selected instead of 7E2 Force 7 data bits, even parity, 2 stop bits on PC COM port
PC connects but cannot upload Unit number mismatch Match PC node address to DM6647 low byte
HMI displays "Comm Err 02" RS-232C port set to Host Link, not NT-Link Change DM6645 to 0002 for NT-Link 1:1
HMI comm OK until power cycle DM not retained; PLC battery dead Replace battery (C200H-BAT08), then re-write DM and re-cycle
Peripheral port silent after CIF01 installed SW2 pin 1 mismatch, or peripheral port physically damaged Set SW2 pin 1 ON, power cycle; if still silent, swap to RS-232C port
Upload works, download "memory protect" error SW1 pin 1 ON (memory protect) Set SW1 pin 1 OFF
Intermittent disconnects > 1 hour runtime RS-422 conversion attempted without termination; or +5 V from PC shorted to peripheral port Use Omron CIF01 only; do not home-wire +5 V
CX-Programmer connects but reads wrong model Wrong CPU type selected in Network Settings Set Device Type = C200H (or C200Hα) under Driver → Network Settings
Online edit accepted but does not retain UM write-protect; or running from cassette Confirm SW1 pin 1 OFF; clear UM protect in PLC settings

Field-Proven Caveats

  • The C200H CPU reads DIP switches at power-up only. Editing DM words at runtime and expecting immediate effect does not apply to SW1/SW2 positions—it applies only to the parameters they select.
  • The peripheral port is half-duplex in NT-Link mode. Do not parallel it with a programming console on the same mini-DIN—use the CPM1-CIF01 exclusively.
  • When DM6645 is set to 0004 (peripheral bus), only the Omron C200H-PR027 Programming Console responds. A PC running CX-Programmer will get "unrecognized command."
  • Older CX-Programmer revisions (pre-v7) do not list C200Hα under the device drop-down. Manually select "C200H" and the CPU will still respond.
  • Battery-backed DM retention depends on the C200H-BAT08 cell. With a dead battery, DM6645–DM6654 revert to zero (Host Link default), which is usually benign but breaks NT-Link configurations on every cold start.

FAQ

Which DIP switch enables RS-232C Host Link on the C200H?

SW1 pin 4 = ON returns the RS-232C port to standard Host Link (9600 bps, 7E2, unit 00). For DM-driven settings, set SW1 pin 4 = OFF and write DM6645 = 0001.

Can I make my own peripheral-port cable without buying a CPM1-CIF01?

Yes. The peripheral port is a 5-pin mini-DIN with +5 V on pin 1, SD on pin 2, RD on pin 3, NC on pin 4, and SG on pin 5. Wire a DB9 female breakout connecting pin 2 to PC RXD (DB9 pin 2), pin 3 to PC TXD (DB9 pin 3), and pin 5 to PC GND (DB9 pin 5). Leave pin 1 disconnected — do not feed +5 V from the PC.

How do I tell whether the port is in Host Link or NT-Link without a programmer?

Observe the HMI. If the panel shows continuous "Comm Err 02" and never reads tags, the PLC port is in Host Link. If the PLC shows "Comm Err 03" only when the CPU is in PROGRAM, the port is NT-Link but the CPU is offline. A working screen proves NT-Link; a working CX-Programmer session proves Host Link.

What is the maximum baud rate of the C200H peripheral port?

The peripheral port supports up to 19200 bps in Host Link and NT-Link 1:1. It does not support NT-Link 1:N speeds (38400 / 57600 / 115200) — those require the RS-232C port or an NT-AL001 link adapter.

Why does my NT31 stop communicating every time the PLC battery dies?

DM6645–DM6654 are battery-backed. When the C200H-BAT08 cell is depleted, those words reset to zero, returning both ports to Host Link defaults. The NT31 expects NT-Link, so comm drops on the next cold start. Replace the battery and re-enter DM6645 = 0002 (NT-Link 1:1).

Is the CPM1-CIF01 compatible with C200H, or only with CPM1/CPM2A?

The CIF01 is electrically compatible with any Omron CPU that has a 5-pin mini-DIN peripheral port, including the C200H, C200Hα, CPM1, CPM1A, CPM2A, CPM2C, and SRM1. For the C200H, SRM1, and C200Hα it draws bus power from the peripheral port and supports Host Link and NT-Link 1:1 at 9600 or 19200 bps.

Back to blog