HollySys PLC Modbus TCP
HollySys LK/LE Modbus TCP via the Site Runtime hollysys-modbus-tcp (IW/QW/MW, IX/QX/MX.bit).
| Property | Value |
|---|---|
| Console protocol id | hollysys-modbus-tcp |
| Site Runtime plugin | hollysys-modbus-tcp |
| Transport | Ethernet (TCP/UDP) |
| Read | yes |
| Write | yes — through approved writes |
| Subscribe | — |
| Device families | HollySys LK, HollySys LE |
| Default group interval | 1000 ms |
| Maturity | Production: complete driver (connection handling, address forms, batching, read and write) |
Create the device
- Open Connectivity → Devices and click Add device.
- Pick HollySys PLC Modbus TCP in the protocol list.
- Choose the Site Runtime that can reach the device, fill the connection parameters below and click Create & connect.
- Add a group (poll interval) and tags with the address formats below. See Devices and Groups and tags for the full walk-through.
Connection parameters
Every field the Console shows for this protocol. Required fields must be set before the device can be saved.
| Parameter | Type | Default | Range / options | Required | Description |
|---|---|---|---|---|---|
Check Headercheck_header | map | False | False, True | yes | |
Maximum Retry Timesmax_retries | int | 0 | 0 – 5 | yes | The maximum number of retries after a failed attempt to send a read command |
Retry Interval (ms)retry_interval | int | 0 | 0 – 10000 | yes | |
Endiannessendianess | map | ABCD | ABCD, BADC, DCBA, CDAB | yes | Tag byte order, ABCD corresponds to 1234 |
Send Interval (ms)interval | int | 20 | 0 – 3000 | yes | |
IP Addresshost | string | — | — | yes | Local IP in server mode, remote device IP in client mode |
Portport | int | 502 | 1 – 65535 | yes | Local port in server mode, remote device port in client mode |
Connection Timeout (ms)timeout | int | 3000 | 1000 – 65535 | yes |
Tag addresses and data types
Supported data types: INT16, UINT16, WORD, BIT, BOOL. The Console validates each tag address against the pattern for its data type before it is saved:
| Data types | Address pattern (regular expression) |
|---|---|
INT16 UINT16 WORD | ^[IQM]W(\d+)$ |
BIT BOOL | ^[IQM]X(\d+).(\d+)$ |