I am placing 4 boxes with a robot using 4 PR's. I want to make a user frame for each box so that the program to pack the first box will work in the other boxes. I would like to reference the Position Register for the UFRAME so that if I touchup the PR's, the UF's follow.
I tried UFRAME[i]=PR[x], but the results are not what I expect. The error is "Position not reachable" when I change to the next UF. Apparently I don't understand how to use this command.
I can't be the first person to do this. Has anyone else done it that can point me in the right direction?