06-30-2021, 11:34 AM
I'm using RoboDK to design the motion of multiple robots and mechanisms in a single station. I would like to know if it is possible to export/generate a *single* file which contains the commands for not just one but *all* robots and mechanisms in the station.
In RoboDK I have made separate "sub" programs for the movements of each individual robot and mechanism. I also have a "main" program which consecutively calls these sub programs, and the simulation is exactly as I want.
The main program is however inherently associated with only 1 robot or mechanism. When exporting this main program to a Python file, I see all subprograms are called as subfunctions in the main() function, but only the ones that affect the associated robot or mechanism are actually included in the file; the others are skipped.
I understand different robots and mechanisms may need different postprocessors, but at this point any postprocessor would do, as long as it contains all commands for all robots and mechanisms, and tells me which command corresponds to which robot or mechanism.
Possibly I could export the main program for each individual robot and mechanism separately, but this would be cumbersome and I hope to find a more elegant solution.
In RoboDK I have made separate "sub" programs for the movements of each individual robot and mechanism. I also have a "main" program which consecutively calls these sub programs, and the simulation is exactly as I want.
The main program is however inherently associated with only 1 robot or mechanism. When exporting this main program to a Python file, I see all subprograms are called as subfunctions in the main() function, but only the ones that affect the associated robot or mechanism are actually included in the file; the others are skipped.
I understand different robots and mechanisms may need different postprocessors, but at this point any postprocessor would do, as long as it contains all commands for all robots and mechanisms, and tells me which command corresponds to which robot or mechanism.
Possibly I could export the main program for each individual robot and mechanism separately, but this would be cumbersome and I hope to find a more elegant solution.