Rockwell Automation 1772-AF3,D17726.5.2 User Manual AUX FUNCT PROM User Manual

Page 19

Advertising
background image

File Diagnostic Instruction

Chapter 4

4Ć2

You enter the file search instruction in program logic by pressing the key
sequence [SHIFT] [EAF] 20 on the industrial terminal keyboard (series B or
later), or [SHIFT] [SCT] 20 on the keyboard of an earlier model that does not
contain the [EAF] key. The instruction will appear as shown in Figure 4.1.

Figure 4.1

Auxiliary Function Format

Execute Aux

Function

Function Number:
Data Addr:
Result Addr:

01

010
010

Numbers shown are default values and must be replaced

by your values. The number of default address digits

originally displayed, 3 or 4, depends on the size of the

data table.

Enter the data address and result address into the instruction block as 4-digit
BCD numbers from 0020 thru 3577. Typically, choose these addresses from
middle to upper sections of the data table. The data address is the first word of
a 5-word file. The result address is the first word of a 3-word file. A data
address of 0500 and result address of 0520 are typical (Figure 4.2).

Figure 4.2

Example File Diagnostic Instruction

Execute Aux

Function

Function Number:
Data Addr:
Result Addr:

20

0500
0520

Next, you will learn how to load data into addresses of the instruction.

You can load values into their respective addresses using the data monitor bit
manipulation mode of the industrial terminal. Press the key sequence
[SEARCH] [5] [3] followed by the word address. The industrial terminal will
display the 16 bits of the word address you entered. Then you enter the binary
equivalent of the values, one bit at a time (Figure 4.3).

Programming the File

Diagnostic Instruction

Advertising