I connected to two robots using RoboDK. I wrote a program in Python for those two tobots where they should work in sync, where one is welding and one is holding the object. I am using the option "Synchronize External Axes" and it works just fine in the simulation, but it does not work with real robots. Why is that? Do I need to implement some threading or is there something on the robots that needs to be configured? Thank you.
Thread Rating:
Controlling two FANUC robots with using Sync External Axes |
08-29-2025, 07:57 AM
You should properly output robot programs using the same system configuration you have in your robot controller. For example, different mechanisms could be seen as different groups or the external axis unit could be seen as an extension of the robot axes.
For example, the following variables allow you to control how you generate code for Fanuc robots:
Can you share a sample robot program that was created for the Fanuc robot?
Yes, of course, here is the example of the robot station:
Here is the robot station, previous one was the .py program
09-15-2025, 06:30 PM
Could you also share an LS program file generated using your Fanuc robot controller?
I do not use a LS program, I directly control the robot through a py. script. Or do you mean the LS program for welding, grinding operations etc.?
09-17-2025, 08:13 AM
Yes, I meant an LS program to show how you want the program output to look like for your controller. Each controller can be configurerd in different ways to support external axes.
You can find the parameters you can configure with the default Fanuc post processor here: https://robodk.com/post/Fanuc-RJ3
Yesterday, 07:55 AM
(09-15-2025, 06:30 PM)Albert Wrote: Could you also share an LS program file generated using your Fanuc robot controller? Here are the weld paths where the robots should work synchronously. Currently, I am controlling the robots directly with the .py script and when the welds should be performed I would like to access the LS script and execute it within my .py script. Is that possible?
Yesterday, 12:55 PM
The programs you sent were created using RoboDK for your Fanuc robot controller.
I meant if you could provide programs that were created already for your Fanuc system. This will help understand how the target data is structured (basically how the axes are configured with the motion groups GP1 and GP2 or GP3) and properly configure the post processor. |
Users browsing this thread: |
1 Guest(s) |
Copyright © 2025 RoboDK Global
Powered by MyBB