Hello,
I am facing the issue with robots (different KSS versions) when I use the Directory loader module (the issue occurs once in a few hundred/thousands times).
Situation: I am using the directory loader to upload programs to KUKA robots. We upload at least 2 files at once.
One file holds the instructions, another file contains the robot motion commands.
The main robot code calls a function from the instructions file and the instructions file calls several functions from the second file.
Everything works just fine, but sometimes during the upload procedure, the robot starts doing diagnostic (KRCDiag) and not all the files are uploaded (the motion files are missing). As a result, that is ending in a syntax error in the robot (because the instructions file is trying to call the motion programs which are not uploaded).
Can you advise me and tell me if I am doing something wrong?
Or maybe there is some kind of parameter inside the robot which can turn off the automatic launch of KRCDiag?
Or maybe I can set the order in which the files are uploaded? Because I am suspecting that the issue occurs when the instructions file is being uploaded first.