Rockwell Automation 2711E-ND1 Reference Manual PanelBuilder 1400e User Manual

Page 78

Advertising
background image

72

Numerics

Publication 2711E-6.15 – November 1998

Using the Numeric Input Cursor Point on the PanelView Terminal

When the application is running, the operator can use the following
keys to control the Numeric Input Cursor Point:

This key

Does this

Select

Enables cursor point operation and activates the arrow and
Home keys.

Arrow keys

Move the cursor to the desired Numeric Input or Set Bit Cursor
Point on the screen.

Home

Moves the cursor to the Home position (the top left Numeric
Input or Set Bit Cursor Point) on the screen.

Cancel

Turns off the Numeric Input Cursor Point feature and disables
the keys.

When a Numeric Input Cursor Point is selected, the Numeric Entry
scratchpad prompt, “Enter New Value or Press Cancel” appears at
the top of the display. The operator then uses the Numeric Keypad
keys to type the new value, and presses the Enter key to send the
value to the Keypad Numeric Input control. If you assign the
Optional Keypad Write Expression, the PanelView terminal can
perform a mathematical calculation or logical operation on the value
the operator enters, and then send the result to the PLC.

If the operator uses the Raise or Lower keys, the Keypad Numeric
Input tag value is incremented or decremented without the Enter key
being pressed. The increment/decrement value of the Numeric Input
Cursor Point object is added/subtracted from the Keypad Numeric
Input value without being applied to the decimal point configuration.

This value is then scaled using the formula

x +

ǒy * bǓ

m

before being

written to the PLC:
where

m = scale
x = raw PLC data
b = offset
y = scaled value

For example, the current value of the Keypad Numeric Input tag is 5,
the increment/decrement value is 1, and the scale value is 4. When
the raise key is pressed, the two values (the current value and the
increment/decrement value) are added together at the terminal to
give 6. Before being sent to the PLC, this value is then scaled using
the above formula, resulting in a scaled value of 24.

Advertising