Text has the following Array Display Value properties:
Array expression
Enter the expressionA statement (or group of statements) that returns a value. An expression can be a single variable, a mathematical formula, or a function. which is to return one or more integers. For each returned integer, a different piece of text is displayed.
If the return value is:
To insert a tag or a function, click the Wizard button to the right of this field. This button displays two options: Insert Tag and Insert Function.
Note: You can also insert Equipment.item references into expression fields using the insert tag option; however if no equipment has been configured in your system the list will be empty. You will need to configure equipment to populate the list with available tags.
Array text
The text that is to display for each integer returned by the Array expression entered above. You can enter any keyboard character(s).
For example, to display different messages about the status of a motor, you could fill out the Array expression and Array text fields as follows:
Array expression |
Array text |
|
---|---|---|
MOTOR_STATUS |
0 1 2 3 4 5 |
Running Starting Stopping Stopped - Normal Stopped - Error Isolated |
In this example, MOTOR_STATUS is an analog variable tag representing the status of a motor. When the motor changes state, an integer is returned (0 = Running, 1 = Starting etc.) and the appropriate text displays.
Click Clear Property to clear property details and disable the property.
See Also
Published June 2018