StatusString and Alarms Revision

StatusString and Alarms Revision

I want to deactivate / activate a particular alarm in Runtime when needed.
Combined with deactivating the alarm to be active in Runtime I also want the alarm to be deactivated in a certain time.
This timevalue should be changed in the screen for induvial Control of the time the specificed alarm should be deactivated.
After reaching this time limit I want the alarm to be activated again in runtime automatically
I know about REVISION on the statusstring on the variable in VBA using StatusString = "REVISION=1" but need to combine this with the timer for setting the StatusString = "REVISION=0 after the timer expires
The momentary switch function on buttons with holding time for set and reset values can be used to activate/deactivate functions but don’t think this is a good option

This is a migrated post! Originally posted on 19.03.2016 by user NorTester. Please be aware that information can be outdated.