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

Page 175

Advertising
background image

EAF Math Instructions

Chapter 14

14-3

Operand B can have as many as 4 data table words. They must be in the
same rung as the EAF. Conditioning statements are not permitted between
these Gets and the EAF. This operand can use as many as 4 Gets, and their
addresses do not have to be consecutive. See the data addresses of
Operand B in Figure 14.1 (b, d, g, and k).

To enter the number ABC use only one Get or one data table word. If
there is only one Get, the value is placed immediately to the left of the
decimal point.

––––[G]––– xxx ABC . xxx xxx
+/– ABC

To enter the number ABC DEF use two Gets or two data table words.

––––[G]–––[G]––– ABC DEF . xxx xxx
+/– ABC DEF

To enter the number ABC DEF . GHI use three GETs or three data
table words.

––––[G]–––[G]–––[G]––– ABC DEF . GHI xxx
+/– ABC DEF GHI

To enter the number ABC DEF . GHI JKL use four GETs or four data
table words.

––––[G]–––[G]–––[G]–––[G]––– ABC DEF . GHI JKL
+/– ABC DEF GHI JKL

The numbers have a fixed decimal point that is implied but not displayed.

The Result word can be placed in any legal location in the data table. The
Result Address of the EAF points to the first result word. However, you
must select four consecutive locations. Its word format is similar to the
operands except there are 3 status bits.

Advertising