Set up connections for a Numeric Input Enable button
Use the
Connections
tab of the Numeric Input Enable Properties
dialog box to set up tags and expressions for the button.To set up tags and expressions for a Numeric Input Enable button
- In theGraphics Displayeditor, double-click the button to open itsPropertiesdialog box.
- Click theConnectionstab.
- Assign a tag or expression to these controls:ValueA write connection. Assign a tag to this connection. When the operator presses the pop-up'sEnter key or ramps a value, the application writes the numeric value to the tag’s data source.If you do not assign the Value connection, at runtime when the operator presses the button, the numeric pop-up does not open.Optional ExpressionThe Optional Expression connection is an optional write connection that works with the Value connection. To use it, assign a write expression to the Optional Expression connection. The application calculates the value of the expression and writes the result to the Value connection. All write expressions must contain a question mark (?) as a placeholder for the value the operator enters at runtime.If the Decimal Point option is set to Fixed position, the Fixed position output is Stripped Value, and the Digits after decimal point option value is not 0, the decimal point is removed from the shown value and the resulting value is used.TIP:If an Optional Expression is assigned, ramping is disabled.
Enter
A write connection. Assign a tag to this connection. This connection accepts values of 0 and 1 only. The connection determines how long the
Enter
key press is registered. Use this connection for Enter key handshaking.Enter Handshake
A read connection. You can assign a tag or an expression to this connection. This connection resets the Enter connection, using the
Handshake Reset Type
option specified in the Timing tab. Use this connection for Enter key handshaking if you want the Enter connection to be reset when a value at the data source changes.If you assign an expression, the application calculates the value of the expression and resets the Enter connection when the expression value meets the conditions of the Handshake Reset Type.
Minimum
An optional read connection. If the Use variable
Minimum/Maximum
check box on the Numeric
tab is checked, assign a tag or an expression to this connection. If the check box is not checked, this connection is not read.The application reads the value of the tag or expression to determine the minimum value the object can write to the data source.
Maximum
An optional read connection. If the Use variable
Minimum/Maximum
check box on the Numeric
tab is checked, assign a tag or an expression to this connection. If the check box is not checked, this connection is not read.The application reads the value of the tag or expression to determine the maximum value the object can write to the data source.
Provide Feedback