Good day,
I want to try something but just wanted to consult the experts here to see if it would work.
I have a main program which calls a bunch of line tracking programs. The line tracking programs only contain a few points but there's a bunch of other I/O assignments and register operations. I would like to encapsulate the points into another program and then call it.
So instead of:
GO[2] = 3
DO[22] = ON
R[5] = R[3] * R[4]
L P[1] 1000mm/s CNT100
L P[2] 1000mm/s CNT100
DO[22] = OFF
I would be changed to:
GO[2] = 3
DO[22] = ON
R[5] = R[3] * R[4]
CALL PROG1 //where this program would contain the move instructions for P[1] and P[2]
DO[22] = OFF
Is there any problem with doing this? If PROG1 is set for the correct tracking schedule, is there anything I need to do to make this work? Do I need something like a NOLOCKGROUP instruction?
Thanks!