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

Page 181

Advertising
background image

EAF Math Instructions

Chapter 14

14-9

Figure 14.7

EAF Multiplication Format in the Data Table After Execution

10351-I

X 0

0 0

17 16 15 14 10 7 4 3

13

0

0

4
0

0
2

0

0

0

0

0

0

0
0

0

0

0

0

0
0

0
0

0
0

0

0

0

0

8
0

0

0

Data

0

040
041
042
043

050
051
052

Result

Address
060
061
062
063

053

0
0

0
0

0
0

Address

Operand A

Operand B

Result

This EAF instruction is a feature of the Mini-PLC-2/17 processor only and
finds the value of the equation y

+/–x

= r. The Operand and Result words

have the format:

y = input base (positive only)
x = exponent ( +/– )
r = resultant number (positive only)

yyy yyy . yyy yyy

+/-xxx xxx . xxx xxx

= rrr rrr . rrr rrr

Enter an EAF rung like that shown in Figure 14.8.

Y to the X

Advertising