The text of a manual · part 1 of 15
Communication Adapter Module (cat. no. 1771-KA2) User's Manual, pages 1 to 10
Pages 1 to 10 of 144
The original document is the PDF (2.0 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-KA2
Page 1
_ ##@@###~ - D a oo 8 i oe oo ee es
CC : S -. -
DO, : ee lh =
S jenueyy s,19s¢Q gnpoyy isidepy UOTeoTUNUWIUMOT) CV M-TLLI Ao[peig-Us[V
Page 2
important User information
Because of the variety of uses for the solid state equipment described herein, and because of the differences between it and electromechanical equipment, you must satisfy yourself as to its acceptability for each of your applications. In no event will Allen-Bradley Company be responsible or liable for indirect or consequential damages that may result from installation or use of this equipment.
The illustrations, charts, and layout examples shown in this manual are intended solely to help you understand the text, not to guarantee operation. Because of the many variables and requirements associated with any particular installation, Allen-Bradley Company will not assume responsibility for actual use based upon illustrations of applications.
No patent liability is assumed by Allen-Bradley Company with respect to use of information, circuits, equipment, or software described in this text.
Reproduction of any part of this manual, without written permission of Allen-Bradley Company, is prohibited.
© 1985 Allen-Bradley Company
PLC is a registered trademark of Allen-Bradley Company
Page 3
Table of Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . About This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1 1-3 1-5 1-5
Station Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Communication Adapter Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I/O Chassis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Other Optional Equipment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1 2-2 2-8 2-9 2-10 2-13 2-13 2-13
Module Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Switch Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Keying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installation In The I/O Slot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cable Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1 3-1 3-7 3-8 3-9
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-1
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1 Protected/Unprotected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3 Write Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4 Bit Write Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5 Read Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7 Accessible Data Table Locations - PLC-2 Processors . . . . . . . . . . . . . . . . . . 4-7 Accessible Data Table Locations - PLC Processors . . . . . . . . . . . . . . . . . . . 4-9 Accessible Data Table Locations - PLC-3 Processors . . . . . . . . . . . . . . . . . . 4-10 Accessible Data Table Locations - PLC-4 Microtrol Processors . . . . . . . . . . . 4-11 Chapter Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-15
Communication Zone Rungs . . . . . . . . . . . . . . . . . . . . . . . . . .
5-1
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1 Header Rungs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3 Memory Access Rungs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4 Command Rungs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7 Delimiter Rung . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11 Chapter Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-12 i
Page 4
Table of Contents
Status Words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . START/DONE Word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . REMOTE/LOCAL FAULT Word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Error Code Storage Word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1 6-2 6-3 6-5 6-7
Command Initiation, Execution, and Monitoring . . . . . . . . . . .
7-1
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1 START/DONE Bit Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1 Controlling The Start Bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4 REMOTE/LOCAL FAULT Bit Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-10 Timeout Preset Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-14 Chapter Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-19
Station Interfacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-1
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Floating Master . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Commands From A Computer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-1 8-1 8-5 8-9
Start-up and Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . .
9-1
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1 Start-up and Troubleshooting Aids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1 Start-up Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-12 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-18 Chapter Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-23 ii
Design Aids and Documentation . . . . . . . . . . . . . . . . . . . . . . .
10-1
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Program Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Memory Maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-1 10-1 10-2 10-2
Error Code Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-1
Page 5
Chapter
1
Introduction
Description
An Allen-Bradley Data Highway extends the capabilities of programmable controllers by letting them exchange data with each other and with other intelligent RS-232-C devices. Data Highway integrates individual controllers into a larger automated manufacturing network. On a single Data Highway cable, as many as 64 separate programmable controllers and computers can be connected over a distance of 10,000 feet (3,048m). The unit that interfaces PLC-2 family programmable controllers to this network, and makes communication possible, is an A-B Communication Adapter Module (cat. no. 1771-KA2). (See Figure 1.1) It is a Data Highway station interface module and is used with Bulletin 1772 programmable controller processors. These processors are: PLC-2 Processor (cat. no. 1772-LR) PLC-2/20 Processor (cat. no. 1772-LP1, -LP2) PLC-2/30 Processor (cat. no. 1772-LP3) Figure 1.1 Communication Adapter Module (cat. no. 1771-KA2)
10862-I
Mini-PLC-2 Processor (cat. no. 1772-LN1, -LN2, -LN3) Mini-PLC-2/05 (cat. no. 1772-LS, LSP) 1–1
Page 6
Chapter 1 Introduction
Mini-PLC-2/15 (cat. no. 1772-LV) This module enables communication of memory data between these processors, and from any of these processors to other processors on the Data Highway via communication adapter modules. A typical Data Highway configuration is shown in Figure 1.2. Figure 1.2 Representative Data Highway Configuration 10,000 feet (3,048 meters) maximum Data Highway Cable Trunkline
1770-SC Station Connector Cable Droplines 100 feet (30.5 meters) maximum I/O Rack Communication Controller Module (cat. no. 1771-KE/KF)
Mini-PLC-2, Mini-PLC-2/05, or Mini-PLC-2/15 Programmable Controller Communication Adapter Module (cat. no. 1771-KA2)
PLC-2 Family Programmable Controller
About This Manual
1–2
Communication Adapter Module (cat. no. 1775-KA)
PLC-3
Mini Computer
12210
The terms “communication adapter module” and “1771-KA2” and “KA2” are interchanged throughout the manual.
Page 7
Chapter 1 Introduction
This manual describes installation, operation, and programming necessary to use the KA2 communication adapter module. Use this manual with the other manuals and publications pertinent to your system. Table 1.A lists other available Data Highway manuals and Table 1.B lists PC manuals. Table 1.A Data Highway Documentation Old Publication Number
New Publication Number
1774-819
1774-6.5.8
User’s Manual, Communication Adapter Module (cat. no. 1771-KA)
1771-822
1771-6.5.15
User’s Manual, Communication Controller Module (cat. no. 1771-KE/KF)
1771-823
1771-6.5.16
User’s Manual, PROVOX system Interface Module (cat. no. 1771-KX1)
1773-801
1773-6.5.2
User’s Manual, PLC-4 Microtrol Communication Interface Module (cat. no. 1773-KA)
1775-802
1775-6.5.1
User’s Manual, Communication Adapter Module (cat. no. 1775-KA)
1771--811
1771-6.5.8
User’s Manual, PLC-2 Family/RS-232-C Interface Module (cat. no. 1771-KG)
1770-810
1770-6.2.1
Data Highway Cable Installation Manual
Title
1–3
Page 8
Chapter 1 Introduction
Table 1.B Manuals for Allen-Bradley Programmable Controllers
Controller
Old Number
New Number
Mini-PLC-2 Program. Cont.
1772-820 1772-821
1772-6.6.3 1772-6.8.4
Assembly and Installation Programming and Operation
Mini-PLC-2/05
1772-830 1772-831
1772--6.6.6 1772-6.8.6
Assembly and Installation Programming and Operations
Mini-PLC-2/15 Program. Cont.
1772-803 1772-804
1772-6.6.1 1774-6.8.2
Assembly and Installation Programming and Operations
PLC-2/20 Program. Cont.
1772-807 1772-802
1772-6.6.2 1772-6.8.1
Assembly and Installation Programming and Operations
PLC-2/30 Program. Cont.
1772-807 1772-806
1772-6.6.2 1772-6.8.3
Assembly and Installation Programming and Operations
PLC Program. Cont.
1774-812 1774-800
1774-6.6.2 1774-6.8.1
Assembly and Installation Programming and Operations
PLC-3 Program. Cont.
1775-800 1775-801
1775-6.7.1 1775-6.4.1
Installation and Operations Programming
PLC-4 Microtrol
1773-800
1773-6.5.1
Product Guide
Manual TItle
To use this manual, 1772-6.5.1, knowledge of the particular progammable controller being used in your application is essential. Because you connect the communication adapter module to an operating programmable controller, you must have a good understanding of programmable controller operation, installation, memory structure, and programming. Publications are available for each Allen-Bradley programmable controller. All publications in Table 1.A and Table 1.B are available from an A-B sales office, or from Allen-Bradley Publications, 6100 Industrial Court, Greendale, WI 53129. Features of a 1772-KA2 Here are some of the KA2’s features: New commands have been added to the 1771-KA2 that simplify upload and download procedures. A KA2 lets you to change (remotely) the size of the PC data table. (New with 1772-KA2 module.) It has second module or “daisy chain” capability. (New with 1772-KA 2 module.) Uses ladder diagram instructions for ease of programming. Offers memory write protection through programming and switch selection. 1–4
Page 9
Chapter 1 Introduction
Controls communication without need for a host computer. Has automatic error checking of data it receives. Has self-checking diagnostics. Shows status and diagnostics with LED indicators and error codes. Controls DONE and REMOTE/LOCAL FAULT memory bits as status and diagnostic indicators. Automatically re-tries messages. Automatically recovers from master station fault condition. Has selectable priority levels for commands. Is compatible with industrial terminal system. Installs easily. Organization
The chapters in this manual are organized as follows and each chapter closes with a summary: Chapter 2 describes the hardware components that make up a Data Highway station. Chapter 3 outlines procedures for module installation. Chapter 4 describes programmed commands and memory access. Chapter 5 describes programming of the communication zone of program. Chapter 6 describes status words that are controlled by the module at its station processor. Chapter 7 outlines programming that is necessary to initiate and monitor command execution. Chapter 8 describes station interface module interaction along the Data Highway. Chapter 9 describes start-up and troubleshooting tools and procedures. Chapter 10 provides aids to design and documentation of a Data Highway that uses a communication adapter module.
Chapter Summary
This chapter discussed: Features of a 1771-KA2 Communication Adapter Module How the module fits into an A-B Data Highway system What a 1771-KA2 does, and the A-B PLC data processor it works with Publications available for Data Highway and PLC-2 family PCs In chapter 2 you will learn about a Data Highway station and the KA2’s role in station function.
1–5
Page 10
Chapter 1 Introduction
1–6