On this page
Omron Host Link C Mode
This plugin sends Host Link C-Mode ASCII commands, such as RD/RR/RC/RG, for PLC memory and status. Select Host Link on the PLC and “Omron Host Link C Mode” on the gateway. Host Link FA/FINS and Ethernet FINS use different frames; changing a port does not convert them.
Compatible devices and models
| Device series / model examples | Connection requirements |
|---|---|
| CS1, CJ1 (serial interface configured for Host Link) | Use a Host Link unit or serial port supporting the C-Mode commands used by this plugin. Check unit number and memory ranges. Use the separate Host Link FINS plugin for FA/FINS frames. |
| CP1H + CP1W-CIF01, CP1W-CIF11/CIF12 | Select Host Link C-Mode on the serial option and check commands and memory areas in the CPU manual. FA/FINS frames use a different format. |
| CP1L-EL/EM + CP1W-CIF01, CP1W-CIF11/CIF12 | Set the serial option to Host Link using C-Mode frames. Match unit number, serial settings and CPU memory ranges. Use the separate FINS plugin for built-in Ethernet FINS. |
| CP2E-S, CP2E-N (with a Host Link serial interface) | Use the built-in serial port or a CP2W serial option supported by the CPU, configured for Host Link C-Mode. Two-wire RS-485 is half-duplex. Check supported commands and memory in the CPU manual. |
PLC setup and wiring
| CPU / interface | Requirements |
|---|---|
| CS1/CJ1 CPU serial port or serial communications unit | Support for this plugin’s C-Mode commands and 1:N format. An older 1:1-only controller is not automatically compatible. |
| CP1H or CP1L-EL/EM with CP1W-CIF01 | Correct RS-232C option-board cable, Host Link mode, unit number and format. |
| CP1H or CP1L-EL/EM with an applicable RS-422A/485 option | Check the exact CPU/CIF11/CIF12 manual; CP1L-EL/EM Host Link uses four wires. |
| CP2E serial interface | Select a built-in/supported option for the complete CPU model. W614 §14-6 lists C-Mode and FINS; specified two-wire RS-485 interfaces are half-duplex. |
1. Connect by signal name
For CP1L-EL/EM with CP1W-CIF01, W516-E1-02 Appendix F, printed page 748 shows PLC SD2 → PC RD2, PLC RD3 ← PC SD3 and PLC SG9 → PC SG5, with handshaking wired as shown. PLC pin 6 is 5 V for NT-AL001, not signal ground. Other CPUs/converters require their own pinouts.

2. Download the actual port settings
Connect the correct CPU in CX-Programmer, back up its project, open Settings / PLC Setup and select the physical Serial Port. Select Host Link and record Baud, Format and Unit Number. A separate PLC mode named “C-Mode” is not required; the host selects commands through its frames.
For CP1L-EL/EM, the relevant SW4/SW5 must be OFF so PLC Setup controls the port; ON forces Toolbus. W516 page 150 specifies 9600 bit/s, 7 data bits, Even, 2 stop bits by default. Match actual settings when customized rather than assuming one stop bit.
W614 §7-2-4, page 7-5 gives this CP2E serial port 1/built-in RS-232C settings table. Defaults are 9600/7E2, unit 0. Port 2/built-in RS-485 uses its corresponding §7-2-5 settings.

Download PLC Setup and activate it as required by the model. CP2E reads these parameters at power-on; A617 reports actual port 1 conditions. Downloaded and active values may differ. Restart within an approved stop window.
For CP2E two-wire interfaces in W614 §14-8, allow at least 1 ms at 9600–115200 bit/s or 3 ms at 1200–4800 bit/s after PLC transmission before the next request. A converter may need longer; frame delay adds gateway-side waiting. This does not replace CP1L four-wire requirements.

CP1L serial settings in CX-Programmer
For a CP1L fitted with CP1W-CIF01, open Settings in CX-Programmer9.4 and select the Serial Port1/Serial Port2 tab for the installed option board. Choose Custom, 115200 baud, 7,2,E format, Host Link mode and Unit Number0. Download and activate the settings according to the CPU restart procedure.

Match these settings in the gateway: SerialPort /115200 /7 data bits /Even /2 stop bits, station 0. The channel image below uses9600; change the gateway baud rate to115200 when following this CP1L project. Select the plugin matching the required FINS encapsulation or C-Mode commands.
Source: OMRON Knowledge Base, NB With CP1L Through COM1/RS232 (Host Link) , CP1L-M with CP1W-CIF01, CX-Programmer9.4.
Gateway channel and device properties
In “Development Configuration → Collection Configuration”, create a Serial Port channel with the actual COM and PLC format, for example 9600/7/Even/2. Release other programs using that port. Create/bind a device, select “Omron Host Link C Mode”, set an interval such as 1000 ms and enable both objects. See Collection configuration for common settings.
TCP Client/Server support a transparent serial server carrying the same ASCII frames. The client connects to the converter; in server mode the converter connects to the gateway listener. This has no UDP, FINS/TCP handshake, rack/slot or plugin-specific DTU field. PLC Ethernet port 9600 is not a transparent C-Mode endpoint.
Set the actual endpoint and complete the PLC settings above, then enable the channel and device.


| Setting | Meaning, default and constraints |
|---|---|
| PLC station number | Default 0, matching Host Link Unit Number; s= can override. The official range is 0–31. The current version sends hexadecimal station characters: decimal 10 becomes 0A, unlike BCD 10 required by W342. Units 0–9 coincide; use units 0–9 with this version. Units 10–31 require a version that sends BCD station characters. |
| Maximum pack length | Default 30, range 1–30. WORD access counts words, Boolean access counts timer/counter flags. An oversized single periodic variable is rejected. Direct reads split at 30 points; WORD writes split at 30 WORDs/60 data bytes. |
| Read/write timeout | Default 3000 ms for a complete response. Check wiring, format and error codes before increasing it. |
| Frame delay | Default 0 ms before every send, for turnaround/pacing; increases total cycle time. |
| Retry count | Default 3. Correct illegal commands/addresses rather than increasing retries. |
| Read/write duty cycle | Default 3, minimum 1; a read after every n writes during continuous writing. |
| Write priority | Off by default; may cancel a read to serve a write, delaying feedback. |
| Data format | Default CDAB; ABCD/BADC/CDAB/DCBA. Interpret original WORD layout for 32-bit values; point data= can override. |
| Reverse string bytes within WORDs | Off by default. Swaps each WORD’s two character bytes; separate from encoding and numeric order. |
There are no FA/FINS ICF, DA2, SA2, SID or response-wait fields. Station/frame definitions follow W342-E1-18 §2, pages 8–9 .
Open Plugin Properties and scroll down to check runtime and conversion settings as well as the protocol fields.


Areas, variables and address fields
Types are Boolean, Int16, UInt16, Int32, UInt32, Float and String, with no extra plugin variable properties. There are no Byte, 64-bit or Double choices. See Collection configuration for permissions, arrays, groups and intervals. Numeric offsets count 16-bit WORDs; 32-bit values occupy two WORDs.
| Area / commands | Address and behavior |
|---|---|
| D/DM: RD/WD | D100/DM100 data-memory WORDs; CPU protection/ranges still apply. |
| C/CIO: RR/WR | C0/CIO0 WORDs. Here WR is a command, not support for a WR10 work-area address. |
| LR: RL/WL | LR10 link WORDs when supported by the CPU. LR is absent from the current area dropdown; use manual address entry, not W. |
| H/HR: RH/WH | H20/HR20 holding WORDs; CPU retention/ranges apply. |
| A/AR: RJ/WJ | A100/AR100 auxiliary WORDs; begin read-only and check CPU write permission. |
| TIM/CNT numeric: RC/WC | TIM0/CNT0 present values. CNT adds 2048 internally; do not add it in the entered address. Match PLC binary/BCD instructions. |
| TIM/CNT Boolean: RG | TIM0/CNT0 completion status, read-only, without .bit. This is not the present value’s lowest bit. No Boolean writes are supported. |
| E/EM: RE/WE | E1.100/EM1.100: hexadecimal bank, decimal WORD offset. Confirm the bank exists. |
Ordinary W/WR, IR, DR and CF are unsupported. D/CIO Boolean access is also unsupported. To observe CIO0.03, read CIO0 as UInt16 and extract its bit, or transfer the signal in the PLC; do not enter CIO0.3 as a C-Mode bit command.
| Address field | Entry and constraints |
|---|---|
| Device area | Match the area/CPU table. Shared FINS choices are filtered by type and permission; the enum does not define C-Mode capability. Enter LR manually. |
| Offset | Default 0, decimal 0–9999 with the entire range ending by 9999. The internally adjusted CNT address also follows this limit. CPU limits may be smaller. |
| Bit | Leave empty. TIM/CNT Boolean uses the timer/counter number without a bit suffix. Set variable permission to read-only before editing its Boolean address. |
| Extended bank | Default 0, editor 0–31, E/EM only. Numeric 10 becomes A, yielding EA.100 for offset 100. CPU bank limits apply. |
| Station override | Blank inherits device; editor 0–31. Value 2 produces s=2;D100. The 10–31 encoding restriction still applies; manual Byte parsing is not a valid PLC range. |
| Data-format override | Blank inherits device; ABCD/BADC/CDAB/DCBA saved as data=. |
| Encoding override | String encoding, e.g. encoding=ASCII; UTF-8 length counts bytes, not characters. |
| String byte length | Required len=. 20 bytes use 10 WORDs. Odd reads round up; writes require even bytes/complete WORDs. Periodic length must fit Maximum pack length. |
| BCD override | C8421/C5421/C2421/C3/Gray for matching storage. Leave binary data unset; check TIM/CNT instruction format. |
| Variable-string override | Unset/explicit false stay distinct. Memory reads still require len=; a PLC length header is not inferred. |
| PLC definition | Gateway entry and expected comparison |
|---|---|
| DM100 UInt16 value 1234 | D100, UInt16, array 1, initially read-only; compare 1234 in decimal. |
D110=0000 hex, D111=3F80 hex, Float 1.0 low WORD first | D110;data=CDAB, Float, array 1; expect 1.0. |
| Three 16-bit values | D120, UInt16, array 3 maps D120–D122. |
| BCD timer present value | TIM0;bcd=C8421, UInt16; compare present value. Omit BCD for binary instructions. |
| TIM0 completion flag | TIM0, Boolean, array 1, read-only; compare completion, not whether the present value is nonzero. |
| CNT20 completion flag | CNT20, Boolean, read-only; the plugin internally adds 2048. |
| Bank A WORD100 | EA.100, UInt16; confirm the real bank and value. |
| 20-byte ASCII buffer | D200;len=20;encoding=ASCII, String, array 1 uses D200–D209; check per-WORD character order. |
Each periodic variable must fit the pack limit: at the default 30 WORDs, an Int32 array of 15 fits, while 16 occupies 32 WORDs and does not. Direct-read splitting does not guarantee periodic packing of an oversized variable. Stations, command areas, bit/word access and intervals form separate packages.
Create a read-only variable with the address and actual PLC type described here. Open Field Editor, check the decoded fields and confirm to fill the address back in. These scalar examples keep array length at 0.


PLC status and data verification
In “Protocol Debug → Operations”, query PLC model and mode. The model may return CS/CJ or a raw model-code label rather than a full ordering code. Mode 0 means PROGRAM, 1 RUN, 2 MONITOR; compare with the engineering tool. The page has no mode-change button.

After status queries, read a known WORD: in Special Methods select ordinary read, D100, UInt16, count 1; compare with PLC monitoring, then save a periodic variable and check quality/timestamp. Separately compare a read-only TIM0/CNT20 Boolean flag.
| Special method | Input and return |
|---|---|
ReadPlcTypeAsync | No business parameters; returns a model string. Direct call and periodic read are available; a model code is not a full CPU part number. |
ReadPlcModeAsync | No business parameters; returns mode integer 0/1/2. Direct/periodic reads do not change the mode. |
For approved WORD writes, record the original, write a known value, confirm independently in the PLC, restore and read again. Boolean flags cannot be write-test points. FCS XORs ASCII bytes; frames end in *CR, which converters must preserve.
| Symptom | Checks |
|---|---|
| Neither status query responds | COM ownership, Host Link/DIP mode, serial format, wiring, unit and converter direction. |
| Units 0–9 work but higher units fail | Current station encoding; timeout or Ethernet nodes cannot fix it. |
| WORD works, Boolean fails | Read-only permission, TIM/CNT without .bit, CPU RG support. |
| Illegal area/command | W/IR/DR/CF unsupported; LR/EM also require CPU support. |
| Errors 13/14/15/16/18 | FCS, command format, range/hexadecimal data, command support, frame length respectively; retain the full error and reduce to one WORD. |
| Oversized periodic array | Keep each variable within 1–30 WORDs/flags and CPU range, or divide variables by business meaning; do not assume direct splitting applies. |
After saving, check the name, address and type under Real-time Variables. Enable the channel, device and variable, then compare the known value, quality and advancing collection time as described above.

Related links
- Collection configuration: Common settings and conversions.
- Host Link FA/FINS: FA framing and response-wait character.
- Omron FINS: Ethernet FINS/TCP.