Create Controller scope tag named MyButton of type BOOL
In AdvancedHMI add a BasicButton to the form
Set PLCAddressClick to MyButton
Create a controller scope tag named MyDint of type DINT
In AdvancedHMI, add a BasicLabel to the form
Set PLCAddressValue to MyDint
Set PLCAddressKeypad to MyDint
Run the application and click on either item