14ć18, Reciprocal – Rockwell Automation 1772-L8_LW_LWP_LX_LXP,D17726.5.8 User Manual User Manual

Page 190

Advertising
background image

EAF Math Instructions

Chapter 14

14-18

Figure 14.18

EAF Power of 10 Format in the Data Table After Execution

17 16 15 14 10 7 4 3

Data

Address

0

Result

Address

10357-I

13

040

041

042

043

060

061

062

063

0

0

0

0

0

0

0

0

0

1

0

0

2

0

0

4

3

0

0

3

6

8

2

2

2

Operand A

Result

The Reciprocal EAF instruction is a feature of the Mini-PLC-2/17
processor only.

This EAF function finds the reciprocal of a number. The Operand and
Result words have the format:

1/ +/–xxx xxx . xxx xxx = +/–yyy yyy . yyy yyy

Enter an EAF rung like that shown in Figure 14.19.

Figure 14.19

EAF Reciprocal Function Input and Display Rung

060

EXECUTE AUX

FUNCTION

FUNCTION NUMBER:

DATA ADDR:

RESULT ADDR:

34

040

060

G

061

G

062

008

G

063

065

G

040

G

041

124

G

042

386

G

043

000

G

000

000

000

Enter the value for the operand. Entry of operand 124 yields as its
reciprocal value 0.008065. Figure 14.20 shows how it is stored in the
data table.

Reciprocal

Advertising