Modules Program Flow
Taward31
✭
Hi All,
I am newish to Rapid and ABB robots although I have some prior experience on different platforms
What I am looking to find out is Modules and their relationship in the program flow.
I get that its better to break up the code into smaller modules that can also be reused later.
What I don't understand is how the different modules are read by Rapid. I come from a PLC background and would be inclined to to thing the modules are read from top to bottom sequentially.
I know this is rpob not the case.
what I would like to know is how there are called in relation to the main program module or Are do they just running in parallel ?
I have read through the programn ABB Rapid flow/stucture manual and it still didn't make it much clearer to me.
The reason I am asking is because I have an application coming up that requires palletising lots of different size of product. i want to create a function or module that I can just input the data and get the resulting pattern points out from.
If anyone has any recommendations on how to stu this it would also be greatly appreciated
I am newish to Rapid and ABB robots although I have some prior experience on different platforms
What I am looking to find out is Modules and their relationship in the program flow.
I get that its better to break up the code into smaller modules that can also be reused later.
What I don't understand is how the different modules are read by Rapid. I come from a PLC background and would be inclined to to thing the modules are read from top to bottom sequentially.
I know this is rpob not the case.
what I would like to know is how there are called in relation to the main program module or Are do they just running in parallel ?
I have read through the programn ABB Rapid flow/stucture manual and it still didn't make it much clearer to me.
The reason I am asking is because I have an application coming up that requires palletising lots of different size of product. i want to create a function or module that I can just input the data and get the resulting pattern points out from.
If anyone has any recommendations on how to stu this it would also be greatly appreciated
0
Comments
-
Modules are in essence just a container to hold routine/procedures.
The program flow starts from the top of main routine and works its way down (not every line is executed as logical tests, etc will only execute the relevant parts of the code) until it gets to a procedure/routine (or function) call.
The program then jumps the relevant procedure/routine (or function) and executes the code there in the same manner - if another procedure call is not executed within this procedure/routine the program will return to the calling procedure/routine and execute the line below the procedure call. The called procedure/routine can be in the same or a different module.
Hope this helps.
1
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings