Rockwell Automation 1772-L8_LW_LWP_LX_LXP,D17726.5.8 User Manual User Manual

Page 206

Advertising
background image

EAF Logarithmic, Trigonometric

and FIFO Instructions

Chapter 15

15-13

Figure 15.12 shows how a full file is stored in the data table.

Figure 15.12

This Is a Full File Stored in the Data Table

032
033
034
035

040
041
042
043

044

050

060

061

130

0
0

0
0
0

0

5

4
3
2

1

0

0

4
0

6
4
0
6

0

0

0

5
0
0

5
1

5

0

0 1

17

031

030

10 07 00

10368-I

1 0

1 0 1 0

5

4
3
2

1

5

4
3
2

1

<

The full file

5

5

5

If you want to load zero as valid FIFO data, insert zeros in the Input Word.
Do a SEARCH 53, enter the address of the input word, and set any one of
the upper four bits on. Set bit 15 since this is the designated “zero” bit for
EAF instructions. Then, when you load the data into the file, the file will
accept “zero” as valid FIFO data (Figure 15.13).

Advertising