Rockwell Automation 1771-KA2 User Manual

T
able of Contents
Introduction 1-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Description 1-1 About Organization 1-5 Chapter Summary
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3
1-5
Station Hardware 2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
General 2-1 Communication Processor 2-8 I/O Chassis Power Cables 2-13 Other Chapter Summary
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Adapter Module
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Supply
Optional Equipment
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2
2-9
2-10
2-13 2-13
Module Installation 3-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
General 3-1 Switch Keying 3-7 Installation Cable
Commands 4-1
General 4-1 Protected/Unprotected 4-3 Write Commands Bit Write Commands Read Command Accessible Accessible Accessible Accessible Chapter Summary
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Settings
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connections
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
In The I/O Slot
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data T
able Locations - PLC-2 Processors
Data T
able Locations - PLC Processors
Data T
able Locations - PLC-3 Processors
Data T
able Locations - PLC-4 Microtrol Processors 4-1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . .
3-1
3-8 3-9
4-4 4-5 4-7 4-7 4-9
4-10
4-15
Communication Zone Rungs 5-1 . . . . . . . . . . . . . . . . . . . . . . . . . .
General 5-1 Header Rungs Memory Access Rungs Command Rungs Delimiter Chapter Summary
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Rung
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-3 5-4 5-7
5-1
5-12
1
1
i
T
able of Contents
Status Words 6-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
General 6-1 START/DONE Word REMOTE/LOCAL Error Chapter Summary
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
F
AULT Word
Code Storage W
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ord
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2 6-3 6-5 6-7
Command Initiation, Execution, and Monitoring 7-1 . . . . . . . . . . .
General 7-1 START/DONE Controlling REMOTE/LOCAL Timeout Preset Value Chapter Summary
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Bit T
iming
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The Start Bit
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
F
AUL
T Bit Monitoring
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
7-1
7-4 7-10 7-14 7-19
Station Interfacing 8-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
General 8-1 Floating Master Commands From A Computer Chapter Summary
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-1
8-5
8-9
Start-up and Troubleshooting 9-1 . . . . . . . . . . . . . . . . . . . . . . . . .
General 9-1 Start-up Start-up Procedures Troubleshooting 9-18 Chapter Summary
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
and T
roubleshooting Aids
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-1 9-12
9-23
Design Aids and Documentation 10-1 . . . . . . . . . . . . . . . . . . . . . . .
General 10-1 Program Summary Forms 10-2 Memory Maps
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10-1
10-2
Error Code Listing A-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ii
Introduction
Chapter
1
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
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
10,000 feet (3,048 meters) maximum
Data Highway Cable Trunkline
Data Highway Configuration
1770-SC Station Connector
Mini-PLC-2, Mini-PLC-2/05, or Mini-PLC-2/15 Programmable Con­troller
Cable Droplines 100 feet (30.5 meters) maximum
I/O Rack
Communication Adapter Module (cat. no. 1771-KA2)
PLC-2 Family Programmable Controller
Communication Adapter Module (cat. no. 1775-KA)
PLC-3
Communication Controller Module (cat. no. 1771-KE/KF)
Mini Computer
12210
About This Manual
1–2
The terms “communication adapter module” and “1771-KA2” and “KA2” are interchanged throughout the manual.
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.
T
able 1.A
Data
Highway Documentation
Old
Publication
Number
1774-819 1774-6.5.8 User’
1771-822 1771-6.5.15 User’
1771-823 1771-6.5.16 User’
1773-801 1773-6.5.2 User’
1775-802 1775-6.5.1 User’
1771--811 1771-6.5.8 User’
1770-810 1770-6.2.1
New
Publication
Number
Module (cat. no. 1771-KA)
Module (cat. no. 1771-KE/KF)
Module (cat. no. 1771-KX1)
Communication Interface Module (cat. no. 1773-KA)
Module (cat. no. 1775-KA)
Interface Module (cat. no. 1771-KG) Data Highway Cable Installation Manual
Title
s Manual, Communication Adapter
s Manual, Communication Controller
s Manual, PROVOX system Interface
s Manual, PLC-4 Microtrol
s Manual, Communication Adapter
s Manual, PLC-2 Family/RS-232-C
1–3
Chapter 1
Introduction
T
able 1.B
Manuals for Allen-Bradley Programmable Controllers
Old
Controller
Mini-PLC-2 Program. Cont.
Mini-PLC-2/05 1772-830
Mini-PLC-2/15 Program. Cont.
PLC-2/20 Program. Cont.
PLC-2/30 Program. Cont.
PLC Program. Cont.
PLC-3 Program. Cont.
PLC-4 Microtrol
Number
1772-820 1772-821
1772-831 1772-803
1772-804 1772-807
1772-802 1772-807
1772-806 1774-812
1774-800 1775-800
1775-801 1773-800 1773-6.5.1
New
Number
1772-6.6.3 1772-6.8.4
1772--6.6.6 1772-6.8.6
1772-6.6.1 1774-6.8.2
1772-6.6.2 1772-6.8.1
1772-6.6.2 1772-6.8.3
1774-6.6.2 1774-6.8.1
1775-6.7.1 1775-6.4.1
Manual TItle
Assembly and Installation Programming and Operation
Assembly and Installation Programming and Operations
Assembly and Installation Programming and Operations
Assembly and Installation Programming and Operations
Assembly and Installation Programming and Operations
Assembly and Installation Programming and Operations
Installation and Operations Programming
Product Guide
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.
1–4
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.
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
Chapter Summary
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.
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
Chapter 1
Introduction
1–6
Station Hardware
Chapter
2
General
The following components make up a Data Highway station with a PLC-2 family PC:
Communication Adapter Module Processor PLC-2 I/O adapter module for PLC-2/20 and PLC-2/30 processors Bulletin 1771 I/O chassis Power supply Data Highway/Processor cable Data Highway cable dropline
Figure 2.1 shows the configuration of a typical Data Highway station for PLC-2/20 and PLC-2/30 processors. Figure 2.2 shows a typical configuration for the mini-processor module.
Figure 2.1 Typical
Station Configuration--PLC-2/20 and PLC-2/30 Processors
Data Highway Cable Trunkline
Station
Processor
I/O Chassis
Data Highway Processor Cable (cat. no. 1771-CR)
Station Dropline 100 feet maximum
Communication Adapter Module (cat. no. 1771-KA2)
12326
2-1
Chapter 2
Station Hardware
Figure 2.2 Typical
Station Configuration--Mini-PLC-2, Mini-PLC-2/05, and Mini-PLC-2/15 Controllers
Data Highway Cable Trunkline
Station
Mini-Processor Module (cat. no. 1772-LV, -LS, -LSP; 1772-LN1, -LN2, -LN3)
System Power Supply
Data Highway Processor Cable (cat. no. 1771-CN.-CO)
Communication Adapter Module (cat. no. 1771-KA)
Station Dropline
Connection for Programming Terminal
12327
As these figures illustrate, the term “station” combines both the communication adapter module and its connected programmable controller processor. (When specifying only the individual processor or communication adapter module at a station, the terms “station processor” or “station communication adapter module” are used.)
Communication Adapter Module
2-2
The following sections describe the functions and compatibility of each station hardware component.
A communication adapter module (cat. no. 1772-KA2) provides the interface between all PLC-2 family PCs and other stations on the Data Highway. (Refer to Figure 2.3). The module has sockets for cable
Chapter 2
Station Hardware
connection, switches for enabling or disabling specific module operations, and indicators to aid in monitoring module behavior and in troubleshooting. Subsequent sections describe each of these parts of the module and other aspects of module hardware that are significant in its set-up and installation.
Each communication adapter module in a Data Highway installation must have a unique station number. This station number is used to address commands to the module from other stations.
Figure 2.3 Communication
Adapter Module (cat. no. 1771-KA2)
(Side view)
Indicator
Connectors
10862-I
Switch Cover
Connectors
The front of a 1772-KA2 module has 3 cable connectors labeled:
DATA HIGHWAY PROGRAM INTERFACE PROCESSOR
See Figure 2.4.
2-3
Chapter 2
Station Hardware
Figure 2.4 Module
“Program Panel” or “Interface” Socket on Processor
Connection Summary
Data Highway Cable (User-Assembled)
Program Panel Interconnect Cable (Cat. no. 1772-TC)
Data Highway Processor Cable (cat.no. 1771-CN, -CO, -CR)
Industrial Terminal System (cat. no. 1770-T1 and T2)
Data Highway Connector
The upper connector of the module accepts the 15-pin Data Highway dropline cable. Through this connection, a single KA2 module can communicate with as many as 63 other Data Highway stations.
Module transmitting and receiving circuitry on this channel are transformer-coupled to the Data Highway link. This design permits differential transmission of data with high common-mode noise immunity. Electrically, transformer coupling provides isolation between module logic circuitry and the Data Highway cable.
Program Interface Connector
10863-I
2-4
The middle outlet on the module connects to an industrial terminal system (cat. no. 1770-T1, -T3), or to a second KA2, or to a 1771-KG series B module.
Chapter 2
Station Hardware
To connect any programming terminal to the PROGRAM INTERFACE connector, use a program panel interconnect cable (cat. no. 1772-TC).
With a 1772-KA2 module installed, the PROGRAM INTERFACE connector substitutes for the PROGRAM PANEL connector on PLC-2/20 or PLC-2/30 processors or the INTERFACE socket on the Mini-PLC-2, Mini-PLC-2/05, or Mini-PLC-2/15. This means that all interaction between the processor and the programming terminal is controlled through the communication adapter module. This interaction includes program entry and any functions that involve peripheral devices except cassette loads--including report generation, contact histograms, and generation of program copies on paper or on punched tape.
The communication rate over this channel is 9600 baud. Optical-electrical isolation is provided between receiving circuitry on this channel and module logic circuitry.
NOTE: The PROGRAM INTERFACE connector need not connect to a programming terminal for the module to operate. This connector serves as a programming terminal connection whenever such a device is needed for program entry, editing or monitoring.
Processor Connector
The lower connector of the module connects to the station PLC-2/20 or PLC-2/30 processor, or Mini-processor module. (Refer to Figure 2.1 and Figure 2.2) A Data Highway/Processor cable, described in section titled “Cables,” is used for this connection.
Indicators
There are 5 LED indicators on the front of the module, as seen in Figure 2.5.
These indicators are useful for monitoring module activity and for troubleshooting. Three green indicators show module status during normal receiving and transmitting of messages. Two red indicators show the status of module diagnostics.
2-5
Chapter 2
Station Hardware
Figure 2.5 Module
Indicators
COMM
ADAPTER
Transmitting Receiving Message Ready
Program Status Processor Link
Status
XMTG RCVG RDY
PROG PROC
XMTG
The green transmitting indicator turns on when the module is current master of the Data Highway. When this indicator is on, therefore, the communication adapter module is transmitting messages on the Data Highway communication link, or it is polling.
RCVG
The receiving indicator turns on when the module is receiving a message addressed to it. Otherwise, RCVG is off.
When both the RCVG and XMTG indicators are on, the module is current master of the Data Highway and is polling. (The section titled “Polling,” in chapter 8, describes polling procedure.)
2-6
RDY
The green message ready indicator turns on when the module has messages ready to transmit. With this indicator on, the module is ready to assume mastership when it is polled.
Chapter 2
Station Hardware
PROG
The red program status indicator tells you the status of module checks on the communication zone rungs of the user program. (The section titled “Overall Format,” chapter 5, describes these rungs.) The module first checks these rungs at power-up. When it locates the header rung of this zone, the module turns the PROG indicator on. After it checks the rungs, provided no errors are found, the module turns the PROG indicator OFF. However, if the module detects any programming error in the communication zone of the program, this indicator remains ON. In this event, the module cannot function. You must check the communication zone of the program and correct any errors. (Start-up procedures are described in chapter 9.)
PROC
The red processor link status indicator gives the status of error-checking diagnostics for communication adapter/processor communication. The PROC indicator is normally off.
Should the 1771-KA2 module detect an error in data transmission with the processor, it turns the PROC indicator on. This may mean one of the following:
Disconnection of the Data Highway/Processor cable between the
communication adapter and the processor Fault in processor operation Incorrect selection of processor link communication rate on the module
(Refer to section titled “Write Option Switch Assembly,” chapter 3).
The section titled “Module Indicators,” in chapter 9, describes the use of indicators in troubleshooting.
Switches
There are 3 sets of switches on the 1771-KA2 module circuit board. These switches are beneath the small switch cover plate on the component-side cover of the module. (Refer to Figure 2.3).
The programmer selects the settings of these switches for each communication adapter module, based upon such variables as station number, command capabilities, and type of station processor. Switch settings are a part of module installation, described in chapter 3.
2-7
Chapter 2
Station Hardware
Module Specification Summary
Table 2.A lists operating specifications for a 1771-KA2 module.
T
able 2.A
Operating
Specifications
Function
Interface entire PLC-2 family
programmable controller to the Data Highway
Location
Bulletin 1771 I/O Chassis (any slot
except furthest left)
Communication Channels
T
o Data Highway
T
o programming terminal or second
module in daisy chain
T
o processor or first module in daisy
chain
Communication Rates
T
o Data Highway: 57.6k baud
(Recommended)
T
o programming terminal or second
module: 9.6k buad
T
o processor: 91.2k baud for processor (except PLC-2, cat. no. 1772-LR); 9.6k baud for first communication module or PLC-2­family processor
.
Compatible Power Supplies
System power supply (cat. no. 1771-P1)
Auxiliary power supply (cat. no. 1772-P2)
System power supply module (cat. no. 1772-P1, series B or later)
Auxiliary power supply (cat. no. 1772-P2 series B or later)
Power supply module 1771-P3
Power supply module 1771-P4
Power supply module 1771-P5
Ambient T
32o to 140oF (0o to 60oC) (operational)
-40o to 185oF (-40o - 85oC) (storage)
Humidity Rating
Keying
Power Supply Requirement
emperature Rating
5% to 95% (without condensation)
Module slotted for I/O chassis keying band positioning.
Positions 4-6, 22-24
+5V DC at 1.2A (max.)
Processor
2-8
This manual uses the term “processor” as a general term for any of the PLC-2 family processors. Individual processors are specified only when some distinction must be made.
The normal operating sequence of the station processor is not changed by a communication adapter module, that is, the processor carries out its scan of input and output modules and execution of the user program as though the communication adapter module weren’t there.
Chapter 2
Station Hardware
The interaction between a KA2 module and its station processor occurs in memory control. The station KA2 can read data from and write data into processor memory, based on various user-programmed commands. Commands that originate at a station communication adapter module can control only data table areas of processor memory. Commands generated by a computer that is connected to the Data Highway through a communication controller module (cat. no. 1771-KE/KF) can control both data table and user program memory areas.
Note that the processor continues to execute the user program and to control output devices, whether or not the station communication adapter module is in operation. Thus, disconnection of the Data Highway cable or faulted operation of the communication adapter module does not cause shutdown of the station processor.
I/O Chassis
A-B designed the 1771-KA2 module to fit in a Bulletin 1771 I/O chassis assembly (cat. no. 1771-A1,-A2,-A4). This chassis houses Mini-PLC-2, Mini-PLC-2/05 and Mini-PLC-2/15 programmable controllers. With one of these controllers, you can use any unoccupied I/O slot for communication adapter modules.
With PLC-2/20 and PLC-2/30 programmable controllers, use a Bulletin 1771 I/O chassis as an I/O rack. In this case, the 1771-KA2 module can be installed in any chassis slot except the one furthest left. This left-most slot must be occupied by a PLC-2 I/O adapter module (cat. no. 1771-AL or 1771-AS), shown in Figure 2.6, or a backplane jumper board assembly (cat. no. 1771-EY).
A Bulletin 1771 I/O chassis is usually mounted within an enclosure. We recommend proper grounding of this enclosure because it minimizes the effect of noise from the surrounding industrial environment. (Grounding procedures for the Bulletin 1771 I/O chassis are described in publication 1772-6.6.3).
2-9
Chapter 2
Station Hardware
Figure 2.6 1771-AL
Adapter Module
Power Supply
PLC-2
I/O ADAPTER
10864-I
A 1771-KA2 module gets its power from the backplane. It requires +5V DC at 1.2 amperes (max.). The following power supplies are compatible:
System power supply (cat. no. 1771-P1) Auxiliary power supply (cat. no. 1771-P2) PLC-2 system power supply module (cat. no. 1772-P1, series B or
later)
PLC-2 auxiliary power supply (cat. no. 1777-P2, and 1777-P4 series B
or later)
Modular power supplies (cat. no. 1771-P3, -P4, -P5)
You must connect one of these supplies to the I/O chassis that contains the KA2 communication adapter module. In a Mini-PLC-2, or a Mini-PLC-2/15 this is the system power supply, shown in Figure 2.7. In a Mini-PLC-2/05, you must use a 1771-P3, -P4, or P5 power supply.
2-10
Figure 2.7 1771-P1
Chapter 2
Station Hardware
System Power Supply
Battery Low
DC ON
ALLEN-BRADLEY
10865-I
When using the PLC-2/20 or PLC-2/30 processor, any of these supplies can power the I/O chassis so long as core memory is not being used. (Refer to processor manuals.) An auxiliary power supply (cat. no. 1771-P2) closely resembles the system power supply shown in Figure 2.7. PLC-2 power supply module (cat. no. 1772-P1) is not a separate unit, but is enclosed within the metal chassis of the PLC-2/20 or PLC-2/30 processor.
PLC-2 power supplies must be series B or later for communication adapter module compatibility. On both of these supplies, a label on the front edge of the circuit board identifies the series level. To locate this label, remove AC power from the supply and remove the metal front plate that covers the module. If the label shows the catalog number but not the series level, the module is series A. Otherwise, series B or later is indicated.
2-11
Chapter 2
Station Hardware
Figure 2.8 PLC-2
Power Supplies
AC FUSE
AC FUSE
PLC
PLC 2/30
2/30
a. PLC-2 System Power Supply Module
AC FUSE
10236-I
10236a-I
2-12
b. PLC-2 Auxiliary Power Supply
Chapter 2
Station Hardware
Cables
A 1771-KA2 module requires the following cables for installation:
Data Highway/Processor cable (cat. no. 1771-CN,-CO,-CR) User-assembled Data Highway cable
Figure 2.1 and Figure 2.2 show the connections made with these cables.
You can order Data Highway/Processor cables in 3 lengths:
1.5 ft. (cat. no. 1771-CN)
3.5 ft. (cat. no. 1771-CO)
10.5 ft. (cat. no. 1771-CR)
The 2 shorter cables are intended for connection to a Mini-PLC-2, Mini-PLC-2/05, or Mini-PLC-2/15 module. A 10.5 ft. cable is used with PLC-2, PLC-2/20 or PLC-2/30 processors.
You must assemble and install your own Data Highway cable, dropline and trunkline segments. A separate publication, Data Highway Cable, Assembly and Installation Manual, publication 1770-6.2.1, gives information on layout, make-up, and installation of the cable.
Other Optional Equipment
Chapter Summary
In addition to the components shown in Figure 2.1 and Figure 2.2, you can install your own equipment at or near the Data Highway station. The chief purpose of additional components is to provide diagnostic or monitoring information. Such devices as alarms, displays and indicators can be controlled from output modules of the programmable controller to provide operating or fault information to plant personnel.
Minimally, a single indicator should be installed to alert your personnel to a REMOTE or LOCAL FAULT condition that prevents normal message transfer. The significance of REMOTE/LOCAL FAULT bits, and the recommended programming to monitor these bits, is described in chapter
7.
This chapter told you the:
Components of an A-B Data Highway system Role of a 1771-KA2, its connectors, switches, and indicators Specs of a 1771-KA2 Where a KA2 resides and how it is connected to its station Optional equipment possibilities at a Data Highway station
In chapter 3 you will read about KA2 switches and installation.
2-13
Chapter 2
Station Hardware
2-14
Module Installation
Chapter
3
General
Switch Settings
This chapter outlines procedures for preparation, installation, and connection of a 1771–KA2 module. Before performing these procedures, you should check component compatibility and the station set–up recommendations in chapter 2.
There are 3 sets of switches on a 1771–KA2 circuit board:
Write option switch assembly Station no. switch group Data Highway baud rate switch assembly
Refer to Figure 3.1. The switches at each station communication adapter module must be set as the programmer specifies. To access these switches, loosen the two screws that hold the small cover plate to the side of the module. Then, rotate this cover plate to expose the switches.
Figure 3.1 Module
Switches
Write Option
Switch Assembly
12345
O N
O F F
6
O N
O F F
12
O N
O F F
12
O N
O F F
12
3
Station Number Switch Group
3
O N
O F F
12
Data Highway Baud Rate Switch Assembly
12329
3-1
Chapter 3
Module Installation
Use the tip of a ball–point or other pointed instrument to set these switches. Do not use a pencil, as lead could jam the switch.
For troubleshooting purposes, we recommend that the programmer document the required switch settings for each 1771–KA2. Use form 5030, in chapter 10, to record switch settings for the module at each station. That way, should replacement of the module be required, switches on the replacements can be set quickly.
Write Option Switch Assembly
The first rocker switch assembly from the left is the write option switch assembly. (Refer to Figure 3.2). In this assembly, switches numbered 1 through 5 enable or disable different types of write and bit write commands from being received by, or sent from, the communication adapter module. (Note that the unprotected read command is not affected by any of these switch settings.) Switch no. 6 enables and disables daisy chain operation. See FIRST/SECOND MODULE at end of this section.
Figure 3.2 Write
Option Switch Assembly
Execute Unprotected Write Commands
Receive Protected Commands
12
O N
O F F
Send Unprotected Commands
* After revision D, the name and function of switch 3 changed to ”Execute download in RUN program.”
3456
Shutdown / Auto Restart*
On–Shutdown
Off–Auto Restart
Received Priviledged Write
Enable/Disable
On–First Module
Off–Second Module
The following paragraphs describe settings for these switches.
RECEIVE PROTECTED COMMAND SWITCH
12330
3-2
Switch no. 1 of the write options switch assembly determines whether the module is enabled to receive and execute protected write and bit write commands from other stations. Set this switch as follows:
Chapter 3
Module Installation
ON – Enables execution of received protected commands. OFF – Disables received protected commands.
Note that both an ON setting of this switch and a memory access rung are required to allow execution of received protected commands. (Memory Access rungs are described in chapter 5.)
This switch does not prevent the module from receiving and executing unprotected commands from another station. (A separate switch, described subsequently, enables or disables execution of received unprotected commands.)
EXECUTE UNPROTECTED WRITE COMMANDS SWITCH
Switch 2 determines whether the module can receive and execute unprotected write and bit write commands from other stations. Set this switch as follows:
ON – Enables received unprotected write and bit write commands to
be executed.
OFF – Disables the module from executing received unprotected write
and bit write commands
Note that this switch does not disable unprotected read commands from being received and executed by the module.
SHUTDOWN/AUTOMATIC RESTART SWITCH
On modules before revision D, switch 3 presents the option, after a hard error, of restarting the 1771–KA2, or shutting it down.
ON – Shuts down the module OFF – Automatically restarts itself
When a hard error occurs it normally indicates fairly severe communication problems that should be corrected before starting. Such errors usually involve bad cabling or noise.
REVISION D
The third switch in the Write Option Switch assembly on the 1771–KA2 module (formerly the Shutdown/Automatic Restart Switch) will change function for revision D and become the Execute Download in Run Program switch.
3-3
Chapter 3
Module Installation
RECEIVE PRIVILEGED WRITE SWITCH
Switch 4 determines whether the module can execute received privileged write commands. These commands can be issued only from a computer connected through a communication controller module (cat. no. 1771–KE/KF).
These commands give the computer the capability to alter the user program memory of the station processor. Set this switch as follows:
ON – Enables a 1771–KA2 to execute received privileged write
commands
OFF – Disables the 1771–KA2 from executing received privileged
write commands.
SEND UNPROTECTED COMMANDS SWITCH
Switch 5 determines whether the module can send unprotected write or bit write commands to another station. Set this switch as follows:
ON – Enables the module to send unprotected write and bit write
commands
OFF – Disables the module from sending unprotected write and bit
write commands
This switch does not prevent unprotected read commands from being sent by a communication adapter module.
FIRST/SECOND MODULE
Use switch 6 for first/second module selection. Set switch:
ON – Use this setting when connected directly to any compatible
processor except PLC–2 (1772–LR).
OFF – Use this setting when the KA2 module is connected to a
PLC–2 (1772–LR), a 1771–KG series B module, or another KA2 module.
3-4
Station No. Switch Group
You must designate a unique station number for each communication adapter module on a Data Highway. This designation is made by the programmer and switch–selected on the station number switch group of the module.
Chapter 3
Module Installation
The station number switch group comprises 3 switch assemblies (SW2, SW3, SW4) on the module circuit board, as Figure 3.3 indicates. These switches determine the station number of each communication adapter module.
SWITCH SETTING
No. 1 No. 2
OFF OFF OFF ON ON OFF ON ON
a. First Digit
The station number is a 3–digit octal number from 010 110
–3768. Each of the 3 switch assemblies in this group is set to
8
represent an individual digit of this station number. Figure 3.3 shows the combination of switch settings for each digit.
Figure 3.3 Station
Number Switch Settings
12
O N
O F F
SW2 SW3 SW4
O N
O F F
DIGIT
0 1 2 3
12
3
12
O N
O F F
No. 1 No. 2
OFF OFF OFF OFF OFF ON OFF ON ON ON ON ON
b. Second and Third Digits
–077
8
3
ON
ON
OFF
SWITCH SETTING DIGIT
No. 3
OFF ON OFF
ON OFF OFF ON ON
OFF
ON
OFF
ON
ON
OFF
0 1 2 3 4 5 6 7
8
or
OFF
12331
3-5
Chapter 3
Module Installation
In this binary–coded octal numbering arrangement, each switch has an associated binary value: 1, 2, or 4 if set ON, 0 if set OFF. The value of each individual digit of the station number is the sum of the binary values in its corresponding switch assembly. Table 3.A gives an example for the settings of this switch group.
T
able 3.A
Switch
Setting Example: Station No. 037
STATION
NO. DIGITS
SWITCH NO. SWITCH
SETTING
0 3 7
1 2 1 2 3 1 2 3
OFF OFF OFF ON ON ON ON ON
Note that the switches allow a range of station numbers from 0008 to 377 (256 possible numbers). However, there are practical reasons for using the the range 010
–077
8
and 110
8
–3768. These station numbers are
8
addressable from any station using an industrial terminal. PLC–2 family programmable controllers cannot address 000 Also, station 377
is an illegal address on the Data Highway. To optimize
8
response times, use consecutive station numbers beginning with 010
to 0078 or 1008 to 1078.
8
.
8
Data Highway Baud Rate Switch Assembly
The switch assembly labeled SW5 on the module circuit board is the data highway baud rate switch assembly. (Refer to Figure 3.4). The switches in this assembly must be set for the baud rate being used on the Data Highway communication link.
Figure 3.4 Data
Highway Baud Rate Switch Assembly
8
3-6
12
O N
O F F
Both switches ON for
57.6K Baud Rate
Loading...
+ 114 hidden pages