C200HG PLC Family and Communication Architecture
The Omron C200HG belongs to the C200HX/C200HG/C200HE "alpha" generation of SYSMAC PLCs, a modular rack-based platform that superseded the original C200H. Despite its age, a large installed base still runs in process and discrete manufacturing, and engineers frequently encounter these controllers during fault-finding work without complete documentation on site. Communication with the controller is the first hurdle: unlike modern NX/NJ or CP-series controllers that expose USB and EtherNet/IP, the C200HG family relies on serial protocols routed through a physical port that varies by CPU model number.
Three physical attachment points exist across the alpha family:
- A 9-pin D-sub RS-232C port for Host Link (C-mode) communication on certain CPU modules.
- A peripheral port (Omron-proprietary mini-DIN style connector) used for programming devices and selected HMIs.
- An option slot that accepts a C200HW-COM-series communication board for RS-232C, RS-422, or RS-485 expansion.
CX-Programmer (and its predecessor SysWin) is the programming environment, and it expects the CPU to be in Host Link protocol when communicating through either the RS-232 port or the peripheral port. The protocol is set either in PLC Setup area DM parameters or by the CPU's onboard DIP switch bank. Reference documentation for the alpha family is consolidated in operation manual W303 (C200HX/C200HG/C200HE Operation Manual) and the ASCII Unit manual W306 (C200H-ASC11/21/31). Engineers upgrading legacy systems should also review the C200HX/HG/HE to CS1 Replacement Guide for pinout and register-mapping continuity.
CPU Model Identification and Onboard Port Availability
The CPU's full part number dictates the on-board communication resources. Field engineers should always read the model label on the front of the CPU module before assuming which cabling approach is valid, because the C200HG range shipped with three different port configurations in the same form factor.
| CPU Model | On-board RS-232 Port | Peripheral Port | Option Slot | Typical Use |
|---|---|---|---|---|
| C200HG-CPU33 | Not fitted | Yes | Yes (C200HW-COM) | Smaller programs, peripheral-port programming |
| C200HG-CPU43 | Yes (D-sub 9-pin, Host Link) | Yes | Yes (C200HW-COM) | Most common, direct PC connection |
| C200HG-CPU53 | Not fitted | Yes | Yes (C200HW-COM) | Higher I/O capacity, requires adapter |
RS232 Host Link Port on C200HG-CPU43
The C200HG-CPU43 integrates a Host Link RS-232C port directly on the CPU. The connector is a male 9-pin D-sub with the standard Omron Host Link pinout:
| Pin | Signal | Direction (PC ↔ PLC) | Notes |
|---|---|---|---|
| 1 | FG (Frame Ground) | — | Shield |
| 2 | SD (Send Data) | PC → PLC | TX from PC |
| 3 | RD (Receive Data) | PLC → PC | RX into PC |
| 4 | RTS (Request To Send) | PC → PLC | Tied high inside CPU |
| 5 | CTS (Clear To Send) | PLC → PC | Tied high inside CPU |
| 6 | +5V (internal) | — | Do not connect externally |
| 7 | DR (Data Set Ready) | — | Internally tied |
| 8 | ER (Data Terminal Ready) | — | Internally tied |
| 9 | SG (Signal Ground) | — | Common return |
This port is intended for Host Link (C-mode) communication to a PC running CX-Programmer or SysWin, and may also be used for a Host Link HMI if the on-board port is free. Because the CPU43 has only one RS-232 port, if a panel or HMI is already wired to it you must either use the peripheral port for programming or fit a C200HW-COM board to free the on-board RS-232. Default parameters after a fresh install or after DIP switch 5 is toggled ON are listed in the DIP switch section below.
Peripheral Port Connection on C200HG-CPU33 and C200HG-CPU53
The peripheral port is an Omron-proprietary connector (often a 4-pin mini-DIN arrangement specific to SYSMAC alpha CPUs) used for programming devices such as the C200H-PR027 Programming Console and the CQM1-CIF02 / CPM1-CIF01 PC cables. The peripheral port defaults to Host Link protocol at a fixed baud rate, but the exact default depends on the CPU variant and the state of the DIP switch bank.
Two practical considerations on the CPU33 and CPU53:
- There is no D-sub on the faceplate, so a direct PC serial cable cannot be plugged in. A converter or "smart" cable is mandatory.
- Some installations reserve the peripheral port for a small text-display HMI. In that case, either disconnect the HMI for the duration of the fault-finding visit or use the C200HW-COM option slot for programming.
Cable Option 1: CQM1-CIF02 Smart Cable
The CQM1-CIF02 is the simpler of the two viable PC connections. It is a fully integrated "smart" cable:
- Host end: DB9 female, plugs into the PC's COM port.
- PLC end: Omron peripheral-port connector, plugs directly into the CPU33 / CPU43 / CPU53 peripheral port.
- Middle: a small inline black box containing the RS-232 level converter and Host Link protocol handler.
No additional cables are required. The CIF02 enumerates as a transparent Host Link bridge, so CX-Programmer sees a standard C-mode connection. The CIF02 works with the entire C200H alpha family (CPU33, CPU43, CPU53) and is also widely used on CQM1 and CP1E controllers. Approximate list price on the European industrial supply market is around £200. The part is sometimes also supplied under the equivalent designation used by Omron-Europe for newer shipments, but the original Omron catalog number remains CQM1-CIF02.
Cable Option 2: CPM1-CIF01 Converter
The CPM1-CIF01 is a two-piece solution consisting of a short adapter plus a separate serial cable:
- Adapter: DB9 female on the front face; approximately 150 mm pigtail terminating in an Omron peripheral-port connector on the rear.
- Separate cable: a straight-through DB9 male-to-female serial extension (commonly the same cable shipped with CVM1 CPUs), wired 1-to-1, 2-to-2, 3-to-3, 4-to-4, 5-to-5, 6-to-6, 7-to-7, 8-to-8, 9-to-9 with shield on the shell.
This combination is functionally equivalent to a CIF02 for the C200H alpha family. It is attractive when an engineer already owns the CVM1 lead, because the only additional item required is the CIF01 adapter body itself.
C200HW-COM Communication Boards
If both the on-board RS-232 and the peripheral port are already occupied by an HMI, fitting a C200HW-COM-series communication board into the CPU's option slot is the cleanest solution. Common variants include:
| Part Number | Port Type | Connector | Typical Application |
|---|---|---|---|
| C200HW-COM02 | RS-232C | 9-pin D-sub | Direct Host Link to PC |
| C200HW-COM03 | RS-422A/485 | Terminal block | Multi-drop Host Link to HMIs |
| C200HW-COM04 | RS-232C | 9-pin D-sub | General-purpose serial |
| C200HW-COM05 | RS-422A/485 | Terminal block | Long-distance Host Link |
| C200HW-COM06 | RS-232C + RS-485 | D-sub + terminal | Combined port option |
The COM02 is the most cost-effective way to add a Host Link RS-232 port to a CPU33 or CPU53, typically available for around £60 from industrial distributors. For more detail on option-board installation, including DIP switch settings for the COM port itself, refer to the W303 operation manual.
DIP Switch Configuration and Host Link Protocol Parameters
The CPU faceplate carries a small 6-position DIP switch bank (SW1 to SW6) located behind a removable cover. The switch state is read only at power-up, so any change requires a power cycle to take effect. The most communication-relevant switch is SW5:
| Switch | OFF (default) | ON | Purpose |
|---|---|---|---|
| SW1 | Memory write-enabled | Memory write-protected | Program protect |
| SW2 | — | — | Spare / not used on alpha |
| SW3 | — | — | Spare / not used on alpha |
| SW4 | — | — | Spare / not used on alpha |
| SW5 | PLC Setup parameters active for RS-232 port | Force Host Link defaults on the RS-232 port | Communication reset |
| SW6 | Standard instruction set | Expansion instruction set enabled | Instruction set |
When SW5 is set to ON and the CPU is power-cycled, the on-board RS-232 port is forced to the Host Link default parameter set, overriding whatever has been written into the PLC Setup area (DM). This is the recommended first action when arriving on site to fault-find: turn SW5 ON, cycle power, and try connecting. Once communication is established, SW5 can be returned to OFF and the PLC Setup reviewed for the actual in-service configuration.
Host Link defaults applied by SW5 = ON are:
| Parameter | Value | DM Word (PLC Setup) |
|---|---|---|
| Baud rate | 9600 bps | DM6645 bits 0–7 (CPU43 port) |
| Data bits | 7 | DM6645 bits 8–11 |
| Parity | Even | DM6645 bits 12–15 |
| Stop bits | 2 | DM6646 bits 0–3 |
| Unit number | 00 | DM6648 bits 0–7 |
| Protocol | Host Link (C-mode) | DM6645 bits 13–15 port mode = 0 |
CX-Programmer Connection Procedure
Once the cable type and DIP switch state are settled, the PC-side configuration in CX-Programmer is straightforward:
- Launch CX-Programmer. From the PLC menu, choose Change Model and select C200HG (CPU type auto-detects when online).
- Open PLC > Auto Online. The dialog box will display detected COM ports. Choose the COM port the cable is connected to (typically COM1 on legacy laptops; use a USB-to-serial adapter verified to deliver 5 V levels on pins 4 and 7 if no native port exists).
- Set driver type to SYSMAC WAY (Host Link C-mode).
- Confirm the serial parameters: 9600, 7, E, 2, unit number 00.
- Click Connect. CX-Programmer will issue a Host Link status read and display the CPU model, operating mode, and project memory size.
- If communication fails, verify the unit number first. A non-zero unit number is a common field issue when a C200HW-COM board has been added with a different rotary switch setting.
For a permanent C200HW-COM02 connection, the COM02 board itself has its own rotary switch for the Host Link unit number, and its own DIP switch to select RS-232 vs RS-422/485. These are documented in section 6 of the W303 manual.
SWP Project File Recovery and Conversion
Customers occasionally hand over a project as a .SWP file, the native format of the now-obsolete SysWin programming software. CX-Programmer's File > Open function will attempt to import a SWP file directly, and the bundled File Conversion Utility (accessible from the Windows Start menu under the Omron folder) can perform a batch conversion of legacy project files.
Symptoms of a corrupted SWP file include:
- CX-Programmer aborts the import with a generic file-format error.
- The File Conversion Utility hangs partway through conversion (typically at the symbol table section).
- SysWin refuses to open the file and reports the header as invalid.
Empirical recovery technique when the header is the only damaged section: open the .SWP file in a plain-text editor such as Notepad, perform a no-op File > Save (or save-as to a new name), and close. The text-mode re-write normalizes line-ending characters and re-emits a valid header. CX-Programmer and SysWin can then load the file, although program-body password protection (if present) will still block source viewing without the original password.
If the project was created on a CVM1 (as in the typical CVM1 to C200HG migration path), the program structure is largely compatible. Differences are limited to certain advanced instructions and the SFC syntax. The replacement guide referenced earlier lists every instruction that requires manual conversion.
Verification and Field Commissioning Checklist
Before declaring the connection healthy, run through the following checks in order:
- Visually confirm the CPU model number against the port table above.
- Confirm the DIP switch cover is in place and SW5 has been cycled through OFF → ON → OFF to re-read the PLC Setup.
- Power-cycle the CPU and observe the front-panel indicators: PWR (green) on, RUN (green) or ERR (red) according to the program state.
- Connect with CX-Programmer and read the CPU model. A correct echo confirms the unit number, baud rate, and protocol all match.
- Force a single bit (e.g., CIO 100.00) ON from the software and confirm the corresponding output module LED illuminates.
- Disconnect, return SW5 to OFF (unless the customer prefers the default behaviour), and reseal the DIP cover.
| Symptom | Likely Cause | Corrective Action |
|---|---|---|
| No response from CX-Programmer Auto Online | Wrong COM port or wrong unit number | Verify PC COM assignment; try unit numbers 00–31 |
| Communication only after power cycle | DIP switch changed while CPU was running | Power-cycle; SW5 is sampled at power-up only |
| Garbled characters in CX-Programmer monitor | Baud rate or parity mismatch | Use SW5 = ON to force defaults, then re-read PLC Setup |
| Port works for HMI but not CX-Programmer | Port mode set to NT Link or no-protocol | Edit DM6645 / DM6646 to Host Link |
| SWP file fails to import | Header corruption from FTP / email transfer | Open in Notepad and re-save; use File Conversion Utility |
| CPU33 / CPU53 will not talk through any port | CIF01 connected to original C200H port, not alpha | Verify CPU generation; replace cable; do not use CIF01 on pre-alpha C200H |
Frequently Asked Questions
Does the C200HG-CPU53 have a built-in RS-232 port?
No. The C200HG-CPU53 ships with only a peripheral port. To connect a PC running CX-Programmer, use a CQM1-CIF02 smart cable directly into the peripheral port, a CPM1-CIF01 plus the CVM1 serial cable, or fit a C200HW-COM02 board in the option slot for a dedicated RS-232 D-sub.
Can a CPM1-CIF01 be used on the original C200H CPU?
No. The peripheral port pin assignment on the pre-alpha C200H is incompatible with the CPM1-CIF01, and connecting it can damage the CPU port. The CIF01 is approved for C200HS, C200HG, and C200HE CPUs only.
What does DIP switch 5 do on the C200HG?
Setting SW5 to ON and power-cycling the CPU forces the on-board RS-232 port to the Host Link default parameters (9600, 7, E, 2, unit 00), overriding the PLC Setup. Set SW5 back to OFF once the connection is verified to return control to the customer configuration.
Why does CX-Programmer hang when converting a legacy .SWP project file?
The most common cause is header corruption, typically introduced by FTP transfer in ASCII mode or by email attachment scanning. Open the .SWP file in a plain-text editor, re-save it without modification, and retry the import. The file body and password remain intact through the re-save.
How do I verify Host Link communication is active on the C200HG?
In CX-Programmer, use PLC > Auto Online with the SYSMAC WAY driver and the COM port the cable occupies. A successful read returns the CPU model (for example C200HG-CPU43), the operating mode, and the project memory size. If the read times out, check the unit number, baud rate, and parity, and confirm the DIP switch state was applied with a power cycle.