i'm a newbie (Neuling?) to the FT-Computing line and am now playing around with ROBOpro and it's graphic user interface.
i've created a 3-level elevator model and succeeded in moving the lift to each floor based on a switch pressed on each level like so;

the subprogram "waitPress" shown above is detailed like this;

now; further to this, i've created a subprogram for a double-press switch activation; meaning, you have to press the switch twice to activate it - like so;

and now; i would like to combine the "double-press" into the elevator program, where one presses the switch twice before the elevator is called - i would like to use a variable input block but i'm having trouble in linking the first switch-press and the second switch-press, as the program is now; the two switches are not cross-checked - like so;

how can i make sure the 2nd switch-press HAS TO BE the SAME as the first one ?
how should i make the program logic flow ?
(i hope the picture and the question is clear enough, thanks in advance for any advice !)