The text of a manual · part 2 of 23
Bulletin 1771 Communication Controller Module (Cat. Nos. 1771-KE, -KF) User's Manual, pages 11 to 20
Pages 11 to 20 of 228
The original document is the PDF (9.6 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 1771-KE
Page 11
Page ix Table of Contents
LIST OF TABLES
Table Title Page 1.A Related Data Highway Documentation ............ 2... ccc cee eens 1-2 1.B KE/KF Communication Controller Module Specifications ................. 1-3 5.A Contents of Status DATA for 1771-KA, 1771-KC/KD, 1771-KE/KF,
1771-KG, and 1774-KA Modules ............ ccc cee cece ee cece ee eeneee 5-11 5.B Contents of Status DATA for 1773-KA Modules ...........0cc ccc eeeeeee 5-14 5.C Contents of Status DATA for 1775-KA Modules ....................000. 5-16
6.A Binary Codes for PLC-4 Logical Addresses ...........0cccccceeeeeeeeee 6-11
Page 12
Page 13
Chapter
Introduction
1.0 General
1.1 About This Manual
1.2 Module Description
Communication Controller Modules (cat. nos. 1771-KE and 1771-KF) link intelligent RS-232-C devices to an Allen-Bradley Data Highway. Each of these modules gives you a choice of two protocols on its RS-232-C link:
® Full duplex e Half duplex
The 1771-KE and 1771-KF modules perform the same functions. They differ only in the way they are mounted and in the way they receive power. Where these differences are discussed, each module is referenced separately. Otherwise, both modules are referred to collectively as the KE/KF module.
This manual describes installation, operation, and communication protocols of the KE/KF module, and it assumes that you are already thoroughly familiar with how to program your computer or other intelligent RS-232-C device. It does not assume prior knowledge of the Allen-Bradley Data Highway.
Table 1.A lists related Data Highway documentation that might be helpful in conjunction with this manual. For more details about the programming and operation of specific Allen-Bradley programmable controllers, refer to the appropriate user’s manual for that controller.
This manual is organized as follows: e Chapter 2, Explains some Data Highway concepts. e Chapter 3, Tells how to install a KE/KF module.
e Chapters 4, 5, and 6, Describe the communication protocol used by a KE/KF module.
e Chapter 7, Summarizes error reporting.
Figure 1.1 shows both the 1771-KE and 1771-KF modules. These modules have the following hardware features:
e Diagnostic indicators
® Connectors for Data Highway and RS-232-C devices e Communication option switches
® Stand-alone mounting bracket (1771-KF only)
e Terminal strip for power supply connection (1771-KF only)
Page 14
Page 1-2 Introduction
Table 1.A
Related Data Highway Documentation
Publication Number
Title
1770-810 1770-843 1771-801
1771-802
1771-811
1773-801
1774-819
1775-802
Data Highway Cable Assemble and Installation Manual Network Communication Software User’s Manual
Communication Adapter Module (cat. no. 1771-KA) User's Manual
Communication Controller Module (cat. no. 1771-KC/KD) User’s Manual
PLC-2 Family/RS-232-C Interface Module (cat. no. 1771-KG) User's Manual
PLC-4 Communication Interface Module (cat. no. 1773-KA) User’s Guide
Communication Adapter Module (cat. no. 1774-KA) User's Manual
PLC-3 Communication Adapter Module (cat. no. 1775-KA) User's Manual
Cat. No. 1771-KE
AEN aa Abuey
COMM CONTROL aug REVG oaTA HIGHWAY pata wighwaY monitor eh comeuTl See?
Cat. No. 1771-KF
Figure 1.1, Communication Controller Modules
Page 15
Page 1-3 Introduction
1.3 Specifications
1.4 Applications
Table 1.B lists the specifications for a KE/KF module.
Table 1.B
KE/KF Communication Controller Module Specifications
Communication Rates Cabling e Data highway: 57,600 bits per e Data highway: Data highway second (recommended) dropline cable (cat. no. ¢ RS-232-C: switch-selecable 1770-CD) from 110 to 19,200 bits per e RS-232-C: Data Terminal second Interface Cable (cat. no. 1770-CG), or Modem Interface Functions Cable (cat. no. 1770-CP) e interface a programmable RS- Power Requirements 232-C compatible device with © 12A@5VDC an Allen-Bradley Data Highway.
Power Source © Serve as a repiacement for
1771-KC/KD Communication ® 1771-KE: Bulletin 1771 1/0 rack Controller Modules. power supply Location e 1771-KF: User supplied (Allen- a . . Bradley cat. no. 1771-P2 or ® 1771-KE: single slot in Bulletin similar)
1771 I/O rack
® 1771-KF: stand-alone mounting Ambient Temperature Rating
Communication Ports © O°C to 60°C (32°F to 140°F)
operational * Data Highway e -40°C to 85°C (-40°F to 185°F) e RS-232-C storage
Ambient Humidity Rating e 5% to 95% without condensation
A KE/KF module provides either point-to-point link or a multidrop link between an Allen-Bradley Data Highway and an intelligent RS-232-C device. By “intelligent RS-232-C device” we mean any device that-complies with RS-232-C electrical standards and that can be programmed to handle the communication protocol described in chapters 4 through 6 of this manual. Throughout this manual, we will also use the term “computer” in a general sense to refer to this type of device. Some examples include:
e An Allen-Bradley Advisor™ Color Graphic System e A PLC-3 Programmable Controller and connected Communication Adapter Module (cat. no. 1775-KA)
e A PLC-2 Family Programmable Controller and connected PLC-2 Family/RS-232-C Interface Module (cat. no. 1771-KG)
Page 16
Page 1-4 Introduction e A PLC-4 Microtrol Programmable Controller and connected Communication Interface Module (cat. no. 1773-KA)
e A variety of minicomputers and microcomputers
In point-to-point configuration, the KE/KF module connects one intelligent RS-232-C device as a single station on a Data Highway. Figure 1.2 illustrates this configuration. Point-to-point links can use either peer-to-peer (full duplex) or master-slave (half duplex) communication.
In a multidrop configuration, one intelligent RS-232-C device connects to several Data Highways through sets of modems and KE/KF modules. Figure 1.3 illustrates this type of configuration. If the multidrop link consists of broadband modems, you can select either peer-to-peer (full duplex) or master-slave (half duplex) communication. If the multidrop link consists of baseband modems, you must use master-slave (half duplex) communication because baseband modems support only one communication channel.
Computer
Modem aj. Modem link
Computer
Modem « RS-232-C link (50 cable ft. max.) KE/KF KE/KF module module
+ Data Highway Link KE/KF module Allen-Bradley longline RS-232-C link (7,000 cable ft. max.) 1771-KG module PLC-2/30 processor
11687
Figure 1.2, Point-to-Point Links
Page 17
Page 1-5 Introduction
In either type of configuration, there are three possible ways you can connect the KE/KF module:
e Direct connection to an intelligent RS-232-C device if the KE/KF module is mounted within 50 cable feet of the device e Longline connection to an Allen-Bradley 1775-KA, 1773-KA, or 1771-KG interface module if the KE/KF module is within 7,000 cable feet of the other module e Modem connection if the KE/KF module is within 50 cable feet of an RS-232-C compatible modem
You may also use the 1771-KE module to replace a 1771-KC module, or the 1771-KF module to replace a 1771-KD module, in an existing application. By properly setting some option switches on the KE/KF module, you can make this replacement without having to change any application programs that you were using with the 1771-KC/KD module. Refer to section 3.1.5 for an explanation of how to set the KE/KF option switches.
Computer ped
_ Multidrop Modem Link
Modem | Modem |
KE/KF V?771-KG module module a Data Highway Link
PLC-2/15 processor
1775-KA module
1773-KA module
PLC-3 processor
PLC-4 Microtrol processor
Modem |
KE/KF module
|
Zo
Data Highway Link
KE.
module
/KE
Computer
-
1771-KA module
1774-KA module
PLC-2 processor
PLC processor
11688
Figure 1.3, Multidrop Link
Page 18
Page 19
Chapter
Communication Concepts
2.0 General
2.1 Physical Link Layer
This chapter presents some of the concepts of communication with the KE/KF module. It describes the physical communication links to the module and the various levels of software necessary to make those links work.
A KE/KF module connects a computer or programmable controller to an Allen-Bradley Data Highway. In doing so, the module acts as an interface between two physical communication links:
e Data Highway link e RS-232-C link
The Data Highway link provides peer-to-peer communication between the module and other stations on the Data Highway. It uses a half-duplex (polled) protocol and rotation of link mastership.
The RS-232-C link can provide either peer-to-peer communication through a full-duplex (unpolled) protocol or master-slave communication through a half-duplex (polled) protocol.
In addition to a physical link layer, communication on either the Data Highway or the RS-232-C link involves three levels of software programming:
e Application layer e Network management layer e Data link layer
If you are using a computer on a RS-232-C link, you must program all three layers. For the Data Highway, you need program only the application layer; the Data Highway interface modules automatically take care of the other two layers.
The rest of this chapter presents some of the concepts behind the physical communication links and their three software layers. For more details on the application and network layers, refer to chapters 5 and 6. For more information on the data link layer of the RS-232 link, refer to chapter 4.
The physical link layer is a set of cables and interface modules that work together to provide a channel for communication between the various points, called stations, on the physical link. A station consists of an intelligent programmable device
Page 20
Page 2-2 Communication Concepts
2.1.1 Data Highway
2.1.1.1 Stations
(e.g., PC or computer) and the module or modules that interface it with the physical link.
In this way, the KE/KF module allows stations on one link to communicate with stations on the other link. Since these two physical links have different communication protocols, the KE/KF module serves mainly as a protocol translator.
The Data Highway is a local area network (LAN) that can allow peer-to-peer communication among 64 stations. Figure 2.1 illustrates a Data Highway network.
The Data Highway link consists of a trunkline that can be up to 10,000 feet long and droplines that can be up to 100 feet each. Each station is at the end of a dropline.
The Data Highway link implements peer-to-peer communication through a modified token-passing scheme called the floating master. With this arrangement, each station has equal access to become the master. The stations bid for temporary mastership based on their need to send information.
Unlike a master/slave relationship, a floating master relationship does not require the current master to poll each station to grant permission to transmit. Therefore, it provides a more efficient network because there is less overhead per transaction.
A station consists of a computer or PC processor and the module or modules that interface it with the Data Highway link. Within a station that contains a KE/KF module, an RS-232-C link is required as an auxiliary link to the Data Highway. Figure 2.1 shows three such stations.
One station consists of an Advisor™ Color Graphic System connected to a KE/KF module through an RS-232-C link limited to 50 cable-ft.
Another station consists of a computer interfacing with a KE/KF module through a modem link that is limited only by the nature of the modems themselves.
The third such station consists of a 1773-KA module interfacing a PLC-4 Microtrol loop with a KE/KF module through a longline RS-232-C link limited to 7,000 cable-ft. If you want a link longer than 7,000 ft, you must use modems.