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

Page 177

Advertising
background image

EAF Math Instructions

Chapter 14

14-5

Figure 14.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 A

MSD

LSD

040

041
042

043

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

047

050
053

057

Result

Address

Result

060

061

062

063

10349-I

13

X S 0 O/U Digit 1 Digit 2 Digit 3

Digit 4
Digit 7

Digit 10

Digit 5
Digit 8

Digit 11

Digit 6
Digit 9

Digit 12

MSD

LSD

Address

Entry and Display of Input and Result Values

You can monitor the values in the Operands and Result words by entering
the instructions shown in Figure 14.3. This figure shows one method for
monitoring input and result values of an EAF instruction.

The shaded portion is called a primary ladder diagram. It contains
Operand B and an EAF block. You can have as many as 4 Gets in this
rung to select Operand B and they need not be consecutive data table
addresses. Any rung conditions must be at the beginning of the rung.
Nothing except a Branch End can be between the Gets and the EAF.

Operand A must have four consecutive data table word addresses. They
can be stored anywhere in your data table.

Advertising