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

Page 22

Advertising
background image

File Diagnostic Instruction

Chapter 4

4Ć5

Figure 4.6

Example Map of File Locations

Word

Location

0505

0506

0521

Bit Location

17 16 15 14 13 12 11 10 07 06 05 04

03 02 01 00

0

Description

0507

Reference File

(10 words)

First word of Instruction File

Last Word of Result File

0516

0520

0522

0523

0524

0525

0534

1

Last Word of Reference File

First Word of Result File

First Word of Actual Value File

First Mismatch found at 0525/02

Last word of Actual Value File

•••

Result File

(3 words)

Actual Value File

(10 words)
Mismatch found

at 0525/02

••

Result Address - The result address is the second address that you entered into
the instruction block. It is the first word of the result file. The result file is
where the instruction momentarily stores the following information (0520-0522
in Figure 4.7):

First word - * Control bits 17-14

* Error count, 0 to 999 (BCD), bits 13-00

Second word - * Status of the bit in the file of actual values that did not

match, bit 17
* Instruction work area, bits 16-14 (Do not use these bits
for any purpose)
* Address of word containing the mismatch, upper 3
BCD digits, bits 13-00

Third word - * Address of word containing mismatch, lower 2 BCD

digits, bits 17-10
* Bit number in word containing mismatch, 2 BCD digits,
bits 07-00

Advertising