B&R – HMI – Layers – Settings

Settings

  • Runtime – StatusDatapoint

If a data point with the data type UINT is connected to this property, the control or a whole layer can be made dynamic during runtime via the control program.

Additional information from a control can be evaluated in the control program.

 

BitDescriptionControl
0Hide Control (visibility of the control / layer)
When this bit is set, the control is not displayed.
All
Common and local layers
1Lock Control (input lock)
When this bit is set, input is locked for this control. The control element continues to be displayed on the page, however.
String, Numeric, Password, Edit, Listbox, Dropdown, Hotspot, Button, Alarm, Trend
Common or local layers
2Focus Control (Focus on input - Set control)
When this bit is set, focus is placed on the control. Subsequent input is entered in this control.
Only one control at a time can have this bit set, since otherwise the behavior would be undefined. The bit must be reset by the control program (see also bit 14).
String, Numeric, Password, Edit, Listbox, Dropdown, Hotspot, Alarm, Trend
3Open Touchpad
When this bit is set, the touchpad connected to the Input control is opened.
Only one control at a time can have this bit set, since otherwise the behavior would be undefined. The bit must be reset by the control program (see also bit 12).
String, Numeric, Password, Edit
4-9Not used
10Cursor1 Valid
This bit is automatically set if the intersection between cursor 1 and the trend curve provides valid data. If the cursor is at an area where no trend data is shown, this bit is 0.
Trend
11Cursor2 Valid
This bit is automatically set if the intersection between cursor 2 and the trend curve provides valid data. If the cursor is at an area where no trend data is shown, this bit is 0.
Trend
12TouchPad Is Open
This bit is automatically set to 1 when the touchpad is opened for this control. If the touchpad is closed (input completed or cancelled) this bit is reset to 0.
String, Numeric, Password, Edit
13Touch On Lock (attempted input on locked control)
This bit is set automatically when an input field that is locked (either by the Locking property or using bit 1 of the StatusDataPoint) is selected on the touch screen.
This makes it possible for the user to find out the reason for the lock by evaluating the bit in the control program. This bit must be reset by the control program.
String, Numeric, Password, Edit, Listbox, Dropdown, Hotspot, Button, Alarm, Trend
14Control Has Focus
This bit is set automatically when the focus is placed on the control. If the focus is moved to another control, this bit is automatically reset to 0.
String, Numeric, Password, Edit, Listbox, Dropdown, Hotspot, Button, Alarm, Trend
15Control In Edit (active input)
This bit is set automatically when there is active input in the control. If input is completed or cancelled, the bit is automatically reset to 0.
String, Numeric, Password, Edit

 

If multiple elements need to be managed simultaneously (visibility / input lock) they can be grouped in a layer. They can then be controlled by a status data point on this layer.