beautypg.com

Rockwell Automation 1772-LS_LSP,D17726.8.6 PROG/OPER MANUAL-MINI PLC-2/05 User Manual

Page 94

background image

Math Instructions

Chapter 10

10Ć6

Figure 10.2

Data Address Format

X S X X

M

L

K

X X X X

J

H

G

X X X X

F

E

D

X X X X

C

B

A

M

L

K

J

H

G F

E

D

C

B A

implied and not displayed.

Operand A is displayed in the 1770ĆT3 industrial terminal like this:

Operand A is stored in the data table like this:

Integer High Word

Integer Low Word

Decimal High Word

Decimal Low Word

17 16 15 14

10 7

4 3

0

S = Sign Bit

X = Additional Storage Bits

13

Important: Valid data addresses include the I/O image table and the data table
(except word 027). Specifically, valid addresses are from 010 to 026, from 030
to 077, and from 110 to the end of the data table. Data addresses and result
addresses must not reside in the input image table.

The most significant four bits of the integer high word of the data address
(Figure 10.2) are reserved for status bits.

bit 17 - not used
bit 16 - sign (+/-)
bit 15 - not used
bit 14 - not used

There is an implied decimal point between the integer low word and the decimal
high word. The decimal point is implied but not displayed (Figure 10.2).