IntroductionChapter 11–6
Station InterfacingChapter 88-8DownloadsFor program downloads with the 1770-T3 terminal in the PLC-2 mode,the terminal:1. displays the prompt:DOWNLOAD
Station InterfacingChapter 88-9Using Two Communication ModulesWhen you connect two communication modules to your PLC-2 familyprocessor, forces may or
Station InterfacingChapter 88-10
Chapter 99-1Start-up and TroubleshootingThis chapter outlines an approach to start-up and troubleshootingprocedures. Necessarily, exact procedures th
Start–up and TroubleshootingChapter 99-2Figure 9.1Module Indicator CombinationsTransmitting aMessageReceiving aMessageReady toSendMessageStation Addre
Start–up and TroubleshootingChapter 99-3RDYThe green message ready indicator, labeled RDY, turns ON when themodule has messages that it is ready to tr
Start–up and TroubleshootingChapter 99-4Processor troubleshooting is described in the appropriate Assembly andInstallation or User’s Manual for each c
Start–up and TroubleshootingChapter 99-5Table 9.ASEARCH Functions - Industrial TerminalKey Sequence ResponsePositions cursor on the following program
Start–up and TroubleshootingChapter 99-6Note that this status indication is provided in both RUN and TEST modes.In the PROGRAM LOAD (or PROG) mode, ho
Start–up and TroubleshootingChapter 99-7FORCE ON FunctionThe FORCE ON function, available with each of the 3 programmingterminals, can be a useful tro
Chapter 22-1Station HardwareThe following components make up a Data Highway station with a PLC-2family PC: Communication Adapter Module Processor PL
Start–up and TroubleshootingChapter 99-8Figure 9.3REMOTE/LOCAL FAULT Bit SignificanceAC FUSEPLC2/20Local FaultPossible Sources:• Disconnected data hig
Start–up and TroubleshootingChapter 99-9Appendix A lists each ERROR CODE and its meaning.Figure 9.4Header RungL02707011G077CEEG015GLocalStation No.Sto
Start–up and TroubleshootingChapter 99-10Optional test rungs are shown in Figure 9.5. Within this ZCL area, theSTART bit is unconditionally LATCHED O
Start–up and TroubleshootingChapter 99-11These rungs send the command continuously, as long as the ZCL area isenabled. As a quick check of this conti
Start–up and TroubleshootingChapter 99-12A ladder-diagram printout can be generated on a compatible data terminal,such as a teletype or other line pri
Start–up and TroubleshootingChapter 99-13Overall ApproachIn start-up testing, it is best to limit the number of things happening at onetime. By caref
Start–up and TroubleshootingChapter 99-14Increasing the Group SizeOnce paired testing has been completed, execution of each command hasbeen verified.
Start–up and TroubleshootingChapter 99-15The ERROR CODE storage word is listed in the header rung of thecommunication zone of program.The significance
Start–up and TroubleshootingChapter 99-16Sample test rungs are shown in Figure 9.5. The following steps outlinethe procedures for programming these r
Start–up and TroubleshootingChapter 99-17With the START bit energized, proceed to the monitoring checks of theparagraph entitled “Monitoring DONE and
Station HardwareChapter 22-2Figure 2.2Typical Station Configuration--Mini-PLC-2, Mini-PLC-2/05, and Mini-PLC-2/15 ControllersStationData Highway Cable
Start–up and TroubleshootingChapter 99-18Testing the Receiving StationThe receiving station is checked with the sending station for onepurpose--verifi
Start–up and TroubleshootingChapter 99-19REMOTE/LOCAL FAULT Indicator ONAs recommended in chapter 7, some indicator must be controlled by thestatus of
Start–up and TroubleshootingChapter 99-20on the program panel or industrial terminal, observe the status indicatorsof the terminal carefully. Due to
Start–up and TroubleshootingChapter 99-214. Lift the plastic lever on the module to break its backplaneconnection.5. Firmly grasp the sides of the mod
Start–up and TroubleshootingChapter 99-22Figure 9.8Disconnecting a StationTrunkline InTrunkline OutGround Wire#12 Ga. to Earth GroundDropline Cable15–
Start–up and TroubleshootingChapter 99-23Procedures for start-up and troubleshooting were discussed in this chapter.It detailed: General procedures A
Start–up and TroubleshootingChapter 99-24
Chapter 1010-1Design Aids and DocumentationThis chapter provides programmer aids to help in writing, organizing, anddocumenting a program for a commun
Design Aids and DocumentationChapter 1010-2The rungs used in this example illustrate the programming principles ofchapters 5 through 7 of this manual.
Design Aids and DocumentationChapter 1010-3Figure 10.2PLC-2/20 Processor Memory Organization1700 01Total DecimalWord UsedDecimal WordsUsed in EachArea
Station HardwareChapter 22-3connection, switches for enabling or disabling specific module operations,and indicators to aid in monitoring module behav
Design Aids and DocumentationChapter 1010-4Figure 10.3Mini-PLC-2/15 Memory OrganizationProcessor Work AreaNo. 1OutputImage TableBit/Word StorageReserv
Design Aids and DocumentationChapter 1010-5Figure 10.4PLC-2/30 Memory OrganizationTotalDecimalWords86472128256384512640Up to8192DecimalWordsPer Area85
Design Aids and DocumentationChapter 1010-6Figure 10.5Mini-PLC-2 Memory Organization17 1600 0 0Total DecimalWords UsedDecimal WordsUsed in EachArea816
Design Aids and DocumentationChapter 1010-7Figure 10.6Mini-PLC-2/05 Memory OrganizationProcessor Work AreaNo. 1OutputImage TableBit/Word StorageReserv
Design Aids and DocumentationChapter 1010-8Figure 10.7Sample Form (publication 5030) for Switch Settings on Communication Adapter Module(cat. no. 1771
Design Aids and DocumentationChapter 1010-9Figure 10.8Sample Form (publication 5032) for Command Listing--From Station17 16 15 14 13 12 11 10 07 06 05
Design Aids and DocumentationChapter 1010-10Figure 10.9Sample Form (publication 5033) for Command Listing--To StationALLEN–BRADLEY DATA HIGHWAYCOMMAND
Design Aids and DocumentationChapter 1010-11We have tried to present information on the KA2 module in a way thatwill be most helpful to you. Obviousl
Design Aids and DocumentationChapter 1010-12
AppendixAA-1Error Code ListingCodeSTS Byteof ReplyMessage(in Hex)Meaning0001, 0203040506070800 No ErrorProcessor communications problem. May be proce
Station HardwareChapter 22-4Figure 2.4Module Connection SummaryData HighwayProcessor Cable(cat.no. 1771-CN, -CO, -CR)“Program Panel”or “Interface”Sock
Error Code ListingAppendix AA-2Code MeaningSTS Byteof ReplyMessage(in Hex)COMMUNICATIONS ERRORS(MAY BE DISPLAYED IN CONJUNCTION WITH REMOTE/LOCAL FAUL
IndexI–1Symbols”transition” bit, 7-9 **Empty**, 2-4 , 2-5 , 2-11 , 8-3 , 9-6 AAcknowledgement, message, 8-4 CCable connections, 3-9 Cable, DH/Processo
IndexI–2UUpload, 8-7 , 8-8 , 9-1 Using two modules, 3-4 , 5-3 XXMTG, 2-6 , 9-2 ZZone Control Logic (ZCL) area, 5-1 , 9-10 Zone Control Logic (ZCL) are
Station HardwareChapter 22-5To connect any programming terminal to the PROGRAM INTERFACEconnector, use a program panel interconnect cable (cat. no. 17
Station HardwareChapter 22-6Figure 2.5Module IndicatorsCOMMADAPTERXMTGRCVGPROGPROCMessage ReadyTransmitting Receiving Program StatusProcessor LinkRDYS
Station HardwareChapter 22-7PROGThe red program status indicator tells you the status of module checks onthe communication zone rungs of the user prog
Station HardwareChapter 22-8Module Specification SummaryTable 2.A lists operating specifications for a 1771-KA2 module.Table 2.AOperating Specificatio
Station HardwareChapter 22-9The interaction between a KA2 module and its station processor occurs inmemory control. The station KA2 can read data fro
Station HardwareChapter 22-10Figure 2.61771-AL Adapter ModulePLC-2I/O ADAPTER10864-IA 1771-KA2 module gets its power from the backplane. It requires
Station HardwareChapter 22-11Figure 2.71771-P1 System Power SupplyALLEN-BRADLEYDC ONBatteryLow10865-IWhen using the PLC-2/20 or PLC-2/30 processor, an
Station HardwareChapter 22-12Figure 2.8PLC-2 Power SuppliesAC FUSEPLC2/30a. PLC-2 System Power Supply ModuleAC FUSEPLC2/30AC FUSEb. PLC-2 Auxiliary
Station HardwareChapter 22-13A 1771-KA2 module requires the following cables for installation: Data Highway/Processor cable (cat. no. 1771-CN,-CO,-CR
Station HardwareChapter 22-14
Chapter 33-1Module InstallationThis chapter outlines procedures for preparation, installation, andconnection of a 1771–KA2 module. Before performing
Module InstallationChapter 33-2Use the tip of a ball–point or other pointed instrument to set theseswitches. Do not use a pencil, as lead could jam t
Module InstallationChapter 33-3 ON – Enables execution of received protected commands. OFF – Disables received protected commands.Note that bot
Module InstallationChapter 33-4RECEIVE PRIVILEGED WRITE SWITCHSwitch 4 determines whether the module can execute received privilegedwrite commands. T
Module InstallationChapter 33-5The station number switch group comprises 3 switch assemblies (SW2,SW3, SW4) on the module circuit board, as Figure 3.3
Table of ContentsiIntroduction 1-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Description 1-1 . . . . . . . . . . . .
Module InstallationChapter 33-6In this binary–coded octal numbering arrangement, each switch has anassociated binary value: 1, 2, or 4 if set ON, 0 i
Module InstallationChapter 33-7The module is shipped with these switches set for 57.6K baud. Bothswitches are set ON for this communication rate. Th
Module InstallationChapter 33-8Figure 3.5Keying Band Position24681012141618202224262830323436KeyingBandsFollow these procedures to install the module:
Module InstallationChapter 33-9The following cable connections are made to a communication adaptermodule: Data Highway cable Program panel interconn
Module InstallationChapter 33-10Figure 3.6Data Highway Cable ConnectionTrunkline1770–SC Station ConnectorDropline(100 feet maximum)Communication Adapt
Module InstallationChapter 33-11Figure 3.7Industrial Terminal ConnectionProgram Panel InterconnectCable (cat. no. 1772-TC)10219a-IChannel AData Highwa
Module InstallationChapter 33-12Figure 3.8Data Highway/Processor Cable ConnectionAC FUSEPLC2/20ConnectorLabeled“ProgramPanel”Data Highway ProcessorCab
Chapter 44-1CommandsThe primary function of a KA2 module is to transfer data to and from itsstation processor. The module is instructed to transfer sp
CommandsChapter 44-2Privileged CommandsThis chapter describes functions of these commands and their access todata table locations at station processor
CommandsChapter 44-3Terminology: Remote/Local StationIn this and later chapters, we use the terms “remote station” or “localstation.” The local stat
Table of ContentsiiStatus Words 6-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General 6-1 . . . . . . . . . . . . . .
CommandsChapter 44-4Figure 4.2Protected/Unprotected Command Distinction>010>MemoryWordAddressEnd ofDataTableA protected command can accessonly s
CommandsChapter 44-5A write command can control data table words at any station processor.However, certain data table areas at each type of processor
CommandsChapter 44-6This first restriction simply states that no bit should be directly controlled,that is, addressed, by both an output instruction a
CommandsChapter 44-7The second restriction listed above applies when the destination station isa PLC-2 family PC. For these processors, when the stat
CommandsChapter 44-8 Processor work areas Input image table Word 027Later paragraphs describe the limitations in controlling each of theseareas. Acc
CommandsChapter 44-9indicates a low-battery condition. Because of these special functions, caremust be exercised in controlling word 027 with a write
CommandsChapter 44-10Word 000Reserve word 000 of the PLC processor output image table when using aKA2. This means that commands from another station
CommandsChapter 44-11The PLC/PLC-2 station can use either protected or unprotectedcommands to access its assigned PLC-3 file. Note, however, that the
CommandsChapter 44-12The addressing scheme is summarized in this chart:Table 4.AInternal Addressing of a PLC-4 Microtrol ControllerType ofAddressContr
CommandsChapter 44-13Figure 4.4Memory Map for Controller 1Controller 1Controller 2Controller 3Controller 4Controller 5Controller 6Controller 7Controll
Chapter 11–1IntroductionAn Allen-Bradley Data Highway extends the capabilities ofprogrammable controllers by letting them exchange data with each othe
CommandsChapter 44-14address code 010addresses the first controller - controller 1 - whileaddress code 011addresses the second controller - controller
CommandsChapter 44-15This chapter told you about the 1771-KA2’s: Station terminology Commands, protected and unprotected, reads & writes Process
CommandsChapter 44-16
Chapter 55-1Communication Zone RungsAt the beginning of the ladder-diagram program, you enter a special set ofrungs that dictate communication adapter
Communication Zone RungsChapter 55-2Overall FormatThe overall format for the communication zone of program is shown inFigure 5.1. This figure shows e
Communication Zone RungsChapter 55-3The order of these communication zone rungs is as follows:1. Header rung2. Memory access rung(s) (as needed)3. Com
Communication Zone RungsChapter 55-4Figure 5.2Header Rung011[G]077[G]015[G](L02707OFF)000000 000LocalStationNumberAddress ofError CodeStorage WordTim
Communication Zone RungsChapter 55-5(Note that memory access rungs are not needed to allow unprotectedcommands; only protected commands require a memo
Communication Zone RungsChapter 55-6Figure 5.3Memory Access ExampleMemory AccessBoundaries inLocal StationData TableRemoteStation No.StartingAddressEn
Communication Zone RungsChapter 55-7For practical reasons, do not exceed the display area of the programmingterminal when entering these rungs. You ca
IntroductionChapter 11–2 Mini-PLC-2/15 (cat. no. 1772-LV)This module enables communication of memory data between theseprocessors, and from any of th
Communication Zone RungsChapter 55-8Figure 5.5Command Rung FormatAAAPX[](02707)[]CommandREFER TO FIGURESCodeStartBit5.6 AND 5.7AAA – REMOTE STATION
Communication Zone RungsChapter 55-9The START bit is controlled by the program. This allows a command tobe initiated only when necessary. (Programmi
Communication Zone RungsChapter 55-10This format uses 3 GET statements. The address position of the first GETstatement lists a remote station data tab
Communication Zone RungsChapter 55-11Figure 5.7Bit Command Format02707EEEEEFFFFF/GGGGG/HHHHHIIIII/JJJJJ–] [–Legend:Branch Start(If Needed)–] / [–EE
Communication Zone RungsChapter 55-12Figure 5.8Delimiter Rung02707UChapter 5 was the RUNG chapter; it discussed: Communication zone rungs Communicat
Chapter 66-1Status WordsA 1771-KA2 communication adapter module controls certain data tablewords specified in the local station processor by the progr
Status WordsChapter 66-2Any accessible data table words can be used as status words in the stationprocessor. Note that the same recommendations for d
Status WordsChapter 66-3As Figure 6.1 shows, the selection of a START bit in the program not onlycauses a corresponding DONE bit to be controlled in t
Status WordsChapter 66-4REMOTE FAULT bits are in the upper byte of this word. A REMOTEFAULT bit is set ON when a command is received at a remote stati
Status WordsChapter 66-5When a command cannot be carried out due to a user programming erroror a discrepancy in data handled by the communication adap
IntroductionChapter 11–3This manual describes installation, operation, and programmingnecessary to use the KA2 communication adapter module. Use this
Status WordsChapter 66-6The upper byte of the ERROR CODE storage word (bits 10-17) stores a2-digit BCD value. This value gives supplemental error or f
Status WordsChapter 66-7This was the WORD and CODE chapter and it discussed: START/DONE, REMOTE/LOCAL FAULT bit storage REMOTE/LOCAL fault word Err
Status WordsChapter 66-8
Chapter 77-1Command Initiation, Execution, and MonitoringThis chapter describes the support programming for commands at eachstation processor. This pr
Command Initiation, Execution, andMonitoringChapter 77-2Figure 7.1 shows the timing of START and DONE bits for a command.The significance of START/DON
Command Initiation, Execution, andMonitoringChapter 77-3Faulty OperationCertain fault conditions can prevent normal reception and execution ofcommands
Command Initiation, Execution, andMonitoringChapter 77-4Recall that the START bit is program-controlled. The REMOTE/LOCALFAULT bits, meanwhile, are co
Command Initiation, Execution, andMonitoringChapter 77-5Thus, the rung used to UNLATCH the START bit examines these threepossible responses in paralle
Command Initiation, Execution, andMonitoringChapter 77-6Figure 7.3Status-Initiated CommandL032121111103312/03302/03302U0320320211111/RemoteFaultLocalF
Command Initiation, Execution, andMonitoringChapter 77-7Even though the FAULT bits are continually reset with this method, theirusefulness must not be
IntroductionChapter 11–4Table 1.BManuals for Allen-Bradley Programmable ControllersControllerOldNumberNewNumberManual TItleMini-PLC-2Program. Cont.177
Command Initiation, Execution, andMonitoringChapter 77-8Figure 7.4Transition-Initiated CommandL0321202000 03312/03302/11111/L020001111101111/RemoteFau
Command Initiation, Execution, andMonitoringChapter 77-9In this example, a storage bit, called the “transition” bit, is manipulated tocontrol the send
Command Initiation, Execution, andMonitoringChapter 77-10Figure 7.5Timer-Initiated Command03312Remote Fault03302Local FaultU0321203202DoneStartTON0461
Command Initiation, Execution, andMonitoringChapter 77-11executed, but also point to the general type of fault condition thatprevented command complet
Command Initiation, Execution, andMonitoringChapter 77-12Figure 7.6FAULT Bit Diagnostic Rungs (Single Command Example)03300Local FaultL01000OFF03310Re
Command Initiation, Execution, andMonitoringChapter 77-13Figure 7.7FAULT Bit Diagnostic Rungs (Multiple Commands Example)05501/Remote Fault StatusTOF0
Command Initiation, Execution, andMonitoringChapter 77-14The OFF-DELAY timer is useful in this application because it iscontinually reset when its run
Command Initiation, Execution, andMonitoringChapter 77-15enters the value 37 in the lower byte of the ERROR CODE storage wordof the header rung.Figure
Command Initiation, Execution, andMonitoringChapter 77-16Timeout preset monitoring is intended as a backup for the othercommunication monitoring funct
Command Initiation, Execution, andMonitoringChapter 77-17If it is necessary to use a value other than those provided in Table 7.B,compute the 3-digit
IntroductionChapter 11–5 Controls communication without need for a host computer. Has automatic error checking of data it receives. Has self-checki
Command Initiation, Execution, andMonitoringChapter 77-18to detect such a condition; the simplest of these methods uses anON-DELAY timer. Figure 7.9
Command Initiation, Execution, andMonitoringChapter 77-19communication adapter module. (REMOTE and LOCAL FAULT bits atother stations indicate the sam
Command Initiation, Execution, andMonitoringChapter 77-20
Chapter 88-1Station InterfacingTo execute commands, a 1771-KA2 communication adapter module atone station interacts with all other stations interface
Station InterfacingChapter 88-2MastershipA Data Highway cable links as many as 64 stations. Because this cablehas a single pair of wires, only one st
Station InterfacingChapter 88-3The function of both command and reply messages is the transfer of databetween stations. As soon as the communication
Station InterfacingChapter 88-4The reply message is an automatic function of communication adaptermodule operation, transparent to the user program.
Station InterfacingChapter 88-5corresponding reply message. (The command code is described inchapter 5.)Priority commands are executed ahead of norma
Station InterfacingChapter 88-6 Unprotected bit writeThese commands have the same execution sequence and memory accessas the same commands from a com
Station InterfacingChapter 88-7Table 8.ADiagnostic Command SummaryCommand FunctionDiagnostic loop Echoes transmitted data back in reply messageDiagnos
Comentarios a estos manuales