Make a custom MoveL routine into which you pass the parameter or the number you want to set.
and the variable will be set when robot in position, also with zone?
Now i'm using MoveLgo/MoveJgo and, instead of a variable, i write a group of output (works fine also with zones)
thank you guys