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.4K RobotStudio
- 384 UpFeed
- 15 Tutorials
- 12 RobotApps
- 290 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 241 ScreenMaker
- 2.7K Robot Controller
- 283 IRC5
- 44 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 746 RAPID Programming
- 15 Wizard Easy Programming
- 110 Collaborative Robots
- 3 Job listings