Call module routines regardless of loaded program file (.PRG)
Hello,
I have 50+ .PRG files which are loaded and run for different part configurations. I wanted to add a common program call to a separate module, lets call it "NewModule" - is there a way to load a module into memory without having it reside in the PRG file? So that if I load a different PRG it can call routines from NewModule without needing to load it into that PRG? This would save me from making large edits to all PRG files - thanks!
1
Comments
-
System modules are used to (pre)define system specific data objects (tools, weld data, move data ..), interfaces (printer, logfile ..) etc.
Normally, system modules are automatically loaded to the task buffer during system start.System modules are not affected when loading/deleting programs.
Example:
NewModule.sys
MODULE NewModule(SYSMODULE)
PROC NewProc()ENDPROC
ENDMODULE1 -
ah! Wonderful, I am looking to make a logfile thank you
I did not know about the loading - we have some sys modules here that contain reduntant / duplicate tool information etc. but they didn't seem to be loaded because when I do load them I get tooldata errors because of multiple tool0 etc. unless they're loaded into the task buffer and if you try to load them manually you get duplicates... hrm, I'll have to check that outin any case, thanks!0
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