HJ212-2017
HJ212-2017 via the Site Runtime HJ212 (schema hj; serial/TCP).
| Property | Value |
|---|---|
| Console protocol id | HJ212 |
| Site Runtime plugin | HJ212 |
| Transport | Ethernet (TCP/UDP) |
| Read | yes |
| Write | no |
| Subscribe | — |
| Device families | HJ212 |
| 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 HJ212-2017 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 |
|---|---|---|---|---|---|
Physical Linklink | map | Serial | Serial, TCP | yes | Serial or Ethernet |
Serial Devicedevice | string | — | max 30 chars | yes | Shown when Physical Link = Serial. |
Stop Bitsstop | map | 1 | 1, 2 | yes | Shown when Physical Link = Serial. |
Parityparity | map | None | None, Odd, Even, Mark, Space | yes | Shown when Physical Link = Serial. |
Baud Ratebaud | map | 9600 | 2400, 4800, 9600, 19200, 38400, 57600, 115200 | no | Shown when Physical Link = Serial. |
Data Bitsdata | map | 8 | 5, 6, 7, 8 | yes | Shown when Physical Link = Serial. |
IP Addresshost | string | — | max 30 chars | yes | Local IP in server mode, remote device IP in client mode Shown when Physical Link = TCP. |
Portport | int | — | 1 – 65535 | yes | Local port in server mode, remote device port in client mode Shown when Physical Link = TCP. |
PasswordPW | string | — | max 9 chars | yes | |
Device ID (MN)MN | string | — | max 27 chars | yes | |
System Code (ST)ST | int | — | 1 – 100 | yes |
Tag addresses and data types
Supported data types: DOUBLE, STRING. The Console validates each tag address against the pattern for its data type before it is saved:
| Data types | Address pattern (regular expression) |
|---|---|
DOUBLE STRING | |