This document has only the specific information about the device connection settings and its address syntax.

Refer to the User Guide for more information on the Device Module.



Summary

Omron Host Link implements communication CPU Units that are compatibles with C-mode commands via Host Link. The communications blocks are dynamically created according to the pooling cycle defined on the Access Type for each Device Point.

Communication Driver Information
Driver nameOmronHostLink
Assembly NameT.ProtocolDriver.OmronHostLink
Assembly Version1.1.0.0
Available for LinuxFalse
Devices supported 

CS/CJ/CP-series CPU Unit or NSJ Controller

Manufacturer<<<< from the DOCX or support >>>>
ProtocolHost Link Interface protocol
InterfaceSerial
Communication block size29 Word Addresses
Protocol OptionsBlock Size, Ignore Non critical error and Change the PC mode for Writings
PC RequirementsStandard PC with RS232 port

Supported Operands

Operand

Read

Write

Data Type

Address size

IR – Internal Relay

Yes

Yes

Word

2 bytes

SR – Extended Relay

Yes

Yes

Word

1 bit

HR – Holding Bit

Yes

Yes

Word

2 bytes

AR - Auxiliary Bit

Yes

Yes

Word

2 bytes

DM – Data Memory

Yes

Yes

Word

2 bytes

PV – Timers/Counter Value

Yes

Yes

BCD

2 bytes

TC – Timer/Counter Status

Yes

Yes

BCD

2 bytes


Channels Configuration

Protocol Options

  • Max Block Size:  Determines the maximum block size. Default is 29 Word Addresses
  • Ignore Non Critical Error: Indicates the driver behavior when the PLC returns the 64 status that is a non fatal error:
    • True: returns Success, with error code = 64 and set the tag quality to GOOD
    • False: returns Failed, with error code = 64  and set the tag quality to BAD
  •  Change the PC mode for Writings:  Indicates whether the communication driver should send a command that changes the PLC state to MONITOR in order to perform writing operations, otherwise the writing will fail (error code 1). Default = True

Settings - Serial channels:

Default RS-232 serial port configuration.



Nodes Configuration

Station Configuration - Serial (RS232) Channels

Syntax: <Device id>

Where:

  • <Device id> is the PLC address.

Station Configuration - Multi Serial channels:

Syntax:  <Port> ; <Device id>

Where :

  • <Port>: COM port for communication (default is COM1)

E.g.: COM1 ; 0



Points Configuration

The syntax for the communication points is: <Memory Area> : <Address>

The Valid Memory areas are:

Valid Memory Areas

IR – Internal Relay

SR – Extended Relay

HR – Holding Bit

AR - Auxiliary Bit

DM – Data Memory

PV – Timers/Counter Value

TC – Timer/Counter Status

E.g.: 

Examples
SyntaxMemory AreaAddress

CA:0

CA0
CIO:20CIO20
EM0:1Extended Memory 01
EM6:1Extended Memory 61

Troubleshoot

Common errors

PLC Error Code

Description

1

Not executable in RUN mode

2

Not executable in MONITOR mode

4

Address over (CPM1 PLCs)

5

Invalid Header

6

Invalid Address

7

Invalid block size

11

Not executable in PROGRAM mode

19

FCS error

20

Format error

21

Entry number data error

22

Command not supported

24

Frame length error

25

Not executable

35

User memory write-protected

163

Aborted due to FCS error in transmit data


Driver Revision History

OmronHostLink Revision History
Version Notes
1.1.0.0Initial release on new documentation standards.

In this section...

  • No labels