Data and illustrations are not binding. We reserve the right to alter products in linewith
our policy of continuous product development. If you have any suggestions for
improvements or amendments or have found errors in thispublication, please notify us
using the form on one of the last pages of this publication.
Training
Schneider Automation offers suitable further training on the system.
Hotline
See addresses for the Technical Support Centers at the end of this publication.
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 maybe registered trademarks
and/or trademarks of the corresponding corporations.
Microsoft and MS-DOS are registered trademarks of Microsoft Corporation, Windows
is a brandname 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.
ã 1998 Schneider Automation Incorporated. All rights reserved.
HIntroducing the Ethernet to Modbus Plus Bridge
HBridge Message Transactions and Paths
HSpecifications
1
1
Modbus Plus to Ethernet Bridge
1.1Introducing the Ethernet to Modbus Plus Bridge
The Modicon Ethernet to Modbus Plus Bridge provides a transparent multipath
connection between Ethernet host applications and the Modbus Plus industrial
network. The bridge functions as an addressable node on each network,
managing the Ethernet and Modbus Plus protocols and translating messages
between the network applications in both directions.
Ethernet hosts can establish connections to the bridge and send messages
intended for Modbus Plus nodes. The bridge accepts the messages, creates
internal paths for the Modbus Plus transactions, waits for the Modbus Plus token
frame, and forwards the messages to the destination nodes. It receives the data
responses from the Modbus Plus nodes, returns them to the Ethernet hosts, and
closes the paths.
Messages sent to the bridge on either Ethernet or Modbus Plus contain an
embedded Modbus message, consisting of a function code and additional
information such as register addresses and data. The bridge uses the Modbus
function code to determine the type of internal path required for the transaction,
and opens a path if one is available. If a path is not available, a Modbus error
code (exception code) is returned by the bridge to the requesting node.
The bridge provides Modbus Data Master, Data Slave, Program Master, and
Program Slave paths as defined by the Modbus function codes in the messages.
It supports up to eight concurrent Data paths and eight concurrent Program paths.
The bridge supports full five--byte Modbus Plus routing, enabling transactions
through Modicon BP85 Modbus Plus bridges to Modbus Plus nodes on up to three
networks beyond the Ethernet bridge.
Note that Modbus Plus Global Data or Peer Cop messages are not supported
because those types of messages are passed as part of the Modbus Plus token
frame. The token frame is passed among nodes on the local Modbus Plus
network, but is not passed through any bridge devices to other networks.
Figure 1 illustrates a typical bridge connection.
2
Figure 1 Bridge Overview
Ethernet
Modbus Plus
Additional
Modbus Plus
Networks
Modbus Plus to Ethernet Bridge
TCP/IP
Interface
BRIDGE
8 Data Paths
8 Program Paths
Modbus Plus
Interface
BP85
Modbus Plus
Bridge
The bridge maintains two internal mapping tables that provide address mapping
between IP addresses (255.255.255.255) and Modbus Plus path addresses
(64.64.64.64.64). The user can define the mapping at a local keyboard and
monitor connection, using a configuration utility that is stored in the bridge.
Mapping tables can also be downloaded by HTTP from the Ethernet host to the
bridge. If neither method is used, the bridge provides default mapping tables.
The user can assign the bridge’s IP address through a BOOTP server using the
bridge’s MAC address, or locally by means of the bridge’s configuration utility.
The bridge’s Modbus Plus address is assigned in hardware switches on the
bridge’s Modbus Plus card.
The bridge is supplied with brackets for mounting on a vertical panel or horizontal
shelf. Its rear panel has connectors for the networks and for operating power, and
LED indicators for the power, Ethernet and Modbus Plus communication status.
3
Modbus Plus to Ethernet Bridge
1.2Bridge Message Transactions and Paths
Two types of messages can be initiated to Modbus Plus nodes using Modbus
commands. Programming messages are used for logging into a node and
controlling it, as in load/record/verify operations. Data access messages are used
to read or write data at the node, or to get statistics from the node.
When a message transaction is initiated, a logical path is established between the
originating node and destination node. The path is maintained until the transaction
is completed. The type of path that is set in each device is determined by the
Modbus command embedded in the message.
Table 1 summarizes the four possible types of Modbus Plus paths. The bridge
supports up to eight paths of each type.
Table 1 Modbus Plus Path Types
Path TypeOpened in NodeOpened for Modbus Command
Data Master (DM)OriginatorData access
Data Slave (DS)DestinationData access
Program Master (PM)OriginatorProgramming
Program Slave (PS)DestinationProgramming
The maximum amount of concurrent TCP/IP connections available in the bridge is
between 8 and 16, depending on the usage of paths in host applications.
For example, up to 16 data connections can be active between TCP/IP hosts and
Modbus Plus nodes (a maximum of 8 active DM paths and 8 active DS paths). Up
to 16 programming paths can be active (8 PM and 8 PS).
If Modsoft software is being used, it sets both a PM and a DM path in the bridge
for each active connection it maintains to a Modbus Plus destination node.
Modsoft could be running on a single host, or simultaneously on multiple hosts.
Thus up to eight TCP/IP connections can be maintained with Modsoft running on
one to eight hosts.
Table 2 summarizes the Modbus function codes which open DM and DS paths in
the respective nodes. For complete information about Modbus commands, see
the Modbus Protocol Reference Guide, publication PI--MBUS--300.
4
Modbus Plus to Ethernet Bridge
Table 2 Summary of Modbus Data Access Commands
Function Code (Decimal)Command Name
1Read Discrete Output Status (0xxxx)
2Read Discrete Input Status (1xxxx)
3Read Output Register (4xxxx)
4Read Input Register (3xxxx)
5Force Single Coil (0xxxx)
6Preset Single Register (4xxxx)
7Read Exception Status
8 Subfunction 21Get/Clear Network Statistics
15Force Multiple Coils (0xxxx)
16Preset Multiple Registers (4xxxx)
17Report Slave ID
Devices which use the Modbus protocol accept incoming requests for data or
statistics. They reply by returning either a normal or an exception response.
The Modbus function code in the request from an originating node always contains
a most significant bit value of 0 (zero). In a normal Modbus response, the function
code of the originating request is echoed, followed by any requested data or
statistics. In an exception response, the most significant bit is set to 1 (one) to
indicate an error, and the next byte contains an exception code showing the
reason for the error.
Table 3 summarizes the Modbus exception codes which may be returned by the
bridge to the originating node. For further information see the Modbus ProtocolReference Guide, publication PI--MBUS--300.
Table 3 Summary of Modbus Exception Codes
Exception Code (Hexadecimal)Meaning
01Illegal function
02Illegal data address
03Illegal data value
04Unexpected failure during command execution
05ACK ---- Requested operation is in progress
06BUSY ---- Not ready to perform requested operation
07NAK ---- Requested operation rejected
08Could not open Modbus Plus path
09Error during Modbus Plus send
0AError during Modbus Plus reply
5
Modbus Plus to Ethernet Bridge
1.3Specifications
Table 4 Power
InputToleranceCurrent
110 V ac (--15% +10%) 47--63 Hz94--121 V acInrush 15 A at 115 V ac
220 V ac (--15% +10%) 47--63 Hz187--242 V ac30 A at 230 V ac
The bridge automatically senses the power voltage. There is no user--configured
setup other than ensuring the input voltage is within the specified range.
Free Fall, UnpackagedIEC 68--2--322 drops at 0.500 m
Table 7 Packaging
ParameterDesription
Enclosure MaterialSteel, baked enamel
Weight, Product9.4 lb (4.3 kg)
Weight, Shipping10.5 lb (4.8 kg)
--25_ C for 96 hrs
+70_ C for 96 hrs
0...50_ C ambient
95% RH at 50_ C for 24 hrs
non--condensing
95% RH at 50_ C for 24 hrs
non--condensing
10...57 Hz: 0.075 mm amplitude
57...150 Hz: 1 g
15 g half sine, 11 ms
5 drops at 0.610 m
Table 8 Agency Approval
AgencyStatus
UL, CSAApproved
CEMeets CE Requirements (see Section 2.6)
7
Installing the Bridge Hardware
HOverview: Hardware Installation
HSetting the Modbus Plus Node Address
HSetting the Ethernet Connector Jumper
HMounting the Bridge Hardware
HConnecting the Network and Power Cables
HCE Installation Requirements
HVerifying the Network Communication
HFactory Default Settings
HPeriodic Maintenance
2
9
Installing the Bridge Hardware
2.1Overview: Hardware Installation
Here is an overview of the tasks for installing the bridge hardware. The references
are to the sections in this chapter that contain the detailed installation steps.
Setting the Modbus Plus Node Address (Section 2.2)
Before installing the bridge, set its Modbus Plus node address in switches on the
internal Modbus Plus card. The card is accessible by removing the bridge’s cover.
Note that every Modbus Plus node must have a unique address on the network.
The bridge is shipped with the node address set to the default of 1.
Setting the Ethernet Connector Jumper (Section 2.3)
Before installing the bridge, set its internal Ethernet Connector jumper to define
the type of physical cable connection you will be making to the Ethernet. The
bridge has these Ethernet connectors:
The bridge is shipped with the jumper set to the default RJ--45/BNC position.
Mounting the Bridge Hardware (Section 2.4)
The bridge can be physically installed on a vertical wall panel or horizontal shelf
using mounting brackets supplied with the bridge. Be sure to provide clearance
for ventilation and access to the bridge’s rear panel connectors and indicators.
Connecting the Network and Power Cables (Section 2.5)
Connect the Ethernet and Modbus Plus cables to the bridge’s rear panel. Connect
the power cable and apply power. The bridge has these connectors:
HEthernet: RJ--45, AUI or BNC (according to your Connector Jumper setting).
HModbus Plus: Two DB--9S for dual Modbus Plus drop cables.
HPower: Three--prong 110/220 V ac connector.
Installing the Bridge Hardware
CE Installation Requirements (Section 2.6)
If the bridge is being installed at a site that must meet CE requirements, and the
10Base--T (RJ--45) connector is being used, a ferrite bead must be installed on the
Ethernet cable at the RJ--45 connector.
Verifying the Network Communication (Section 2.7)
Check the Ethernet and Modbus Plus LEDs to verify operation of the bridge.
11
Installing the Bridge Hardware
2.2Setting the Modbus Plus Node Address
Do not apply power to the bridge yet. Remove the four screws securing the
enclosure cover, and remove the cover.
Figure 2 Bridge Enclosure Screws
Remove
Screws
Remove
Screws
Locate the Modbus Plus card as outlined in Figure 3. Note that there are two sets
of switches on the card. The Modbus Plus address switches are toward the
bridge’s cable connector panel.
Figure 3 Bridge Top View (Cover Removed)
Switch Detail
Modbus Plus
Address Switches
I/O Base Address
DO NOT CHANGE
Modbus Plus Card
Ethernet Card
12
CPU Card
Cable Connector Panel
Installing the Bridge Hardware
The bridge is shipped with the switches set of a default address of 1 (all switches
in the 0 (zero) position, closest to the card surface).
Set the Modbus Plus address switches 1--6 to the address in your application.
Switches 7 and 8 are not used.
Switch 1 is the least significant bit of the address. Switch 6 is the most significant
bit. The address will be one higher than the binary value you set into the switches.
Table 9 shows the addresses and switch settings.
Table 9 Modbus Plus Addresses and Switch Settings
Address Switches 6--1Address Switches 6--1Address Switches 6--1
A jumper on the Ethernet card defines the connector to be used. The bridge is
shipped with the jumper set to the default RJ--45/BNC position.
If you intend to use either the RJ--45 or BNC connection, you do not need to
change the jumper position. Continue to the next section in this book.
If you intend to use the AUI connection, you must change the jumper from position
1 to position 2. Remove the Ethernet card, change the jumper, and re--install the
card. Figure 4 shows the jumper location.
14
Figure 4 Ethernet Connector Jumper Location
Installing the Bridge Hardware
SW1
DO NOT
CHANGE
Set this jumper for the
Ethernet connector
used on your network
JP1 JP2
JP2
Default Setting
The jumper’s default setting is shown in Section 2.8.
UTP RJ--45
(10Base--T)
AUI
(10Base--5)
AUI
2
1
UTP RJ--45 or BNC
(Default)
BNC
(10Base--2)
15
Installing the Bridge Hardware
2.4Mounting the Bridge Hardware
Replace the bridge enclosure cover. Do not apply power to the bridge yet.
The bridge is supplied with two mounting brackets. Install them on the bridge’s
side or bottom panel as shown in Figure 5, using the screws provided.
If you use your own hardware, use 6--32 machine screws and do not allow any
screw to protrude more than 1/4 in (6 mm) into the bridge.
Secure the bridge to a vertical panel or horizontal shelf with screws through the
mounting bracket holes.
Mounting Requirements
Provide adequate service access to the rear panel LEDs and cable connectors.
Also note the requirements for venting clearances as shown in Figure 6.
Figure 5 Mounting Dimensions
164 mm
16
164 mm
Side
Panel
Mounting
Bottom
Panel
Mounting
Do not allow screws to protrude more than 1/4 in (6 mm) inside Bridge.
243
mm
138 mm
Installing the Bridge Hardware
Figure 6 Enclosure Dimensions and Clearances
122 mm
Vents
Vents
For proper ventilation, maintain minimum clearance of 5.0 in (125 mm)
between all vents and all external equipment.
229 mm
248 mm
Vents
229 mm
17
Installing the Bridge Hardware
2.5Connecting the Network and Power Cables
Before connecting the power cable, connect the Ethernet and Modbus Plus
network cables. Refer to the rear panel layout in Figure 7 and the panel detail in
Figure 8 for locations of the connectors.
For information about Modbus Plus network design, including the availability of
drop cables for connection to the bridge, refer to the Modbus Plus NetworkPlanning and Installation Guide, publication 890 USE 100 00.
See your Ethernet network administrator for information about the Ethernet cables
and connectors applicable to your installation.
Figure 7 Rear Panel Layout
Power LED
Connector Panel
(see detail)
18
Power Switch
AC Power
Connector
Figure 8 Connector Panel Detail
Installing the Bridge Hardware
VGA
Video
PS/2
Mouse
Serial
Port
PS/2
Keyboard
Slot 1
Accessories
RJ--45
Connection
Valid
RJ--45
10Base--T
(UTP cable)
DB--15
10Base--5
BNC
10Base--2
TCP/IP
Network
Active
Slot 2
Ethernet
Modbus
Plus
Port B
MB Plus
Active
Error
Channel B
Error
Channel A
Modbus
Plus
Port A
Slot 3
Modbus Plus
When you have completed the connection of the Ethernet and Modbus Plus
cables, set the bridge’s power switch to the 0 (OFF) position. Connect the power
cable to the bridge power connector and to the external power source.
Set the bridge’s power switch to the 1 (ON) position. The bridge’s Power LED
should illuminate, showing that power is applied and within specification.
The LED indicators for the Ethernet and Modbus Plus cards may also illuminate if
those networks are active. Section 2.7 describes the network LED indicators.
19
Installing the Bridge Hardware
2.6CE Installation Requirements
If the bridge is being installed at a site that must meet CE requirements, the
following steps must be taken to complete the installation.
Grounding
The bridge must be provided with a direct ground connection of 0.1 ohm or less.
Mounting the bridge on a suitably grounded panel as described in Section 2.4
satisfies this requirement.
In addition the Modbus Plus cable must be grounded to the panel using the ground
wire that is integral to the cable.
Ferrite Bead on RF--45 Cable
If the Ethernet network is being connected to the 10Base--T (RJ--45) connector, an
approved ferrite bead must be installed on the cable at the connector.
The approved bead shown in Figure 9 and in Table 10 is enclosed in a plastic box
which can be clipped over the network cable. It is not necessary to insert the
cable through the bead before you install the RJ--45 connector on the cable.
Figure 9 Ferrite Bead on RJ--45 Cable (CE Requirement)
20
Cable Tie
prevents bead
from slipping
22 mm
Table 10 Approved Ferrite Bead
Manufacturer
(or Equivalent)
StewardLivingston, Scotland, UK
Ferrite Bead
28A2029--0A0
32 mm
Location and
TelephonePart Number
0044--1--506--414--200
12 mm
28A2029--0A0
Installing the Bridge Hardware
2.7Verifying the Network Communication
Refer to Figure 8 for the locations of the bridge’s indicators.
2.7.1Ethernet Card Indicators
The Ethernet card has an indicator that shows a valid connection between the
card’s RJ--45 (UTP) jack and the network. It has another indicator which flashes
to show’s the bridge’s communication activity on the Ethernet link.
RJ--45 Connection ValidValid connection exists at RJ--45 port.
TCP/IP Network ActiveBridge is actively communicating TCP/IP.
2.7.2Modbus Plus Card Indicators
The Modbus Plus card has an indicator that flashes a repetitive pattern to show its
network communication status, plus two indicators which identify communication
errors on the two Modbus Plus cable paths. Note that one error indicator will be lit
normally in single--cable installations, showing that a second cable does not exist.
Table 12Modbus Plus Active Indicator Patterns
Indicator Pattern (Green)Status
Six flashes/secondNormal operating state. All nodes on a
healthy network flash this pattern.
One flash/secondThe node is off-line. After being in this state
for 5 seconds, the node attempts to go to its
normal operating state.
Two flashes, then OFF for 2 secondsThe node detects the network token being
passed among other nodes, but it never
receives the token.
Three flashes, then OFF for 1.7 secondsThe node does not detect any token passing
on the network.
Four flashes, then OFF for 1.4 secondsThe node has detected another node using
the same address.
Table 13Modbus Plus Channel Error Indicators
Indicator (Red)Status
Error Channel ACommunications error at network port A.
Error Channel BCommunications error at network port B.
21
Installing the Bridge Hardware
2.8Factory Default Settings
This information is provided to allow the installer to restore the factory default
settings, in case one of them is altered inadvertently.
2.8.1Ethernet Card Defaults
The only user--configurable setting on the card is in jumper JP2 for selecting the
Ethernet connector. This must be set for the connector you are using. Defaults
are shown in Figure 10.
Figure 10 Ethernet Card Defaults
SW1
Do Not change
these
switches
SW1
JP1 JP2
JP1JP2
3
2
1
Do Not change
this
jumper
Set this jumper for the
Ethernet connector
used on your network:
2 = AUI
1 = UTP/BNC (Default)
UTP
(10Base--T)
AUI
(10Base--5)
BNC
(10Base--2)
2
1
22
2.8.2Modbus Plus Card Defaults
This card contains two sets of switches. As you view the card at its top edge, the
I/O Base Address switches are located nearest to the end of the card. These
switch settings should not be changed.
The only user--configurable setting on the card is in the Modbus Plus Address
switches. These must be set to the Modbus Plus node address that will be used
by the bridge in your application (see section 2.2 for details).
Factory default settings are shown in Figure 11.
Figure 11 Modbus Plus Card Defaults
Installing the Bridge Hardware
I/O Base
Address Switches
Do Not change
these
switches
Modbus Plus
Address Switches
Card
Edge
Set these switches to the
Modbus Plus address
for the bridge
23
Loading...
+ 60 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.