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

Page 27

Advertising
background image

File Diagnostic Instruction

Chapter 4

4Ć10

data table to accommodate the size of your files (two 128-word data table
sections in this example). Enter [SEARCH] [5] [0] followed by the number of
data table sections.

Enter data into the addresses as shown in Figure 4.11 using [SEARCH] [5] [3].

You can watch the results of the file diagnostic instruction by observing the data
in the Get instruction in rung 5. First Get instruction (result word one) shows
the error count. Third Get instruction (result word three) shows the mismatched
bit number.

Figure 4.10

Example File Diagnostic Logic

RTO

0030

030

15

0040

000

0.1

PR 015

AC 000

040

17

030

15

0030

PR 015

RTR

AC 000

G

0043

000

PUT

0041

000

G

0042

000

G

Execute Aux

Function

Function Number:
Data Addr:
Result Addr:

20

0031
0040

Advertising