Skip to main content

OmronHostLinkMaster

Purpose

Omron Host Link serial protocol address read and write driver

Open the plugin

Enter "Development Configuration → Collection Configuration", create a device and select "OmronHostLinkMaster" in "Collection Plugin".

Supported channels and data types

Channel typePre-configuration check
Serial PortConfirm that the serial port is not occupied by other programs and maintains the same baud rate, data bits, stop bits and parity bits as the device.
TCP ClientConfirm network reachability of the device IP, port, and gateway to the device.
TCP serverConfirm that the local listening address and port are available, and allow on-site devices to actively connect to the gateway.

Optional data types: Boolean, Int16, UInt16, Int32, UInt32, Float, String

Plugin properties

Protocol parameters

SettingDescription
PLC station numberDefault: 0; fill in: text input. Set the default station number used when the station number is not specified separately in the variable address.
Information control fieldDefault: 0; fill in: text input. Sets the message control fields used for protocol communication.
Target unit addressDefault: 0; fill in: text input. Sets the target unit address used for protocol communications.
Source unit addressDefault: 0; fill in: text input. Sets the source unit address used for protocol communications.
Service IDDefault: 0; fill in: text input. Set the service ID used for protocol communication.
Response waiting charactersDefault: 48; fill in: text input. Sets the response wait character used for protocol communication.

Address rules

  • HostLink normal mode address: D, CIO/C, W, H, A, E hexadecimal area code. Address, TIM, CNT, such as D100, CIO20, E1.100.
  • The address can use s=2;D100 to overwrite the default station number; the station number ranges from 0 to 255.
  • Single continuous read and write up to 260 WORD; bit access uses address.bit number.
  • Serial ports typically use 7 data bits, even parity, 1 stop bit; TCP variants use the same line frame.

Functions

FunctionPurpose
Read and writeRead a confirmed point and write only to an approved test point.
MessagesView sent and received frames, protocol fields, and error details.

Device debug

Enter "Development Configuration → Collection Configuration", select the current device and click "More Functions", then open "Debug".

Dedicated debugging page

Open Development Configuration → Collection Configuration, select the device, and open More Functions → Debug. The following image shows the plugin-specific debug page.

OmronHostLinkMaster debug subpage 1

OmronHostLinkMaster debug subpage 2

Verify the configuration

Use a confirmed on-site address to perform reading. The return value, data type and byte order should be consistent with the point list; after the writable point is written, it should be read back according to on-site requirements.

Troubleshooting

  • Address reading failed: Check the station number, register or node ID one by one according to the address rules on this page, and confirm that the data type is consistent with the device point list.
  • The serial port device does not respond: Confirm that the serial port is not occupied, and check the baud rate, data bits, stop bits and parity bits.