I am working in ROBOGUIDE trying to get the robot to move in a line in the X direction, and then shift 100 mm in the Y direction, and repeat this as many times as specified in the For loop.
This is the code I am currently using, with the TSET being a program that simply joint moves to one point and linearly moves to a second point:
UFRAME_NUM = 3
FOR R[4] = 0 TO 3
CALL TSET
PR[1]=UFRAME[3]
PR[1,2]=PR[1,2]+100
UFRAME[3]=PR[1]
ENDFOR
The problem I'm having is that the program does the right number of loops, but does not shift in the Y direction at all, and I'm at a loss as to why. Any help is appreciated, thank you!