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

Page 185

Advertising
background image

EAF Math Instructions

Chapter 14

14-13

Data Table Format After Address Entry

Be careful not to select data and result addresses so that they overlap.

Figure 14.11

EAF Word Format in the Data Table After Address Entry

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

10354-I

13

X S

0 O/U

040

041

042

043

060
061
062
063

Address

Entry and Display of Input and Result Values

Figure 14.12 shows one method for displaying input values and the result
of an EAF. The first branch contains the Result. The second branch
contains the Operand. The addresses of the Operand do not have to be
consecutive if you use data address of 010.

Figure 14.12

EAF Input and Result Rung

060

EXECUTE AUX

FUNCTION

FUNCTION NUMBER:

DATA ADDR:

RESULT ADDR:

05

040

060

G

061

012

G

062

000

G

063

000

G

040

G

041

100

G

042

000

G

043

000

G

000

000

Advertising