Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 11 of 15

Communication Adapter Module (cat. no. 1771-KA2) User's Manual, pages 101 to 110

Pages 101 to 110 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 101

Chapter 8 Station Interfacing

Using Two Communication Modules When you connect two communication modules to your PLC-2 family processor, forces may or may not be cleared during uploading. Use the following cross-reference to determine whether forces will be cleared.

Does uploading take place through a later revision 1771–KA2 module (series A, revision D or later)? yes

Does uploading take place through a module directly connected to a 1770–T3 terminal?

yes no

Chapter Summary no forces are not cleared forces are cleared and terminal shows mode select menu forces are cleared and terminal shows mode select menu forces are cleared and terminal shows mode select menu

This chapter dealt with interfacing and interaction of a 1771-KA2 with its station and other stations on a Data Highway. This chapter covered: Floating master format Mastership of a Data Highway Command and reply messages, acknowledgements Message priority Data Highway link disconnects Commands from a computer on a Data Highway through a communication controller module (1771-KE/KF) Diagnostic command summary Chapter 9 discusses start-up and troubleshooting, monitoring, and module replacement.

8-9

Page 102

Chapter 8 Station Interfacing

8-10

Page 103

Chapter

9

Start-up and Troubleshooting

General

This chapter outlines an approach to start-up and troubleshooting procedures. Necessarily, exact procedures that would be followed vary from one application to the next. However, these guidelines provide a useful starting point when initiating a Data Highway installation or when trying to locate a fault condition. The methods described in this chapter can be used to test any station that contains a Bulletin 1772 programmable controller and a 1771-KA2 communication adapter module. Methods for start-up and troubleshooting of other processors are described in other manuals. When using a computer connected through a 1771-KE, -KF communication controller module, additional procedures are available for start-up and troubleshooting. Among these added capabilities, a set of diagnostic commands is available. Use of these commands to test module interaction is described in the User’s Manual, Communication Controller Module, publication 1771-6.5.15. Even where a computer is connected to the Data Highway, however, it is recommended that the procedures in this chapter to follow the initial testing of the station. Once each station with a programmable controller has been tested, operation of computer interfacing can then be checked.

Start-up and Troubleshooting Aids

This section describes the tools available to start-up and troubleshoot the system. These aids are provided by the module itself, by programming terminals, and by careful documentation provided by the programmer of the station processor. Module Indicators Module diagnostic indicators show the status of module operation with its station processor and with the Data Highway. This section describes these indicators and their significance in start-up and troubleshooting. Figure 9.1 shows the significance of various combinations of energized indicators. Three green indicators show module status in normal message transfer. Two red indicators show the status of module tests of the program and module communication with its station processor. 9-1

Page 104

Chapter 9 Start–up and Troubleshooting

Figure 9.1 Module Indicator Combinations Transmitting a Message

Transmitting Receiving

Receiving a Message

Ready to Send Message

COMM ADAPTER

COMM ADAPTER

On

On

Ready

Station Address is 377 (Illegal)

COMM ADAPTER

Off On

Off Both Flashing Alternately

Program Status Processor Link Status

COMM ADAPTER

COMM ADAPTER

COMM ADAPTER

On

COMM ADAPTER

COMM ADAPTER

On

On On On (momentary) Polling to Relinquish Mastership

On

Communication Zone of Program Being Checked

On (continuous) Program Fault in Communication Zone

On Processor Communication Fault

Fault in Module Memory Circuitry Detected at Power-up

On or Off Both Flashing Alternately

12361

The following paragraphs describe each indicator and its significance to the troubleshooter. XMTG The green transmitting indicator, labeled XMTG, turns ON when the module is current master of the Data Highway. As described in chapter 8, mastership means that the module is sending messages on the Data Highway communication link. This may be a command, reply, or polling message. RCVG The green receiving indicator, labeled RCVG, turns ON when the module is receiving a message addressed to it. When both this indicator and the XMTG indicator are ON, the module is polling. 9-2

Page 105

Chapter 9 Start–up and Troubleshooting

RDY The green message ready indicator, labeled RDY, turns ON when the module has messages that it is ready to transmit. With this indicator on, the module is ready to assume mastership when it is polled. PROG The red program status indicator, labeled PROG, indicates the status of module checks on the communication zone rungs of program. (These rungs are described in chapter 5.) A 1771-KA2 module checks the communication zone rungs of program at power-up and whenever the mode select switch on the processor is turned from PROG to TEST or RUN. It also checks these rungs after any received privileged write command is executed or whenever the Data Highway/Processor cable is reconnected between the module and its station processor. During this initializing procedure, the PROG indicator turns on. After the module has checked these communication zone rungs, and if it has found no errors in programming format for these rungs, the module turns the PROG indicator off. However, should any programming error be detected in the communication zone of program this indicator remains on and module activity on the Data Highway is disabled. In this event, the ERROR CODE storage word can be checked for an indication of the problem. (Refer to section titled “Start-up Procedures” for start-up procedures.) Should the PROG indicator fail to run on momentarily at power-up, or when the mode select switch is turned from PROGRAM LOAD (PROG) mode, the switch-selected station number may not match the station number in the header rung of the communication zone of program. PROC The red processor link status indicator, labeled PROC, tells you the status of the module’s communication with the station processor. This indicator must be off for normal communication. Should the PROC indicator go on, one of the following problems may have occurred: Disconnection of the Data Highway/Processor cable, which connects the communication adapter module and the processor Power OFF at the processor Fault in processor operation Incorrect processor link communication rate switch-selected on the module (Refer to section titled “Write Option Switch Assembly.”) 9-3

Page 106

Chapter 9 Start–up and Troubleshooting

Processor troubleshooting is described in the appropriate Assembly and Installation or User’s Manual for each controller. After the processor fault is corrected, the module automatically rechecks its communication with the processor and checks the communication zone rungs. Should proper communication and programming be detected, module-to-processor interaction is resumed and the PROC indicator turns OFF. Should both the PROC and PROG indicators be on at the same time, turn the mode select switch on the processor to PROGRAM LOAD (PROG) then back to RUN position to reset module operation. Programming Terminals Industrial terminals and program panels are invaluable aids for start-up and troubleshooting. These devices make available such aids as status indicators, value display, bit ON/OFF status control, FAULT bit monitoring, and ERROR CODE display. For the initial start-up procedures described in this chapter, it is best to have a least 2 programming terminals available. This allows a sending and receiving station to be monitored at the same time. Operation and use of the various programming terminals are described in other publications. (Please refer to the Programming & Operations manuals in Table 1.B.) This section briefly reviews the following functions of the programming terminals that have a special importance in troubleshooting testing: SEARCH functions Status indication FORCE functions Each of these tools is used in the procedures of sections titled “Start-up Procedures” and “Troubleshooting.” SEARCH Functions SEARCH functions enable various parts of a program to be quickly located and displayed. Table 9.A lists these functions on an industrial terminal.

9-4

Page 107

Chapter 9 Start–up and Troubleshooting

Table 9.A SEARCH Functions - Industrial Terminal Key Sequence

Response Positions cursor on the following program instruction. Positions cursor on preceding program instruction. Displays previous rung. Displays following rung.

Search

Displays first rung of program.

Search

Displays END statement of program.

Search

Display

Search

A xxxxxx

Search

B xxx

Search

-[ B ]- xxxx

Search

8 xxx

Single rung display. (Press same key sequence to restore multiple rung display.)

The specified instruction is displayed as it appears in one location in the program. Press [SEARCH] to display other locations where this instruction is used.

Displays output instructions which control the word xxx or any of its 16 bits. After initially pressing this key sequence, simply press [SEARCH] to display each other program location in which word xxx or its individual bits are addressed. (EXAMINE instructions not displayed by this SEARCH function.)

Legend: A

A relay-type instruction which addresses a single bit. This includes EXAMINE ON, EXAMINE OFF, OUTPUT ENERGIZE, LATCH, and UNLATCH instructions.

B x

An instruction which addresses a three-digit word. This includes all Timer/Counter, GET/PUT, LES, EQU, IMMEDIATE I/O, and Arithmetic Instructions. Numeric key.

Status Indication The programming terminals provide a status indication for most program instructions. For both the industrial terminal and the PLC program panel (CRT), this status indication is similar. With these terminals, an instruction symbol is intensified when the instruction is logically TRUE. For an input instruction, this means that the condition specified by the instruction has been met. For an output instruction, this means that the instruction is being carried out. An EXAMINE ON instruction, for example, is intensified when the corresponding input device is ON. This means that the memory bit addressed by the instruction is ON. Conversely, an EXAMINE OFF instruction is intensified when the memory bit it addresses is OFF. 9-5

Page 108

Chapter 9 Start–up and Troubleshooting

Note that this status indication is provided in both RUN and TEST modes. In the PROGRAM LOAD (or PROG) mode, however, intensity of a displayed instruction indicates cursor position. Figure 9.2 illustrates the significance of an intensified instruction for both the industrial terminal and the PLC program panel. Figure 9.2 Meaning of Intensified CRT Display Intensified insturction indicates cursor. Editing/changes to be made at this point in the rung.

For (A) RUN

TEST

PROG

A. Cursor

Note: In run or test modes, blinking indicates cursor position.

Intensified instruction indicates specified condition true.

For (B) RUN

TEST

PROG

B. Normal

Normal intensity indicates specified condition false

The PLC-2 program panel, meanwhile, has a different type of status indicator. On this terminal, an LED indicator is labeled STATUS. When the displayed instruction is logically TRUE, this STATUS indicator illuminates. Again, this STATUS indicator is provided in both RUN and TEST modes. The status indication is useful in monitoring the ON/OFF status of START/DONE and REMOTE/LOCAL FAULT bits.

9-6

Page 109

Chapter 9 Start–up and Troubleshooting

FORCE ON Function The FORCE ON function, available with each of the 3 programming terminals, can be a useful troubleshooting tool. When used in conjunction with the optional test rungs of section titled “Test Rungs (Optional),” this function controls the initiation of each command programmed at a station. An advantage of this programming terminal function is that it can be used only when the programming terminal is connected to the processor, or, in this case, to the PROGRAM INTERFACE socket of the communication adapter module. When the programming terminal is disconnected, the FORCE function is removed. A FORCE function can be entered in either the TEST or RUN mode. On the industrial terminal and the PLC program panel, the cursor must point to the instruction for a FORCE function to be entered. On the PLC-2 program panel, an instruction must be displayed for a FORCE function to be entered. On the industrial terminal, use the following key sequence for the FORCE ON function: To initiate [FORCE ON][INSERT] To remove [FORCE ON][REMOVE] REMOTE/LOCAL FAULT Bits The REMOTE and LOCAL FAULT bits provide the chief indicator of a hardware- related fault that prevents normal communication. As recommended in chapter 7, these bits must be programmed to control some output device to alert plant personnel of a fault condition. When this output device signals a fault condition, a programming terminal can then be used to display the ON/OFF status of any REMOTE or LOCAL FAULT bit station processor. Figure 9.3 summarizes the significance of both REMOTE FAULT bits.

9-7

Page 110

Chapter 9 Start–up and Troubleshooting

Figure 9.3 REMOTE/LOCAL FAULT Bit Significance Processor

PLC 2/20

Local Fault Possible Sources: • Disconnected data highway cable

• Power off at receiving station interface module

• Unused remote staiton no. address AC FUSE

• Station interface moduel at local or remote station has disconnected itself as a result of link monitoring

• Automatic timeout at sending station Sending Station

Remote Fault Possible Sources: • Remote station processor in program load (or prog) mode

Processor

PLC 2/20

• Command not executed due to module switch setting at receiving station

• Fault at remote station processor

AC FUSE

• Power off at remote station processor • Disconnected data highway/processor cable • Error detected in communication zone of program at remote station proccessor

Receiving (Remote) Station 10866-I

ERROR CODE Storage Word The ERROR CODE storage word is especially useful for station start-up. The codes displayed in the lower 2 digits of the ERROR CODE word may indicate an error in programming, switch-setting, or certain other conditions that prevent normal communication adapter module operation. The ERROR CODE storage word is addressed by the second GET instruction in the header rung (Refer to Figure 9.4.) This is the first rung of the communication zone of program.

9-8