Quantum 890 USE 155 User Manual

Modicon
TSX Momentum Modbus to Ethernet Bridge User Guide
890 USE 155 00 Version 1.0
174 CEV 300 10
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-DOS are 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. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
890–USE–155–00
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. . . . . . . . . . . . . . . . . .
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 174 CEV 300 10
H Introducing the Modbus to Ethernet Bridge H Mapping Modbus and IP Addresses H Front Panel Layout H Specifications
1
9
Modbus to Ethernet Bridge
1.1 Introducing the Modbus to Ethernet Bridge
1.1.1 Bridge 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
10
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.
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
1.1.2 Overview: 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.
Modbus
11
Modbus to Ethernet Bridge
1.2 Mapping 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.1
1.2.2
Mapping 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.
Mapping 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.
12
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.
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
Modbus message to Slave address 10
Bridge
A
Ethernet
192.168.001.024
Bridge
Modbus – IP Address
Mapping Entry:
010 : 192.168.001.024
B
Modbus Slave(s)
These are the events in the message routing:
H The Modbus Master sends its message containing address 10 decimal to
Bridge A.
H You 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.
H Bridge B has that IP address and receives the message. H Depending 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.
Bridge routes message to Slave
according to user–defined setup:
Message Slave Address (10)
or
Fixed Slave Address (1 ... 247)
13
Modbus to Ethernet Bridge
1.3 Front Panel Layout
Figure 4 Front Panel Layout
1 2 3 4
5 6 7 8
9
14
MODBUS
10 11
15
12 13
16 17
18
ETHERNET
19 20
21 22
14
Modbus to Ethernet Bridge
Table 1 Front Panel Components (See Figure 4)
Item
5, 6, 7 Wire terminal NC No connection
Component Name Purpose
1 Wire terminal RxD or Rx – Modbus signal:
2 Wire terminal CTS or Rx + Modbus signal:
3 Wire terminal RTS or Tx + Modbus signal:
4 Wire terminal TxD or Tx – Modbus signal:
8 Wire terminal GND Modbus signal ground 9 Reset switch RST Push to reset and initialize Bridge
10 LED (Red) Fault or
Configuration
11 LED (Green) Ready ON: Bridge is ready for communication
12 LED (Yellow) Active Ethernet Flashing: Indicates activity at Bridge’s
13 LED (Green) Link Good ON: Bridge has good connection at
14 Connector (RJ45) Ethernet port RJ45 connector for Ethernet 10BaseT
15 Connector (RJ45) Modbus port RJ45 connector for Modbus RS–232 or
16 LED (Yellow) Modbus Tx Flashing: Indicates transmission or
17 LED (Yellow) Modbus Rx Flashing: Indicates reception at Modbus
18 Switch Modbus interface
selection 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
RS–232: RxD (Receive Data) RS–422.485: RxD– (Receive Data –)
RS–232: CTS (Clear to Send) RS–422/485: RxD+ (Receive Data +)
RS–232: RTS (Request to Send) RS–422/485: TxD– (Transmit Data +)
RS–232: TxD (Transmit Data) RS–422/485: TxD– (Transmit Data –)
ON: Fault in Bridge communication (or) Bridge is in Configuration Menu
on both ports
Ethernet port
Ethernet port
cable
RS–485 cable
upload at Modbus port
port UP: Modbus port is RS–232
DOWN: Modbus port is RS–422/485
15
Modbus to Ethernet Bridge
1.4 Specifications
Table 2 Power Parameter
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.
Grounding Screw terminals provided for power ground
Table 3 Environmental Parameter
T emperature, Operating IEC 68–2–14 Humidity, Operating IEC 68–2–3 20 ... 90% RH, non–condensing
Table 4 Ethernet Interface Parameter
Protocol Ethernet v2 encapsulation
Connector RJ45 connector for 10baseT cable
Specification
Fuse value according to supply voltage (see Maximum Power Drain)
and safety (Earth) ground
Reference Limits
0...60_ C ambient
Specification
TCP/IP Version 4
16
Table 5 Serial Interface Parameter
Modbus Protocol RTU or ASCII Serial Protocol Switch selectable, RS–232 or RS–485
Baud Rate 300 ... 38400 +/– 2% Connector RJ45 connector, screw terminals
Specification
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
RJ45 port connects to Modicon M1, Compact, 984 Slot Mount controllers by direct cable. Cable adapters and adapter kits are available for other products.
Modbus to Ethernet Bridge
Table 6 Packaging Parameter
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
UL, CSA, CE Approved FM Pending
Description
Specification
17
Loading...
+ 38 hidden pages