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

Page 174

Advertising
background image

EAF Math Instructions

Chapter 14

14-2

Figure 14.1

EAF Two 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

a

a+1
a+2
a+3

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 B

MSD

LSD

b

d
g

k

Result

Address

Result

m
m+1
m+2

m+3

10348-I

13

X S

0 O/U

Address

The Operands and the Result words have the format xxx xxx . xxx xxx.
Only the Addition and Subtraction EAFs use all 12 digits. All other EAFs
use 6 digits maximum, located anywhere within the 12 available digits.
Legal formats are:

123456.

12.3456

12345.6 1.23456
1234.56

.123456

123.456

Enter the operands from the keyboard of your 1770-T3 terminal or through
ladder diagram instructions.

Operand A (which is the data address of the EAF instruction) can be
placed in any legal address in the data table. However, you must select
four consecutive addresses.

Important: Operand A does not need to be shown in the EAF rung.

Advertising