Example: Use a latched push button

In this example, the latched push button controls the filling process for the bag filler machine.
  1. Create a latched push button with the caption "Fill" for State 0 and "Filling" for State 1.
  2. Assign a tag called Fill to the Value connection.
When the operator presses the button, the application sets the button to State 1 and the caption changes to Filling. The data source registers the state change for the Fill tag and starts the bag filler machine. When the machine finishes filling the bag, the data source momentarily sets the Handshake connection to a non-zero value. This unlatches the button, returning it to State 0.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal