![RobotStudio event](https://new.abb.com/images/librariesprovider89/default-album/robotstudio-webinar-arc-welding.jpg)
Routine in anouther module
![andy_c](https://secure.gravatar.com/avatar/766853afb7ac64a95081e8b234cfa988/?default=https%3A%2F%2Fus.v-cdn.net%2F5020483%2Fuploads%2Fdefaultavatar%2FK2266OAKOLNC.jpg&rating=g&size=200)
andy_c
✭
Hi,
I have a slight problem.
I have a robot program with my code (call it code.prg) and anouther module with some patterns (call it pattern.mod)
And i want from my code.prg call a pattern i my pattern.mod.
anyone plz help me!
0
Comments
-
the routine pattern.mod is it already loaded ?if not we do it like this:%"pattern"%it procalls a routine what is not yet loaded at the begining from the programm so you don't get an error saying that the routine is not there.some where in the programm you load your pattern.mod and than you can procall you routine in your mod fileproc main()programm_1;Load "/hd0a/ROBOTPROGRAM/pattern.mod";
%"pattern1"%;
%"pattern2"%;
%"pattern3"%;
%"pattern4"%;
endprocto unload your pattern.mod simply use unload instead of loadyou can load more than 1 mod file at the same time or just when you need another one load the one you need at the moment.see if it workspibi2010-02-24 09:06:020
Categories
- All Categories
- 5.5K RobotStudio
- 397 UpFeed
- 18 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 319 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 804 RAPID Programming
- 4 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings