automatic tool search
Tami91
✭
in ScreenMaker
Hello,
I'm still a beginner with Abb and robotstudio.
I want my programm to search automatically for new tooldata. The new tools must be written in a commandbox so that the user only has to click on the correct one to use it.
Unfortunately I have no idea how to make it work.
I hope one of you has an idea.
Tami
0
Comments
-
Hello,I believe you are trying to create an application targeting the FlexPendant:Using ScreenMaker - All tooldata names could be stored in an Rapid array and can be bound to a control like combo box. On change in combox box selected index, read the value of tool data and display it a control like label, etc.The solution above is more like you are reading from a rapid array. It will not find any new tooldata that is made available.To find new tooldata, you can write a .NET method which finds new tooldata and updates the rapid array.Thanks0
-
Thats my code:Var datapos block;
Var string name;
Var tooldata infos;
Pers num zaehler;
Pers string Werkzeugnamen {10};
Pers string Werkzeugdaten {10};
Proc Werkzeuge()
Zaehler := 0;
SetDataSearch "tooldata" Object := "t.*" InMod := "Hauptmodul";
WHILE GetNextSym (name,block) DO
Zaehler := Zaehler + 1;
GetDataVal namelock :=block, infos;
Werkzeugnamen {zaehler} := name;
Werkzeugdaten {zaehler} := infos;
ENDWHILE
ENDPROCI link the array to the Combobox. Works great even if i am still annoyed that there isn`t a dymatic array like in info.0
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings