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

Page 183

Advertising
background image

EAF Math Instructions

Chapter 14

14-11

Figure 14.10

EAF One Operand Word and Digit Format in the Data Table

17 16 15 14 10 7 4 3

Data

0

S Digit 1 Digit 2 Digit 3

Digit 4
Digit 7

Digit 10

Digit 5
Digit 8

Digit 11

Digit 6
Digit 9

Digit 12

Operand A

MSD

LSD

Result

Address

Result

10348-I

13

X S 0 O/U

040

046

052

055

060

061
062

063

Address

The Operand and the Result words have the format xxx xxx . xxx xxx.
You can enter them from the keyboard of your 1770-T3 terminal or
through ladder diagram instructions.

If you select a data address (inside the EAF) other than 010 for the
Operand, you can locate the data anywhere in your data table. However,
you must select four consecutive data table addresses (Figure 14.11).

If you choose to use the default address (010) as the data address of the
EAF instruction, the processor seeks its data (operand) from the Get
instructions in the rung. Address 010 will not be altered or used by this
instruction. The Get instructions must be located in the rung immediately
before the EAF instruction. You may select up to four data table addresses
but they do not need to be consecutive addresses (Figure 14.10).

To enter the number ABC use only one Get or one data table word.

Important: 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

Advertising