Using the decimal point – Rockwell Automation 2711E-ND1 Reference Manual PanelBuilder 1400e User Manual

Page 98

Advertising
background image

92

Numerics

Publication 2711E-6.15 – November 1998

Rung for DH+ or ControlNet Application

20384

MOV

MOVE
SOURCE: N7:11
DEST: N7:12

Enter Bit
N7:10
] [

1

EQU

EQUAL
SOURCE A N7:13
SOURCE B 0

To select which value to change, press the Interlocked Push Button beside
the value, and use the Numeric Keypad to enter the new value.

You can determine whether or not the operator can enter numbers
with decimal points in the scratchpad for the Numeric Keypad
Enable Button, Numeric Input Cursor Point, and Numeric Entry
Keypad objects.

Note: With the exception of the Implicit decimal point option, any
decimal point entered is implied only. With the Implicit option, a
floating-point value is written to the PLC. For all other decimal point
options, the value sent to the Keypad Numeric Input control is
stripped of the decimal point.

Choose from the following decimal point options:

Disabled specifies no values with decimal points can be entered
in the scratchpad. Only integer values can be entered.

Implicit allows the operator to enter the number and decimal
point. Unlike the Decimal Key Controlled option, Implicit does
not use a (Numeric) Decimal Point Position control. The Keypad
Numeric Input control, which uses a floating-point address in the
PLC, contains all the information.

Implicit (floating-point) numbers are accurate up to 7 significant
digits. Leading or trailing zeroes do not count as significant
digits. If there are more than 7 significant digits, the number is
rounded off. The following table illustrates how the PanelView
terminal calculates the number of significant digits.

Number Entered

Number of Significant Digits

Number sent to the
PLC

ББББББ

ББББББ

.000012

БББББББББ

БББББББББ

2

БББББББ

БББББББ

.000012

.000012345678

8

.00001234568

ББББББ

ББББББ

123.45000

БББББББББ

БББББББББ

5

БББББББ

БББББББ

123.45

ББББББ

ББББББ

123.45678

БББББББББ

БББББББББ

8

БББББББ

БББББББ

123.4568

Using the Decimal Point

"

Advertising