File search instruction chapter 3 – Rockwell Automation 1772-AF3,D17726.5.2 User Manual AUX FUNCT PROM User Manual

Page 10

Advertising
background image

File Search Instruction

Chapter 3

3Ć2

Figure 3.1

Auxiliary Function Format

Function

Funtion Number:
Data Addr:
Rresult 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.

Execute Aux

Figure 3.2

Example File Search Instruction

21

0400
0405

Function

Funtion Number:
Data Addr:
Rresult Addr:

Execute Aux

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 3.3).

Figure 3.3

Example of UserĆEntered Data (Binary)

Word

Bit Location

Location

17 16 15 14

13 12 11 10

07 06 05 04

03 02 01 00

Description

0400

Nor used

0 0 0 0

0 0 0 1

0 0 0 0

File Length = 10 words

0401

Available for

0 1 0 0

0 0 0 1

0 0 0 0

Address of File, lower 3 digits,

410

0402

Bit Storage

0 0 0 0

0 0 0 0

0 0 0 0

Address of File, upper 3

digits, 000

0403

Application Dependent

Data of match word

Advertising