Hostlink (Omron)

Hostlink (Omron Serial)

The Hostlink driver enables communication with Omron PLCs via RS232 or RS422/485 serial ports using the ASCII-based C-Mode (Host Link) protocol.

Connection Settings (Network Settings)

These settings must exactly match the PLC’s Dip-Switch or PLC Settings.
Warning: The Omron Hostlink protocol defaults to 7 Data Bits, 2 Stop Bits, and Even Parity, which differs from the standard 8-N-1 configuration. If the connection fails, verify these parameters first.

ParameterDescriptionExample
Serial PortCOM port connected to the PLC.COM1
BaudrateCommunication speed (e.g., 9600, 19200). Must match the PLC setting.9600
ParityParity check. Standard Omron setting is Even.Even
Stop BitsStop bit count. Standard Omron setting is Two.Two
Data BitsNumber of data bits. Standard Omron setting is 7.7
Delay (ms)Query delay: Minimum wait between requests to prevent collisions on RS485 networks.100
Timeout (ms)Maximum wait time for a PLC response. Adjust according to cable length and baudrate.250
Retry CountNumber of retries before entering Fault state on communication failure.3

Device Settings

ParameterDescription
AddressUnit Number: PLC’s Host Link Unit No (0–31). Typically 0 for direct connection.
SymbolProject symbolic name for the device (e.g., Device1).
EnableActivates or deactivates the device. Multiple conditions can be defined; if any are true, the device is active. Leave empty for always active.
Skip After FailureRecommended to enable (True). If no response is received (Timeout), SCADA skips remaining tags for this device and moves to the next device, preventing RS485 network slowdowns.
Maximum Word CountMaximum number of Words (Registers) read in a single request. Default: 125. Reduce (e.g., 32 or 64) for older FX series or noisy lines to improve reliability.
ConnectedBit becomes True when communication with the PLC is established.
FaultBit becomes True if a communication error occurs.
CommentOptional note or description for the device.

Addressing Table

Wise SCADA supports the following memory areas for Omron Hostlink.
Bit Addressing
Omron bit addresses range from .00 to .15 (e.g., DM 100.05).

Address TypeData TypeDescriptionExample
IR / CIOWord/BitInputs, Outputs, and Core Internal Relays.IR 0, IR 100.0
DMWordData Memory (most commonly used area).DM 0, DM 100
WR / WWord/BitWork Relay.W 0, W 10.00
HRWord/BitHolding Relay (Retentive).HR 0, HR 5.0
ARWord/BitAuxiliary Relay (System Bits).AR 0, AR 10
LRWord/BitLink Relay.LR 0, LR 10
TKBitTask Flag.TK 0
TSBitTimer Status.TS 0
CSBitCounter Status.CS 0

Leave a Reply