Hello everyone,
I have updated the issue!
When I CALL GETOFSET, which is logic only program, it works fine but when I RUN GETOFSET, it is giving me the error INTP-267 RUN stmt failed; Prog-048 Shift released while running. I have $SCR.MAXNUMTASK at 5. This program does work fine on R30iA controllers but not on R30iB controllers.
Not sure what else could be the issue here, any suggestions?
GETOFSET on Master robot
1: !This macro takes the value of Master robot (Robot7) R[15] and jumps to label of same value to run
vision for slave robot(Robot 8).
8: R[14:GETOFSET RUNNING]=1
9: SELECT R[15:Rbt 7 Vsn No.]=100, JMP LBL[100]
10: = 101, JMP LBL[101]
:
:
:
=301, JMP LBL[301]
69: LBL[110]
70: Vision RUN_FIND ‘ZM937511’
71: DO[18:Get Offset]=PULSE,0.1sec
72: JMP LBL[1]
73: LBL[111]
:
:
:
212: LBL[1: Main Jmp for all]
213:R[14: Getofset Running]=0
[End]
Thank you.