
Get the name of the current tool

scottMHA
✭
Comments
-
That doesn't return the name? it just returns the frame, load and robheld0
-
Ah, sorry, reading too quickly. How about GetSysData?
0 -
my understanding of that function is that you can retrieve the values of a data type from the object name?
I want to just get the name of the current tool being used whilst jogging... must be a way as ABB display it when running the tool identify routine in the basefun tasks0 -
Using Example 1 & 2 from the manual -- it outputs the current tool as a string value:MODULE mMain
PERS tooldata curtoolvalue;
VAR string curtoolname;
PROC main()
GetSysData curtoolvalue \ObjectName := curtoolname;
TPWrite curtoolname;
ENDPROC
ENDMODULE
1
Categories
- All Categories
- 5.5K RobotStudio
- 398 UpFeed
- 19 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 324 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 813 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings