Omron HostLink over TCP Data Collection Guide
1. Protocol Overview
- Protocol Description: HostLink is a serial communication protocol developed by Omron for its PLC products. "HostLink over TCP" is an implementation that encapsulates this serial protocol within TCP/IP, allowing host systems or gateways to access PLC data via Ethernet.
- Application Scenarios: This protocol is widely used in scenarios requiring remote monitoring, program transmission, and data acquisition for Omron PLCs (e.g., CP, CJ, and CS series) via Ethernet. It is a common method for connecting HMIs, SCADA systems, and IoT gateways to Omron PLCs.
- E2C Trinity Support: E2C Trinity supports connecting to Omron PLCs as a Client (Master) via Ethernet using the HostLink over TCP protocol to access PLC internal data areas (such as CIO, WR, HR, DM, etc.).
2. Prerequisites
Before starting the configuration, please ensure the following:
Hardware Connection:
- Ensure the E2C Trinity gateway and the target PLC are connected to the same Local Area Network (LAN) and can communicate.
- The debugging PC must be connected to the same network to log into the E2C Trinity web interface.
Network Parameters:
- Obtain the IP Address and Port Number of the target PLC (typically configured in the PLC's Ethernet module settings).
- Ensure the E2C Trinity gateway is on the same subnet as the PLC with no IP conflicts.
Device Parameters:
- Prepare the PLC project file or the Data Point List.
Identify key parameters:
- Unit Number (HostLink Node Number): The station number of the target PLC.
- Tag Addresses: Register addresses to be collected.
- Data Type: Data type for each point (e.g., int16, float32, bool).
3. Configuration Steps
Follow these steps within the E2C Trinity web interface.
Step 1: Create Device
- Log into the gateway management page. Navigate to [Data Acquisition] to enter the E2C Trinity configuration page.


- Click the "Create Device" button and fill in the connection information in the pop-up window.

| Parameter |
Description |
Example |
| Name |
Unique identifier for the PLC device. |
Packaging-Line-A-Machine-02 |
| Driver |
Select [OMRON] - [HostLink over TCP] from the dropdown list. |
OMRON - HostLink over TCP |
| IP Address |
The IP address of the target PLC. |
192.168.1.20 |
| Port Number |
The TCP port configured on the PLC for HostLink communication. |
9600 |
| Unit Number |
The HostLink node number of the target PLC. |
0 |
| Polling Cycle (s) |
Frequency of data requests (Seconds). |
5 |
| Description |
Additional info for user reference. |
Workshop A Line, Machine 02 |
- Click "Save" to complete the device creation.
- Select the newly created device from the device list on the left.
- Click "Add" to create a single data acquisition Tag. Fill in the tag information.

| Parameter |
Description |
Example |
| Name |
The tag name used in data reports. |
Temperature |
| Tag Type |
Device Tag: Data from the PLC. Virtual Tag: Gateway-side variable. |
Device Tag |
| Address Type |
PLC register type (e.g., D, C, W, H, A, E). |
+ For example, if the point address in the PLC is D100, configure the "Address Type" as "D" and the "Address" as "100". + For example, to read the 3rd bit of the D100 register in the PLC, configure the "Address Type" as "D", the "Address" as "100", and the "Bit Offset" as "3". |
| Address |
Specific register address in the PLC. |
|
| Bit Offset |
Required for 'bool' types; specifies the bit index. |
|
| Data Type |
Must match the PLC's data format. |
short (int16) |
| Read/Write Permission |
Read Only or Read/Write. |
Read Only |
| Decimals |
Number of decimal places (for float/double). |
2 |
| Unit |
Engineering units (e.g., °C, pcs). |
°C |
| Associated Group |
Assign the tag to a specific data group. |
- |
| Description |
Brief explanation of the tag's purpose. |
Heat Zone 1 Real-time Temp |
| Data Operation |
Mathematical processing (Scaling, Offset, etc.). |
None |
- For example, if the point address in the PLC is D100, configure the "Address Type" as "D" and the "Address" as "100".
- For example, to read the 3rd bit of the D100 register in the PLC, configure the "Address Type" as "D", the "Address" as "100", and the "Bit Offset" as "3".
- Repeat the steps to add all necessary tags. Once finished, click the "Publish" button in the top right corner to apply the configuration.
4. Verification & Troubleshooting
Verification
- Check the device list to ensure the status is Online and tags are successfully collected.

- View the Latest Value column to verify data accuracy.

- Test Writing: Click the edit icon in the "Latest Value" column, modify the value, and verify if the PLC accepts the change in the next polling cycle.

Common Troubleshooting (FAQ)


5. Appendix: Data Type Mapping
When configuring tags in E2C Trinity, use the following mapping:
| E2C Trinity Type |
Length / Sign |
Omron PLC Equivalent |
Example Address |
Notes |
| bool |
1 bit |
BOOL |
D100.0, W10.05 |
Reads a bit from a word address. |
| ushort (uint16) |
16 bit (Unsigned) |
UINT, WORD |
D200, W30 |
Standard 16-bit word. |
| short (int16) |
16 bit (Signed) |
INT |
D201, C100 |
Standard 16-bit signed integer. |
| uint (uint32) |
32 bit (Unsigned) |
UDINT, DWORD |
D300, W50 |
Occupies 2 consecutive words. |
| int (int32) |
32 bit (Signed) |
DINT |
D302 |
Occupies 2 consecutive words. |
| float (float32) |
32 bit (IEEE 754) |
REAL |
D500 |
Occupies 2 consecutive words. |
| double (double64) |
64 bit (IEEE 754) |
LREAL |
D502 |
Occupies 4 consecutive words. |
| string |
N Bytes |
STRING, ARRAY |
D600 |
Parses consecutive words as characters. |
Revision History
| Version |
Date |
Author |
Changes |
| 1.0 |
2025-09-23 |
Ken Li |
Initial document creation. |
Related Articles
Omron HostLink Data Collection Guide
1. Protocol Overview Protocol Description: HostLink is a serial communication protocol developed by Omron for its PLC products, primarily used for data exchange and monitoring between host systems (such as programming software, HMI, or SCADA) and ...
Omron FINS TCP Data Collection Guide
1.Protocol Overview Protocol Description: FINS (Factory Interface Network Service) is a communication protocol developed by Omron for its PLC series (e.g., CP, CJ, and CS series) to facilitate data exchange between PLCs and host systems (such as HMI ...
Omron CipNet Data Collection Guide
1. Protocol Overview Protocol Description: CipNet is the term used by Omron for its EtherNet/IP network solution. EtherNet/IP is a widely adopted industrial Ethernet communication protocol that encapsulates the Common Industrial Protocol (CIP) within ...
Modbus TCP Data Collection Guide
1. Protocol Overview Protocol Description: Modbus TCP is a common industrial automation protocol based on TCP/IP network transmission. Application Scenarios: This protocol is widely used for data acquisition and control of devices such as PLCs, ...
Inovance TCP Data Collection Guide
1. Protocol Overview Protocol Description: The Inovance TCP protocol is a communication method that allows direct TCP/IP network connection to Inovance PLCs (such as H3U, AM/AC series). It supports efficient data exchange by reading tags or register ...