How values are calculated, Problems with the numeric pop-up windows – Rockwell Automation FactoryTalk View Machine Edition Users Guide User Manual

Page 285

Advertising
background image

17

Use your application

17-27

• •

auto repeat mode. The ramp value is added to (or subtracted from) the last value sent
to the Value connection.

For more information about auto repeat mode, see page 21-12.

If ramping the button or cursor point would cause the value at the Value connection to
exceed the maximum value, or be less than the minimum value, a message is written
to the Diagnostics List and the value at the Value connection is not changed.

How values are calculated

When the pop-up keypad or scratchpad has focus and the operator presses the Enter
button, the value that is sent to the Value connection depends on how the button or cursor
point is set up.

The value the operator enters is compared to the minimum and maximum range for
the object. If the value is within the range, the value is written to the Value connection.

If the Optional Expression connection is assigned, and the original value is within the
range but the expression result is a value outside the range, the value is still written to
the Value connection.

If the decimal point type is Fixed Position, with a “Digits after decimal” value that is
greater than 0, the decimal point is stripped from the value before comparing it to the
minimum and maximum range.

For example, if the entered value is 9.25, the stripped value is 925.

If the stripped value is within the range, the stripped value is sent to the Value
connection (or substituted for the ? in the Optional Expression).

If the decimal point type is Implicit, and the tag assigned to the Value connection uses
an integer data type, floating-point values are rounded.

If the Optional Expression connection is assigned, the floating-point value is
substituted for the ? in the expression, and the expression result is rounded.

For information about how values are rounded, see page 7-2.

Problems with the numeric pop-up windows

Problems with the numeric pop-up keypad and scratchpad occur under these
circumstances:

If the graphic display changes remotely before the user has pressed the Enter button,
the pop-up window closes without writing out a value.

If the screen resolution is smaller than 124 pixels wide by 240 pixels high, the pop-up
keypad cannot open.

Advertising