Quantum 890 USE 155 User Manual

Size:
297.37 Kb
Download

Modicon

TSX Momentum

Modbus to Ethernet Bridge User Guide

890 USE 155 00

Version 1.0

174 CEV 300 10

Modicon TSX Momentum

Modbus to Ethernet Bridge

User Guide

890 USE 155 00

31001624

04/99

Breite: 185 mm

Höhe: 230 mm

Breite: 178 mm

Höhe: 216 mm

Preface

Data, Illustrations, Alterations

Data and illustrations are not binding. We reserve the right to alter products in line with our policy of continuous product development.

Trademarks

All terms used in this publication to denote Schneider Automation products are trademarks of Schneider Automation Incorporated.

All other terms used in this publication to denote products may be registered trademarks and/or trademarks of the corresponding corporations.

Microsoft and MS-DOSare registered trademarks of Microsoft Corporation, Windows is a brand name of Microsoft Corporation in the USA and other countries.

IBM is a registered trademark of International Business Machines Corporation.

Intel is a registered trademark of Intel Corporation.

Copyright

All rights are reserved. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, including copying, processing or by online file transfer, without permission in writing by Schneider Automation Incorporated. You are not authorized to translate this document into any other language.

1999 Schneider Automation Incorporated. All rights reserved.

v

 

 

Contents

 

Contents

 

 

Modbus to Ethernet Bridge

 

 

174 CEV 300 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . 9

1.1

Introducing the Modbus to Ethernet Bridge . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . 10

1.1.1

Bridge Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . 10

1.1.2

Overview: Installation and Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 11

1.2

Mapping Modbus and IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 12

1.2.1

Mapping for a Modbus Master . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 12

1.2.2

Mapping for a Modbus Slave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 12

1.3

Front Panel Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 14

1.4

Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 16

 

Installing the Bridge Hardware . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . 19

2.1

Mounting the Bridge on the DIN Rail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 20

2.1.1

Before You Install the Bridge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 20

2.1.2

Mounting the Bridge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 20

2.2

Connecting the Power Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 21

2.3

Connecting the Serial Cable (RJ45 Port) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 22

2.4

Compatible Modbus Devices and Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 23

2.5

Modbus Cable Pinouts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 24

2.6

Connecting the Serial Cable (Wiring Terminals) . . . . . . . . . . . . . . . . . . . . . . . .

. . 26

2.7

Setting the Serial Port Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 27

2.8

Connecting the Ethernet Cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 28

 

Configuring the Bridge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . 29

3.1

Before You Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 30

3.1.1

Configuration Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 30

3.1.2

Safety . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 30

3.2

Connecting by the RS±232 Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 31

3.3

Connecting by Telnet (IP Address Not Assigned) . . . . . . . . . . . . . . . . . . . . . .

. . 32

3.4

Connecting by Telnet (IP Address Assigned) . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 33

3.5

Using the Configuration Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 34

3.5.1

Configuration Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 34

3.5.2

Modbus Master Device: Additional Menu Items . . . . . . . . . . . . . . . . . . . . . . .

. . 34

3.5.3

Configuration Options: 1 ... 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 35

3.5.4

Viewing and Changing Configuration Parameters . . . . . . . . . . . . . . . . . . . . . .

. . 35

3.5.5

Commands: Default settings, Save, Quit without save . . . . . . . . . . . . . . . .

. . 35

890±USE±155±00

 

vii

Breite: 178 mm

Contents

3.6

Option 1: Network/IP Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36

3.7

Option 2: Serial and Mode Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

38

3.8

Option 3: Modem Control Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

39

3.9

Option 4: Advanced Modbus Protocol Settings . . . . . . . . . . . . . . . . . . . . . . . . . .

40

3.10

Option 5: Unit ID to IP Address Mapping Table . . . . . . . . . . . . . . . . . . . . . . . . .

42

3.10.1

How the Address Mapping Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

42

3.10.2

Example: Address Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

42

3.10.3

Entering New Address Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

43

3.10.4

Exiting the Mapping Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

43

 

Using Panel Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

45

4.1

Using Concept or Modsoft . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

46

4.1.1

Software Versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

46

4.1.2

Modbus Slave Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

46

4.2

Using Other Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

47

4.2.1

Intellution FIX MMI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

47

4.2.2

WinTech Modscan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

47

4.2.3

Worderware MMI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

47

 

Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

49

viii

890±USE±155±00

Modbus to Ethernet Bridge

1

 

174 CEV 300 10

 

 

 

 

 

 

 

 

 

HIntroducing the Modbus to Ethernet Bridge

HMapping Modbus and IP Addresses

HFront Panel Layout

HSpecifications

9

Modbus to Ethernet Bridge

1.1Introducing the Modbus to Ethernet Bridge

1.1.1Bridge Applications

The Modicon Modbus to Ethernet Bridge provides a means for transacting messages between Ethernet TCP/IP devices and Modbus serial devices. It supports up to eight concurrent transactions between Modbus Master and Slave devices, handling the conversion of TCP/IP and Modbus RTU/ASCII protocols transparently to the user application.

Ethernet nodes using TCP/IP can function as Modbus Masters, originating messages to the Bridge for delivery to Modbus Slave devices connected to the Bridge's Modbus port. The Bridge forwards the messages to the Slave devices using Modbus RTU or ASCII protocol and returns their responses to the Master.

Figure 1 shows a typical application in which a Bridge connects two Modbus Masters on Ethernet to several Modbus Slave serial devices.

Figure 1 Bridging Between Ethernet and Modbus

Ethernet

Bridge

174 CEV 300 10

Modbus

The bridge also allows multiple Modbus networks to be linked together across an Ethernet connection. Multiple Bridges can furnish an Ethernet link between widely separated Modbus networks. This extends the message path beyond the cable lengths allowed for serial connections, and allows a Master on any Modbus network to access Slave devices on another network.

10

Modbus to Ethernet Bridge

Figure 2 shows a typical application in which three Bridges join Modbus networks through a common Ethernet link.

Figure 2 Bridging Between Multiple Modbus Networks

Modbus

Ethernet

Bridges (3 units) 174 CEV 300 10

Modbus

Modbus

1.1.2Overview: Installation and Configuration

The Bridge is designed for easy `snap' mounting on a standard DIN rail.

Its front panel has connectors for power, ground, Ethernet and Modbus cables. It has a switch for selecting either an RS±232 or RS±422/485 interface for the Modbus port. Indicators show the status of communication at the Ethernet and Modbus ports.

The Bridge contains a configuraton utility program stored in its non±volatile memory. With this utility you can assign the Bridge's Ethernet and Modbus parameters, using an ASCII terminal at the serial port or a Telnet connection over Ethernet.

The Bridge contains a factory±assigned MAC address that is derived from the serial number printed on the Bridge's label. This allows you to establish an Ethernet connection to the Bridge to assign its IP address and the other parameters for your application.

11

Modbus to Ethernet Bridge

1.2Mapping Modbus and IP Addresses

The Bridge maps messages between Modbus and IP addresses according to the type of device you have configured at its Modbus port.

1.2.1Mapping for a Modbus Master

When you configure a Modbus Master device at the Bridge's serial port, you can assign up to eight entries into an internal mapping table that is maintained in the Bridge's memory. You enter your intended mapping into the table during your configuration of the Bridge.

Each table entry maps a single Modbus address, or a range of addresses, to a destination IP address.

When the Bridge receives a message from the Master, it searches the mapping table for an entry matching the Modbus address in the message. If one is found, the Bridge sends the message to the IP address for that entry. If a matching entry is not found, the Bridge returns an exception response to the Master application.

Note that the original Modbus address is retained in the message transmitted to the IP destination. If the remote IP node is another Bridge, the message's Modbus address can be used to identify a Slave device at that Bridge's serial port.

1.2.2Mapping for a Modbus Slave

When you configure a Modbus Slave device or network with multiple Slaves at the Bridge's serial port, you have two options for routing messages to a Slave destination. You assign your choice during your configuration of the Bridge.

Your options are: Message address routing; or, Fixed address routing.

You can specify that the Bridge must route each message to the Slave device that is identified in the Modbus address field of the message. This allows you to address any Slave device in a network of up to 247 devices at the Bridge's Modbus port.

You can specify that the Bridge must route all messages to one fixed Slave address that you define in the Bridge's configuration. With this option the Modbus address field is ignored, and each message is routed to that fixed Slave address only. This limits addressing to a single device at the port.

12

Modbus to Ethernet Bridge

Figure 3 shows an example of message address mapping between a Modbus Master and a Modbus Slave using two Bridges with an Ethernet link.

Figure 3 Mapping Modbus and IP Addresses

Modbus

Master

Ethernet

192.168.001.024

Modbus

Slave(s)

Modbus message to Slave address 10

Bridge

A

Modbus ± IP Address

Mapping Entry:

Bridge

010 : 192.168.001.024

B

Bridge routes message to Slave according to user±defined setup:

Message Slave Address (10)

or

Fixed Slave Address (1 ... 247)

These are the events in the message routing:

HThe Modbus Master sends its message containing address 10 decimal to Bridge A.

HYou have set an entry in the mapping table in Bridge A. Your entry specifies that messages with address 10 are to be mapped to IP address 192.168.001.024.

HBridge B has that IP address and receives the message.

HDepending on the option you set in Bridge B, the message is routed either to the Modbus Slave device at address 10 as specified in the message, or to a fixed Slave address in the range 1 ... 247.

13

Modbus to Ethernet Bridge

1.3Front Panel Layout

1

2

3

4

5

6

7

8

 

 

MODBUS

10

11

 

 

 

 

 

15

12

13

 

 

14

 

16

17

Figure 4 Front Panel Layout

 

 

 

9

 

 

 

18

ETHERNET

19

20

21

22

14

Modbus to Ethernet Bridge

Table 1

Front Panel Components (See Figure 4)

 

 

 

 

 

 

 

Item

Component

Name

Purpose

 

1

Wire terminal

RxD or Rx ±

Modbus signal:

 

 

 

RS±232: RxD (Receive Data)

 

 

 

RS±422.485: RxD± (Receive Data ±)

2

Wire terminal

CTS or Rx +

Modbus signal:

 

 

 

RS±232: CTS (Clear to Send)

 

 

 

RS±422/485: RxD+ (Receive Data +)

 

 

 

 

3

Wire terminal

RTS or Tx +

Modbus signal:

 

 

 

RS±232: RTS (Request to Send)

 

 

 

RS±422/485: TxD± (Transmit Data +)

4

Wire terminal

TxD or Tx ±

Modbus signal:

 

 

 

RS±232: TxD (Transmit Data)

 

 

 

RS±422/485: TxD± (Transmit Data ±)

5, 6, 7

Wire terminal

NC

No connection

8

Wire terminal

GND

Modbus signal ground

9

Reset switch

RST

Push to reset and initialize Bridge

10

LED (Red)

Fault or

ON: Fault in Bridge communication

 

 

Configuration

(or) Bridge is in Configuration Menu

11

LED (Green)

Ready

ON: Bridge is ready for communication

 

 

 

on both ports

12

LED (Yellow)

Active Ethernet

Flashing: Indicates activity at Bridge's

 

 

 

Ethernet port

13

LED (Green)

Link Good

ON: Bridge has good connection at

 

 

 

Ethernet port

14

Connector (RJ45)

Ethernet port

RJ45 connector for Ethernet 10BaseT

 

 

 

cable

 

15

Connector (RJ45)

Modbus port

RJ45 connector for Modbus RS±232 or

 

 

 

RS±485 cable

16

LED (Yellow)

Modbus Tx

Flashing: Indicates transmission or

 

 

 

upload at Modbus port

17

LED (Yellow)

Modbus Rx

Flashing: Indicates reception at Modbus

 

 

 

port

 

18

Switch

Modbus interface

UP:

Modbus port is RS±232

 

 

selection

DOWN:

Modbus port is RS±422/485

19

Wire terminal

DC +

Operating power, positive

20

Wire terminal

Ground

Earth ground

21

Wire terminal

DC ±

Operating power, negative

22

Wire terminal

Ground

Earth ground

15

Modbus to Ethernet Bridge

1.4Specifications

Table 2 Power

Parameter

Specification

Operating Power, Nominal

12 or 24 V dc

Operating Power Range

9 ... 30 V dc

Maximum Power Drain

3 W

Connection

Screw terminals

Fuse

External, supplied by customer.

 

Fuse value according to supply voltage

 

(see Maximum Power Drain)

 

 

Grounding

Screw terminals provided for power ground

 

and safety (Earth) ground

Table 3 Environmental

Parameter

Reference

Limits

Temperature, Operating

IEC 68±2±14

0...60_ C ambient

Humidity, Operating

IEC 68±2±3

20 ... 90% RH, non±condensing

Table 4 Ethernet Interface

Parameter

Specification

Protocol

Ethernet v2 encapsulation

 

TCP/IP Version 4

Connector

RJ45 connector for 10baseT cable

Table 5 Serial Interface

Parameter

Specification

Modbus Protocol

RTU or ASCII

Serial Protocol

Switch selectable, RS±232 or RS±485

 

Supports RS±232 RTS/CTS handshaking

 

RS±485 setting supports RS±422 devices

 

Supports 2±wire and 4±wire RS±485

 

Supports up to 16 RS±485 devices

Baud Rate

300 ... 38400 +/± 2%

Connector

RJ45 connector, screw terminals

 

RJ45 port connects to Modicon M1, Compact, 984 Slot Mount

 

controllers by direct cable. Cable adapters and adapter kits

 

are available for other products.

16

Modbus to Ethernet Bridge

Table 6 Packaging

Parameter

Description

Dimensions

35 x 95 x 60 mm (1.4 x 3.7 x 2.4 in)

Enclosure Material

High±impact plastic

Weight, Product

0.5 kg (1.0 lb)

Weight, Shipping

0.9 kg (2.0 lb)

Mounting Method

DIN rail: DIN EN S0 022 (35 mm)

Table 7 Agency Approval

Parameter

Specification

UL, CSA, CE

Approved

FM

Pending

17

Installing the Bridge Hardware

2

HMounting the Bridge on the DIN Rail

HConnecting the Power Wiring

HConnecting the Serial Cable (RJ45 Port)

HCompatible Modbus Devices and Cables

HModbus Cable Pinouts

HConnecting the Serial Cable (Wiring Terminals)

HSetting the Serial Port Switch

HConnecting the Ethernet Cable

19

Installing the Bridge Hardware

2.1Mounting the Bridge on the DIN Rail

2.1.1Before You Install the Bridge

The Bridge has an Ethernet MAC address printed on the label on its side panel. The address is required for your Ethernet network administrator to configure the Bridge.

Before you install the Bridge on the DIN rail, write down the MAC address and give it to your network administrator. The label may not be visible after you install the Bridge.

Warning

COMMUNICATION DISRUPTION HAZARD Connecting any device to an active Ethernet network can disrupt communication on the network. Before you connect the Bridge to your network, and before you apply power to the Bridge, heed the steps in Chapter 3 for configuring the Bridge in your application. Failure to observe this precaution can result in injury or equipment damage.

2.1.2Mounting the Bridge

The Bridge is designed for mounting on a standard DIN rail. Figure 5 shows how to mount the Bridge

1.Note the slot on the Bridge's rear panel. Position the top edge of the slot over the top edge of the DIN rail.

2.Snap the Bridge into place on the lower edge of the rail.

Figure 5 Mounting the Bridge on the DIN Rail

1

2

Mounting

Completed

20