Good day,
I'm stumped and hoping someone can help me understand what's going on. Here's the setup. I've got a MAIN program that's setup as a macro, initiated by a DIN from a PLC. That main program calls the actual program that does the work (call them P66, P67, P68, etc). It only runs one cycle, no looping or branching in the program. When we run MAIN, it will call and run P66, return to MAIN, then go back to the offline position as expected. However, at this point when I try to do a background edit of P66 I get 'MEMO-068 Specified program is in use'. Since the main program ran to completion, why would the robot still consider P66 as 'in use'? There's no other background logic running. I also tried FCTN + Abort All but that doesn't help. If I run MAIN again but call P67 instead, then it 'unlocks' P66 and I'm able to do background edit on it.
I looked in 'Status -> Program' and do not see P66 in there. I tried this in Roboguide but can't replicate the same problem.
What would cause a program to be 'in use' even if it completed executing? Do I need to explicitly put an 'Abort' instruction at the end of main?
Thanks,
Lei