The text of a manual · part 19 of 30
SLC 500 Modular Hardware Style User Manual, pages 181 to 190
Pages 181 to 190 of 296
The original document is the PDF (3.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 1747-L524
Page 181
Appendix
B
Setting Up the DH-485 Network
The information in this appendix will help you plan, install, and operate the SLC 500 processor in a DH-485 network. This chapter also contains information that describes the DH-485 network functions, network architecture, and performance characteristics. It also covers: • DH-485 network description. • DH-485 network protocol. • DH-485 token rotation. • DH-485 network initialization. • devices that use the DH-485 network. • 1747-AIC isolated link coupler for DH-485. • 1747-UIC USB to DH-485 interface converter. • example system configuration (includes 1761-NET-AIC advanced interface converter). • important planning considerations. • installing the DH-485 network.
DH-485 Network Description
The DH-485 network passes information between devices on the plant floor. The network monitors process parameters, device parameters, device status, process status and application programs to support data acquisition, data monitoring, program upload/download and supervisory control. The DH-485 network offers: • interconnection of 32 devices. • multi-master capability. • token passing access control. • the ability to add or remove nodes without disrupting the network. • maximum network length of 1219 m (4000 ft).(1) The following section describes the protocol used to control message transfers on the DH-485 network. The protocol supports two classes of devices: initiators and responders. All initiators on the network get (1)
181
The network can be extended to 2438 m (8000 ft) by connecting two AIC+ Advanced Interface Converters (1761-NET-AIC). Refer to the AIC+ Advanced Interface Converter User Manual, publication 1761-UM004.
Publication 1747-UM011G-EN-P - June 2008
Page 182
182
Setting Up the DH-485 Network a chance to initiate message transfers. To determine which initiator has the right to transmit, a token passing algorithm is used.
DH-485 Network Protocol
A node holding the token can send any valid packet onto the network. Each node is allowed only one transmission (plus two retries) each time it receives the token. After a node sends one message packet, it attempts to give the token to its successor by sending a token pass packet to its successor.
DH-485 Token Rotation
If no network activity occurs, the initiator sends the token pass packet again. After two retries (a total of three tries) the initiator will attempt to find a new successor. IMPORTANT
The maximum address that the initiator will search for before wrapping to zero is the value in the configurable parameter maximum node address. The default value for this parameter is 31 for all initiators and responders.
The allowable range of the node address of a initiator is 0...31. The allowable address range for all responders is 1...31. There must be at least one initiator on the network.
DH-485 Network Initialization
Network initialization begins when a period of inactivity exceeding the time of a link dead timeout is detected by a initiator on the network. When the time for a link dead timeout is exceeded, usually the initiator with the lowest address claims the token. When a initiator has the token it will begin to build the network. The network requires at least one initiator to initialize it. Building a network begins when the initiator that claimed the token tries to pass the token to the successor node. If the attempt to pass the token fails, or if the initiator has no established successor (for example, when it turns on), it begins a linear search for a successor starting with the node above it in the addressing. When the initiator finds another active initiator, it passes the token to that node, which repeats the process until the token is passed all the way around the network to the first node. At this point, the network is in a state of normal operation.
Publication 1747-UM011G-EN-P - June 2008
Page 183
Setting Up the DH-485 Network
Devices that Use the DH-485 Network
183
The following SLC 500 devices support the DH-485 network. • SLC 500 fixed I/O controller (responder) • SLC 5/01 modular I/O controller (responder) • SLC 5/02 modular I/O controller (initiator/responder) • SLC 5/03 modular I/O controller (initiator/responder) • SLC 5/04 modular I/O controller (initiator/responder) • SLC 5/05 modular I/O controller (initiator/responder) • Personal computer running your programming software (initiator) • DTAM (initiator/responder) Other devices that use the DH-485 network include those in the table below. Devices Available For Use on the DH-485 Network
Cat. No.
Description
Installation Requirement
Function
Publication Number
1746-BAS(-T)
BASIC module
SLC chassis
Provides an interface for SLC 500 devices to third party devices. Program in BASIC to interface the 3 channels (2 RS232 and 1 DH485) to printers, modems, or the DH-485 network for data collection.
1746-UM004 1746-RM001 1746-IN009
1747-KE
DH-485/DF1 interface module
SLC chassis
Provides a non-isolated DH-485 interface for SLC 500 devices to host computers over RS-232 using full- or DF1 half-duplex protocol. Enables remote programming using your programming software to an SLC 500 processor or the DH-485 network through modems. Ideal for low cost RTU/SCADA applications.
1747-IN006
1747-UIC
USB to DH-485 interface converter
Standalone
Provides connection to personal computer’s USB port and features an RS-232 and an RS-485 port for connection to SLC 500 controllers.
1747-IN063
ControlLogix Gateway
DH+/DH485 gateway
Standalone
Provides communication between stations on the PLC-5 (DH+) and SLC 500 (DH-485) networks. Enables communication and data transfer from PLC to SLC 500 on DH-485 network. Also enables programming software programming or data acquisition across DH+ to DH-485.
1756-UM513
1784-PCMK
PCMCIA interface card
PCMCIA slot in computer
Provides DH485 or DH+ connection.
1784-UM519
1784-PKTX(D)
personal computer DH-485 interface card
PCI bus
Provides DH-485 or DH+ connection
1784-UM527
Publication 1747-UM011G-EN-P - June 2008
Page 184
184
Setting Up the DH-485 Network
1747-AIC Isolated Link Coupler for DH-485
The isolated link coupler, catalog number 1747-AIC, is used to connect SLC 500 family devices to the DH-485 network. The coupler provides a 6-position removable terminal block for connection to the DH-485 communication cable. Network connections for SLC 500 processors are provided by the 1747-C11 cable, supplied with the link coupler. Network connections for peripheral devices, such as the personal interface converter, catalog number1747-PIC, or Data Table Access Module, catalog number, 1747-DTAM-E are provided by the 1747-C10 cable supplied with each of those devices. If you need to connect a peripheral device that is between 1.8 m (6 ft) and 6.1 m (20 ft) away, use the 1747-C20 cable. To protect connected devices, the coupler provides 1500V dc isolation between the communication cable and the attached SLC 500 controller and peripheral devices (PIC or DTAM). The isolated link coupler can also be used to provide connectivity between a peripheral device (programming software and PIC or DTAM) for distances greater than 1.8 m (6 ft) up to a maximum of 1219 m (4000 ft). Below is an example of a remote connection between a computer running your programming software and an SLC 500 processor. Remote Connection Programming Software
1747-PIC Interface PIC
1747-C10 Cable
1747-AIC Interface
1747-AIC Interface
>1.8m (6 ft)
1747-C20 Cable
1747-C11 Cable
+24V dc Data Table Access Module 1747-DTAM-E
Publication 1747-UM011G-EN-P - June 2008
Page 185
Setting Up the DH-485 Network
The 1747-UIC interface lets you connect DH-485 devices directly to a computer’s USB port. It features an RS-232 port for connection to SLC 5/03 and later processors, MicroLogix processor, PanelView 300 and later terminals, 1761-NET-AIC+ interface, and Logix controllers, as well as an RS-485 port for connection to SLC 5/03 and lower processors, PanelView 300 and later terminals, and 1747-AIC interface. The 1747-UIC interface can communicate with devices on the DH-485 network at 19.2 Kbaud. Connecting to the RS-232 Port PanelView 300 Operator Interface and later
Personal Computer with USB Port
USB (DF1) USB OK DH485 USB to DH485 INTERFACE CONVERTER CAT 1747-UIC
FRN X.X
SER A
C
R
US
LISTED IND. CONT. EQ. FOR HAZ. LOC. A196, OPERATING TEMP CODE TAG CLASS 1 GROUPS A, B, C, AND D, DIV. 2
RS485 (DH485) MADE IN INDIA
1747-UIC USB to DH-485 Interface Converter
185
SW
Mfg XXXX N223
SLC 5/03, SLC 5/04, SLC 5/05 Processor (channel 0)
1747-UIC Interface
CompactLogix Controller
RS232 (DH485)
AIC+ Interface
FlexLogix Controller ControlLogix Controller MicroLogix Controller
Connect the following DH-485 equipment to the RS-232 port
Using cable
SLC 5/03, SLC 5/04, and SLC 5/05 processor (channel 0)
1747-CP3, 1756-CP3
1761-NET-AIC (AIC+) Advanced Interface Converter
1747-CP3, 1756-CP3 (Port 1, 9-pin D) 1761-CBL-PM02 (Port 2, 8-pin DIN)
PanelView 300 and later operator interface with RS-232 (DH-485) port
2711-NC13
MicroLogix controller 1761-CBL-PM02 PanelView 300 Micro (DH-485) operator interface CompactLogix controller
1747-CP3, 1756-CP3
FlexLogix controller
1747-CP3, 1756-CP3
ControlLogix controller
1747-CP3, 1756-CP3
Publication 1747-UM011G-EN-P - June 2008
Page 186
186
Setting Up the DH-485 Network
Connecting to the RS-485 Port Personal Computer with USB Port
PanelView 300 and later Operator Interface SLC 500 Fixed Controller
USB (DF1) USB OK DH485 USB to DH485 INTERFACE CONVERTER CAT 1747-UIC
FRN X.X
SER A
C
R
US
LISTED IND. CONT. EQ. FOR HAZ. LOC. A196, OPERATING TEMP CODE TAG CLASS 1 GROUPS A, B, C, AND D, DIV. 2
MADE IN INDIA
RS485 (DH485)
SW
Mfg XXXX N223
RS232 (DH485)
DH-485
Peripheral
1747-UIC Interface
1747-AIC Interface
CPU
Power
SLC 5/01, SLC 5/02, SLC 5/03 Processor (channel 1)
Connect the following DH-485 equipment to the RS-485 port
Using cable
SLC 500 fixed controller SLC 5/01, SLC 5/02, and SLC 5/03 (channel 1) processor
1747-C13
1747-AIC Isolated Link Coupler PanelView 300 and later with DH-485 port operator interface
Publication 1747-UM011G-EN-P - June 2008
1747-C10
Page 187
Setting Up the DH-485 Network
Below is an example of a DH-485 network.
Example System Configuration Personal Computer
Personal Computer
SLC 5/03, 5/04, or 5/05 Modular Controller 1747-PIC or 1747-UIC Interface Converter
187
SLC 500 20-Point Fixed Controller with 2-Slot Expansion Chassis
1747-AIC 1761-NET-AIC Isolated Link Advanced Interface Coupler Converter
DH-485 Network maximum length 1219 m (4000 ft) 1747-AIC Isolated Link Coupler
1747-AIC Isolated Link Coupler
1747-AIC Isolated Link Coupler
Data Table Access Module SLC 500 20-Point Fixed Controller
SLC 5/01 Modular Controller SLC 500 Fixed Controller
SLC 5/02 Modular Controller
Publication 1747-UM011G-EN-P - June 2008
Page 188
188
Setting Up the DH-485 Network
Configuring the SLC 5/03, SLC 5/04, and SLC 5/05 Channel 0 for DH485 Protocol The RS-232 port (channel 0) of the SLC 5/03, SLC 5/04, and SLC 5/05 processor can be configured for DH485 protocol. Refer to your programming software user manual for software configuration information. You can connect channel 0 of the SLC 5/03, SLC 5/04, and SLC 5/05 processors to a DH485 network using the 1747-CP3 cable and a 1761-NET-AIC Advanced Interface Converter (AIC+). In this case, the AIC+ must be powered with 24V dc. The 1746-P1, 1746-P2, 1746-P4, 1746-P5, and 1746-P6 power supplies provide 24V dc user power which may be used to power the AIC+. 1747-AIC Isolated Link Coupler
SLC 5/01 Processor
24V dc Power Supply
DH-485
SLC 5/03, 5/04, or 5/05 Modular Controller
1747-C11 Cable 1761-NET-AIC Interface 1747-CP3 or 1761-CBL-PM02 Cable RS-232 Network
DH-485 Network
24V dc User Power Connection
Personal Computer
APS
1761-NET-AIC Interface
1747-CP3 or 1761-CBL-PM02 Cable 24V dc User Power Connection
Publication 1747-UM011G-EN-P - June 2008
Page 189
Setting Up the DH-485 Network
Important Planning Considerations
189
Carefully plan your network configuration before installing any hardware. Listed below are some of the factors that can affect system performance: • Amount of electrical noise, temperature, and humidity in the network environment • Number of devices on the network • Connection and grounding quality in installation • Amount of communication traffic on the network • Type of process being controlled • Network configuration The major hardware and software issues you need to resolve before installing a network are discussed in the following sections.
Hardware Considerations You need to decide the length of the communication cable, where you will route it, and how to protect it from the environment where it will be installed. When the communication cable is installed, you need to know how many devices are to be connected during installation and how many devices will be added in the future. The following sections will help you understand and plan the network.
Number of Devices and Length of Communication Cable You must install a 1747-AIC link coupler for each node on the network. If you plan to add nodes later, provide additional link couplers during the initial installation to avoid recabling after the network is in operation. The maximum length of the communication cable is 1219 m (4000 ft). This is the total cable distance from the first node to the last node on the network.
Publication 1747-UM011G-EN-P - June 2008
Page 190
190
Setting Up the DH-485 Network
Planning Cable Routes Follow these guidelines to help protect the communication cable from electrical interference. • Keep the communication cable at least 1.52 m (5 ft) from any electric motors, transformers, rectifiers, generators, arc welders, induction furnaces, or sources of microwave radiation. • If you must run the cable across power feed lines, run the cable at right angles to the lines. • If you do not run the cable through a contiguous metallic wireway or conduit, keep the communication cable at least 0.15 m (6 in.) from ac power lines of less than 20 A, 0.30 m (1 ft) from lines greater than 20 A, but only up to 100 k VA, and 0.60 m (2 ft) from lines of 100 k VA or more. • If you run the cable through a contiguous metallic wireway or conduit, keep the communication cable at least 0.08 m (3 in.) from ac power lines of less than 20 A, 0.15 m (6 in.) from lines greater than 20 A, but only up to 100 k VA, and 0.30 m (1 ft) from lines of 100 k VA or more. Running the communication cable through conduit provides extra protection from physical damage and electrical interference. If you route the cable through conduit, follow these additional recommendations: – Use ferromagnetic conduit near critical sources of electrical interference. You can use aluminum conduit in non-critical areas. – Use plastic connectors to couple between aluminum and ferromagnetic conduit. Make an electrical connection around the plastic connector (use pipe clamps and the heavy gauge wire or wire braid) to hold both sections at the same potential. – Ground the entire length of conduit by attaching it to the building earth ground. – Do not let the conduit touch the plug on the cable. – Arrange the cables loosely within the conduit. The conduit should contain only serial communication cables. – Install the conduit so that it meets all applicable codes and environmental specifications. For more information on planning cable routes, see Industrial Automation Wiring and Grounding Guidelines, publication 1770-4.1.
Publication 1747-UM011G-EN-P - June 2008