Rockwell Automation 1785-KA5PB User Manual

Data Highway Plus/DH485 Communication Adapter Module

(Cat. No. 1785KA5/B, KA5P/B)
User Manual

Important User Information

Because of the variety of uses for the products described in this publication, those responsible for the application and use of this control equipment must satisfy themselves that all necessary steps have been taken to assure that each application and use meets all performance and safety requirements, including any applicable laws, regulations, codes and standards.
The illustrations, charts, sample programs and layout examples shown in this guide are intended solely for example. Since there are many variables and requirements associated with any particular installation, Allen-Bradley does not assume responsibility or liability (to include intellectual property liability) for actual use based upon the examples shown in this publication.
Allen-Bradley publication SGI–1.1, “Safety Guidelines For The Application, Installation and Maintenance of Solid State Control” (available from your local Allen-Bradley office) describes some important differences between solid-state equipment and electromechanical devices which should be taken into consideration when applying products such as those described in this publication.
Reproduction of the contents of this copyrighted publication, in whole or in part, without written permission of Allen–Bradley Company, Inc. is prohibited.
Throughout this manual we make notes to alert you to possible injury to people or damage to equipment under specific circumstances.
ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property damage or economic loss.
Attention helps you:
- Identify a hazard
- Avoid the hazard
- recognize the consequences
Important: Identifies information that is critical for successful application and understanding of the product.
Important: We recommend you frequently backup your application programs on appropriate storage medium to avoid possible data loss.
1995 AllenBradley Company, Inc.
IBM
is a registered trademark of International Business Machines Corporation
PLC, PLC2, PLC3 and PLC5 are registered trademarks of AllenBradley Co. Inc.
DH+,
DHII,
PLC5/10, PLC5/12, PLC5/15, PLC5/25, PLC5/30, PLC5/40, PLC5/60, PLC5/250, SLC, SLC 5/01, SLC 5/02, SLC 5/03
and
SLC 500 are trademarks of AllenBradley Co., Inc.

Summary of Changes

Summary of Changes
Summary of Changes
This publication contains new information not included in the last release.
New Information
European Union Directive Compliance
Information on the European Union Directive is located on pages 2-1 and A-1.
Auto Routing Feature
Detailed information on using the Auto Routing Feature is located on pages 2-4 and 2-5.
Power Supply Requirements
Detailed information on power supply requirements for the European Union Directive is located on page 2-13.
Change Bars
The areas in this manual which are different from the previous edition are marked with change bars (as shown to the right of this paragraph) to indicate the addition of new or revised information.
P-1

Table of Contents

Using this Manual
Purpose Who Should Read this Manual Frequently Used Terms Related Updated
of this Manual
Publications
Information
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Summary of Changes P1. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Overview of the 1785KA5
Communication Adapter Module 11. . . . . . . . . . . . . . . .
What this Chapter Contains 11. . . . . . . . . . . . . . . . . . . . . . . . . . . .
What is the 1785KA5 Communication Adapter Module? 11 DH+ and DH485 Networks 12 The DH485 Network 14 Compatible Products 15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . .
Installing the 1785KA5
Communication Adapter Module 21. . . . . . . . . . . . . . . .
What this Chapter Contains 21. . . . . . . . . . . . . . . . . . . . . . . . . . . .
European Union Directive Compliance 21
the Switches
Setting Mounting the 1785KA5 Communication Adapter Module
in an I/O Rack Panelmounting the 1785KA5 Communication Adapter Module 29 Connecting the 1785KA5 Module 210 Powering Up the 1785KA5 Module 216
. . . . . . . . . . . . . . . . . . .
22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
ii ii
i
i i i
Communicating through the 1785KA5
Communication Adapter Module 31. . . . . . . . . . . . . . . .
What this Chapter Contains 31. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Internet Protocol Addressing 31 1785KA5 Router Communication 34 1785KA5 PLC5 Controlling
Gateway Communication
to SLC Communication
the Flow of Data
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
36. . . . . . . . . . . . . . . . . . . . . .
38. . . . . . . . . . . . . . . . . . . . . . . . . . .
317. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Specifications A1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using this Manual
Preface
Purpose
of this Manual
Who Should Read this Manual
Frequently Used Terms
This manual describes the 1785-KA5 Data Highway Plus/DH485 communication adapter module. It contains information for:
installing and troubleshooting the module using the module
We assume that you are already familiar with:
Allen-Bradley PLC and SLC processors Allen-Bradley DH485 and Data Highway Plus
In this manual, we use the following terms:
This term Means
1785KA5 module, or 1785KA5
DH+ Data Highway Plus
DH485 DH485 Data Highway
link a physical network
PLC programmable logic controller
SLC small logic controller
station (or node) the interface point at which devices, such as programmable
1785KA5 Data Highway Plus/DH485 communication adapter module
controllers, connect to the network. Usually the station is an interface module, except for the PLC5 directly to the Data Highway Plus
and T50 terminal, which connect
i
Preface
Using this Manual
Related
Publications
Updated Information
These Allen-Bradley publications contain related information:
Publicaton Publication Number
SLC 500 Overview brochure 17461.1
Bulletin 1746/47 SLC 500 Modular Hardware Style Programmable Controllers I/O manual
Hand Held Terminal user's manual 1747809
Programming Terminals (Cat. Nos. 1784T45, T47, T50) product data
DH+ LAN product data 17852.6
PLC5 Family Processor product data 17852.1
DH/DH+/DH485 Protocol and Command Set reference manual
1747804
17842.1
17706.5.16
Also see the Advanced Programming Software (APS) user’s manual (Cat. No. 1747-NM002 Series A.)
Since the last release of this manual, some information has changed. We call your attention to the new information with a black revision bar in the margin as shown here.
ii
Chapter
1
Overview of the 1785KA5 Communication Adapter Module

What this Chapter Contains

What is the 1785KA5 Communication Adapter Module?
Read this chapter for information on:
what the 1785-KA5 communication adapter module is what DH+ and DH485 networks are compatible products
The 1785-KA5 communication adapter module lets devices on the Data Highway Plus (DH+) network communicate with devices on the RS-485 Data Highway (DH485) network for:
uploading/downloading of SLC 500 programs from a DH+ device
message communication between DH+ PLC processors and DH485
SLC 500 processors
The 1785-KA5 communication adapter module features:
concurrent operation as a gateway or router:
- in gateway mode, DH+ devices must initiate messages; DH485 devices cannot initiate messages
- in router mode, both DH+ and DH485 devices that implement internet protocol (IP) can initiate messages (SLC 5/01, SLC 5/02, and fixed controllers do not support IP)
support for existing IP
compatibility with other Allen-Bradley DH+ hardware and software
products
a baud rate of 57.6 Kbps on the DH+ network and 300bps-19.2 Kbps on
the DH485 network
1-1
Chapter 1
Overview of the 1785KA5 Communication Adapter Module

DH+ and DH485 Networks

This section describes the DH+ and DH485 networks. For more information on these networks, see the DH/DH+/DH485 Protocol and Command Set reference manual (publication 1770-6.5.16).
DH+ Networks
DH+ is a baseband local area network (LAN) that allows peer-to-peer communication among a maximum of 64 nodes. Each node has a unique station address between 0–63 decimal and 0–77 octal. Use DH+ when you want to connect a small number of nodes on a common link or with other industrial networks as a part of a plant-wide CIM facility. DH+ features:
remote programming of PLC-2, PLC-3, and PLC-5 processors on your
network (using Allen-Bradley 6200 Series software)
direct connections to PLC-5 processors and industrial programming
terminals
easy reconfiguration and expansion if you want to add more nodes later
a communication rate of 57,600 bits per second
The DH+ implements peer-to-peer communication with a token-passing scheme to rotate link mastership among its nodes. Since this method does not require polling, it helps provide time-efficient reliable data transport. The DH+ uses factory set timeouts to restart token-passing communication if the token is lost because of a defective node.
1-2
Chapter 1
Overview of the 1785KA5 Communication Adapter Module
The 1785-KA5 communication adapter module is available in two versions:
Use this version If your application is
1771 I/O rack mount (Cat. No. 1785-KA5/B)
standalone panel mount (Cat. No. 1785KA5P/A)
primarily DH+ with multiple 1771 I/O racks and SLC 500 subnetworks within close proximity
primarily a SLC (DH485) environment with no 1771 I/O racks in close proximity
Figure 1.1 shows the module’s hardware features:
Figure 1.1 1785KA5
module
Status LEDs
DH+ connection (3-pin Phoenix connector)
DH+ remote programming port (9pin)
Dshell
programming connection (8pin modular connector)
DH485 connection (6 - pin
Phoenix
connector)
1785-KA5/B I/O rack mount
External power (+ 5Vdc) connector (4 -pin Phoenix connector)
1785-KA5P/B panel mount
19190
1-3
Chapter 1
Overview of the 1785KA5 Communication Adapter Module

The DH485 Network

This section describes the DH485 network. For more information on this network, see the DH/DH+/DH485 Protocol and Command Set reference manual (publication 1770-6.5.16).
DH485 is a low cost, peer-to-peer programming and data acquisition link for a variety of Allen-Bradley products, such as the SLC 500 family of programmable controllers. A DH485 network provides a networking solution for smaller applications (up to 32 nodes) within a small radius. Each node has a unique station address between 0–31 decimal. The maximum cable length is 4,000 feet. The DH485 link has a maximum communication rate of 19,200 bits per second.
A DH485 network has a topology that is similar to that of a DH or DH+ network. DH485 is based on the EIA Standard RS-485 Electrical Signalling Specification and implements token-passing protocol with rotating mastership. The link protocol delimits messages, detects and signals errors, retries after errors and controls message flow.
A variety of Allen-Bradley products, such as the SLC 500 family of controllers, the SLC 500 APS programming software, the 1784-KTX,
-KTXD and -KR modules, and the 1770-KF3 module act as token-passing masters on the DH485 network. The DH485 protocol also supports slave (respond-only) mode for low-level devices on the network.
The 1784-KTX, -KTXD and -KR modules provide an IBM PC backplane link to the DH485. It provides an asynchronous link to connect devices on the network. An asynchronous device can interface with a DH485 module directly or through a modem link.
1-4
Chapter 1
Overview of the 1785KA5 Communication Adapter Module

Compatible Products

You can use the following Allen-Bradley products with the 1785-KA5 module:
This product Has this Cat. No.
DH+ PLC2 Communication Module 1785KA3
Processor Communication Interface Module (for IBM PC/XT/AT)
Processor Communication Interface Module (for IBM PS/2)
Communication Interface Module for the 1784T47 Programming Terminal
I/O ScannerCommunication Adapter Module 1775S5
DH+ PLC3 Communication Module 1775S5, SR5
SLC 500 Hand Held terminal 1747PT1 (with 1747PTA1E
Portable Programming Terminal 1784T45, T47
Advanced Programming Software 1747PA2E (series x and up)
Standard Driver Software 6001F1E, F1E2
6001NET (for VAX) Network Communication Software 6001A1D, G1D, A1DB, G1DB
1784KT
1784KT2
1784KL
firmware)
The following Allen-Bradley PLC and SLC processors are compatible with the 1785-KA5 module:
PLC-5/10 PLC-5/12 PLC-5/15 PLC-5/25 PLC-5/30 PLC-5/250 PLC-5/40 PLC-5/60 SLC 5/03 SLC 5/04 SLC 500 (can only reply to remote messages) SLC 5/01 (can only reply to remote messages) SLC 5/02 (can only reply to remote messages)
1-5
Chapter
2
Installing the 1785KA5 Communication Adapter Module

What this Chapter Contains

European Union Directive Compliance

This chapter explains how to install the 1785-KA5 module in a 1771 I/O rack or in a stand-alone panel mount setup. It contains the following sections:
the European Union Directive Compliance setting the switches installing the 1785-KA5 module in an I/O rack installing the 1785-KA5 panel-mount version connecting the module powering up
If this product is installed within the European Union or EEA regions and has the CE mark, the following regulations apply.
EMC Directive
This apparatus is tested to meet Council Directive 89/336/EEC Electromagnetic Compatibility (EMC) using a technical construction file and the following standards, in whole or in part:
EN 50081-2 EMC – Generic Emission Standard, Part 2 – Industrial
Environment
EN 50082-2 EMC – Generic Immunity Standard, Part 2 – Industrial
Environment
The product described in this manual is intended for use in an industrial environment.
Low Voltage Directive
This apparatus is also designed to meet Council Directive 73/23/EEC Low Voltage, by applying the safety requirements of EN 61131–2 Programmable Controllers, Part 2 – Equipment Requirements and Tests.
For specific information that the above norm requires, see the appropriate sections in this manual, as well as the following Allen-Bradley publications:
Industrial Automation Wiring and Grounding Guidelines, publication
1770-4.1
Guidelines for Handling Lithium Batteries, publication AG-5.4 Automation Systems Catalog, publication B111
2-1
Chapter 2
Installing the 1785KA5 Communication Adapter Module

Setting the Switches

The 1785-KA5 module has three banks of DIP switches that let you select various communication options. The switch assemblies and their corresponding options are:
To set the Use switch assembly
DH485 station address and baud rate SW1
DH+ station address and the auto route enable option SW2
DH485 and DH+ channel LINK_IDs SW3
Figure 2.1 shows the location of the switches on the 1785-KA5 module.
Figure 2.1 1785KA5 1785KA5/B shown)
DH485 BAUD RA
communication adapter module switch assemblies (cat. no.
TE
LEGEND
DH485 STATION ADDRESS
B0 B1 B2 B3 B4
ON OFF
SW - 1 SW - 2
switch assemblies
Important: The 1785-KA5 uses the following convention:
on = binary 1 off = binary 0
SW - 3
B7
RESERVED
B6
AUTO ROUTE ENABLE
B5 B4 B3
DH+ STA
B2 B1 B0
B3 B2 B1 B0
B3 B2 B1 B0
TION ADDRESS
DH485 CHANNEL DH+ IP LINK ID
DH+ CHANNEL LINK ID
19191
OFF
ON
(0)
(1)
2-2
Chapter 2
Installing the 1785KA5 Communication Adapter Module
SW1: DH485 Station Address and DH485 Baud Rate
Use switch assembly SW-1 to select the DH485 station address and baud rate for the 1785-KA5 module. The following sections show you how.
Setting the DH485 Station Address
Set switches 1-5 of SW-1 to the DH485 station address for the 1785-KA5. Valid addresses are 0-31 decimal or 0-37 octal. Set the switches as follows:
Most significant octal digit (switches 12)
To set to Set switch 1 to Set switch 2 to
0 0 0
1 0 1
2 1 0
3 1 1
Least significant octal digit (switches 35)
To set to Set switch 3 to Set switch 4 to Set switch 5 to
0 0 0 0
1 0 0 1
2 0 1 0
3 0 1 1
4 1 0 0
5 1 0 1
6 1 1 0
7 1 1 1
For example
To set the module’s DH485 station address to 15 decimal or 17 octal, set the SW-1 switches as follows:
Set switch To
1 0
2 1
3 1
4 1
5 1
most significant octal digit = 1
least significant octal digit = 7
2-3
Chapter 2
Installing the 1785KA5 Communication Adapter Module
Setting the DH485 Baud Rate
Set switches 6-8 of SW-1 to the DH485 baud rate as follows:
To set this baud rate Set switch 6 to Set switch 7 to Set switch 8 to
300 0 0 0
600 0 0 1
1200 0 1 0
2400 0 1 1
4800 1 0 0
9600 1 0 1
19200 1 1 0
RESERVED 1 1 1
SW2: Auto Routing and DH+ Station Address
The module has an auto routing feature that broadcasts an information packet over the Data Highway network every 30 seconds.
The following illustration shows the only two network configurations that you must use auto routing with:
PLC5 PLC5
Data Highway Plus
1785KA51785KA5
DH+
PLC5
PLC5
Desired
Communication
DH+
DH485
2-4
SLC5/03
Desired
Communication
SLC5/03
DH485
1785KA5
1785KA5
DH485
Loading...
+ 33 hidden pages