Function?
moller
✭
I have done a program that logs certain things (Cycletime,Arctime,NR of stops,stoptime and so on) and using the Write instruction to print to a file after each programcycle.
Its interesting to know where the stops occured so i have been looking for a function that puts that information in a string but i havent found one..
Anyone knows if something like that exists?
The info im interesting is:
Which module is the PP in.
Which routine is the PP in.
Which robtarget is the PP at. (Only using named robtargets)
Anyone who knows how to solve this?
Without using a PC-interface..
//Moller
0
Comments
-
Hello,Unfortunately there is no support for this currently in RobotWare. However, it would be possible to implement this yourself without too much effort follow the following steps:1. Make your own MoveX-instructions that save a reference to the RobTarget in a global variable.ExampleMyMoveL "p10", p10, ...2. Implement EnterModule, ExitModule, EnterProcedure, ExitProcedure, etc. that stores the current procedure and module names at the entry and exit of every procedure and function that you implement.3. Then, when you get a stop you just read the global variables.Any better ideas, anyone?BR frpa0
-
Thanks for the reply!Ive thought of that (unless im missunderstanding you).The logprogram is in a semistatic task. (IRC5)Im using IGRIP (deathsin?? to make the weldingprograms and i want to keep our programs the way they are now when i script out the program from IGRIP.Every weld is one routine. The programs are often very large (500-650 welds, 3000+ Robtargets)We have a pc-interface on the station but i think the function im looking for should be there, apperantly not. Obviosly the system knows where the PP is why isnt there a function to store that info??Something like this:
String:= CMod(Task:= Task1);
String:= CRout(Task:= Task1);String:= CPp(Task:= Task1);I talked to the deliverer of the station and they can fix this with the pc-interface but i wanted to fix it by me self..I now nothing about pc-interface.//Stefan0 -
Hello,Yes, obviously the controller knows where the PP is :-) , but there is currently no way to read it from RAPID. I will put this on the list for possible future releases.BR frpa0
-
Great!Thanks!//Stefan0
-
.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