I have a question regarding exporting the robot program. I've created a simulation in RoboDK and would like to export this program to .src file for my KUKA robot. However, when I click "Generate robot program", the program was separated into 23 different files and each file has only around 2000 lines, as shown in the pictures below:
Is this "maximum line per file" set by default in RoboDK? I only want to have one .src file and not many files with limited lines. Would that be possible?
This is an option to avoid overflowing the internal memory of the controller. I'm not exactly sure how many lines yours can accept, but here's what we can do.
First, make sure that this option isn't activated: "Tools"->"Options"->"Program"
If it isn't activated, just let me know which post-processor you are using and I'll fix that issue for you.
Jeremy
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间
and by watching tutorials on ourYoutube Channel.
This is an option to avoid overflowing the internal memory of the controller. I'm not exactly sure how many lines yours can accept, but here's what we can do.
First, make sure that this option isn't activated: "Tools"->"Options"->"Program"
If it isn't activated, just let me know which post-processor you are using and I'll fix that issue for you.
Jeremy
Hi Jeremy!
I've checked this option and it is not activated but still limits the line numbers per file, as shown below:
Here's a new post-processor. It's now limited to 999,999 lines, so that should be enough. Simply replace the file here: C:/RoboDK/Posts
I'll appreciate it if you can tell us how many lines are accepted by the KRC4 (if you do reach a limit).
Jeremy
Hi Jeremy,
Thank you very much for this! I've used the new post-processor and it worked, I have 51521 lines in one file at the moment. However, I haven't had the chance to try this .src file on real KUKA yet. I'll keep you updated.
(04-21-2021, 07:26 PM)Jeremy Wrote:Thanks for the update Rob.
Jeremy
Hi Jeremy,
I am currently using RoboDK on MacBook, and I've also added your new "kuka_krc4_nolimit.py" post-processor into the post-processor folder of RoboDK. However, it is not possible to generate code with this post-processor, it always gives an error message, as shown below:
Do you know what the problem is?
(The Nolimit post-processor works really well on my Windows computer)