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 name

OmronHostLink

Assembly Name

T.ProtocolDriver.OmronHostLink

Assembly Version

1.1.0.0

Available for Linux

False

Supported Devices

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

Manufacturer

Information given by support. 

Protocol

Host Link Interface protocol

Interface

Serial

Communication block size

29 Word Addresses

Protocol Options

Block Size, Ignore Non critical error and Change the PC mode for Writings

PC Requirements

Standard 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 – Timer/Counter Present Value

Yes

Yes

BCD

2 bytes

TC – Timer/Counter Status

Yes

Yes

BCD

2 bytes


Channels Configuration

Protocol Options

  • BlockSize: 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: If it returns a Success with the 64 error code, set the tag quality to GOOD
    • False: If it returns a Failed with the 64 error code, 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 is True

Settings - Serial channels:

Default RS-232 serial port configuration.



Nodes Configuration

Station Configuration - Serial (RS232) Channels

Syntax: <Unit Number>

Where:

  • <Unit Number> is the PLC address

Station Configuration - Multi Serial channels:

Syntax: <ComPort>; <Unit Number>

Where :

  • <Port>: COM port for communication (default is com1)
  • <Unit Number> is the PLC address

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

Syntax

Memory Area

Address

CA:0

CA

0

CIO:20

CIO

20

EM0:1

Extended Memory 0

1

EM6:1

Extended Memory 6

1


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.0

Initial release on new documentation standards.


In this section...

  • No labels