OMRON PLC (HostLink) (Serial)

Communication Setup: Xpanel

Create a new device

 

To create a new device, go to [Tools] → [Devices] or click on the icon in the main toolbar. The ‘I/O Device Configuration’ dialog box will pop up. Click the [New Device] button to open the ‘I/O Device Selection’ dialog box.

I/O Device Name: Give a device name. This name will be used in the tag configuration window of the database accompanied by the ‘Station Name’.

Select a device type

I/O Device Type: OMRON PLC(HostLink)

After selecting the [Ok] button on the previous step, the ‘Serial Communication Configuration’ dialog box will pop up.

In this window, select ‘OMRON PLC (HostLink)’ as the ‘Device Type’ and configure the proper serial communication parameters. Ensure that those parameters are matched with PLC configuration. See the Communication Configuration section for more information.

Create a station

Move to the [Station] tab of the ‘Serial Communication Configuration’ dialog box. In this dialog box, all the connected PLC stations can be configured and registered to the Xpanel.

Each field can be configured as follows:

Station Name: ST1

Give a name to the PLC. This name will be used in the database window accompanied by the ‘Device Name’.

Station Type: HostLink (no other type can be selected).

Network ID: This field has no effect.

Station No.: Specify a decimal number between 0 and 31.

16Bit Data Swap: This field has no effect.

32Bit Data Swap: This field has no effect.

Using Checksum: This field has no effect.

Comm. Error Message Pop Up: When this item is checked, Xpanel displays a communication error message box for every Rx and Tx error. Otherwise (unchecked), Xpanel does not display a message for communication errors. This message box will close automatically after a few seconds.

See the Communication Configuration section for more information about the remaining parameters.

PLC Mode

Omron PLC can be written when the mode is set to monitor. Set the value of DM6600 to 0101h. Even if the PLC power goes out, it remains in monitor mode.

Supported PLC Memories

Area

Symbol

Analog Tag

Digital Tag

Remark

DM area

D

D0000 – D9999

D0000.00 – D0000.15

D9999.00 – D9999.15

(1)

CIO area

CIO

CIO0000 – CIO6143

CIO0000.00 – CIO0000.15

CIO6143.00 – CIO6143.15

 

AR area

A

A0000 – A0959

A0000.00 – A0000.15

A0959.00 – A0959.15

(1), (2)

HR area

H

H0000 – H0511

H0000.00 – H0000.15

H0511.00 – H0511.15

 

T/C status

TC

not supported

TC0000 – TC4095

(3)

T/C p. value

PV

PV0000 – PV4095

not supported

(3)

LR area

L

L0000 – L0199

L0000.00 – L0000.15

L0199.00 – L0199.15

 

EM area

E

E0_0000 – E0_9999

EC_0000 – EC_9999

E0_0000.00 – E0_0000.15

EC_9999.00 – EC_9999.15

(1), (4)

IR area

IR

IR0000 – IR6143

IR0000.00 – IR0000.15

IR6143.00 – IR6143.15

 

(1) If the address of this area was used for a digital tag, control functionalities are not supported. Xpanel cannot set/reset these points.

(2) The A000 - A0447 address area cannot be modified by Xpanel (read-only area).

(3) Timer: T0000 – T2143 area was mapped to TC0000 - TC2143 (PV0000 - PV2143).

Counter: C0000 – C2143 area was mapped to TC2148 - TC4095 (PV2148 - PV4095).

(4) Bank of EM area must be denoted by one hexadecimal character ('0' - 'C') as shown below:

-Digital Tag: E[bank]_[word no].[2 digit bit no] (EA_1000.05 : bit5 of E1000 in bank ‘A’).

-Analog Tag: E[bank]_[word no] (EC_32 : E0032 of bank ‘C’).

(5) The bit location of the digital tag must be denoted by a two-digit decimal number ('00' - ‘15’) with a dot ('.') separator.

*Exception: Timer/Counter area is a digital point by itself.

Wiring Diagram

RS-232C

 

C Series RS-422A

 

CS/CJ Series

RS-422A

 

Â