Rockwell Automation 1779-KP3R User Manual

Data Highway II PLC-3 Communication Interface Module
(Cat. No. 1779-KP3, KP3R)
User Manual

Table of Contents

Preface P-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Purpose of This Manual P-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Who Should Read This Manual P-1 Precautionary Notes P-1 What This Package Contains P-1 Frequently Used Terms P-2 Related Products P-2 Related
Publications
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Overview 11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
P-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter Introducing the 1779-KP3 11 A Data Data Allen-Bradley Communication Interface Modules 19
Objectives
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Brief Look at Data Highway II
Highway II Cabling Highway II Communication
11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12. . . . . . . . . . . . . . . . . . . . . . . . . .
13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
14. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
Installing the 1779-KP3 Communication Interface 21. . . . . . .
Chapter Printed Circuit Boards 21 Set the Switches on the Host Board 21 Set the Thumbwheel Switches 25 Install the KP3 Module 26 Use Connecting Connecting How a PLC-3 Backup System Works on Data Highway II 213 Installing a Back-up PLC-3 System on Data Highway II 214 Creating a Backup System for a PLC-3 Communicating on
Objectives
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
the LIST Option to Select Additional KP3 Parameters
the KP3 to Data Highway II a PLC-3 to Multiple Data Highway II Links
Multiple Links
21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27. . . . . . .
212. . . . . . . . . . . . . . . . . . . .
212. . . . . . . . .
. . . . . . .
. . . . . . . .
218. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Programming 31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter Transferring Using Using Addressing Techniques 38 Addressing Data Highway II Nodes 39 Addressing Memory 310 Programming Examples 314
Objectives
Data the MOVE Command to T the TMOVE Command to T
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ransfer Data 33. . . . . . . . . . . . . . . .
ransfer Data 35. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
Table of Contentsii
Operation and Troubleshooting A1. . . . . . . . . . . . . . . . . . . . .
Appendix KP3 Operation A1 LED Indicators A2 Using Troubleshooting the KP3 A5
Objectives
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
the Exit Request Switch
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A5. . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Codes B1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix Error Codes B1
Objectives
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Specifications C1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix
Objectives
C1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Preface

Preface
Purpose of This Manual
Who Should Read This Manual
This manual describes the Allen–Bradley 1779–KP3, –KP3R Communication Interface Module and provides information on:
the Data Highway II
Network other Allen–Bradley communication interface modules the 1779–KP3, –KP3R hardware and firmware components installing and configuring the 1779–KP3, –KP3R Module connecting the 1779–KP3, –KP3R Module to the Data Highway II
network installing a backup cable system programming the 1779–KP3, –KP3R Module
You should read this manual before using the 1779–KP3, –KP3R Communication Interface Module. We assume you have basic knowledge of:
the Data Highway II network the Data Highway Plus network Allen–Bradley PLC Programmable Controllers programming through Allen–Bradley 6200 software
Precautionary Notes
What This Package Contains
In this manual, you may see:
Important notes that stress information critical to your understanding
and use of the product. WARNINGs that describe where you may be injured if you do not
follow procedures properly. CAUTIONs that describe where equipment may be damaged if you do
not follow procedures properly.
If you have ordered the 1779–KP3 or –KP3R communication interface module, you should have received:
the module itself this user manual
P–1
Preface
Frequently Used Terms
To make this manual easier to read, we occasionally use abbreviated versions of some terms. You may see:
Term/symbol: Meaning:
DH the Allen–Bradley Data Highway network
DHII
DH+
KP3 module or KP3 the 1779–KP3 communication interface
KP3R module or KP3R the 1779–KP3R communication interface
< >
the Allen–Bradley Data Highway II network
The Allen–Bradley Data Highway Plus network.
module. Generally to both types of modules; we specifically use KP3R when only referring to it.
module (the redundant–cabling version of the KP3 module).
(angle brackets) used in text describing programming. It symbolizes where you need to add information specific to your application.
, we use ‘
‘KP3” to refer
Important: In this manual, we use the term ‘‘KP3” to refer to both the 1779–KP3 and 1779–KP3R Modules. When it is necessary to specify the 1779–KP3R Module alone, we do so.
Related Products
P–2
The 1779–KP3 is part of a complete line of Allen–Bradley Data Highway II product family. The following table lists others:
Product: Catalog Number:
Data Highway II Asynchronous–device Interface
Data Highway II Synchronous–device Interface
Data Highway II PLC–2 Communication Interface Module
Data Highway II/ Data Highway Plus Interface Module
1779–KFL, –KFLR
1779–KFM, –KFMR
1779–KP2, –KP2R
1779–KP5, –KP5R
Preface
Related Publications
The following table shows you where to read more about related Allen–Bradley products:
Title: Publication Number:
Data Highway II Local Area Network Overview
Data Highway/Data Highway Plus/Data Highway II/Data Highway 485 Cable Planning and Installation Manual
Data Highway II Asynchronous–device Interface
Data Highway II Synchronous–device Interface
Data Highway II PLC–2 Communication Interface Module
Data Highway II/ Data Highway Plus Interface Module
1779–2.10
1770–6.2.2
1779–6.5.1
1779–6.5.2
1779–6.5.3
1779–6.5.6
P–3
Overview
Chapter
1

Chapter Objectives

Introducing the 1779-KP3

This chapter serves as an introduction to the Allen–Bradley Data Highway II PLC–3 Communication Interface Module and contains the following sections:
Introducing the 1779–KP3 Data Highway II Overview Data Highway II Communication Allen–Bradley Communication Interface Modules
This information is meant to provide you with a general overview of these topics. For further detailed discussions of any of the subjects listed above, refer to the Preface section titled Related Publications. If you are already familiar with these subjects, you can proceed to Chapter 2.
The 1779–KP3 is a Data Highway II communication interface module that allows you to connect your PLC–3 Data Highway II network, providing you with the ability to communicate to:
other nodes on your Data Highway II link nodes on another Data Highway II link Data Highway Plus nodes on a Data Highway Plus sub–network
Programmable Controller to the
The 1779–KP3 operates in a single slot of an Allen–Bradley PLC–3 chassis. The front of the module (figure 1.1) contains:
LEDs that indicate the state of the module and the state of its
connection to the network
two ports for use in a backed–up system a single thumbwheel switch that identifies the KP3 interface module
from other KP3 interface modules in the PLC–3 chassis
three thumbwheel switches that determine the node address a single Data Highway II auxiliary access port that is reserved for
future use
The front panel of the 1779–KP3R Module is shown in Appendix A (figure A.1) of this manual.
1-1
Chapter 1
Overview
Figure 1.1
Panel of the KP3
Front

A Brief Look at Data Highway II

The following sections provide a brief overview of the Data Highway II environment and related concepts you should be familiar with before using the 1779–KP3 module.
Allen–Bradley Data Highway II is local area network designed for the plant environment that allows your intelligent devices to communicate with each other (figure 1.2).
Figure 1.2 Sample
Data Highway II Network
Computer
VAX
1779-KFM Interface
computer
1779-KP3
Interface
Data Highway II
1779-KFL Interface
PLC-3
10992-I
1-2
Chapter 1
Overview
The Data Highway II network offers:
a transmission rate of one megabit per second high immunity to noise easy connection to control devices
This network is meant for time–critical operations where the status or position of one device (e.g., PLC Programmable Controller, personal computer, etc.) may affect another device, or an entire production line.

Data Highway II Cabling

All communication on Data Highway II travels from one device to another through the trunkline (figure 1.3). The trunkline varies in length depending on the number of nodes and their location. Data Highway II cabling is compatible with IEEE Specification 802.4 for single channel phase–continuous FSK (frequency shift keying) systems.
You connect Allen–Bradley PLC Programmable Controllers to the Data Highway II trunkline via an Allen–Bradley communications interface. Data Highway II droplines connect the communication interfaces to the trunkline. The mechanical connection between the dropline and the trunkline is a local tap (figure 1.3).
Figure 1.3
KP3
The
Communications
Communication Interface
Interface on Data Highway II
1779-KP3
Allen-Bradley PLC-3 Programmable Controller
Dropline
Data Highway II Trunkline
local tap
10993-I
For information on planning and installing Data Highway II refer to the Allen–Bradley Data Highway/Data Highway Plus/Data Highway II/Data Highway 485 Cable Planning and Installation Manual, publication 1770–6.2.2.
1-3
Chapter 1
Overview
You also have the option of running redundant cabling. You can order Allen–Bradley Data Highway II interface modules with dual ports, which allows you to install a back–up cable system. Thus providing more security for your system if a failure occurs. See Chapter 2 for information on redundant cabling.

Data Highway II Communication

A device and its communication interface make up a node on the Data Highway II network (figure 1.4). The node sending a message is the source node; the node receiving a message is the destination node.
Figure 1.4
Data Highway II Nodes
Sample
1779-KP3
PLC-3
Data Highway II
The source node sends the message.
1779-KFM
Computer
The destination node receives the message.
10994-I
Allen–Bradley Data Highway II has its own Data Highway II proprietary communication protocol between the network communication interfaces.
All communication interface modules connected to this network ‘‘talk” to each other using this protocol. For more information on Data Highway II protocol, refer to Data Highway II Asynchronous–device Interface User’s Manual (Publication 1779–6.5.1) or the Data Highway II Synchronous–device Interface User’s Manual (Publication 1779–6.5.2).
1-4
In a Data Highway II configuration, the nodes are situated along a physical bus (figure 1.5). Communication is sent across the entire length of the cable to the end nodes. Each node waits and ‘‘listens” for any message addressed to it, accepts the message, and signals the original sender that it has received the message.
Figure 1.5
Highway II is a Physical Bus Network
Data
Chapter 1
Overview
Node
7
Node
16
10995-I
Node
1
Node
31
While the physical layout of the Data Highway II network is a bus, the method of access to the network is a logical ring. Nodes are allowed to communicate on the network while they posses the token. This token is passed around the ring according to the nodes’ addresses on the Data Highway II link. While a node possesses the token it is the master, and it is the only node that can send commands out to the network. When it is finished, the token passes to the node with the next highest address, regardless of the node’s physical proximity to the previous node (figure
1.6).
Figure 1.6
Conceptual View of Data Highway II Logical Ring Communication
A
Node
1
Node
31
Node
7
Node
16
10996-I
When a node leaves the ring unexpectedly, the ring performs a recovery procedure. The node with the next lowest node number attempts to pass the token to the exiting node, but because it cannot, the ring must undergo a recovery procedure to rebuild itself. When the message returns to the inquiring node, the node can then pass the token to the node that has the next highest number.
1-5
Chapter 1
Overview
Data Highway II communication interfaces operate at different modes that vary according the their relationship with the logical ring. The modes are:
In–ring mode, which is when the interface is a fully operational
member of the ring. It accepts messages, replies to them, and is ready to send them.
Seeking–membership mode, which is when the interface is trying to
become a member of the ring so that it can send messages.
When we talk of communication on a Data Highway II network, it is important to keep in mind the concept of a link. A Data Highway II link is one section of trunkline, including nodes, that makes up a Data Highway II network (figure 1.7); links are limited by length of the trunkline. Nodes on different links are ‘‘off–link” with respect to each other; nodes on the some link are ‘‘on–link” with respect to each other.
Figure 1.7 A
Data Highway II Link
Node
Node
Node Node
Node
10997-I
You can expand your Data Highway II network with the help of two Allen–Bradley 1779–KP5 communication interface modules configured as bridges. In this case, you would have two Data Highway II links (figure 1.8).
1-6
Figure 1.8
Data Highway II Links
Two
Chapter 1
Overview
Node
C
Node
Data Highway II Link 1
Data Highway II Link
Node
A
KP5
KP5
2
Node
B
Node
DE
Figure 1.8 shows two Data Highway II links. Notice that to ‘‘Node A”, ‘‘Node B” is on–link, and ‘‘Node D” is off–link. Data Highway II nodes consider other nodes ‘‘off–link” if, to communicate with them, the Data Highway II nodes have to cross a bridge.
The link numbers become an important factor when you are addressing messages. For example, if you have two Data Highway II networks bridged together via two Allen–Bradley KP5 modules, the two links have different link numbers (Figure 1.9). You use this link information inside your message instruction (see Chapter 3 on Programming for more information).
10998-I
Figure 1.9 Example
Data Highway II Link 1
Data Highway II Link 2
of T
Nodes on the same link (on–link), have the same link number; nodes on different link (off–link), have different link numbers. Note that your local link may always be specified as link zero; by default, the link you are connected to is considered zero with respect to other local nodes you may be communicating with.
wo Data Highway II Links
PLC-2
Link = 1
KP5
KP5
PLC-3
Link = 2
10999-I
1-7
Chapter 1
Overview
You can also connect a Data Highway Plus subnetwork to your Data Highway II network via one Allen–Bradley KP5 module. When you have a Data Highway Plus sub–network attached to your Data Highway II network, the nodes on Data Highway Plus are considered on–link to the nodes on Data Highway II.
If you are sending a message instruction from a PLC–3 controller on Data Highway II to a PLC–5
controller on Data Highway Plus, you would use
the same link number for both (figure 1.10).
Figure 1.10 Example
of Using Link Numbers When Addressing
PLC-3
Link = 0
KP5
Data Highway Plus Sub-link
Data Highway Link 0
PLC-5
Link = 0
11000-I
Note that in the this example, the PLC–5 controller considers the KP3 module a remote station and may refer to the KP3 as offlink. The PLC–5 controller cannot communicate to stations on another Data Highway II link.
1-8
Note also that when we speak of KP3 communication on the Data Highway II network, there are different types: communication initiated by the KP3 and communication initiated via a computer. Refer to the following table.
The KP3 has the ability to initiate simple data transfers to:
another KP3 uploading and downloading of
a KP2 diagnostics a PLC–5 controller (via a KP5)
You can initiate via a computer (through a KFM or KFL module):
processor memory
station management
Chapter 1
Overview

Allen-Bradley Communication Interface Modules

The following tables show the types of on–link and off–link connections that are possible and the type of Allen–Bradley Communication Interface Modules you need.
To connect this to a Data Highway II Link:
an Allen–Bradley PLC–3 Controller 1779–KP3, –KP3R an Allen–Bradley PLC–2 Controller 1779–KP2, –KP2R a synchronous interface device
(RS–449 compatible) an asynchronous interface device
(RS–232, –422 compatible) another Data Highway II link two 1779–KP5 modules
a Data Highway Plus sub–network link
1
The 1779–KP2 module does not allow communication to or from
other Data Highway II links.
To connect this to a Data Highway Plus Sub–network Link:
You must use this Allen–Bradley communication interface:
1
1779–KFM, –KFMR
1779–KFL, –KFLR
configured as bridges one 1779–KP5 Module (see
table below)
You must use this Allen–Bradley communication interface:
an Allen–Bradley PLC–3 Controller 1775–S5, –SR5 an Allen–Bradley PLC–2 Controller 1785–KA3 an Allen–Bradley PLC–5 Controller (built–in interface) personal computer 1784–KT and 6001–F1E
Standard Driver Software or 1785–KE for RS–232 communication
1-9
Chapter 1
Overview
operation LEDs
operation LEDs
PASS– FAIL–
TEST–
KP3
BACKUP
A
BACKUP
B
1
G. IN–RING Y. SEEKING
DUP ADDR
Thumbwheel switch that distin guishes this KP3 from others in the same chassis.
Two ports for providing optional PLC-3 backups.
Auxiliary
Data Highway II port (not used)
operation LEDs
Dropline connection to the network.
BACKUP MODE
A C T
NORMAL
I V I T Y
DATA
HWY II
PORT
ERROR
SAT
EXIT
COMP
DHII
AUX
ACCESS
EXIT REQUEST
PORT READY
SIG QUAL TAP FAIL
EXT TAP CONFIG
L
M
I
S
N
D
K
A D D R E S S
operation LEDs
LED that indicates you have stopped communication to the net work.
Optional button you can use to stop communication to the network.
1
1
Thumbwheel switches that
indicate this node's ad dress
1-10
Chapter
2
Installing the 1779-KP3 Communication Interface

Chapter Objectives

Printed Circuit Boards

This chapter contains the information you need to install your 1779–KP3 Communication Interface module. It covers the following topics:
printed circuit boards setting the switches on the host board setting thumbwheel switches installing the KP3 into the PLC–3 chassis using the LIST option to select additional KP3 parameters connecting the KP3 to Data Highway II connecting a PLC–3 to multiple Data Highway II links how a PLC–3 backup system works on Data Highway II installing a backup PLC–3 on Data Highway II
The 1779–KP3 interface is a single module that consists of two printed circuit boards:
the host board the media access controller (MAC) board
There are switches associated with each of these boards. Read the following section before installing your module.

Set the Switches on the Host Board

Host Board
Mac Board
Before you install your KP3 interface, you must set the switches located inside the module on the host board. There are two groups of switches: Group 1 and 2. You can view them from the top of the module, looking inside at the board (figure 2.1).
Figure 2.1
V
iew of Switches on the KP3 Module'
Top
Group 1 Group 2
1 2 3 4 5 6 7 8
s Host Board
1 2 3 4 5 6 7 8
Front of Module
11001-I
21
Chapter 2
Installing the 1779-KP3 Communication Interface
You set these switches to select module options and protection/privilege options. Keep in mind that when the switch is down, it is on (closed); when it is up, it is off (open). Figure 2.2 shows an example setting; the white areas correspond to the movable part within each switch.
Figure 2.2 Clarifying
the Switch Positions
Up = OFF
Down = ON
1 2 3 4 5 6 7 8
Switch 3 is OFF, the rest are ON.
11002-I
Setting Switches in Group 1
In Group 1, switches 1 and 2 determine the actions of the KP3 and PLC–3 controller if either should fault for some reason. Switches 3 and 4 are used if you are using your KP3 in a backup system (see Installing Backup PLC–3s on Data Highway II later in this chapter for more information). Switches 5 through 8 are reserved for future Allen–Bradley applications and you should not set them. Table 2.A lists the Group 1 switches and the setting indications.
22
Table 2.A Group1
Chapter 2
Installing the 1779-KP3 Communication Interface
Switch Settings
If: Set
switch number:
you want the KP3 to fault and disable its Data HIghway II port if the PLC-3 faults
you want the KP3 Data Highway II port to remain enabled if the PLC-3 faults
you want the PLC-3 to fault if the KP3 faults
you want the PLC-3 to remain enabled if the KP3 faults
the KP3 is part of a backup system
Important:
your primary and backup KP3s to the same link address. When the backup is in ef link address of the backup KP3 as one number greater than the node thumbwheel. If switch 3 is OFF switch 1
the PLC-3, not the KP3, is in a backup system
Important:
is in a backup PLC-3. It will not react to a switch over
If you select OFF
must
be OFF also.
The KP3 will keep the node address when it
, set the thumbwheels of
fect, Data Highway II sees the
, then
.
To:
1 OFF
ON
2 OFF
ON
3 OFF
ON
you want the backup connector on the KP3 enabled
you want the backup connector on the KP3 disabled
Important:
Do not touch switches 5,6,7, and 8; they are reserved for future use.
4 OFF
ON
Setting Switches in Group 2
The Group 2 switches deal with programming options. Table 2.B lists the Group 2 switches and the setting indications. Switches 1, 2, 3, 7 and 8 are reserved for future Allen–Bradley applications and you should not set them.
23
Chapter 2
Installing the 1779-KP3 Communication Interface
Table 2.B
2 Switch Settings
Group
If: Set
switch
number:
you want the KP3 to accept write commands to the program areas of the PLC-3 memory keyswitch position
you want the PLC-3 keyswitch position checked to determine if write commands are allowed to the program areas of PLC-3 memory
you want the KP3 to accept write commands to the data table areas of the PLC-3 memory keyswitch position
the PLC-3 keyswitch position checked to determine if write commands are allowed to the data table areas of PLC-3 memory
you want the KP3 to accept write commands to the status areas of memory position
you want the PLC-3 keyswitch position checked to determine if write commands are allowed to the status areas of PLC-3 memory
, regardless of the PLC-3 keyswitch
, regardless of the PLC-3
, regardless of the PLC-3
To:
4 ON
OFF
5 ON
OFF
6 ON
OFF
24
Important:
Do not touch switches 1, 2, and 3; they are reserved for future use.
The MAC Board Switch Your Module May Have
If your 1779–KP3 Interface has a series A MAC board, you will also have a 2–switch group on the MAC board. You can view it from the top of the module looking down at the MAC board. Figure 2.3 shows the location of this switch in relation to the host board switches; this is a side view of this group. Note that this switch does not exist on redundant modules (1779–KP3R) or 1779–KP3 modules with series B MAC boards.
Figure 2.3 The
MAC Board Switch Group
Side view of 2-switch Group
Mac Board
Front of Module
Host Board
1 2 3 4 5 6 7 8
1 2 3 4 5 6 7 8
11003-I
Chapter 2
Installing the 1779-KP3 Communication Interface
Verify that both of the switches in this group are set to OFF (open). Figure 2.4 shows the position they should remain in.
Figure 2.4
Position of the MAC Switches (Front V
Correct
OFF = up
iew)

Set the Thumbwheel Switches

1 2
Mac Board
11004-I
Important: Do not to change these switch settings if you have them. In the later (series B) versions of the KP3 MAC board, changes were made to the hardware, making the need for this MAC switch unnecessary.
There are four thumbwheel switches on the KP3’s front panel. Use the one at the top of the module (figure 2.5) to set the KP3’s module number. This number distinguishes it from other KP3 modules in the chassis. You should start with the number 1 and as you add KP3 modules to the chassis, go to the next highest consecutive number.
Important: If you are using the KP3 in a backup system make sure the module numbers in the primary and backup KP3s are the same.
Figure 2.5 The
Thumbwheel Switch to Set the KP3 Module Number
top of module
PASS
FAIL
TEST
KP3
_ _ _
3
Thumbwheel Switch
25
Loading...
+ 49 hidden pages