Before starting the configuration, please ensure the following:
Follow these steps within the E2C Trinity web interface.
| Parameter | Description | Example |
|---|---|---|
| Name | Unique identifier for the PLC device. | Packaging-Line-A-Machine-02 |
| Driver | Select [OMRON] - [HostLink] from the dropdown list. | OMRON - HostLink |
| Serial Port | The specific serial port used (e.g., RS485-1). | RS485-1 |
| Baud Rate | Must match the PLC port setting. | 9600 |
| Data Bits | Data bits for serial communication. | 7 |
| Stop Bits | Stop bits for serial communication. | 2 |
| Parity | Parity check method (e.g., Even, Odd, None). | Even |
| 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 |
| 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 (for remote modification). | 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 |
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. |
| Version | Date | Author | Changes |
|---|---|---|---|
| 1.0 | 2025-09-22 | Ken Li | Initial document creation. |