Overview
The ability to display stored Custom Variable information within the RTV can be very useful. This will allow the RTV to Display a stored value or color right on a shop floor monitor. Using expressions to trigger what is displayed on the RTV allows for a truly customizable experience. For instance, if the machine is running with a low feed rate and do not want that to record as a reduced cycle it is possible to display a Custom Variable that will indicate what the feed rate is for that machine as well as a custom color associated with it. There are many different scenarios. Use the the steps below to setup and use this feature.
See end of how to for further detail regarding example expressions and how to clear out the contents. To see more information on how to add this to the RTV Grid view click here.
How to setup and display a custom variable value or indicator.
In the example above, to display a Custom Variable value instead of a color use the send variable value: [PCSDB.send_custom_variable_value] {VARIABLENAME} instead of the indicator variable. It is still possible to use leading "==" in the expression to set the value to be displayed. For instance, it is possible to display the the feed rate override value when using this expression. More examples listed below.
Expression Name: Need Material Now – Message
Expression: ([Listener.data] = material_now)
Result: [PCSDB.send_custom_variable_value] {message}==Need Material Now
Expression Name: Need Material Now – Color
Expression: ([Listener.data] = material_now) Note: this is the same expression as above
Result: [PCSDB.send_custom_variable_indicator] {message}==Red
You can create another set of expressions for needing material soon.
Expression Name: Need Material Soon – Message
Expression: ([Listener.data] = material_soon)
Result: [PCSDB.send_custom_variable_value] {message}==Need Material Soon
Expression Name: Need Material Soon – Color
Expression: ([Listener.data] = material_soon) Note: this is the same expression as above
Result: [PCSDB.send_custom_variable_indicator] {message}==Yellow
Here’s a sample expression to clear the message and the color with one button.
Expression Name: Clear Message - Message
Expression: ([Listener.data] = clear_message)
Target: [PCSDB.send_custom_variable_indicator] {message}
Expression Name: Clear Message – Indicator
Expression: ([Listener.data] = clear_message)
Target: [PCSDB.send_custom_variable_indicator] {message}