Omron Host Link
Omron Host Link C-mode via the Site Runtime hostlink-cmode (serial).
| Property | Value |
|---|---|
| Console protocol id | omron-host-link |
| Site Runtime plugin | hostlink-cmode |
| Transport | Serial (RS-232/RS-485), some families also over TCP |
| Read | yes |
| Write | yes — through approved writes |
| Subscribe | — |
| Device families | CP1, CQM1, CPM2 |
| 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 Omron Host Link in the protocol list and make sure the Site Runtime host has the serial port.
- 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 |
|---|---|---|---|---|---|
Connection Timeout (ms)timeout | int | 3000 | 1000 – 30000 | yes | |
Send Interval (ms)interval | int | 20 | 0 – 3000 | yes | |
Serial Devicedevice | string | — | max 30 chars | yes | |
Stop Bitsstop | map | 1 | 1, 2 | yes | |
Parityparity | map | none | none, odd, even, mark, space | yes | |
Baud Ratebaud | map | 9600 | 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200 | yes | |
Data Bitsdata | map | 8 | 5, 6, 7, 8 | yes |
Tag addresses and data types
Supported data types: INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, BOOL, STRING. 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 INT64 UINT64 DOUBLE | (^([0-9]{2})!(CIO|A|D|TD|LR|HR)[0-9]{4})+(#B|#L|)$ |
INT32 UINT32 FLOAT | (^([0-9]{2})!(CIO|A|D|TD|LR|HR)[0-9]{4})+(#BB|#BL|#LL|#LB|)$ |
BOOL | (^([0-9]{2})!(TS)[0-9]{4})+(#B|#L|)$ |
STRING | ^[0-9]{2}!(CIO|A|D|TD|LR|HR)[0-9]{4}\.[0-9]+(H|L|)$ |