How to pop up a message on the FLEXPENDANT IRC5 CONTROLLER
RicardoM
✭
in ScreenMaker
Hello,
I am preparing a project by offline programming to run several paths in only one file interpolated with a Stop program execution followed with a message. I would like to display a message as the one that is shown in the following image below:
Any suggestions on how to pop up a message of this type on the flexpendant?
I am preparing a project by offline programming to run several paths in only one file interpolated with a Stop program execution followed with a message. I would like to display a message as the one that is shown in the following image below:
Your help is very much appreciated.
Kind regards.
Ric M.
0
Best Answer
-
Not exactly the same, but UIMsgBox or UIMessageBox will do what you ask.Lee Justice0
Answers
-
Thanks Lemster680
-
You are quite welcome.Lee Justice0
-
Following my previous request, I am preparing a project to run several paths in only one file interpolated with the UIMessageBox, which @lemster68 told me and is working fine. I am looking for a way to split the file into XX lines and interpolate these partitions with the UIMessageBox mentioned before
Can someone tell me any suggestions on How to call another file from the same partition?Your help is very much appreciated.Kind regards.Ric M.0 -
I am kind of understanding what you are asking, I think. Does file mean module? If you want to run different paths, then you should make a Proccall to those routines based on the user selection. And for this example I would recommend UIListView instead.Lee Justice0
-
Yes, @lemster68, file mean Module. I am checking Proccall and UIListView and letting you know.
Thank you very much
0 -
Hello @lemster68
I am quite new to robotic programming and rapid. I am wondering how to implement the PROCCALL to those routines based on the user selection and use the UIListView. Here I am sharing with you what I am trying:MODULE DrawingCircle_T_ROB1VAR extjoint extj := [9E9,9E9,9E9,9E9,9E9,9E9];VAR confdata conf := [0,0,0,0];*****all PERS tooldata here*****;*****all TASK PERS here*****;ProcCall Main()ConfL \Off;ProcCall Cirle1();UIMsgBox "CIRCLE_1_FINISHED";ProcCall Cirle2();UIMsgBox "CIRCLE_2_FINISHED";ENDPROCENDMODULE
can you give me a general idea of how a Proccall and UIListView instruction needs to be set?
Your help would be much appreciated
Thanks in advance
Best
Ricardo M.0 -
-
The following are a couple snippets of one of our programs. It allows for the operator to make a variety of choices.
As indicated by the example from the manual shared by Xerim, the Proccall is not written out, it is merely the name of the routine followed by the semicolon, as are most rapid instructions and declarations.
LOCAL CONST listitem SprayDistance{4}:=[["","330_MM"],["","380_MM"],["","410_MM"],["","350 mm"]];LOCAL CONST listitem Shift{3}:=[["","3"],["","5"],[stEmpty,"Stop"]];LOCAL CONST listitem Speed{4}:=[["","400"],["","550"],["","700"],["","Stop"]];LOCAL VAR num nSpeed:=0;LOCAL VAR num nShift;! allow operator to choose spray distanceitemSelected:=UIListView(\Result:=buttonAnswer,\Header:="Tool Standoff",SprayDistance,\Buttons:=btnOKCancel,\Icon:=iconInfo,\DefaultIndex:=1);IF buttonAnswer=resOK THENIF itemSelected=1 THENcurrentTool:=HVOF_330;ELSEIF itemSelected=2 THENcurrentTool:=HVOF_380;ELSEIF itemSelected=3 THENcurrentTool:=HVOF_410;ELSEIF itemSelected=4 THENcurrentTool:=HVOF_350;ELSEGOTO SKIP;ENDIFELSE! if user selects cancel then stop cycleGOTO SKIP;ENDIF! allow operator to choose spray shiftitemSelected:=UIListView(\Result:=buttonAnswer,\Header:="Spray Shift",Shift,\Buttons:=btnOKCancel,\Icon:=iconInfo,\DefaultIndex:=1);IF buttonAnswer=resOK THENIF itemSelected=1 THENnShift:=3;ELSEIF itemSelected=2 THENnShift:=5;ELSEGOTO SKIP;ENDIFELSE! if user selects cancel then stop cycleGOTO SKIP;ENDIF! allow operator to choose spray speeditemSelected:=UIListView(\Result:=buttonAnswer,\Header:="Robot Speed",Speed,\Buttons:=btnOKCancel,\Icon:=iconInfo,\DefaultIndex:=1);IF buttonAnswer=resOK THENIF itemSelected=1 THENnSpeed:=400;ELSEIF itemSelected=2 THENnSpeed:=550;ELSEIF itemSelected=3 THENnSpeed:=700;ELSEGOTO SKIP;ENDIFELSE! if user selects cancel then stop cycleGOTO SKIP;ENDIFLee Justice0 -
Thank you @xerim and @lemster68.
I appreciate your efforts but I think that I was not clear with my question.
I am trying to explain to you with an example of offline programming working with KUKA | PRC in grasshopper. Kuka PRC offers you the possibility to split your file into a number of specific lines each, as you can see here in the image below. Later, when you run the first file, from the initial one is jumping to the following one and so one. My interest is to run a similar procedure in which at the end of one module is jumping to the successive after confirming with a message type UIMessageBox.
Can you tell me any suggestions on How to run this procedure type on the Flexpendant IRC5 controller?
Your help would be much appreciated
Thanks in advance
Best
Ricardo M.
0 -
Basically, you put your Proccalls in the order in which you want them to be executed.
Path_1;
Path_2;
And so on...
In between each you can put the Messagebox.
Also, you can call routine from other modules so long as they are not declared LOCAL in scope.Lee Justice0
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)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings