Forum Migration Notice
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
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.7K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 16 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 366 IRC5
- 90 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 857 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings
