CLOSE
END GATHER
DELETE GATHER
DELETE TRACE
OPEN PROG 5 CLEAR
ABS
P221=0
TA(P200)
TS(P201)
F(P202)
DWELL(10)
x(100)
DWELL(100)
TA(P100)
TS(P101)
F(P102)
DWELL(10)
Y(183)
DWELL(100)
WHILE(1=1)
TA(P200)
TS(P201)
F(P202)
DWELL(10)
X(730)
DWELL(2000)
TA(P200)
TS(P201)
F(P202)
DWELL(10)
X(100)
DWELL(1000)
P221=P221+1
DWELL(1)
END WHILE
CLOSE
I would like to insert this following program in the loop of the program above. This program has a motor in another coord system.
TA(P500)
TS(P501)
F(P502)
DWELL(0)
Z(4)
TA(P500)
TS(P501)
F(P502)
DWELL(0)
Z(0)
DWELL(0)
DELAY(2000)
Yes this is on a PMAC Turbo PCI, wrong forum sorry. I can run the programs at the same time by issuing the & commands on the same line but then the movements between the robots are not syncronized because one of the motors runs on a function with variable acceleration. I want to start the program, have it run the robot in coord system 5, pause/stop, cycle robot in coord system 4, pause/stop, continue coord system 5 robot and repeat.