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

Page 197

Advertising
background image

EAF Logarithmic, Trigonometric

and FIFO Instructions

Chapter 15

15-4

Data Table Format After Address Entry

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

Figure 15.2

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

MSD

LSD

040

041
042

043

Result

Address

Result

060
061
062

063

10364-I

13

X S

0 O/U

Address

Entry and Display of Input and Result Values

Figure 15.3 shows one method for displaying operand (data) values and the
result values of an EAF, not using the default address (010) as the Data
Address inside the EAF instruction. The first branch contains the Result.
The second branch contains the Operand. Addresses of the Operand do not
have to be consecutive (if the Data Address in the instruction is 010).

Figure 15.3

EAF Operand and Result Rung

060

EXECUTE AUX

FUNCTION

FUNCTION NUMBER:

DATA ADDR:

RESULT ADDR:

05

040

060

G

061

G

062

000

G

063

000

G

040

000

G

041

144

G

042

000

G

043

000

G

000

012

Advertising