Before starting the configuration, please ensure the following:
Follow these steps within the E2C Trinity Web interface.
| Parameter | Description | Example |
|---|---|---|
| Name | Name of the source device, used to distinguish different equipment. | Packaging-Machine-03 |
| Driver | Select the protocol for communication: "OPC UA". | OPC UA |
| Server URL | The access address of the target OPC UA server. | opc.tcp://192.168.0.10:4840 |
| Collection Mode | Polling or Subscription (Multiple selections supported). | Polling + Subscription |
| Polling Cycle | Required if mode = Polling. Frequency of data requests (Seconds). | 10 |
| Publishing Interval | Required if mode = Subscription. Range: 200–60,000 (ms). | 200 |
| Batch Size | Required if mode = Subscription. Range: 10–100. | 20 |
| Authentication Method | Choose between Anonymous Login or User/Password. | Anonymous Login |
| Security Policy | None / Basic128Rsa15 / Basic256 / etc. (Must match server settings). | None |
| Description | Additional info to help identify the device. | Workshop A - Machine 03. |
| Enable High-speed Collection Mode | Supports millisecond-level data acquisition. Once published, the system automatically generates high-speed collection groups. Note: High-speed tags and their information cannot be modified after generation; only regular tags can be maintained. To change high-speed settings, create a new device. | Enabled |
| High-speed Polling Cycle | Must be selected when high-speed mode is enabled. Supported intervals: 50ms, 100ms, 200ms, 500ms. | 100ms |
| Package Count | Must be selected when high-speed mode is enabled. Defines how many polling cycles occur before data is reported as a batch. Supported values: 10, 20, 30. | 30 |
| Connection Timeout | Limit for establishing a connection (ms). Default: 10,000. | 10000 |
| Collection Timeout | Limit for the server to respond to requests (ms). Default: 1,000. | 1000 |
| Enable Batch Collection | Enabled by default for performance. | Enabled |
| Max Batch Count | Maximum data points per batch request. Default: 50. | 50 |
| Parameter | Description | Example |
|---|---|---|
| Collection Mode | Select the mode for this specific tag (defaults based on device settings). | Subscription |
| Name | The variable name used in data reporting payloads. | Temperature |
| Collection Type | If high-speed mode is supported, choose High-performance or Normal. | Normal |
| Tag Type | Device Tag: Data from the PLC. Virtual Tag: Gateway-side intermediate variable. |
Device Tag |
| NS (Namespace Index) | The Namespace Index of the target node. | 2 |
| Address Type | Select NodeId type: String, Numeric, GUID, or Opaque. | String |
| Identification Code | The unique ID of the node (e.g., or ). |
Temperature |
| Data Type | Data format (e.g., bool, int16, float32); must match the OPC UA node. | short (int16) |
| Read/Write Permission | Read Only: Gateway cannot modify the value. Read/Write: Gateway can both read and modify. |
Read Only |
| Decimals | Number of decimal places (for float/double types). | 2 |
| Unit | Engineering units (e.g., °C, KWh, pcs). | °C |
| Associated Group | Assign the variable to a specific data group. | - |
| Data Operation | Mathematical processing like Scaling or Offset. | - |
opc.tcp:// and port 4840).Data Type Mapping
When configuring tags in E2C Trinity, use the following mapping:
| **Edge2C Pro Data Type ** | Length/Sign | OPC UA Equivalent Type | Example NodeId | Notes |
|---|---|---|---|---|
| bool | 1 bit | Boolean | ns=2;s=MotorStart |
Read Only / Read & Write, depending on permissions |
| short (int16) | 16 bit / Signed | Int16 | ns=3;i=1001 |
-32768…32767 |
| ushort (uint16) | 16 bit / Unsigned | UInt16 | ns=3;i=1002 |
0…65535 |
| int (int32) | 32 bit / Signed | Int32 | ns=3;i=1003 |
-2147483648…2147483647 |
| uint (uint32) | 32 bit / Unsigned | UInt32 | ns=3;i=1004 |
0…4294967295 |
| float (float32) | 32 bit | Float | ns=2;s=Temperature |
IEEE 754 Single Precision |
| double (float64) | 64 bit | Double | ns=2;s=Pressure |
IEEE 754 Double Precision |
| string | n × 16 bit | String | ns=2;s=DeviceName |
UTF-8 Encoding |
| byte | 8 bit | Byte | ns=3;i=2001 |
Native single-byte support in OPC UA |
| Version | Date | Author | Changes |
|---|---|---|---|
| 1.0 | 2025-09-30 | WX | Initial document creation. |