you can 'press keys' via a variable- the mdi keypad is somewhat accessible with 'external key input option', the keys are mapped as g- addresses in the ladder- you could use the #1032/#1132 words to move sequences into/out of the ladder to change screens and whatnot, but it would be messy to figure out. I played around with a similar app years back, found it was easier just to write the macro...we had a hines balancer feeding imbalance info into a mill that touch probed/mapped balance pads and cut requisite amounts fed in from the hines...was fun, but pressing cycle start executed a 13 page macro, took several seconds for machine to move
anyways, why not always just run program1, and m98p#500 or something like that? you can change 500 at will, and its battery backed in case of restart, so noone gets lost.