Posts by Vergeithor
-
-
Thanks panic!
I didn't realize that possibility, I don't know why I was thinking in a sorted array, your algorithm is much efective even if you have to go over along the whole array.
I'll consider using it next time I need it!
-
Hi Jallais,
I would recomend you to use the $pos_act variable, it will tell you the actual postion of the TCP of the robot.
Then you can compare each component (X,Y,Z) of $pos_act with the components of the points stored in one array (you can use a tolerance value to decide wether the point is the same or not) and return the index of the array that matches those coordinates, or 0 if none.FOR I = 1 to number_of_points
IF ($POS_ACT.X < ARRAY_OF_POINTS[ I ].X + TOLERANCE) AND ($POS_ACT.X > ARRAY_OF_PÒINTS[ I ].X - TOLERANCE) THEN
IF ($POS_ACT.Y < ARRAY_OF_POINTS[ I ].Y + TOLERANCE) AND ($POS_ACT.Y > ARRAY_OF_PÒINTS[ I ].Y - TOLERANCE) THEN
IF ($POS_ACT.Z < ARRAY_OF_POINTS[ I ].Z + TOLERANCE) AND ($POS_ACT.Z > ARRAY_OF_PÒINTS[ I ].Z - TOLERANCE) THEN
INDEX=I
EXIT
...
...And then in INDEX you've array index, and with that and a CASE you can trigger whatever you want...
Bye,
P.S: I recomend comparing component by component b'cos is the only way that I KNOW that allow us add some "tolerance" to the position, b'cos X = 0.001 is not X = 0.002 but the position is actually the same...
-
Be carefull, if you use an absolute accurate robot and jog the motion manually, then the TCP may/will move.https://www.robot-forum.com/robotforum/kuk…50650/#msg50650
Bye Puck
You are absolutely right Puck, I forget to mention that those movements are done by a program, not by hand!
bye
-
Hi,
I use exactly the same method to calibrate TCP, 4-point + make the tool rotate 180º arond the Z axis of the tool + 90º arond B o C.
It woks quite well, but nothing comparable with a laser track measure.bye
-
Hi to all!!
I'm happy to be able to help somebody finally! heheheheh
I added manually an item on the menu of the KRC4 in the way we used to do it on the old KRC2.
The file you have to edit is "c:\KRC\SmartHMI\SmartHMI.exe.config"
Internally is formated in a xml way, so is very easy to modify, exemple:
Imagine that you want to add a value new intem called "TEST ITEM" on the "DIAGNOSTIC" submenu under the "KrcDiag" item that calls an exe called "testProgram.exe":
1.- Open the file and search for the string "%KrcDiag" BUT is not the first occurence, maybe the 2nd or 3rd, you'll know that is the right one b'cos the MergeOrder="900"
<MenuItem DisplayName="%KrcDiag" MergeOrder="900">
<CommandCall Target="ProcessStarter.StartProcess">
<Argument Name="FileName">C:\KRC\UTIL\KRCDiag\KRCDiag.exe</Argument>
<Argument Name="Options">None</Argument>
</CommandCall>
</MenuItem>2.- Copy & Paste this xml block and replace the name and filename for the ones that you want to use. Also change the MergeOrder to make your item under this one:
<MenuItem DisplayName="%TestItem" MergeOrder="1000">
<CommandCall Target="ProcessStarter.StartProcess">
<Argument Name="FileName">C:\KRC\TestProgram.exe</Argument>
<Argument Name="Options">None</Argument>
</CommandCall>
</MenuItem>3.- Save the file and reestart HMISmartPad.exe, you can do it or by a cold re start or closing the HMISmartPad program from the console and starting it again.
It's working for me!
Enjoy!
-
Hello the Leg!
I'm sourprised that you ask me for the EK1100 (beckoff EtherCAT Gateway) b'cos I did not mention it directly in my post, hehehe, but UNFORTUNATELY due to the poor capacity of both OMRON and KUKA to make their devices to comunicate properly with each other, I HAD to install again this EK1100 + EL6752 and comunicate all the devices via DevNet with the inconvenience that as I don't have any PCL controling the bus, everytime there's any problem with the devNET I HAVE to "reconfigure" the I/O buses, so the user has to become admin, etc, etc, etc...
And now, answering your question:
EK1100 has 4 state leds, the 2 upper are for +24v (left one for power and right one for bus) both MUST BE FIXED ON. The two leds under these, the left one is LINK-ACT led, this mast blink at bus speed, you can see it blinking about 6-10 times per second (6 - 10 Hz) and the right one is RUN led, this must be FIXED ON.
I've quite experience with this devices, so if you need any info just ask
-
Hi again!
OK, the problem is partially SOLVED! The linear track is already moving YEEEEES, but the EtherCAT issue is still there.
The problem is a combination of things, mainly that the WoV is not fully operative and it has some bugs still to correct, and secondly that the controller hangs almost every time that you have to make a "reconfiguration" so some information is not properly activated on the Safety Controller. And of course, as Fubini pointed from the first moment, the Linear Track, MUST BE the ET1 transformation, even if the WoV says the opposite! (thanks Furbini, your help has been the KEY to solve it).
My solution:
1.- Create the cell project using the WoV 2.4.8 build 78, (any other is not working properly with external axis that are not inside KUKA devices like their own linear tracks or MGU's)
2.- Once the project is loaded and activated on the robot ET1 & ET2 have to be MANUALLY corrected using the "Configuration -> External axis" wizard (or modifying the whole machine.dat manually, as they are mixed up).
3.- After Reconfiguring and rebooting the system due to the hangs (and even if there's NOT ANY ERROR about the data in the safety controller) you have to become Safety Manager and enter the "Configuration -> safety configuration" and check and confirm the variations, and then Reconfigure again the controller (and probably restart again due to the gang).The most annoying thing off all the history is that the official response from KUKA up to 13:15 of today was to set properly the values of the reduction gear box, and set the B value of the $EKx_TA1KR to 90...
Thanks to everybody... BUT... I still have the problem of the etherCAT!!! hehehehehe
Any idea????
-
I did replace E1 with E2 two days ago, and changed the EK1 and EK2 with no results, exactly the same error, so I put it back to the original configuration E1 Rotary, E2 Linear, what is more, I changed it directly from the Wizard "Configuration -> external axis" and I also try from the dissatrous WorkVisual, but nothing, the same error...
-
Furbini, I think I got it,
You were right, the information on the Safety configuration is not the same that in the MAchine.dat, EVEN if the safety controller say that (picture 02)! Inside the Safety controller I discovered that EVEN if he has two external axis (picture n3), the picture n4 shows how there's not ANY external axis assigned to the EK2, Externe Achsen für externe Kinematik 2 is NONE... shouldn't it be E2???
Now I just need to be able to modify that Safety configuration to make it match the Machine.dat
-
Hi again Fubini!
It's very interesting what you say about the two different ways to calculate the EK that the robot has, it also has a lot of sense, BUT, as you can see on the pictures, EVERYTHING looks ok! (the only problem is that is in that beautiful language that is the German..., they do not even translated the Safety Configuration... thanks KUKA)
I continue investigating...
-
Hello wes_mcgee!
You are absolutely right! I did not post yesterday but I was checking that, I'm attaching a document that explains better the transformations, I hope that it is useful for somebody! (the document is Aus Deutch but I think that it's very easy to understand).
BUT, as the robot is not moving properly yet, the transformation is not important at all at this moment, the error is so weird.
As an update I can say that I UPDATED the robot KSS to 8.2.20 and nothing, same problem with both, the linear track and the etherCAT ISSUE.
----------------------------------------
----------------------------------------I did find something even more weird, so I hope that this will illuminate anybody; I'm explaining STEP BY STEP:
1st- -Imagine that we start with the error on the screen:
KSS12032
Robot Controller <-> safety controller, Cart. position deviation2.- To be able to "confirm" this message I've to "unmaster" the axis E2 and "master" it again.
3.- Now I move the robot, and as we just master, the E2 is in 0,0, and so the Cartesian Value of X ($tool = nullframe, $Base = nullframe) b'cos I put the robot just in X=0.
So after some test I realize that I CAN move the E2 from -19.99 to 19.99, almost 4 cm. If I move the E2 further than this "window" the had the error.4.- AFTER confirming the error mastering E2, I decide to put a value in Z of the ET2_TA1KR, so for testing I put the real high, 1640
5.- SURPRISE, the ERROR APPEARS WHITHOUT MOVING THE E2, and is NOT possible to confirm it, not EVEN mastering again.... ¿¿¿¿¿????
6.- I reduce the Z value of ET2_TA1KR to 10 and start again AND SURPRISE, I can move the E2 BUT my window has reduced from -19.99 <-> 19.99 TO -17.5 <-> 17.5 !!!! If I ,move the robot outside this windows I get the error.
I change the Z value now to 19, and my window is reduced to -6.2 <-> 6.2 !!!I changed the Z Value to 20, and the error and its acknoledge are in the message window appearing and dissapering continuosly... obviously, is in the limit of the inital 19.99 and is getting crazy...
I changed the Z to -10, and the result is the same than with Z = 10; -17.5 <-> 17.5
-------------------------------------------
------------------------------------------That's all folks!
Thanks for any idea mates!
-
-
Ciao Fubini,
Thanks for the try!
Yes, I did update the safety configuration, in fact every time that I activate a new configuration from WorkVisual I have to manually do it, and there's not a single message / error on the pendant before moving the robot, so I think everything is ok.
The ET1 is a rotary that must be interpolated with the robot, so I'm not sure if this is considered an standalone axis, or I just do not understand what do you mean that I not have to configure the external kinematic...
I'll give a try to exchanging ET1 and ET2, it worth the effort, sounds even plausible or logical
Thanks!!! I'll keep you updated!
-
Hi to all!
I've been figthing for almost one month to set up a brand new KR210 R3300 K ULTRA, KRC V8.2.19 (Kernel KS V8.2.123) and the help from KUKA has been quite useless so let's see if here I'm more lucky!
I've 2 completely different errors, non related one to the other (I think), one is the impossibility to make the OMROM ETHERCAT modules to communicate properly with the KUKA EtherCAT (this robot came directly from germany to my company with Ethercat), the other one, being able to set up properly the motion track that after many test I made it move for 4 cm, but then I've got an error.
So let's start with the details:
1.- I'm using a GRT1-ECT device from OMRON that is a EtherCAT SmartSlice, just an I/O device with some DIGITAL I/O modules. I've got the XML ESI file from OMRON, but or WorkVisual (2.4.3 build 78) is not recognizing it properly or the ESI file is not defined following the standard (that I doubt b'cos the device is etherCAT certified...) the thing is that on WorkVisual I cannot deactivate the analog inputs/outpus of the device, neither specify how many input/output bytes it needs (I'm using 2x8 output + 2x8 input modules). So the Device fails to initialize, the exact error is:
KSS13018
<SYS-X44> Error during ECat stack initialization. Device: GRT1-ECT
EtherCAT Communication Unit for Sm [Init: init command failed -
PREOP to SAFEO]I'm having the SAME error when I try to communicate it with the 3G3AX_MX2_ECT, that is an EtherCAT communication device for an MX2 Spindle from OMRON. I try not to connect both of them at the same time to try to isolate the problem... but nothing... In the last installation I had to put a DEVICE NET gateway to be able to control both devices, BUT I don't want to do it b'cos then if devNet fails at any time you must restart manually the I/O driver of the robot, so the user must become Admin, etc etc etc...
Any Idea/Suggestion? I'm quite pissed with both KUKA and OMRON, they just blame each other...
2nd PROBLEM, the motion track.
I'm using a home made motion track based on a Mx_260_KSP40_00-136-892/00-119-767_V01 engine from KUKA, using a 190/7 reduction ratio. The only way to set properly the Geometry was using the WorkVisual 2.4.3 build 78, with the previous build 55 there was no flange inside the Geometry for this engine...
The robot orientation is the same than the motion track orientation, both +X are aligned, so I think that no transformation is needed, and as I just want it to move!!!
The machine.dat inside R1/MADA looks like this:
[...]
DECL EX_KIN $EX_KIN={ET1 #EASYS,ET2 #ERSYS,ET3 #NONE,ET4 #NONE,ET5 #NONE,ET6 #NONE} ;EXTERNE KINEMATIKEN #NONE,#EASYS,#EBSYS,#ECSYS,#EDSYS,#EESYS,#EFSYS,#ERSYS
[...]
DECL ET_AX $ET2_AX={TR_A1 #E2,TR_A2 #NONE,TR_A3 #NONE} ;EXTERNE ACHSEN #NONE, #E1, #E2, #E3, #E4, #E5, #E6
CHAR $ET2_NAME[20] ;NAME DER TRANSFORMATION ET2 MAX. 20 ZEICHEN
$ET2_NAME[]="Trac lineal"
FRAME $ET2_TA1KR={X 0.0,Y 0.0,Z 0.0,A 0.0,B 0.0,C 0.0} ;FRAME ZWISCHEN A1 UND FUSSPUNKT DER KIN IN TRAFO ET2
FRAME $ET2_TA2A1={X 0.0,Y 0.0,Z 0.0,A 0.0,B 0.0,C 0.0} ;ZWISCHEN A2 UND A1
FRAME $ET2_TA3A2={X 0.0,Y 0.0,Z 0.0,A 0.0,B 0.0,C 0.0} ;ZWISCHEN A3 UND A2
FRAME $ET2_TFLA3={X 0.0,Y 0.0,Z 0.0,A 0.0,B 0.0,C 0.0} ;ZWISCHEN FL UND A3
FRAME $ET2_TPINFL={X 0.0,Y 0.0,Z 0.0,A 0.0,B 0.0,C 0.0} ;ZWISCHEN MESSPUNKT UND FL
[...]$ET1 is a rotary that is working fine, so I'm not posting more info on that one.
After many test, I make the E2 to move, BUT after 1 or 2 seconds (movement smaller that 4cm) the robot stops and I got this error :
KSS12032
Robot Controller <-> safety controller, Cart. position deviationTo be able to clean this error I have to unmaster and master again the E2 axis...
Again, from KUKA the response is being VERY slow and useless... And as they don't give a manual of detailed list of errors, I'm feeling quite alone in this moment.
Any idea of what can be happening?
I'll appreciate any idea!! Thanks in advance! And sorry for my long post, maybe I should put it in 2 different post...
-
Please excuse my ignorance, but I don't know which file are you talking about, I just executed your program following the instruction on the post, pot even if he detects well the KSS version the find button never get enable... so... please... tell me which file I'm trying to parse and I'll send it to you... hehehehehe
-
Hi there!
I was testing this little tool in one KRC4 KSS 8.2 but is not working, it's a pitty... the find button never get enable even if the program detected well the version.
Do you think there's any chance to uptade it to work with KSS 8.X? I think that maybe we will find interesting things on the new KSS.