Skip to Content
On this page

Omron Host Link

This plugin actively sends Host Link FA/FINS serial requests. Select Host Link on the PLC and “Omron Host Link” on the gateway. Devices using RD/RR commands use Host Link C Mode; binary Ethernet FINS uses Omron FINS. Changing a port does not convert these protocols.

Compatible devices and models

Device series / model examplesConnection requirements
CS1, CJ1 (serial interface configured for Host Link)The serial interface must support and enable FA/FINS Host Link frames with matching station and serial settings. Use Host Link C Mode for older controllers that support only C-Mode.
CP1H + CP1W-CIF01, CP1W-CIF11/CIF12Select Host Link on the serial option using FA/FINS format, with matching unit number, serial settings and CPU memory ranges.
CP1L-EL/EM + CP1W-CIF01, CP1W-CIF11/CIF12Set the serial option to Host Link using FA/FINS 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 FA/FINS. Two-wire RS-485 is half-duplex. Check supported commands and memory in the CPU manual.

PLC interface and engineering settings

CPU / interfaceRequirements
CS1/CJ1 CPU serial port or serial communications unitSupport for FA/FINS, with the correct port’s Host Link unit number and serial format. Module Unit No., serial unit number and FINS destination unit have different meanings.
CP1H or CP1L-EL/EM with CP1W-CIF01RS-232C wiring for that option; DB9 does not imply standard PC straight-through wiring.
CP1H or CP1L-EL/EM with supported CIF11/CIF12Check the CPU/option manual. W516 requires four-wire Host Link for CP1L-EL/EM, not ordinary two-wire RS-485.
CP2E with an available serial interfaceMatch the complete CPU and supported option. W614 lists C-Mode and FINS; its specified two-wire interfaces operate half-duplex.

1. Wire the actual interface

For CP1L-EL/EM with CP1W-CIF01, W516-E1-02, Appendix F, printed page 748  shows PLC SD pin 2 → PC RD pin 2, PLC RD pin 3 ← PC SD pin 3 and PLC SG pin 9 → PC SG pin 5. Follow the original handshaking connections. Check a USB converter’s pinout and COM number separately.

Original CP1L RS-232C option-board to PC wiring, W516 page 748

PLC pin 6 supplies 5 V for NT-AL001; it is not signal ground or a general power output. Do not apply this pinout to every CPU. For four-wire CP1L Host Link, connect transmit/receive pairs, termination, shielding and reference ground according to the option manual; do not arbitrarily join SDA/SDB to RDA/RDB.

2. Configure and download PLC Setup

Connect the correct CPU, upload/back up the project, open Settings / PLC Setup and select the physical Serial Port. Select Host Link, then record Baud, Format and Unit Number. Units must be unique on a bus; use 0 for an initial single-unit test only when the project permits it.

On CP1L-EL/EM, SW4 controls Serial Port 1 and SW5 controls Serial Port 2. ON forces Toolbus; use OFF so PLC Setup controls Host Link. W516 page 150 specifies 9600 bit/s, 7 data bits, Even, 2 stop bits (7E2) by default. Match actual settings if customized. Switch numbers are model-specific.

W614 §7-2-4/7-2-5  defines CP2E settings. The manufacturer’s settings table lists these fields. Configure Host Link, baud, format and unit number together; changing baud while leaving NT Link selected is insufficient.

CP2E serial port 1 Host Link settings table, W614 page 7-5

Download PLC Setup and activate it as required by the CPU. CP2E reads these settings at power-on; A617 reports actual port 1 conditions, which may differ from downloaded values. Restart within an approved equipment stop window.

For CP2E two-wire interfaces in W614 §14-8, wait at least 1 ms at 9600–115200 bit/s, or 3 ms at 1200–4800 bit/s, after PLC transmission before sending again. A converter may need longer. Frame delay adds a wait before gateway transmission; the response-wait character below controls a different delay in the PLC.

CP2E two-wire RS-485 turnaround, W614 page 14-52

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.

CX-Programmer CP1L-M Host Link port at 115200, 7E2 and unit 0

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

In “Development Configuration → Collection Configuration”, create a Serial Port channel using the actual COM and PLC format, for example 9600/7/Even/2. Release other applications using that port. Create a device, bind the channel, select “Omron Host Link”, set an interval such as 1000 ms and enable both objects. See Collection configuration for common properties.

TCP Client/Server support transparent serial servers carrying the same @…FA…FCS*CR ASCII frames. A client connects to the converter’s listening endpoint; in server mode the converter connects to the gateway. This is not binary FINS/TCP 9600 and exposes no plugin-specific DTU registration.

Set the actual endpoint and complete the PLC settings above, then enable the channel and device.

Dedicated Omron Host Link FA/FINS channel settings

Select Omron Host Link FA/FINS and associate its channel

Protocol properties

Enter decimal numbers. Definitions follow W342-E1-18 §3-5, printed pages 46–49 . This plugin builds direct frames without a complete routing header.

SettingMeaning and entry
PLC station numberDefault 0, matching Host Link Unit Number; s= overrides it. PLC units are 0–31, not the whole Byte range. Use an allowed unit 0–9 initially; 10–31 require checking version-specific encoding and real responses.
Information control field, ICFDefault 0 for direct format 00. Do not copy Ethernet FINS 128: routing also needs RSV/GCT/DNA/DA1/SNA/SA1, unavailable here. Changing ICF alone cannot create a routed frame.
Destination unit, DA2Default 0 for CPU memory; not the serial unit, station or bank.
Source unit, SA2Default 0 for direct CPU/serial-unit access; not an IP suffix or COM number.
Service ID, SIDDefault 0, fixed in requests. It does not automatically increment as Ethernet FINS does.
Response wait characterDefault 48 is ASCII 0, no extra delay. 49–57 encode 1–9 (10–90 ms); 65–70 encode A–F (100–150 ms). For 100 ms enter 65, not 100. Only hexadecimal characters’ ASCII codes are valid.

Packing, runtime and conversion

SettingMeaning and entry
Maximum pack lengthDefault 260, configuration range 1–260. Counts WORDs for word access, bits for Boolean access. Each periodic array/string must fit; an oversized periodic variable is not automatically split. Apply the 255 boundary below; start single-point tests with 30.
Read/write timeoutDefault 3000 ms for a complete response. Large ASCII frames at 9600 baud take longer; correct wiring, station and errors first.
Frame delayDefault 0 ms before each transmission, for turnaround/pacing; separate from receive-cache timeout.
Retry countDefault 3; retries do not correct persistent address/frame/FCS errors.
Read/write duty cycleDefault 3, minimum 1; a read after every n writes during continuous writing.
Write priorityOff by default; can cancel a read to serve a write, delaying feedback.
Data formatDefault CDAB; ABCD/BADC/CDAB/DCBA. Check two known WORDs for 32-bit values. A correct UInt16 does not verify Float order; points can override it.
Reverse string bytes within WORDsOff by default. Swaps character bytes within each WORD when required; separate from encoding/numeric order.

Current boundary: Request construction has an 8-bit conversion limit for starting WORD and per-frame count. A start/count of 256 can overflow before transmission despite broader configuration ranges. D1000 and 260 points are not guaranteed usable. For this version, keep the starting WORD and each frame count within 0–255, and split larger ranges.

Open Plugin Properties and scroll down to check runtime and conversion settings as well as the protocol fields.

Omron Host Link FA/FINS protocol and packing properties

Omron Host Link FA/FINS runtime and conversion properties

Variables and address fields

Allowed types are Boolean, Int16, UInt16, Int32, UInt32, Float and String. No extra plugin variable properties exist. See Collection configuration for permissions, arrays, groups and intervals. Start with one read-only WORD. Boolean reads use bit-area commands; offsets count WORDs, not bytes.

Address fieldMeaning and constraints
Device areaD/DM, CIO/C, W/WR, H/HR, A/AR, TIM/CNT, E/EM. Choices do not guarantee CPU memory or write permission. IR/DR and CF need CPU/access-specific checks.
OffsetDecimal WORD, default 0; D101 follows D100. Check the transmission boundary, CPU range and entire array end.
Bit0–15 for Boolean, e.g. D100.3; omit for numeric access. The shared control’s limit 31 does not widen a WORD.
Extended bankDefault 0, editor 0–31, for E/EM. Numeric 10 encodes A; offset 100 yields EA.100, bit 3 yields EA.100.3.
Station overrideBlank inherits device; editor 0–31. Value 2 yields s=2;D100. Byte parsing does not expand PLC limits; the 10–31 caveat still applies.
Data-format overrideBlank inherits device; ABCD/BADC/CDAB/DCBA save as data=, e.g. D110;data=CDAB. Address/width do not change.
Encoding overrideString encoding such as ASCII/UTF-8, saved as encoding=; characters may occupy multiple bytes.
String byte lengthRequired len= for String. 20 bytes use 10 WORDs; odd reads round up, writes require even bytes/complete WORDs. Each string-array element has this length.
BCD overrideC8421/C5421/C2421/C3/Gray only for matching storage; leave binary data unset. Check TIM/CNT instructions for BCD/binary.
Variable-string overrideUnset and explicit false remain distinct. Memory reads still require len=; no PLC length header is inferred.
PLC definitionGateway entry and comparison
DM100 UInt16 value 1234D100/DM100, UInt16, array 1, read-only; compare with decimal monitoring.
CIO0.03 inputCIO0.3/C0.3, Boolean, array 1; compare without writing physical outputs.
W10 highest bitW10.15/WR10.15, Boolean; H/HR and A/AR require CPU permission checks.
Float 1.0, low WORD firstD110=0000 hex, D111=3F80 hex; D110;data=CDAB, Float, array 1 should read 1.0.
Three 16-bit valuesD120, UInt16, array 3 uses D120–D122, not three bytes.
Bank A WORD100EA.100/EMA.100, UInt16; confirm bank A exists.
20-byte ASCII bufferD200;len=20;encoding=ASCII, String, array 1 uses D200–D209. Check character order; no header skip is assumed.
TIM/CNT values/flagsDifferent access objects. Confirm CPU codes, widths and addresses; do not copy C-Mode RG rules to FA/FINS.

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.

Omron Host Link FA/FINS variable address, type and read-only permission

Structured fields of this Omron Host Link FA/FINS address

Read, compare and diagnose

Monitor approved DM100 in CX-Programmer and ensure the program does not overwrite it. In “Protocol Debug → Read/Write”, read D100 as UInt16, count 1, compare with the PLC, then save a periodic variable and check quality, timestamp and changes.

Start capture, then read. Check @, station, FA, FCS and *CR. FCS XORs ASCII bytes; it is not Modbus CRC. Converters must preserve carriage returns.

Host Link message capture entry

For an approved WORD write, record the original value, write a known value, independently confirm at the PLC, restore and read again. Acknowledgment does not show whether the program overwrote it. Boolean writes require bit-command support on the peer/area.

SymptomChecks
No responseCOM ownership, Host Link/DIP settings, format, wiring and station; TCP must reach a transparent endpoint.
Response but failed operationStation, FA/end code, FCS, carriage return; reduce to one DM WORD.
High address overflowCurrent 255 start/count boundary; timeout/order cannot correct it.
Incorrect 32-bit/text valueOriginal WORD layout, override, length, encoding and byte swap.
Multi-station errorsDuplicate units, second master, buffering, turnaround and station encoding; test each station separately.

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.

Saved Omron Host Link FA/FINS variable