one button toggle
I'm not sure about a siemens, I would use the push button to add one to an integer , monitor bit "0" for the output. Write a compare statement that says if the integer value is equal to or greater than 2 then clear the value. Since the first digit value is "0" when the stored number is 2 the output will appear to be off anyway without danger of overruns!!! Works quite nicely for AB, and the programming idea should work the same with siemens. Just a thought