Difference between revisions of "BasicButton"

From AdvancedHMI
Jump to: navigation, search
(Created page with "== Basic Button == This control is a general purpose button with multiple functions. {| class="wikitable" !colspan="2"|Properties |- ||ComComponent |Points to the driver inst...")
 
m (Basic Button)
Line 19: Line 19:
 
|PLCAddressEnabled
 
|PLCAddressEnabled
 
|A Boolean register which will allow the button to be clicked when True.
 
|A Boolean register which will allow the button to be clicked when True.
 +
|-
 +
|PLCAddressText
 +
|A String register to allow the PLC to set the button text.
 
|}
 
|}
  

Revision as of 11:26, 13 February 2018

Basic Button

This control is a general purpose button with multiple functions.

Properties
ComComponent Points to the driver instance for reading its values through
PLCAddressHighlightX If OutputType is set to WriteValue, then this should point to an integer register. When the register value matches the value in ValueToWrite, the button will change to the HighlightColor.
PLCAddressClick A Boolean or integer register which is set True/False or to the value define in ValueToWrite property. If OutputType is set to WriteValue, then an integer is expected, otherwise a Boolean is expected.
PLCAddressSelectTextAlternate A Boolean register which when True will switch the button text to that defined in TextAlternate.
PLCAddressEnabled A Boolean register which will allow the button to be clicked when True.
PLCAddressText A String register to allow the PLC to set the button text.

Examples of usage:

1) A Start cycle button 2) Using a group of buttons to select one of multiple states using PLCAddressHighlightX, OutputType=WriteValue, PLCAddressClick, and ValueToWrite.