Upload
aurellio
View
218
Download
0
Embed Size (px)
Citation preview
8/18/2019 Rockwell Dh 485
1/46
3 3 0 0 4 0 1 6 .
0 2
www.schneider-electric.com
33004016 03/2009
Schneider Electric
AB DH485 ProtocolXBT N/R/RT
03/2009
8/18/2019 Rockwell Dh 485
2/46
2 33004016 03/2009
© 2009 Schneider Electric. All rights reserved.
8/18/2019 Rockwell Dh 485
3/46
33004016 03/2009 3
Table of Contents
Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Chapter 1 Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 2 Operating Principle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11General Information on Bus Communications. . . . . . . . . . . . . . . . . . . . . . 12
Operating Principle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Chapter 3 Software Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 15Vijeo-Designer Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Protocol - AB DH485 Dialog Box. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Configuring Equipment Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Equipment Address Dialog Box. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Chapter 4 Variable Types Supported . . . . . . . . . . . . . . . . . . . . . . . . 23Variable Types Supported. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Chapter 5 Cables and Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . 25Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26SUB-D 25 Pin Connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Chapter 6 Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33XBT Detected Error Indication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Appendices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Appendix A RS232/RS485 Recommendations . . . . . . . . . . . . . . . . . . 39
RS232 Recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
RS485 Recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
8/18/2019 Rockwell Dh 485
4/46
4 33004016 03/2009
8/18/2019 Rockwell Dh 485
5/46
33004016 03/2009 5
§Safety Information
Important Information
NOTICE
Read these instructions carefully, and look at the equipment to become familiar with
the device before trying to install, operate, or maintain it. The following special
messages may appear throughout this documentation or on the equipment to warn
of potential hazards or to call attention to information that clarifies or simplifies a
procedure.
8/18/2019 Rockwell Dh 485
6/46
6 33004016 03/2009
PLEASE NOTE
Electrical equipment should be installed, operated, serviced, and maintained only by
qualified personnel. No responsibility is assumed by Schneider Electric for any
consequences arising out of the use of this material. © 2008 Schneider Electric. All Rights Reserved.
8/18/2019 Rockwell Dh 485
7/46
33004016 03/2009 7
About the Book
At a Glance
Document Scope
This document describes communication between automation systems and the
XBT N/R/RT product range using the AB DH485 protocol.
Validity Note
The data and illustrations found in this document 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.
Related Documents
You can download these technical publications and other technical information from
our website at www.schneider-electric.com.
Product Related Information
Schneider Electric assumes no responsibility for any errors that may appear in this
document. If you have any suggestions for improvement or amendments or have
found errors in this publication, please notify us.
No part of this document may be reproduced in any form or by means, electronic or
mechanical, including photocopying, without express written permission of
Schneider Electric.
Title of Documentation Reference NumberXBT N/R/RT Instruction sheet W916810140111
A07
XBT N/R/RT User Manual 33003962
Vijeo-Designer Lite Online help
8/18/2019 Rockwell Dh 485
8/46
8 33004016 03/2009
All pertinent state, regional and local safety regulations must be observed when
installing and using this product. For reasons of safety and to ensure compliance
with documented system data, only the manufacturer should perform repairs to
components.
Since the XBT N/R/RT terminals are not designed to pilot safety critical processes,
no specific instructions apply in this context.
User Comments
We welcome your comments about this document. You can reach us by e-mail at
Compatibility
8/18/2019 Rockwell Dh 485
9/46
33004016 03/2009 9
1
33004016 03/2009
Compatibility
Compatibility
Overview
The DH485 protocol available for XBT terminals can be used to communicate with
the following Allen Bradley process controllers:
SLC-5/0X PLCs
Micrologix
8/18/2019 Rockwell Dh 485
10/46
Compatibility
10 33004016 03/2009
OperatingPrinciple
33004016 03/2009
8/18/2019 Rockwell Dh 485
11/46
33004016 03/2009 11
2
33004016 03/2009
Operating Principle
Overview
This chapter describes the operating principle of XBT terminals in applications using
the AB DH485 protocol.
*For additional information, refer to NEMA ICS 1.1 (latest edition), Safety Guidelines
for the Application, Installation, and Maintenance of Solid State Control
What's in this Chapter?
This chapter contains the following topics:
WARNINGLOSS OF CONTROL
The designer of any control scheme must consider the potential failure modes
of control paths and, for certain critical functions, provide a means to achieve a
safe state during and after a path failure. Examples of critical control functions
are emergency stop and overtravel stop.
Separate or redundant control paths must be provided for critical for critical
control functions.
System control paths may include communication links. Consideration must be
given to the implications of unanticipated transmission delays or failures of thelink.*
Each implementation of a Magelis XBT N/R/RT must be individually and
thoroughly tested for proper operation before being placed into service.
Failure to follow these instructions can result in death, serious injury, or
equipment damage.
Topic Page
General Information on Bus Communications 12
Operating Principle 13
8/18/2019 Rockwell Dh 485
12/46
Operating Principle
12 33004016 03/2009
General Information on Bus Communications
OverviewThe XBT terminals can be connected to PLCs using different protocols. This
document describes the communication using the DH485 protocol with the XBT
terminal acting as client.
Roles of XBT Terminals
The terminals are usually connected to a communication equipment (PLC or other)
via a field bus. The XBT and the PLCs work autonomously of each other.XBT terminals perform the following functions:
monitoring function: XBT terminals visualize the processes that are active in the
PLCs and indicate alarm states
command function: XBT terminals send information to the PLC upon user request
Roles of Buses
A bus system provides the possibility to connect different devices via a uniquecabling.
Roles of Protocols
The protocol defines the language that is spoken by all the equipment connected to
the bus.
8/18/2019 Rockwell Dh 485
13/46
Operating Principle
33004016 03/2009 13
Operating Principle
OverviewThe DH485 protocol is an Allen Bradley communication protocol.
The link between the XBT terminal and the Allen Bradley PLCs is one of the
following types
point-to-point
multidrop
WARNINGUNINTENDED EQUIPMENT OPERATION
The protocol must be installed and used by authorized and properly trained
personnel.
Failure to follow these instructions can result in death, serious injury, orequipment damage.
8/18/2019 Rockwell Dh 485
14/46
Operating Principle
14 33004016 03/2009
Software Configuration
33004016 03/2009
8/18/2019 Rockwell Dh 485
15/46
33004016 03/2009 15
3Software Configuration
Overview
This chapter contains the protocol parameters you must configure in the Vijeo-
Designer Lite software for operating XBT terminals in DH485 applications.
What's in this Chapter?
This chapter contains the following topics:
Topic Page
Vijeo-Designer Lite 16
Protocol - AB DH485 Dialog Box 18
Configuring Equipment Addresses 20
Equipment Address Dialog Box 22
8/18/2019 Rockwell Dh 485
16/46
Software Configuration
16 33004016 03/2009
Vijeo-Designer Lite
OverviewUse the Vijeo-Designer Lite software to configure your XBT terminal for DH485
protocol applications.
Opening the Protocol - AB DH485 Dialog Box
To open the Protocol - AB DH485 dialog box in Vijeo-Designer Lite for setting the
protocol parameters, proceed as follows:
WARNINGINCOMPATIBLE SOFTWARE
Use only Schneider Electric manufactured or approved software to programhardware.
Failure to follow these instructions can result in death, serious injury, or
equipment damage.
8/18/2019 Rockwell Dh 485
17/46
Software Configuration
33004016 03/2009 17
Step Action
1 Start Vijeo-Designer Lite.
To create a new application, continue with step 2, if you have already created a DH 485 application, skipsteps 2 and 3 and execute step 4.
2 From the application browser on the left-hand side of the Vijeo-Designer Lite window select the item
Configuration→ Terminal & Protocol.
Result: The following dialog box will be displayed on the right-hand side of the Vijeo-Designer Litewindow.
3 From the Terminal Protocol list in the lower right corner select the item AB DH485 and click Apply.
4 Select from the application browser the item Protocol - DH485.
Result: The dialog box Protocol - AB DH485 will be displayed on the right-hand side of the Vijeo-
Designer Lite window where you can configure the protocol parameters for DH485 communication.
8/18/2019 Rockwell Dh 485
18/46
Software Configuration
18 33004016 03/2009
Protocol - AB DH485 Dialog Box
PurposeUse this dialog box to configure the protocol parameters for DH485 communication.
Representation
Elements of the dialog box
Element Description
Communication
Transmission Speed Select the transmission speed (in bit/s) on your
DH485 bus from the list. Make sure to configure the
same transmission speed for all devices connectedto the bus.
Parity Bit You cannot edit this parameter because in DH485
communications the parity is always even.
Data Length You cannot edit this parameter because in DH485
communications the length of user data is always
8 bits.
Stop Bits You cannot edit this parameter because in DH485
communications always 1 stop bit is used.
8/18/2019 Rockwell Dh 485
19/46
8/18/2019 Rockwell Dh 485
20/46
Software Configuration
20 33004016 03/2009
Configuring Equipment Addresses
OverviewUse the Vijeo-Designer Lite software to configure addresses for the equipment your
XBT terminal should communicate with.
Opening the Equipment Address Dialog Box
To open the Equipment Address dialog box in Vijeo-Designer Lite for configuringDH485 equipment addresses, proceed as follows:
8/18/2019 Rockwell Dh 485
21/46
Software Configuration
33004016 03/2009 21
Step Action
1 Start Vijeo-Designer Lite.
2 From the application browser on the left-hand side of the Vijeo-Designer Lite window select the item
Equipments.
Result: The following dialog box will be displayed on the right-hand side of the Vijeo-Designer Litewindow.
3 In the Equipments dialog box select a slave device from the list.
4 In the Equipment Settings→ Identification box below click the ... button right to the Address text box.
Result: The Equipment Address dialog box will be displayed where you can configure an address for
the selected equipment.
8/18/2019 Rockwell Dh 485
22/46
Software Configuration
22 33004016 03/2009
Equipment Address Dialog Box
PurposeUse this dialog box to configure the address of equipments connected to the
network.
Representation
DH485 equipment address
Elements of the dialog
Element Description
CPU Number Enter the address (between 0 and 31) for the
selected equipment.
OK button Click the OK button to assign the entered address to
the selected equipment.
Cancel button Click the Cancel button to discard the changes and
to close the dialog box.
Help button Click the Help button to open the Vijeo-Designer Lite
online help.
8/18/2019 Rockwell Dh 485
23/46
8/18/2019 Rockwell Dh 485
24/46
Variable Types Supported
24 33004016 03/2009
Cables and Connectors
33004016 03/2009
8/18/2019 Rockwell Dh 485
25/46
33004016 03/2009 25
5Cables and Connectors
OverviewThis chapter specifies the cables and connectors required for XBT terminals in
DH 485 applications.
What's in this Chapter?
This chapter contains the following topics:
Topic Page
Cables 26
SUB-D 25 Pin Connections 30
8/18/2019 Rockwell Dh 485
26/46
Cables and Connectors
26 33004016 03/2009
Cables
Technical DataThe following table lists the cables required to connect XBT terminals to the SLC /Micrologix PLCs in multidrop or point-to-point applications.
* XBT RT 511: you must add a XBT ZG939 cable adapter (SUB-D25 RJ45)
XBT RT 500: you must add a XBT ZG939 cable adapter (SUB-D25 RJ45)
and a XBT ZRTPW for power supply.
** XBT RT 500: you must add a XBT ZG939 cable adapter for power supply.
Multidrop Connection Diagram
Connected Device Terminal Physical Link Cable Reference Length
SLC/Micrologix, point-
to-point
XBT N401/N410
XBT R410/R411
RS232 XBT Z9732 2.5 m (8.2 ft.)
(SUB-D25
Micrologix 1000)
XBT RT500/RT511 RS485 XBT Z9734** 2.5 m (8.2 ft.)(RJ45 Micrologix 1000)
SLC/Micrologix,
multidrop
(via 1761-NET-AIC
provided by Allen
Bradley)
XBT N401/N410
XBT R410/R411
RS232 XBT Z9730 2.5 m (8.2 ft.)
(SUB-D25 SUB-D9)
XBT RT500/RT511 XBT Z9741* 2.5 m (8.2 ft.)
(SUB-D25 SUB-D9)
CAUTIONPOWERED CONNECTORS
Connect the serial link and printer link to the XBT with the power OFF.
Failure to follow these instructions can result in injury or equipment damage.
8/18/2019 Rockwell Dh 485
27/46
Cables and Connectors
33004016 03/2009 27
(*) Provided by Allen Bradley
How to Connect a PC in Point-to-Point Mode to the DH485 Network
CAUTIONPOWERED CONNECTORS
Connect the serial link and printer link to the XBT with the power OFF.
Failure to follow these instructions can result in injury or equipment damage.
8/18/2019 Rockwell Dh 485
28/46
8/18/2019 Rockwell Dh 485
29/46
Cables and Connectors
33004016 03/2009 29
8/18/2019 Rockwell Dh 485
30/46
Cables and Connectors
30 33004016 03/2009
SUB-D 25 Pin Connections
OverviewThe following XBT terminals provide a SUB-D25 connector on their rear panels:
XBT N401
XBT N410
XBT R410
XBT R411
The pin assignment of the SUB-D25 connector is shown in the following figure.
8/18/2019 Rockwell Dh 485
31/46
Cables and Connectors
33004016 03/2009 31
Wiring
The illustration below shows the wiring:
Rt line impedance matching resistor
NOTE: RP resistors are integrated into the XBT and feature:
4.7 kΩ for XBT N
470 Ω for XBT R
600 Ω for XBT RT
8/18/2019 Rockwell Dh 485
32/46
Cables and Connectors
32 33004016 03/2009
Diagnostics33004016 03/2009
8/18/2019 Rockwell Dh 485
33/46
33004016 03/2009 33
6Diagnostics
XBT Detected Error Indication
Overview
XBT terminals indicate detected errors in different ways
by displaying question marks ?????? on alphanumerical fields
by displaying crosses for graphic objects
by displaying hash characters in alphanumerical fields
by blinking alphanumerical fields by issuing system error messages
The following paragraphs list these three detected errors and their possible reasons.
Question Marks and Crosses
When question marks ?????? and crosses XXXXXX are displayed on the display ofyour XBT terminal, a transmission error has occurred. To correct this, check thefollowing:
If... Then ...
question marks are displayed verify that all cables are correctly connected.
question marks are displayed verify that the communication parameters set in the
Protocol - AB DH485 dialog box are identical for all
equipment connected to the bus i.e. same transmission
speed, same use of parity.
question marks are displayed the XBT terminal may have received no response from thePLC.
8/18/2019 Rockwell Dh 485
34/46
Diagnostics
34 33004016 03/2009
Hash Characters
Hash characters displayed in alphanumerical fields on your XBT terminal indicate
that the value to be displayed is too long for this alphanumerical field and cannot
completely be displayed. The value 100 can, for example, not be displayed in a 2-
digit alphanumerical field. To correct this, enter a shorter value or adapt the size of
the alphanumerical field so that it can display any of the possible values of the PLC
variable.
Blinking Alphanumerical Fields
Blinking alphanumerical fields on your XBT terminal indicate that the value of this
field has exceeded or fallen below a user-defined threshold.
System Error Messages
A variety of system error messages is by default configured for the terminals. All
these standard system messages are assigned a panel number 200+x. A distinction
is made between system error messages indicating communication interruptions
and status messages provoked by inputs at the terminal.
These 2 message types differ by the numbers they are assigned and by the waythey are displayed at the terminal as shown in the list below:
System Error
Message Caused by:
System Error Message
Numbers
Display Mode
Communication
Interruptions
201 – 204 To indicate that a communication
interruption has occurred, the message
is displayed in a popup dialog box
every 10 seconds.
Input at Terminal 241 – 258 The status message is displayed as a
response to user input at the terminal.
8/18/2019 Rockwell Dh 485
35/46
Diagnostics
33004016 03/2009 35
Messages Caused by Communication Interruptions
Messages 201 to 204 are issued by the terminal to indicate that a communicationinterruption has occurred. They are displayed in a popup dialog every 10 seconds.
Messages Caused by Input at the Terminal
Messages 242 to 254 are issued by the XBT as a response to user input at theterminal. These messages are displayed directly after the operator has sent anincorrect command to the terminal and will persist until the user has corrected the
entered command or value. Messages 255 to 258 are status messages displayedafter the user has initiated an operation at the terminal to indicate that it has (or hasnot) been accepted and is in progress.
If... Then ...
message 201: DIALOG TABLE
AUTHORIZATION INCORRECT is
displayed
the authorization word in the dialog table does not
have the expected value. (Refer to the Vijeo-
Designer Lite online help for information on how
this word is working.) To correct this, verify that:
you are connected to the right PLC
the memory of your PLC is not corrupted
the correct value is saved on the PLCmessage 202: DIALOG TABLE
WRITING IMPOSSIBLE is displayed
the write cycle to the dialog table of the PLC could
not be ended. This condition may have the
following causes:
too much load on the communication bus
EMC disturbances on the communication bus
message 203: DIALOG TABLE
READING IMPOSSIBLE is displayed
the read cycle from the dialog table of the PLC
could not be ended. This condition may have the
following causes: too much load on the communication bus
EMC disturbances on the communication bus
If... Then ...
message241: IMPOSSIBLE TO READ
VARIABLE is displayed
the terminal has attempted to read a variable and
could not retrieve its value. This condition may
have the following causes:
too much load on the communication bus
EMC disturbances on the communication bus
message 242: IMPOSSIBLE TO
WRITE VARIABLE is displayed
the terminal has attempted to write in a memory
area of the equipment and has received a
negative acknowledgement or no
acknowledgement at all. This condition may have
the following causes:
too much load on the communication bus
EMC disturbances on the communication bus
8/18/2019 Rockwell Dh 485
36/46
8/18/2019 Rockwell Dh 485
37/46
8/18/2019 Rockwell Dh 485
38/46
38 33004016 03/2009
RS232/RS485Recommendations
33004016 03/2009
8/18/2019 Rockwell Dh 485
39/46
33004016 03/2009 39
ARS232/RS485 Recommendations
OverviewThis chapter decribes the RS232/RS485 recommendations.
What's in this Chapter?
This chapter contains the following topics:
Topic Page
RS232 Recommendations 40
RS485 Recommendations 41
8/18/2019 Rockwell Dh 485
40/46
RS232/RS485 Recommendations
40 33004016 03/2009
RS232 Recommendations
Diagrams for RS232C Link RS232C link
Maximum length for the link is 15 m (49.2 ft.).
Wiring = 3 shielded wires with a minimum cross-section of 0.6 mm2 (AWG22)
NOTE: The maximum length including the RS232 link is 15 m (49.21 ft.), provided
that the equipment connected to the XBT terminal is not subject to more stringent
restrictions (refer to connected devices instruction sheet) and for XBT RT500
provided that the length of the cable is below 10 m (32.8 ft.) (because power is also
supplied by this cable).
8/18/2019 Rockwell Dh 485
41/46
RS232/RS485 Recommendations
33004016 03/2009 41
RS485 Recommendations
Diagrams for RS485 Link RS485 link
Maximum length for the link is 1,200 m (3,937 ft.). Wiring = 2 shielded twisted wires with a minimum cross-section of 0.6 mm2
(AWG22) and one 0 V wire
NOTE: The maximum length including the RS485 link is 1,200 m (3,937 ft.),
provided that the equipment connected to the XBT terminal is not subject to more
stringent restrictions (refer to connected devices instruction sheet) and for
XBT RT500 provided that the length of the cable is below 10 m (32.8 ft.) (because
power is also supplied by this cable).
8/18/2019 Rockwell Dh 485
42/46
RS232/RS485 Recommendations
42 33004016 03/2009
Glossary
33004016 03/2009
8/18/2019 Rockwell Dh 485
43/46
33004016 03/2009 43
Glossary
A
AWG
American wire gauge (wire diameter)
F
FCS
frame check sequence
M
Magelis
Generic commercial name of the range of Schneider HMI terminals.
P
PLC
programmable logic controller
8/18/2019 Rockwell Dh 485
44/46
Glossary
44 33004016 03/2009
R
RS232
recommended standard for connecting serial devices = EIA/TIA 232
RS485
recommended standard for connecting serial devices = EIA/TIA 485
V
Vijeo-Designer Lite
Configuration software for the low end Magelis range. It replaces the XBT-L1000
software.
X
XBT
Any HMI terminal (when it is not necessary to make a distinction).
8/18/2019 Rockwell Dh 485
45/46
8/18/2019 Rockwell Dh 485
46/46
Index
46 33004016 03/2009
Vvariable types
DH485 protocol, 23 Vijeo-Designer Lite, 16
Wwiring, 31
XXBT multidrop, 27
XBT Z9730, 26
XBT Z9732, 26
XBT Z9734, 26
XBT Z9741, 26