beautypg.com

Using write expressions – Rockwell Automation 2711E-ND1 PanelBuilder 1400E Reference Manual User Manual

Page 86

background image

79

Numerics

Publication 2711E-820 – January 1998

Optionally, you can assign write expressions to perform a
mathematical calculation or logical operation on the value the
operator enters through the Numeric Keypad Enable Button,
Numeric Input Cursor Point, and Numeric Entry Keypad objects. To
use this option, assign the Optional Keypad Write Expression.

When the operator presses the Enter key to send the value to the
PLC, the PanelView terminal performs the mathematical calculation
or logical operation specified in the Optional Keypad Write
Expression, then sends the result to the Keypad Numeric Input
Control.

Write expressions use the same syntax as read expressions. However,
you must also include the User Entry Character, to indicate the
position in the expression of the value entered by the operator. The
User Entry Character is the question mark symbol “?”. For example,
if the operator enters a 5 at the Numeric Entry Keypad, the
expression:

tag1 + ?

evaluates to the value of tag1, plus 5.

You can enter multiple question marks in the write expression, for
example, if you are using a Case statement in the expression. See
“Assigning Write Expressions” in Chapter 7, Creating Expressions,
in the PanelBuilder 1400e Configuration Software for Windows User
Manual
.

Note: If you assign a write expression, the application will be
compatible only with PanelView Version 2 or later. The application
will not be compatible with earlier versions.

Using Write Expressions

"