Modicon
Modbus Plus Network
BM85 Bridge Multiplexer
User's Guide
890 USE 103 00 Rev. 1.0
August 1995
Preface
890 USE 103 00
The data and illustrations found in this book are not binding. We reserve the right to modify our products in line with our policy of continuous product development. The information in this document is subject to change without notice, and should not be construed as a commitment by Schneider Electric.
Schneider Electric assumes no responsibility for any errors that may appear in this document. If you have any suggestions for improvements or amendments or have found errors in this publication, please notify us by e-mail at techcomm@modicon.com
No part of this document may be reproduced in any form or by any means, electronic or mechanical, including photocopying, without express written permission of the Publisher, Schneider Electric.
Caution: All pertinent state, regional, and local safety regulations |
||||||
|
|
|
|
|
|
|
must be observed when installing and using this product. For |
|
|||||
|
|
|
|
|
|
|
reasons of safety and to assure compliance with documented |
|
|||||
|
|
|
|
|
|
system data, repairs to components should be performed only by |
||||||
|
|
|
|
|
|
|
the manufacturer. |
|
|
|
|
|
|
|
|
|
|
MODSOFT® is a registered trademark of Schneider Electric. The following are trademarks of Schneider Electric.
Modbus |
Modbus Plus |
BM85 |
SA85 |
Modicon |
984 |
BP85 |
SM85 |
Borland™ is a trademark of Borland International, Inc.
PROCOMM™ is a trademark of Datastorm Technologies, Inc.
DIGITAL® and DEC® are registered trademarks of Digital Equipment Corporation.
IBM® and IBM AT® are registered trademarks and IBM XT™ is a trademark of International Business Machines Corporation.
Microsoft® and MS-DOS® are registered trademarks of Microsoft Corporation.
Copyright © 1995, Schneider Electric
Printed in U.S.A.
Preface iii
Contents
Chapter 1 |
|
|
|
|
Introducing the BM85 Bridge/Multiplexers . . . . . . . . . . . . . . . . . . . . |
1 |
|||
1 1 |
Br% #!5/5Mult%pl!x!rs on Mo us Plus |
2 |
||
|
1 1 1 |
T$! Mo us Plus N!twork |
2 |
|
|
1 1 2 |
T$! BM85 on Mo us Plus |
2 |
|
1 2 |
Ov!rv%!w o" BM85 Mo !ls |
4 |
||
|
1 2 1 |
Av %l l! Mo !ls |
4 |
|
|
1 2 2 |
Mount%n# M!t$o s |
4 |
|
|
1 2 3 |
Op!r t%n# Pow!r |
5 |
|
|
1 2 4 |
Con"%#ur t%on M!t$o |
s |
5 |
1 3 |
Pro#r mm l! Port Mo !ls |
6 |
||
1 4 |
Con"%#ur%n# t$! Pro#r mm l! Mo !ls |
8 |
||
|
1 4 1 |
So"tw r! D!v!lopm!nt Tool K%t |
9 |
|
1 5 |
Mo us Port Mo !ls |
10 |
||
1 6 Sp! %"% t%ons (AC/DC Pow!r Mo |
!ls) |
12 |
||
|
1 6 1 |
Br% #!/Mult%pl!x!r Mo !ls "or AC/DC Pow!r |
12 |
|
|
1 6 2 |
So"tw r! D!v!lopm!nt Tool K%t |
13 |
|
|
1 6 3 |
D!v!lopm!nt R!qu%r!m!nt (Suppl%! y Custom!r) |
13 |
|
1 7 Sp! %"% t%ons (DC/DC Pow!r Mo |
!ls) |
14 |
||
|
1 7 1 |
Br% #!/Mult%pl!x!r Mo !ls "or DC/DC Pow!r |
14 |
|
|
1 7 2 |
So"tw r! D!v!lopm!nt Tool K%t |
15 |
|
|
1 7 3 |
D!v!lopm!nt R!qu%r!m!nt (Suppl%! y Custom!r) |
15 |
|
Chapter 2 |
|
|
|
|
Device Addressing and Message Routing . . . . . . . . . . . . . . . . . . . . |
17 |
|||
2 1 |
Mo us Plus M!ss #! Rout%n# P t$s |
18 |
||
|
2 1 1 |
Rout%n# to Pro#r mm l! Controll!rs |
18 |
|
|
2 1 2 |
Rout%n# to Host B s! |
N!twork A pt!rs |
19 |
|
2 1 3 |
Rout%n# to BM85 Br% |
#!/Mult%pl!x!rs |
19 |
2 2 |
Mo us A |
r!ss Conv!rs%on |
20 |
|
2 3 |
Rout%n# Ex mpl!s |
22 |
890 USE 103 00
Contents v
Breite: 185 mm
Chapter 3 |
|
|
|
Configuring the Modbus Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
25 |
||
3.1 |
Bef+.e Y+1 0a.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
26 |
|
|
3.1.1 |
+de(/ C+2e.ed i* hi/ Cha,0e. . . . . . . . . . . . . . . . . . . . . . . . |
26 |
|
3.1.2 |
A* 2e.2ie3 +f 0he C+*fig1.a0i+* .+ce// . . . . . . . . . . . . . . |
26 |
3.2 |
e-1i.ed E-1i,)e*0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
27 |
|
3.3 |
C+*fig1.a0i+* Chec'(i/0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
28 |
|
3.4 |
+db1/ +.0 a.a)e0e./ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
29 |
|
|
3.4.1 |
*f+.)a0i+* Y+1 Wi(( eed . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
29 |
|
3.4.2 |
+.0 y,e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
30 |
|
3.4.3 |
(a2e De2ice Add.e// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
31 |
|
3.4.4 |
C+))1*ica0i+* a.a)e0e./ . . . . . . . . . . . . . . . . . . . . . . . . . . . |
31 |
|
3.4.5 |
+.0 .i+.i0y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
31 |
|
3.4.6 |
i*' i)e+10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
32 |
|
3.4.7 |
+de) B++/0e. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
34 |
3.4.8+db1/ Add.e// a, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.5 |
C+*fig1.i*g 0he +db1/ +.0/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
40 |
|
|
3.5.1 |
C+**ec0i*g +3e. f+. 0he C+*fig1.a0i+* . . . . . . . . . . . . . . . . |
40 |
|
3.5.2 |
e00i*g 0he 3i0che/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
40 |
|
3.5.3 |
C+**ec0i*g 0he e.)i*a( . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
41 |
3.6 |
Y+1. C+*fig1.a0i+* C+))a*d/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
42 |
|
|
3.6.1 |
he Defa1(0 C+*fig1.a0i+* . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
3.7 |
Y+1. C+*fig1.a0i+* c.ee*/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
44 |
|
|
3.7.1 |
E*0e.i*g C+))a*d/ *0+ Y+1. c.ee*/ . . . . . . . . . . . . . . . . |
44 |
|
3.7.2 |
.i*0i*g 0he C+*fig1.a0i+* . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
45 |
|
3.7.3 |
a2i*g 0he C+*fig1.a0i+* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
45 |
3.8 |
Y+1. V1 c.ee* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
46 |
|
|
3.8.1 |
Y+1. V1 c.ee* ay+10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
46 |
|
3.8.2 |
/i*g 0he V1 c.ee* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
47 |
3.9 |
Y+1. V2 a*d V3 c.ee*/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
48 |
|
|
3.9.1 |
Y+1. V2 +. V3 c.ee* ay+10 . . . . . . . . . . . . . . . . . . . . . . . . . . |
48 |
|
3.9.2 |
/i*g 0he V2 +. V3 c.ee* . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
49 |
3.10 |
Y+1. V4 c.ee* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
50 |
|
|
3.10.1 |
Y+1. V4 c.ee* ay+10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
50 |
|
3.10.2 |
/i*g 0he V4 c.ee* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
51 |
3.11 e00i*g 0he +db1/ (1/ Add.e// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
52 |
||
3.12 e00i*g 0he +de . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
53 |
vi Contents
890 USE 103 00
3.12.1 |
Whe* 0+ Se0 0he RUN M+de . . . . . . . . . . . . . . . . . . . . . . . . . . . |
53 |
3.12.2 |
H+3 0+ Se0 0he RUN M+de . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
53 |
3.13 M+db1/ P+.0 I*dica0+. C+de/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
54 |
Chapter 4 |
|
|
|
Configuring the Programmable Models . . . . . . . . . . . . . . . . . . . . . . |
57 |
||
4.1 |
Bef+.e Y+1 S0a.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
58 |
|
|
4.1.1 |
M+de(/ C+2e.ed i* Thi/ Cha,0e. . . . . . . . . . . . . . . . . . . . . . . . |
58 |
|
4.1.2 |
A* O2e.2ie3 +f 0he C+*fig1.a0i+* P.+ce// . . . . . . . . . . . . . . |
58 |
4.2 |
Re-1i.ed E-1i,)e*0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
59 |
|
|
4.2.1 |
E-1i,)e*0 f+. W.i0i*g 0he A,,(ica0i+* P.+g.a) . . . . . . . . |
59 |
|
4.2.2 |
E-1i,)e*0 F+. D+3*(+adi*g 0he A,,(ica0i+* P.+g.a) . . . |
59 |
4.3 |
O2e.2ie3 +f 0he De2e(+,)e*0 S+f03a.e . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
60 |
|
|
4.3.1 |
De2e(+,)e*0 S+f03a.e Fi(e/ . . . . . . . . . . . . . . . . . . . . . . . . . . . |
60 |
|
4.3.2 |
The README.DOC I*f+.)a0i+* Fi(e . . . . . . . . . . . . . . . . . . |
60 |
|
4.3.3 |
Te/0 a*d De)+*/0.a0i+* S+1.ce Fi(e/ . . . . . . . . . . . . . . . . . . |
61 |
|
4.3.4 |
M1(0i0a/'i*g i* Y+1. A,,(ica0i+* . . . . . . . . . . . . . . . . . . . . . . |
61 |
4.4 |
I*/0a((i*g 0he De2e(+,)e*0 S+f03a.e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
62 |
|
|
4.4.1 |
Defa1(0 Pa.a)e0e./ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
62 |
|
4.4.2 |
I*/0a((a0i+* S0e,/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
62 |
4.5 |
P.e,a.i*g 0he BM85 f+. D+3*(+adi*g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
64 |
|
4.6 |
Se00i*g 0he C+*fig1.a0i+* S3i0che/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
65 |
|
4.7 |
Se00i*g 0he M+db1/ P(1/ Add.e// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
66 |
|
4.8 |
I*dica0+. C+de/ D1.i*g D+3*(+adi*g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
67 |
|
|
4.8.1 |
N+.)a( D+3*(+ad C+de/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
67 |
|
4.8.2 |
E..+. C+de/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
67 |
4.9 |
Se00i*g 0he RUN M+de . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
68 |
|
|
4.9.1 |
Whe* 0+ Se0 0he RUN M+de . . . . . . . . . . . . . . . . . . . . . . . . . . . |
68 |
|
4.9.2 |
H+3 0+ Se0 0he RUN M+de . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
68 |
890 USE 103 00
Contents vii
Breite: 185 mm
Chapter 5 |
|
|
|
Installing the BM85 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
69 |
||
5.1 |
Installing the BM85 Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
70 |
|
|
5.1.1 |
Mounting the BM85 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
70 |
|
5.1.2 |
Shelf/Panel Mounted Models . . . . . . . . . . . . . . . . . . . . . . . . . . |
70 |
|
5.1.3 |
Rack Mounted Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
71 |
5.2 |
Connecting the Power Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
74 |
|
|
5.2.1 |
Connecting AC Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
74 |
|
5.2.2 |
Connecting DC Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
74 |
5.3 |
Connecting the Network and Serial Cables . . . . . . . . . . . . . . . . . . . . . . . . . |
76 |
|
|
5.3.1 |
Connecting a Single Network Cable . . . . . . . . . . . . . . . . . . . . |
77 |
|
5.3.2 |
Connecting Dual Network Cables . . . . . . . . . . . . . . . . . . . . . . |
77 |
5.3.3Connecting Dual6Cable Units on Single6Cable Networks . 77
|
5.3.4 |
Connecting Serial Port Cables . . . . . . . . . . . . . . . . . . . . . . . . . |
77 |
5.4 |
Reading the Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
78 |
|
|
5.4.1 |
POWER and READY Indicators . . . . . . . . . . . . . . . . . . . . . . . |
78 |
|
5.4.2 |
Modbus and Serial Port Indicators . . . . . . . . . . . . . . . . . . . . . |
78 |
|
5.4.3 |
Modbus Plus Port Status Indicators . . . . . . . . . . . . . . . . . . . . |
79 |
5.5 |
Attaching Identification Labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
80 |
|
|
5.5.1 |
Modbus Plus Port Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
80 |
|
5.5.2 |
Serial Port Parameters Label . . . . . . . . . . . . . . . . . . . . . . . . . . |
81 |
Appendix A |
|
|
|
Compatible Devices and Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
83 |
||
A.1 |
Compatible Devices and Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
84 |
|
|
A.1.1 |
Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
84 |
|
A.1.2 |
Making `Quick Connections' . . . . . . . . . . . . . . . . . . . . . . . . . . |
84 |
|
A.1.3 Devices and Cables for Configuring Modbus Ports . . . . . . . |
85 |
|
|
A.1.4 Cables for Modbus Master Devices . . . . . . . . . . . . . . . . . . . . . |
85 |
|
|
A.1.5 Cables for Modbus Slave Devices . . . . . . . . . . . . . . . . . . . . . . |
85 |
|
A.2 |
Modbus/RS232 Cable Wiring Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
86 |
|
A.3 |
Modbus/RS232 Ports Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
87 |
|
A.4 |
RS485 Ports Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
88 |
viii Contents
890 USE 103 00
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . |
. . . . . . |
89 |
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . |
. . . . . . |
98 |
Figures |
|
|
|
Figure 18BM85 Bridge/Multiplexers on Modbus Plus |
3 |
||
Figure 28BM85 With Typical RS232/485 Devices |
7 |
||
Figure 38BM85 With Typical Modbus Devices |
11 |
||
Figure 48Message Frame Routing Path Field |
18 |
||
Figure 58Modbus Plus Routing to Single Modbus Slave |
19 |
||
Figure 68Modbus Plus Routing to Networked Modbus Slave |
19 |
||
Figure 78Bridge Multiplexer Address Conversion |
20 |
||
Figure 88Routing Examples |
22 |
||
Figure 98BM85 Modbus Port Types |
30 |
||
Figure 108BM85 Modbus Models: Port Configuration Switches |
40 |
||
Figure 118Typical V1 Screen: Modbus Ports Configuration |
|
46 |
|
Figure 128Typical V2 Screen: Modbus Address Map Entries |
|
48 |
|
Figure 138Typical V4 Screen: Save or Initialize the Configuration |
|
50 |
|
Figure 148BM85 Modbus Models: Modbus Plus Address Switches |
|
52 |
|
Figure 158BM85 Programmable Models: Configuration Switches |
65 |
||
Figure 168BM85 Programmable Models: Modbus Plus Address Switches |
66 |
||
Figure 178Mounting Dimensions: Shelf/Panel Mount Models |
72 |
||
Figure 188Mounting Dimensions: Rack Mount Models |
73 |
||
Figure 198BM85 000 Rear Panel |
75 |
||
Figure 208BM85C BM85E BM85S Rear Panel |
75 |
||
Figure 218BM85D Rear Panel |
75 |
||
Figure 228Layout of the Indicators |
78 |
||
Figure 238Modbus Plus Port Label |
80 |
||
Figure 248Serial Port Parameters Label |
81 |
||
Figure 258Modbus/RS232 Cable Wiring Diagrams |
86 |
||
Figure 268Serial Ports Pinout Modbus/RS232 |
87 |
||
Figure 278Serial Ports Pinout RS485 |
88 |
890 USE 103 00
Contents ix
Breite: 185 mm
Chapter 1
Introducing the BM85
Bridge/Multiplexers
VBridge#/#Multiplexers on Modbus Plus
VOverview of BM85 Models
VProgrammable BM85 Models
VConfiguring the Programmable Models
VBM85 Models for Modbus Devices
VConfiguring the Modbus Models
VSpecifications (AC/DC Power Models)
VSpecifications (DC/DC Power Models)
890 USE 103 00
Introducing the BM85 Bridge/Multiplexers |
1 |
1.1Bridge/Multiplexers on Modbus Plus
1.1.1The Modbus Plus Network
Modbus Plus is a local area network designed for industrial control applications. The network enables programmable controllers host computers and other devices to communicate throughout the production areas of an industrial plant. It supports up to 64 addressable node devices at a data transfer rate of million bits per second. Single/cable and dual/cable network configurations are available.
User applications include transferring of process control and supervisory messages. Typical networked devices include Modicon programmable controllers that connect to the network through a direct port on the controller or through a communications option. Network adapters connect several types of host computer products to the network.
Multiple networks can be joined through Modicon ridge Plus nodes. This facilitates the design of time/critical applications in which each network employs only the devices required for the local process.
1.1.2The BM85 on Modbus Plus
The M85 ridge./.Multiplexer operates as a Modbus Plus node and provides four serial ports that you can configure separately for serial devices in your application. M85 models are available for single/cable or dual/cable Modbus Plus networks and for support of RS232 RS485 or Modicon Modbus serial devices.
Figure shows a block diagram of two Modbus Plus networks joined through a P85 ridge Plus. Serial devices communicate with the application through the M85 ridge./.Multiplexers.
2 Introducing the BM85 Bridge/Multiplexers
890 USE 103 00
MODBUS PLUS NETWORK
PROGRAMMABLE |
PROGRAMMABLE |
BP85 |
CONTROLLER |
CONTROLLER |
BRIDGE |
|
|
PLUS |
TO |
MODBUS PLUS NETWORK |
OTHER |
|
NODES |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BM85 |
|
|
|
HOST DEVICE |
|
|
|
|
|
|
BM85 |
|
||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||||||||
|
|
|
BRIDGE |
|
|
|
NETWORK |
|
|
|
|
|
BRIDGE |
|
||||||||||||||||||||
|
MULTIPLEXER |
|
|
|
ADAPTER |
|
|
|
MULTIPLEXER |
|
||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HOST
COMPUTER
RS232 OR RS485 |
MODBUS MASTER, SLAVE, |
SERIAL DEVICES |
OR NETWORKED DEVICES |
890 USE 103 00
Figure 1 BM85 Bridge/Multiplexers on Modbus Plus
Depending on the BM85 model and the types of devices connected at its ports serial port devices can communicate with:
VDevices at the same serial port
VDevices at other serial ports on the same BM85
VNode devices on the Modbus Plus network
VDevices at serial ports on other BM85s across Modbus Plus.
Introducing the BM85 Bridge/Multiplexers |
3 |
1.2Overview of BM85 Models
1.2.1Available Models
BM85 models are available for application in single0cable or dual0cable Modbus Plus networks with a variety of serial port configurations The characteristics of the BM85 models are:
|
|
Operating |
Modbus Plus |
|
|
|
Mounting |
Power |
Network |
Serial |
Serial |
Part Number |
Method |
(Nominal) |
Cable |
Ports |
Protocol |
|
|
|
|
|
|
NW±BM85±000 (Note 1) |
Panel or Shelf |
115/230 Vac |
Single |
Modbus |
ASCII or RTU |
|
|
|
|
|
|
NW±BM85C002 |
Panel or Shelf |
115/230 Vac or |
Single or Dual |
Modbus |
ASCII or RTU |
|
|
24 Vdc |
|
|
|
|
|
|
|
|
|
NW±BM85D008 |
19 in Rack |
125 Vdc or |
Single or Dual |
Modbus |
ASCII or RTU |
|
|
24 Vdc |
|
|
|
|
|
|
|
|
|
NW±BM85E232 (Note 2) |
Panel or Shelf |
115/230 Vac or |
Single or Dual |
RS232 |
Programmable, |
|
|
24 Vdc |
|
|
User Defined |
|
|
|
|
|
|
NW±BM85D002 |
19 in Rack |
125 Vdc or |
Single or Dual |
RS232 |
Programmable, |
|
|
24 Vdc |
|
|
User Defined |
|
|
|
|
|
|
NW±BM85E485 (Note 3) |
Panel or Shelf |
115/230 Vac or |
Single or Dual |
RS485 |
Programmable, |
|
|
24 Vdc |
|
|
User Defined |
|
|
|
|
|
|
NW±BM85S232 |
Panel or Shelf |
115/230 Vac or |
Single or Dual |
RS232 |
Programmable, |
|
|
24 Vdc |
|
|
User Defined |
|
|
|
|
|
|
NW±BM85S485 |
Panel or Shelf |
115/230 Vac or |
Single or Dual |
RS485 |
Programmable, |
|
|
24 Vdc |
|
|
User Defined |
|
|
|
|
|
|
Notes
1 Model NW BM85 000 has been replaced by NW BM85C002 for new installations
2 Model NW BM85E232 has been replaced by NW BM85S232 for new installations
3 Model NW BM85E485 has been replaced by NW BM85S485 for new installations
1.2.2Mounting Methods
For the panel/shelf models the BM85 bottom surface is fitted with pads for placement on a horizontal shelf Brackets are supplied for securing the unit to the shelf or for attaching it to a vertical panel
Rack0mount models are for installation into a standard 190inch rack
4 Introducing the BM85 Bridge/Multiplexers
890 USE 103 00
1.2.3Operating Power
AC/DC Models
These models are supplied with a power cable of 6 ft (2 m) length for operation from 110-120 Vac or 220-240 Vac single-phase power. The cable connects to a socket on the rear panel. Grounding is through the cable. The B 85 contains an ac line fuse that is accessible to the user.
All of these models except the B 85-000 can also operate from an external 24 Vdc source. ower connects to a socket on the rear panel. Grounding is through the cable. The dc power source must be fused externally to the B 85.
DC/DC Models
These models operate from a 125 Vdc or 24 Vdc source. ower connects to a terminal strip on the rear panel. A grounding terminal is provided. The dc power source must be fused externally to the B 85.
1.2.4Configuration Methods
All B 85 models must be configured internally for your application before you can connect them for operation in your application. This is necessary because the B 85's internal configuration specifies how each serial port will operate.
Each model has two sets of rear panel switches. ne set assigns theodbus lus node address. The other set allows you to either configure the unit or set it into its U mode.
Configuring the Modbus Port Models
For the odbus serial port models, you configure the unit locally at a serial terminal connected to one of its ports.
Configuring the Programmable Port Models
For the programmable models, you create an application program externally to the B 85 and then download it to the unit across theodbus lus network.
Setting the RUN Mode
hen you have properly completed your configuration of the B 85, you can set it into its U mode for operation in your application.
Caution: Do not connect the BM85 into your application environment unless you have set its internal configuration. Do not connect it to your network or to any device unless you have set its switches properly for configuring or running.
890 USE 103 00
Introducing the BM85 Bridge/Multiplexers |
5 |
1.3 |
Programmable Port Models |
|
|
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
Mounting |
|
Operating |
|
Modbus Plus |
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
Power |
|
Network |
Serial |
Serial |
|
|
Part Number |
|
Method |
|
(Nominal) |
|
Cable |
Ports |
Protocol |
|
|
|
|
|
|
|
|
|
|
|
NW±BM85E232 |
|
Panel or Shelf |
|
115/230 Vac or |
|
Single or Dual |
RS232 |
Programmable, |
|
|
|
|
|
24 Vdc |
|
|
|
User Defined |
|
|
|
|
|
|
|
|
|
|
|
NW±BM85D002 |
|
19 in Rack |
|
125 Vdc or |
|
Single or Dual |
RS232 |
Programmable, |
|
|
|
|
|
24 Vdc |
|
|
|
User Defined |
|
|
|
|
|
|
|
|
|
|
|
NW±BM85E485 |
|
Panel or Shelf |
|
115/230 Vac or |
|
Single or Dual |
RS485 |
Programmable, |
|
|
|
|
|
24 Vdc |
|
|
|
User Defined |
|
|
|
|
|
|
|
|
|
|
|
NW±BM85S232 |
|
Panel or Shelf |
|
115/230 Vac or |
|
Single or Dual |
RS232 |
Programmable, |
|
|
|
|
|
24 Vdc |
|
|
|
User Defined |
|
|
|
|
|
|
|
|
|
|
|
NW±BM85S485 |
|
Panel or Shelf |
|
115/230 Vac or |
|
Single or Dual |
RS485 |
Programmable, |
|
|
|
|
|
24 Vdc |
|
|
|
User Defined |
|
|
|
|
|
|
|
|
|
|
|
The four serial ports on these models are programmable by the user to support custom RS232 or RS485 serial devices.
These models must be downloaded with an executable BM85 application program across the Modbus Plus network. The downloaded image contains all of the internal operating code used by the BM85, including communication protocols for the serial ports: handshaking, protocol translation between ports, message packaging, buffer space, data conversion, and error handling. Each serial port indicator is individually programmable to show the port's status in the application.
The image can contain all of the serial port parameters (for example, baud rates and parity) as fixed parameters. Alternatively the image could provide a local protocol (default parameters and a menuing system) for the user to locally configure the serial ports through a terminal at one of the ports.
In addition to standard serial devices, Modbus master or slave devices could be attached at RS232 serial ports if the user4defined code includes a Modbus protocol handler.
You can create the BM85 application program on an IBM PC3/3AT or 100% compatible, using Modicon BM85 software development tools. These are available from Modicon Customer Service and are shipped separately from the BM85. Details of the development tools are provided in Section 1.4.1.
The BM85 can operate as a fully4programmed processor in the user application. The unit can locally manage processes at its serial ports,
6 Introducing the BM85 Bridge/Multiplexers
890 USE 103 00
initiating or responding to Modbus Plus messages as needed for higher-level status reporting and control Library functions are provided in the M85 development software for creating multiple tasks within theM85's application program, and for assigning and arbitrating the tasks
|
|
|
|
|
|
MODBUS PLUS |
|||
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
BM85 |
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|||
NOTE 2 |
BRIDGE |
|
|
|
CONTROLLER |
||||
MULTIPLEXER |
|
|
|
||||||
|
|
|
|
|
|
|
1 2 3 4
DISPLAY
NOTE 1
BARCODE
READER
SCALE |
|
|
|
MODBUS |
NOTE 3 |
|
|
|
DEVICE |
||
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
Figure 2 BM85 With Typical RS232/485 Devices
Figure 2 summarizes the typical layout of devices at the serial ports
Notes
1 RS232 or RS485 compatible devices are required for the respectiveM85 models RS232 and RS485 devices cannot be mixed on the sameM85
2 Incoming,/,outgoing access to devices in the application is defined by the M85's internal code, programmed by the user and downloaded to the M85 across Modbus Plus
3 Modbus master or slave devices can be used if the user-defined code includes a Modbus protocol handler
890 USE 103 00
Introducing the BM85 Bridge/Multiplexers |
7 |
1.4 Configuring the Programmable Models
Developing the Application
When you configure the custom/programmable models, you must develop the entire BM85 application as a file and then download it into the BM85. This includes the operating code for message handling, buffer allocation, protocol conversion, and your serial port parameters.
You can create the application program on an IBM PC./.AT or compatible, using Modicon software development tools that are shipped separately from the BM85. These require the use of a Borland C./.C++ development environment which must be supplied by the user.
In addition to its internal configuration, the BM85's Modbus Plus node address must be assigned. This is done in a set of hardware switches on the rear panel.
Downloading the Application
The compiled application can then be downloaded to the BM85 using a utility supplied with the Modicon tools. The download host can be the same computer that was used for developing the application, or a separate computer.
For downloading, the host must contain a Modicon SA85 Modbus Plus network adapter (for an IBM AT-compatible host) or Modicon SM85 adapter (for an IBM Micro Channel-compatible host). If a network connection is available for the BM85 in the vicinity of the host nod8e, you can download and debug your application locally. Otherwise, you can download it to the BM85 at its installation site.
When the user application has been stored in the BM85, it will be retained by the BM85 after power is removed. If the parameters are correct for the intended installation site, the unit can be transported to the site and installed there without reconfiguration.
8 Introducing the BM85 Bridge/Multiplexers
890 USE 103 00
1.4.1Software Development Tool Kit
A listing of files supplied in the BM85 Software Development kit is provided in Section 4.3.1. The development tools include:
VA Borland C4/4C++ run-time startup routine
VAn object library of BM85 utility routines, including functions for managing multiple tasks in the BM85 application
VA Modbus Plus data transfer utility routine
VA header file containing function prototypes
VA compiled demonstration program, with source code, showing examples of the use of functions in a typical application
VTest utilities, including source code, that exercise BM85 hardware
VThe download utility for loading the application to the BM85.
The development tool kit is supplied on MS-DOS compatible disks. Ordering information is given below.
Contact |
Telephone |
|
|
|
|
Modicon Customer Service |
1±800±468±5342 |
(North America) |
|
1±508±975±5001 |
(International) |
890 USE 103 00
Part Number |
Description |
SR±BM85±S00 |
BM85 Software Development Kit (Note 1) |
|
|
SR±BM85±S0R |
BM85 Software Support Renewal (Note 2) |
|
|
Notes
1. The kit (SR-BM85-S00) includes documentation describing how to:
VInstall the development software
VCompile and link your application
VDownload your application to the BM85.
2. The kit includes 90 days of BM85 software development technical support service provided by Modicon Customer Service. The support renewal (SR-BM85-S0R) extends the BM85 software development technical support service beyond the initial 905day period.
Introducing the BM85 Bridge/Multiplexers |
9 |
1.5 |
Modbus Port Models |
|
|
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
Mounting |
|
Operating |
|
Modbus Plus |
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
Power |
|
Network |
Serial |
Serial |
|
|
Part Number |
|
Method |
|
(Nominal) |
|
Cable |
Ports |
Protocol |
|
|
|
|
|
|
|
|
|
|
|
NW±BM85±000 |
|
Panel or Shelf |
|
115/230 Vac |
|
Single |
Modbus |
ASCII or RTU |
|
|
|
|
|
|
|
|
|
|
|
NW±BM85C002 |
|
Panel or Shelf |
|
115/230 Vac or |
|
Single or Dual |
Modbus |
ASCII or RTU |
|
|
|
|
|
24 Vdc |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NW±BM85D008 |
|
19 in Rack |
|
125 Vdc or |
|
Single or Dual |
Modbus |
ASCII or RTU |
|
|
|
|
|
24 Vdc |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The four serial ports on these models support Modicon Modbus serial devices. These models provide the conversion between Modbus addresses and the required address formats for routing messages to other Modbus ports or to Modbus Plus nodes.
You must configure these models offline before connecting them to Modbus Plus or to any devices in your application. You can do this by connecting a serial terminal to one BM85 port, setting a switch to allow local setup of the parameters, and applying power to the BM85. The BM85 displays menus on the terminal for setting up the configuration.
Each port is separately configurable. You assign four kinds of parameters for each port:
VPort type - Modbus master, `silent master', slave, or network
VProtocol - ASCII, RTU
VCommunication parameters - baud rate, stop bits, parity mode
VAddress mapping - for conversion between Modbus addresses and Modbus Plus routing.
In addition to the serial port configurations, the BM85's Modbus Plus node address must be assigned. This is done in a set of hardware switches on the rear panel.
When the configuration has been completed, the internal parameters will be retained by the BM85 after power is removed. If the parameters are correct, the unit can be transported to the installation site and installed there without reconfiguration.
10 Introducing the BM85 Bridge/Multiplexers
890 USE 103 00
|
|
|
|
|
|
|
|
|
|
|
MODBUS PLUS |
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BM85 |
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
BRIDGE |
|
|
|
|
|
CONTROLLER |
|
||||||
|
|
|
|
MULTIPLEXER |
|
|
|
|
||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|||||||
|
|
|
|
1 |
2 |
|
3 |
|
4 |
|
|
|
|
|
|
|
|
|
NOTE 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
MASTER |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NOTE 2 |
SLAVE |
|
|
|
|
|
|
|
|
|
|
NETWORK |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MASTER |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
NETWORK |
|
|
|
|
|
|
|
|
|
|
NETWORK |
|
|
|
|
|
|
|
SLAVE |
|
|
|
|
|
|
|
|
|
|
SLAVE |
|
|
|
NOTE 4 |
||
NOTE 3 |
50 |
|
|
|
|
|
|
|
|
150 |
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NETWORK |
|
|
|
|
|
|
|
|
|
|
NETWORK |
|
|
|
|
|
|
|
SLAVE |
|
|
|
|
|
|
|
|
SLAVE |
|
|
|
|
|
|||
|
100 |
|
|
|
|
|
|
|
|
200 |
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Figure 3 BM85 With Typical Modbus Devices
Figure 3 summarizes the typical layout of devices at the Modbus ports.
Notes
1.This is an example of a single Modbus master device. The device can access devices on other ports at the same BM85 as well as devices across Modbus Plus.
2.This is an example of a single Modbus slave device. The device is accessible from devices on other ports at the same BM85 as well as from devices across Modbus Plus.
3.This is an example of a Modbus network with multiple slave devices. Any device on the port is accessible from devices on other ports at the same BM85 and from devices across Modbus Plus.
4.This is an example of a Modbus network with one master device and one or more slave devices. The master device can access devices on the same port on other ports at the same BM85 and devices across Modbus Plus. The slave devices are accessible only to the Master on the same port.
890 USE 103 00
Introducing the BM85 Bridge/Multiplexers |
11 |
1.6Specifications (AC/DC Power Models)
1.6.1Bridge/Multiplexer Models for AC/DC Power
Description |
Name |
BM85 Modbus Plus |
|
|
Bridge/Multiplexer |
|
|
|
|
Part Number |
NW±BM85±000, NW±BM85C002 |
|
|
NW±BM85E232, NW±BM85S232 |
|
|
NW±BM85E485, NW±BM85S485 |
|
|
|
Mounting Method |
Horizontal Surface |
Platform or shelf, with included |
|
|
mounting brackets |
|
|
|
|
Vertical Surface |
Panel, with included mounting |
|
|
brackets |
|
|
|
Physical |
Height |
2.59 in (66 mm) |
Characteristics |
|
|
|
|
|
|
Width |
11.50 in (292 mm), unit only |
|
|
|
|
|
14.08 in (358 mm), with mounting |
|
|
brackets |
|
|
|
|
Depth |
8.30 in (211 mm) |
|
|
|
|
Weight |
5.5 lbs (2.5 kg) net |
|
|
|
|
|
6.5 lbs (3.0 kg) shipping |
|
|
|
AC Power |
Requirements |
115/230 Vac +15%. 47 ... 63 Hz |
(All AC/DC Models) |
|
10 W |
|
|
|
|
Access |
Rear panel power connector with |
|
|
ON/OFF switch |
|
|
|
|
Fuse |
1.0 A, 3 AG SB, internal |
|
|
|
DC Power |
Requirements |
24 Vdc +15%, 10 W |
(not available on |
|
|
NW±BM85±000) |
|
|
|
|
|
|
Access |
Rear panel power connector |
|
|
|
|
Fuse |
1.0 A external, customer supplied |
|
|
|
Environmental |
Temperature |
0 ... 60 degrees C, operating |
|
|
|
|
|
±40 ... +80 degrees C, storage |
|
|
|
|
Humidity |
0 ... 95%, non±condensing |
|
|
|
|
Altitude |
10,000 ft (3 km), maximum |
|
|
|
|
EMI, Radiated |
MIL STD 461B RS03 |
|
Susceptibility |
|
|
|
|
|
EMI, Conducted |
MIL STD 461B CS03 |
|
Susceptibility |
|
|
|
|
Network Connections |
NW±BM85±000 |
Single-cable network only |
|
|
|
|
NW±BM85C002, |
Singleor dual-cable network |
|
NW±BM85E232, |
|
|
NW±BM85S232, |
|
|
NW±BM85E485, |
|
|
NW±BM85S485 |
|
|
|
|
12 Introducing the BM85 Bridge/Multiplexers
890 USE 103 00
Serial Connections |
All Models |
Four DB9S |
|
|
|
Serial Parameters |
NW±BM85±000, |
Modbus protocol, ASCII/RTU |
|
NW±BM85C002 |
300±19200 baud |
|
|
odd/even/no parity |
|
|
1 or 2 stop bits |
|
|
|
|
NW±BM85E232, |
User defined protocol, RS232 |
|
NW±BM85S232 |
50±19200 baud |
|
|
|
|
NW±BM85E485, |
User defined protocol, RS485 |
|
NW±BM85S485 |
50±19200 baud |
|
|
|
1.6.2Software Development Tool Kit
Contact |
|
Telephone |
|
|
|
|
|
Modicon Customer Service |
|
1±800±468±5342 |
(North America) |
|
|
1±508±975±5001 |
(International) |
|
|
|
|
Part Number |
|
Description |
|
|
|
||
|
|
|
|
SR±BM85±S00 |
|
BM85 Software Development Kit, |
|
|
|
3.5 in and 5.25 in HD disks, |
|
|
|
Documentation, 90 day Technical Support |
|
|
|
|
|
SR±BM85±S0R |
|
BM85 Software Technical Support Renewal |
|
|
|
|
|
1.6.3Development Requirement (Supplied by Customer)
Development System |
IBM PC/AT Compatible, 486 or higher recommended, |
|
to support Development Environment |
|
|
Development Environment |
Borland C/C++ Compiler version 3.1 or higher, |
|
BM85 applications use Large model |
|
|
Download System |
IBM PC/AT Compatible host with SA85 Adapter, or |
|
IBM Micro Channel host with SM85 Adapter |
|
486 or higher recommended |
|
4 MB RAM minimum |
|
|
890 USE 103 00
Introducing the BM85 Bridge/Multiplexers |
13 |
1.7Specifications (DC/DC Power Models)
1.7.1Bridge/Multiplexer Models for DC/DC Power
Description |
Name |
BM85 Modbus Plus |
|
|
Bridge/Multiplexer |
|
|
|
|
Part Number |
NW±BM85D002, NW±BM85D008 |
|
|
|
Mounting Method |
Vertical |
Standard 19 in Rack |
|
|
|
Physical |
Height |
3.47 in (88 mm) |
Characteristics |
|
|
|
|
|
|
Width |
19.00 in (483 mm), mounting panel |
|
|
|
|
|
18.26 in (464 mm), hole centers |
|
|
|
|
Depth |
9.15 in (232 mm) |
|
|
|
|
Weight |
5.5 lbs (2.5 kg) net |
|
|
|
|
|
6.5 lbs (3.0 kg) shipping |
|
|
|
Power |
Requirements |
105 to 140 Vdc, or 24 Vdc +15% |
|
|
|
|
Access |
Rear panel screw terminals |
|
|
|
|
Input Current |
0.41 A at 125 V dc |
|
|
|
|
Inrush Current |
6 A typical at 125 V dc |
|
|
|
|
Ground Leakage |
1 mA at 140 V dc |
|
|
|
|
Fuse |
External, customer supplied |
|
|
|
Environmental |
Temperature |
0 ... 60 degrees C, operating |
|
|
|
|
|
±40 ... +80 degrees C, storage |
|
|
|
|
Humidity |
0 ... 95%, non±condensing |
|
|
|
|
Altitude |
10,000 ft (3 km), maximum |
|
|
|
|
EMI, Radiated |
27 ... 500 mHz, 10 V/m |
|
Susceptibility |
IEC 801±3, level 3 |
|
|
IEEE/ANSI C37.90.2, 1987 |
|
|
|
|
Surge Withstand, |
± 2 kV (1 kV on I/O), V3300 |
|
Fast Transient |
generator into 50 ohms. |
|
|
Corresponds to ± 4 kV (2 kV on I/O) |
|
|
into open circuit. |
|
|
IEC 801±4, level 3 |
|
|
IEEE/ANSI C37.90.1 2.3, 1989 |
|
|
|
|
Surge Transients |
2 kV |
|
|
IEC 801±5, level 3 |
|
|
|
|
Electrostatic Discharge |
8 kV, ten discharges |
|
|
IEC 801±2, level 3 |
|
|
|
|
Surge Withstand, |
2.5 kV |
|
Oscillatory Wave |
IEEE 472 |
|
|
IEEE/ANSI C37.90.1 2.2, 1989 |
|
|
|
14 Introducing the BM85 Bridge/Multiplexers
890 USE 103 00
Network Connections |
All Models |
Singleor dual-cable network |
|
|
|
Serial Connections |
All Models |
Four DB9S |
|
|
|
Serial Parameters |
NW±BM85D008 |
Modbus ASCII/RTU protocol |
|
|
300±19200 baud |
|
|
odd/even/no parity |
|
|
1 or 2 stop bits |
|
|
|
|
NW±BM85D002 |
User defined protocol, RS232 |
|
|
50±19200 baud |
|
|
|
1.7.2Software Development Tool Kit
Contact |
|
Telephone |
|
|
|
|
|
Modicon Customer Service |
|
1±800±468±5342 |
(North America) |
|
|
1±508±975±5001 |
(International) |
|
|
|
|
Part Number |
|
Description |
|
|
|
||
|
|
|
|
SR±BM85±S00 |
|
BM85 Software Development Kit, |
|
|
|
3.5 in and 5.25 in HD disks, |
|
|
|
Documentation, 90 day Technical Support |
|
|
|
|
|
SR±BM85±S0R |
|
BM85 Software Technical Support Renewal |
|
|
|
|
|
1.7.3Development Requirement (Supplied by Customer)
Development System |
IBM PC/AT Compatible, 486 or higher recommended, |
|
to support Development Environment |
|
|
Development Environment |
Borland C/C++ Compiler version 3.1 or higher, |
|
BM85 applications use Large model |
|
|
Download System |
IBM PC/AT Compatible host with SA85 Adapter, or |
|
IBM Micro Channel host with SM85 Adapter |
|
486 or higher recommended |
|
4 MB RAM minimum |
|
|
890 USE 103 00
Introducing the BM85 Bridge/Multiplexers |
15 |
Chapter 2
Device Addressing
and Message Routing
VModbus Plus Message Routing Paths
VModbus Address Conversion
VRouting Examples
890 USE 103 00
Device Addressing and Message Routing |
17 |
2.1 Modbus Plus Message Routing Paths
A single Modbus Plus network can have up to 64 addressable node devices, with each device having a unique address of between 1 and 64. Multiple networks can be joined through Bridge Plus devices. Devices address each other across Bridge Plus devices by specifying routing paths of five bytes, with each byte representing an address on the next network. This routing method allows nodes in other networks to be addressed up to four networks away from the originating node.
The routing path is imbedded in the Modbus Plus message frame as it is sent from the originating node:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MODBUS PLUS |
|||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MESSAGE FRAME |
|
|
|||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||
|
|
|
|
|
|
|
|
|
|
|
ROUTING |
|
|
|
|||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||
|
|
|
|
START |
|
|
|
PATH |
|
|
|
|
|
END |
|||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLE: |
|||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||
|
ROUTING ADDRESS |
1 |
|
|
|
|
|
|
|
|
|
|
ROUTING ADDRESS 1 = 25 |
||||||||||||||
|
|
|
ROUTING ADDRESS |
2 |
|
|
|
|
|
|
|
|
ROUTING ADDRESS 2 = 20 |
||||||||||||||
|
|
|
|
ROUTING ADDRESS |
3 |
|
|
|
|
|
|
ROUTING ADDRESS 3 = 12 |
|||||||||||||||
|
|
|
|
|
ROUTING ADDRESS |
4 |
|
|
|
ROUTING ADDRESSES 4, 5 = 0 |
|||||||||||||||||
|
|
|
|
|
|
ROUTING ADDRESS |
5 |
|
|
(NO FURTHER ROUTING) |
|||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Figure 4 Message Frame Routing Path Field
Figure 4 is an example of message routing to a programmable controller through three networks that are joined by Bridge Plus node devices. The message will first be routed to node 25, a Bridge Plus on the local network. That node forwards the message on to a Bridge Plus at address 20 on the second network. The second Bridge Plus forwards the message to its final destination, node address 12 on the third network. The zero contents of bytes 4 and 5 specify no further message routing.
2.1.1Routing to Programmable Controllers
For programmable controllers, the last non-zero byte in the message routing specifies the network node address of the controller (1 to 64).
18 Device Addressing and Message Routing
890 USE 103 00
2.1.2Routing to Host Based Network Adapters
or host based network adapters, the byte following the adapter's network node address specifies a task number (1 ... 8) to which the message is assigned. Subsequent bytes are not checked by the adapter, and are available for custom use to the application - for example, for message counts or status information.
2.1.3Routing to BM85 Bridge/Multiplexers
Routing to Serial Ports on BM85 Programmable Models
or the programmable models, the user application stored in the BM85 defines the addressing between Modbus Plus and the serial ports.
Routing to a Single Slave Device on BM85 Modbus Models
or a single slave device at a Modbus port, two bytes are used to address the device. The next-to-last non-zero byte addresses the BM85 node (1 ... 64). The last non-zero byte specifies the Modbus port (1 ... 4), and therefore specifies the single slave device.
igure 5 shows an example of routing to a single slave device.
BP85 |
BM85 |
BM85 |
ZERO |
ZERO |
|
ADDRESS |
ADDRESS |
PORT |
|||
|
|
||||
(1 ... 64) |
(1 ... 64) |
(1 ... 4) |
|
|
|
|
|
|
|
|
Figure 5 Modbus Plus Routing to Single Modbus Slave
Routing to a Networked Slave Device on BM85 Modbus Models
or a slave device on a Modbus network at a Modbus port, three bytes are used to address the device. The third byte from the last non-zero byte addresses the BM85 node (1 ... 64). The next-to-last non-zero byte specifies the Modbus port (1 ... 4). The last non-zero byte specifies the Modbus address of the slave device (1 ... 247).
igure 6 shows an example of routing to a networked slave device.
BP85 |
BM85 |
BM85 |
SLAVE |
ZERO |
|||||
ADDRESS |
ADDRESS |
PORT |
ADDRESS |
||||||
|
|||||||||
(1 ... |
64) |
(1 ... |
64) |
(1 ... |
4) |
(1 ... |
247) |
|
|
|
|
|
|
|
|
|
|
|
Figure 6 Modbus Plus Routing to Networked Modbus Slave
890 USE 103 00
Device Addressing and Message Routing |
19 |
2.2 Modbus Address Conversion
Programmable Port Models
or the programmable models, the user application stored in the BM85 defines the addressing conventions to be used between the serial ports and Modbus Plus. The application program must define the routing between serial ports, as well as the paths to Modbus Plus nodes.
Modbus Port Models
or the Modbus port models, address conversion between Modbus and Modbus Plus addresses is provided internally as described below.xamples are shown in Section 2.3.
When the BM85 receives a message at a Modbus port, the Modbus address (1 ... 255) is compared to an internal address map for that port. You define the map table during your BM85 configuration. It can hold up to 64 Modbus addresses, each pointing to a five-byte routing path.
n ss m s n in the table, the five routing path bytes are applied to the message. If the first byte is in the range 1 ... 64, the message is routed out on Modbus Plus. If the first byte is zero, the message goes to a Modbus port (1 ... 4) specified in byte two. If that port has a single slave device, the remaining three bytes are zeros. If the port has a network of slave devices, byte three specifies the slave address.
255 |
|
|
|
|
|
|
|
|
|
||
|
IMPLICIT |
|
|
|
|
|
ATTACH |
|
|
|
|
|
ADDRESS |
|
|
|
|
80 |
|
|
|
|
|
79 |
RESERVED |
|
|
NOTE: |
|
75 |
|
|
|
||
|
|
|
ALL ADDRESSES 65 ... 79 |
||
MUX ATTACH |
|||||
74 |
|
|
ARE RESERVED AT ANY |
||
71 |
ADDRESS |
|
|
PORT CONFIGURED IN THE |
|
70 |
RESERVED |
|
|
`SILENT MASTER' MODE. |
|
65 |
|
|
|
||
64 |
DIRECT |
|
|
|
|
|
|
|
|
||
|
ATTACH |
|
|
|
|
|
ADDRESS |
|
|
|
|
1 |
|
|
|
|
|
RESERVED |
|
|
|
||
0 |
|
|
|
||
|
|
|
|
||
|
|
|
|
|
Figure 7 Bridge Multiplexer Address Conversion
20 Device Addressing and Message Routing
890 USE 103 00