16
eWON500™ The Configurable Gateway ver 1.0 9/11/05 Page 1 User Guide PURPOSE You have just received your brand new eWON500™! ACT’L produces a complete range of Ethernet/Internet gateways also known as “Programmable Industrial Routers” (PIR). See our web site http://www.ewon.biz to get further information about the eWON™ range. The goal of the current document is to teach you how to correctly configure the eWON500™ as a Configurable Gateway to address a wide range of various Programmable Logic Controllers (PLC), from the Ethernet side to the serial side through the eWON™ interface. eWON500™ is just out of the box, you have already powered it ON (12-24VDC) and connected its Ethernet cable. • Enter http://10.0.0.53 in the address bar from your Internet Explorer (refer to the eBuddy User Guide if you need to change the eWON™ IP address and subnet mask) • Enter adm (User Name)/adm (Password) then Enter You are now navigating on your eWON500™! The eWON500™ is a configurable gateway: it can retrieve data from several protocols and publish them as Modbus TCP registers or SNMP registers. Every eWONs™ are shipped with the pre configured IP address 10.0.0.53 and adm/adm as User Name/Password.

eWON500™ UG ConfGate UK 1 0

  • Upload
    vudan

  • View
    216

  • Download
    0

Embed Size (px)

Citation preview

eWON500™The Configurable Gateway

ver 1.0

9/11/05

User Guide

PURPOSE

You have just received your brand new eWON500™!

ACT’L produces a complete range of Ethernet/Internet gateways also known as “Programmable Industrial Routers” (PIR). See our web site http://www.ewon.biz to get further information about the eWON™ range.

The goal of the current document is to teach you how to correctly configure the eWON500™ as a Configurable Gateway to address a wide range of various Programmable Logic Controllers (PLC), from the Ethernet side to the serial side through the eWON™ interface.

eWON500™ is just out of the box, you have already powered it ON (12-24VDC) and connected its Ethernet cable.

• Enter http://10.0.0.53 in the address bar from your Internet Explorer (refer to the eBuddy User Guide if you need to change the eWON™ IP address and subnet mask)

• Enter adm (User Name)/adm (Password) then Enter

You are now navigating on your eWON500™!

The eWON500™ is a configurable gateway: it can retrieve data from several protocols and publish them as Modbus

TCP registers or SNMP registers.

Every eWONs™ are shipped with the pre configured IP address 10.0.0.53 and adm/adm as User Name/Password.

Page 1

eWON500™The Configurable Gateway

ver 1.0

9/11/05

User Guide

ModbusTCP/SERIAL GATEWAY

Principles The eWON500™ is a configurable gateway: it enables a connection between a supervisor or an

industrial software and the eWON500™ through the TCP link (with protocol=ModbusTCP). This gateway then allows to read in the eWON500™ an existing Tag which reads a word on a PLC linked to it by its serial interface (with a serial protocol such as UNITE, NETMPI, DF1, FINS and S5-AS511).

Configurable Gateway configuration with eWON500™

The eWON500™ configurable serial port

Depending on the serial link which is supported by the target PLC, the eWON500™ serial port dip-switches (left bottom side from the eWON500™ when you face its LEDs panel) must be configured for RS-232 or RS-485 mode.

A label describing the switches configuration stands just close from the dip-switch panel.In case of doubt, please refer to the eWON500™ Installation Guide (Configurable serial port chapter) you can download from the eWON web site:(http://www.ewon.biz Support/Documentation/User guides).

The eWON500™ IO servers

The eWON500™ requires a kind of driver to be able to “speak” the protocol from the PLC. At this time, the eWON500™ embeds several drivers (called IO servers), each of them can be configured from a distinct configuration web page from the eWON500™ interface:From the eWON500™ main menu, click on IO Server Config then select the required IO Server:

You will find in the following pages detailed examples on how to configure each of the eWON IO servers and Tags to enable the configurable gateway feature.

Page 2

eWON500™The Configurable Gateway

ver 1.0

9/11/05

User Guide

Enabling the eWON500™ ModbusTCP gateway

The ModbusTCP is activated by default in the eWON500™. Nevertheless, you have to know where to restablish it if it has been unactivated.

• Check that the feature is active by clicking on Main menu from the eWON500™ menu bar, then select IO Server Config/Modbus and Edit. Activate the eWONServer checkbox if required.

• The Modbus TCP Unit Address is set to 100 by default. You can modify this value if e.g. this address is affected to another device on your industrial network. Don’t forget to click on the Update Config button to validate your changes.

SNMP publication

• First of all : you’ll find the MIB file of the eWON on the Download Software page on eWON.biz.• To publish a tag in SNMP, in the Tag Setup page of the tag, you only need to enable the

SNMP publication with a defined OID (Object IDentification).

Page 3

eWON500™The Configurable Gateway

ver 1.0

9/11/05

User Guide

Rem: the SNMP publication and the ModbusTCP publication are independent and thus can be enabled at the same time.

The eWON500™ doesn’t act as SNMP server by default, you need to enable it and configure it correctly.

Go on the menu Config/System Setup/General/SNMP to enable SNMP on the eWON500™.A simple configuration is shown below:

You can restrict SNMP access to specific hosts by disabling the Accept SNMP from any host checkbox.

Page 4

eWON500™ModbusTCP/Unitelway Gateway

ver 1.0

9/11/05

User Guide

The ModbusTCP/UNITELWAY Gateway configuration Serial connection configuration

• Set up eWON™ dip switches to RS485 mode (with or without polarization depending on your network type)• Connect the serial cable between your eWON500™ and the PLC (see page 14)

UNITELWAY IO server configuration• Go to the UNITE IO server page: Configuration/IO Server Config/UNITE/Edit

COM Setup Topic Setup

Baud Rate 9600Tx message timeout Default Topic A Enabled

Parity ODDForce UnitelwayV2 Unchecked

Global Device Address 0,254,0 (Default)

Stop Bit(s) 1Disable 0,254translation Unchecked Poll Rate Default (2000)

HW ModeHalf Duplex ADO Default (4)

Master Response timeout Default

XWAY Network Station Let empty

Rx message timeout Default

• Click on Update Config to validate the IO server configuration

Page 5

eWON500™ModbusTCP/Unitelway Gateway

ver 1.0

9/11/05

User Guide

Creating a UNITELWAY Tag - Testing from the eWON500• Go to the Tag Setup page: Configuration/Tag Setup/Create New Tag

Tag Page - Main SettingsTag Name e.g. test_unite

Page Default

Tag Description A free text e.g. MW word on the TSX MicroTag Page - I/O Server Setup

Server Name Select UNITE in the scroll list

Topic Name Enter A (The one you have previously created)

Address MW0

Type Choose Analog in the scoll list

Force Read Only Validate the checkbox

eWON value Let 1+0 (default)

• Click on Add/Update Only to validate the Tag configuration

At this stage, we are able to read the value from the Tag on the PLC, providing the MW0 word matches a running program in the PLC. The Technical Note 15: Gateway XIP - Unitelway for Schneider PLC you can download from the eWON web site http://www.ewon.biz (Support/Documentation/Technical notes) explains how to create such a program from PL7 Pro, then transferring it from PL7 Pro to the PLC. For the moment, the eWON is connected to the PLC through its serial link; now we are going to read the value in the eWON (Main Menu/View I/O). Providing the serial connection works and the program is running on the PLC, you should see the Tag value changing in the View I/O page (click at regular interval on the Update link to see the value changing).

Page 6

eWON500™ModbusTCP/Unitelway Gateway

ver 1.0

9/11/05

User Guide

Enabling the Modbus TCP/UNITELWAY Configurable GatewayNow we have to configure the eWON500™ in order for it to allow the PC to “see” the PLC through the ModbusTCP link.

• Return to the configuration from the Tag you have just created (Configuration/Tag Setup then click on the previously created Tag name)

Tag Page - Tag Visibility SetupeWON value Let the default value

Modbus TCP Validate the Enabled checkbox

Register Enter the register number published by the eWON500™

The UNITE Tag will be published by the eWON500™ on the register 26.The supervisor will reach the eWON500™ in ModbusTCP with the following parameters:

• Destination IP address: the IP address from the eWON500™• Slave address: 100 (default eWON500™ Modbus TCP Unit Address)• Register: 26

Page 7

eWON500™ModbusTCP/DF1 Gateway

ver 1.0

9/11/05

User Guide

The ModbusTCP/DF1 Gateway configuration

Serial connection configuration• Set up eWON™ dip switches to RS232 mode (all switches OFF)• Connect the serial cable of type 1756-CP3 between your eWON500™ and the PLC (see page 15)

DF1 IO server configuration• Go to the DF1 IO server page: Configuration/IO Server Config/DF1/Edit

COM Setup Topic Setup

Baud Rate 19200 Master response timeout

Default Topic A Enabled

Parity NONE Rx message timeout Default Destination Device Type and Address

SLC500-0

Stop Bit(s) 1 Tx message timeout Default

Frame Error Detection BCC eWON DF1 Address Default (4) Poll Rate 1000

HW Mode Full Duplex Destination DF1 Address Empty

• Click on Update Config to validate the IO server configuration

Page 8

eWON500™ModbusTCP/DF1 Gateway

ver 1.0

9/11/05

User Guide

Creating a DF1 Tag - Testing from the eWON500• Go to the Tag Setup page: Configuration/Tag Setup/Create New Tag

Tag Page - Main SettingsTag Name e.g. test_df1

Page Default

Tag Description A free text e.g. Counter on the SLC500

Tag Page - I/O Server SetupServer Name Select DF1 in the scroll list

Topic Name Enter A (The one you have previously created)

AddressEnter the DF1 address matching the value you want to read

on the PLC e.g. C5:1.ACC

Type Select Analog in the scroll list

Force Read Only Validate the checkbox

eWON value Let 1+0 (default)

• Click on Add/Update Only to validate the Tag configuration

At this stage, we are able to read the value from the Tag on the PLC, providing the C5:1.ACC matches a running counter on the SLC500 PLC. The Technical Note 23: Gateway for EIP- DF1 Allen-Bradley PLC you can download from the eWON web site http://www.ewon.biz (Support/Documentation/Technical notes) explains how to create such a program from RSLogix500, then transferring it from the PC to the PLC.For the moment, the eWON is connected to the PLC through its serial link; now we are going to read the value in the eWON (Main Menu/View I/O). Providing the serial connection works and the program is running on the PLC, you should see the Tag value changing in the View I/O page (click at regular interval on the Update link to see the value changing).

Page 9

eWON500™ModbusTCP/DF1 Gateway

ver 1.0

9/11/05

User Guide

Enabling the Modbus TCP/DF1 Configurable GatewayNow we have to configure the eWON500™ in order for it to allow the PC to “see” the PLC through the ModbusTCP link.

• Return to the configuration from the Tag you have just created (Configuration/Tag Setup then click on the previously created Tag name)

Tag Page - Tag Visibility Setup

eWON value Let the default value

Modbus TCP Validate the Enabled checkbox

Register Enter the register number published by the eWON500™

The DF1 Tag will be published by the eWON500™ on the register 1.The supervisor will reach the eWON500™ in ModbusTCP with the following parameters:

• Destination IP address: the IP address from the eWON500™• Slave address: 100 (default eWON500™ Modbus TCP Unit Address)• Register: 1

Page 10

eWON500™ModbusTCP/FINS Gateway

ver 1.0

9/11/05

User Guide

The ModbusTCP/FINS Gateway configuration

Serial connection configuration• Set up eWON™ dip switches to RS232 mode (all switches OFF)• Connect the serial cable of type CS1W-CN226 between your eWON500™ and the PLC (see page 16)

FINS IO server configuration• Go to the FINS IO server page: Configuration/IO Server Config/FINS/Edit

COM Setup Topic Setup

Baud Rate 9600 Reply Timeout 4000 Topic A Enabled

Parity Even Ethernet FINS network Empty Protocol SLC500-0

Databits 7 Ethernet FINS node Empty Global Device Address 0,0,2

Stop Bit(s) 2 Serial FINS network Empty Polling Rate 3000

HW Mode Full Duplex NO Handshaking Serial FINS node Empty

• Click on Update Config to validate the IO server configuration

Page 11

eWON500™ModbusTCP/FINS Gateway

ver 1.0

9/11/05

User Guide

Creating a FINS Tag - Testing from the eWON500• Go to the Tag Setup page: Configuration/Tag Setup/Create New Tag

Tag Page - Main SettingsTag Name e.g. test_fins

Page Default

Tag Description A free text e.g. Data Memory area on CS1G

Tag Page - I/O Server SetupServer Name Select FINS in the scroll list

Topic Name Enter A (The one you have previously created)

AddressEnter the FINS address matching the value you want

to read on the PLC e.g. D0

Type Select Analog in the scroll list

Force Read Only Validate the checkbox

eWON value Let 1+0 (default)

• Click on Add/Update Only to validate the Tag configuration

At this stage, we are able to read the value from the Tag on the PLC, providing D0 matches a running variable on the CS1G PLC. The Technical Note 26: Gateway FINS for Omron PLC you can download from the eWON web site http://www.ewon.biz (Support/Documentation/Technical notes) explains how to create such a program from Cx-Programmer, then transferring it from the PC to the PLC.For the moment, the eWON is connected to the PLC through its serial link; now we are going to read the value in the eWON (Main Menu/View I/O). Providing the serial connection works and the program is running on the PLC, you should see the Tag value changing in the View I/O page (click at regular interval on the Update link to see the value changing).

Page 12

eWON500™ModbusTCP/FINS Gateway

ver 1.0

9/11/05

User Guide

Enabling the Modbus TCP/FINS Configurable GatewayNow we have to configure the eWON500™ in order for it to allow the PC to “see” the PLC through the ModbusTCP link.

• Return to the configuration from the Tag you have just created (Configuration/Tag Setup then click on the previously created Tag name)

Tag Page - Tag Visibility Setup

eWON value Let the default value

Modbus TCP Validate the Enabled checkbox

Register Enter the register number published by the eWON500™

The FINS Tag will be published by the eWON500™ on the register 10.The supervisor will reach the eWON500™ in ModbusTCP with the following parameters:

• Destination IP address: the IP address from the eWON500™• Slave address: 100 (default eWON500™ Modbus TCP Unit Address)• Register: 10

Page 13

eWON500™The Configurable Gateway

ver 1.0

9/11/05

User Guide

TSX CX 100 Schneider cable (between eWON and the PLC) - Pinout

This 2m cable can be delivered as accessory to connect Shneider PLCs; it has a SUBD9 connector at the eWON side and a MiniDIN connector at the PLC side.

MiniDIN PIN Schneider Signal Name eWON Signal Name eWON SUBD9 PIN

1 D(B) A+ DB9 pin 3: A+

2 D(A) B- DB9 pin 8: B-

3

4

5

6

7 GND GND DB9 pin 5:GND

8

Connector Shield

Table 1: Schneider cable pinout

Page 14

eWON500™The Configurable Gateway

ver 1.0

9/11/05

User Guide

1747-CP3 cable between eWON and SLC-500 - pinout

The connectors are SUBD9 female at both sides.

9-pin eWON

1

2 Rx

3 Tx

4

5 COM

6

7 RTS

8 CTS

Table 2: 1747-CP3 cable pinout

Page 15

eWON500™The Configurable Gateway

ver 1.0

9/11/05

User Guide

XW2Z-S002 cable between eWON and OMRON PLC - Pinout

9pin 9pin

Dsub (Female) Dsub (Male)

3 SD SD 2

2 RD RD 3

7 RS RS 4

8 CS CS 5

5 SG SG 9

eWON NS-series PTTable 3: XW2Z-S002 cable pinout

Page 16