Causes of runtime errors for a Momentary push button
At runtime, the application logs errors about the Momentary push button to diagnostics under these circumstances:
Invalid values
- If the button’s state value is too large for the data type of the tag assigned to the Value connection, or if the value is outside the assigned tag’s minimum and maximum values, the application does not write the value to the Value connection, the state does not change, and the application logs an error.For example, the state value is too large for the tag’s data type if your data source is aPLC-5, the state value is 2,147,483,647, and the assigned tag is an integer tag using the address N7:0. Integer tags have a range of -32,768 to 32,767.
- If the Indicator connection value does not match any of the state values for the push button, the button displays the error state.
Unassigned connections
- If the Value connection is not assigned, the error state is shown. When an operator presses the button, the state does not change and the application logs an error.
Provide Feedback