Set up connections for a numeric input cursor point

Use the
Connections
tab of the
Numeric Input Cursor Point Properties
dialog box to set up tags and expressions for the object.
To set up tags and expressions for a numeric input cursor point
  1. In the
    Graphics Display
    editor, double-click the cursor point to open its
    Properties
    dialog box.
  2. Click the
    Connections
    tab.
  3. Assign a tag or expression to these controls:
    Value
    A read-write connection. Assign a tag to this connection. When the operator presses the pop-up's Enter 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 Expression
    An optional write connection. Assign a write expression to this 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 type is Fixed position, and the "Digits after decimal point" value is not 0, the decimal point is removed from the displayed value and the resulting value is used.
    Indicator
    A read connection. You can assign a tag or an expression to this connection. The application reads the value of the connection at the data source, and updates the object’s display to reflect the state corresponding to the value.
    If you assign an expression, the application calculates the value of the expression and updates the object’s display to reflect the state corresponding to the value.
    If you assign this connection, the cursor point does not display the value sent to the Value connection until it receives a response from the Indicator connection. If you do not assign this connection, the cursor point's state corresponds to the value at the Value connection.
    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 on 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
    option.
    Example: Write expressions
    Minimum
    An optional read connection. If the
    Use variable Minimum/Maximum
    check box on the
    Numeric
    tab is selected, assign a tag or an expression to this connection. If the check box is clear, 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 selected, assign a tag or an expression to this connection. If the check box is clear, 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
Have questions or feedback about this documentation? Please submit your feedback here.
Normal