![RobotStudio event](https://new.abb.com/images/librariesprovider89/default-album/rs_webinar_invitation_2025_2.jpg)
2 robots, simultaneous movement
![mritter](https://secure.gravatar.com/avatar/c6df7f05ba904dcec560092f58875ed0/?default=https%3A%2F%2Fus.v-cdn.net%2F5020483%2Fuploads%2Fdefaultavatar%2FK2266OAKOLNC.jpg&rating=g&size=200)
mritter
✭
I will have a system of 2 robots with 1 controller. We have purchased the controller with Multimove Independent. What we would like to do is run the 2 robots, independently, with 2 different RAPID programs (modules/routines or whatever you'd like to call them), at the same time. They are far enough apart and do not need to be in sync, but need to run at the same time. Is this possible with 1 controller?
Robot 1 would have to run Module P1 and Robot 2 would run Module P2, both at the same time. Usually, RAPID code would be written as :
PROC main()
P1;
P2;
ENDPROC
But this will run P2 after P1. We do not want this. How can I run P1 and P2 at the same time? Thanks.
0
Comments
-
Hello,
when you have 2 robots on 1 controller you will have a task for each robot, T_ROB1 and T_ROB2.
you program P1 in T_ROB1 and P2 in T_ROB_2
when you run the robot, T_ROB1 and T_ROB2 will run simultanious.
BR
Peter
0 -
Thanks Peter1,My concern is that I need to do a few things via I/O first, which will be in one task. Once certain conditions are met, I need both robots to start their paths at the same time. How would i accomplish this? I think there is some code to do this, but no good examples on it's use.0
-
Use a WaitDI and have each robot set a signal to the other robot that it is finished setting up IO's, once both robots have met the requirements then they'll start at the sametime!. You can cross-connect a virtual output/input to do it without using up any physical IO's.
0 -
Hello,
you can use the instruction "WaitSyncTask" for synchronizing several tasks.
In case of, you want to use signals for synchronizing you can use digital outputs, so there is no need to create cross Connections.
BR
Micky
0 -
I have two modules: one for my robot and another for my external axis mechanism. I use independent movement to control the external axis, and it works fine. However, the robot program must also run simultaneously; the external axis must operate independently of the robot and spin on its own. I want to run both at the same time0
Categories
- All Categories
- 5.5K RobotStudio
- 398 UpFeed
- 18 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 321 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 807 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings