RoboDK Forum
MoveL failing on Kuka robot, ROBODKSYNC543 crashes, COM_E6POS invalid- Printable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+ - - -论坛:通用RoboDK问题(//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK)
+--- Thread: MoveL failing on Kuka robot, ROBODKSYNC543 crashes, COM_E6POS invalid (/Thread-MoveL-failing-on-Kuka-robot-ROBODKSYNC543-crashes-COM-E6POS-invalid)



MoveL failing on Kuka robot, ROBODKSYNC543 crashes, COM_E6POS invalid-rshanor-10-16-2022

Hi,

I just got my robot running today and all the MoveJ calls look great. However, when I call MoveL, the ROBODKSYNC543 process on the controller crashes with the error message "COM_E6POS value invalid". I have run this code extensively in simulation and everything works well. I have attached a picture of the controller error message.

It looks like some other people have run into this issue, but I am still not sure what the fix is.

//www.sinclairbody.com/forum/Thread-MoveL-is-not-working-properly-with-KUKA?highlight=COM_E6POS
//www.sinclairbody.com/forum/Thread-MoveL-not-working-while-moveJ-workx-perfectly?highlight=COM_E6POS

I am new to Kuka and online programming with robodk, so if there is anything special I need to configure about my tool, I probably have not done that.

The RoboDK connection log does not show much, besides that it freezes on "Working..."
Code:
Sending command...
Working...
Ready
Sending command...
Working...


As always, thank you for the help!


RE: MoveL failing on Kuka robot, ROBODKSYNC543 crashes, COM_E6POS invalid-Dmitry-10-16-2022

Hi,
Can you tell us which KUKA driver do you use?apikukaorkukabridge?
You can find out by clickingMore optionsin theConnect to Robotwindow...
[Image: img14.png]
If you are using theapikukadriver, click theSelectbutton and switch to thekukabridgedriver.


RE: MoveL failing on Kuka robot, ROBODKSYNC543 crashes, COM_E6POS invalid-rshanor-10-16-2022

Hi,

Thank you for the advice. Unfortunately, it does not look like I have access to this driver. I am running RoboDK under Linux and am using version 5.5.0 from 8/29. From the release notes, it looks like the new client might have been released on 2022-09-07?

I posted a few days ago about updating the linux binaries. I believe I am on the latest version available for download on the website://www.sinclairbody.com/forum/Thread-Update-linux-binaries

Second question, is it possible to select drivers over the API? I am generally running robodk headless.

Thank you,
Rick

Thank you,
Rick


RE: MoveL failing on Kuka robot, ROBODKSYNC543 crashes, COM_E6POS invalid-Dmitry-10-17-2022

As a temporary solution I can try to build a Linux version of kukabridge for you.
You can just replace the content of the apikuka driver without changing the file name.
What version of Linux and the Qt Framework do you use?


RE: MoveL failing on Kuka robot, ROBODKSYNC543 crashes, COM_E6POS invalid-rshanor-10-17-2022

I am running Ubuntu 22.04 and I thought QT was packaged with Robodk 5.5.0, not at my computer to check anything more specific at the moment.


RE: MoveL failing on Kuka robot, ROBODKSYNC543 crashes, COM_E6POS invalid-rshanor-10-18-2022

I tried to work around this today running KukaVarProxy on the robot controller, but got a similar error.


RE: MoveL failing on Kuka robot, ROBODKSYNC543 crashes, COM_E6POS invalid-Albert-10-18-2022

The main issue you brought up (COM_E6POS not defined) happens because you did not declare the COM_E6POS as a global variable.

This line should be in the global definitions KRC:\R1\SYSTEM\$CONFIG.DAT:

Code:
DECL E6POS COM_E6POS

We improved the drivers recently so if you followed the configuration steps previously you need to add this line.

More information here:
//www.sinclairbody.com/doc/en/Robots-KUKA.html#ManualDriverConfig


RE: MoveL failing on Kuka robot, ROBODKSYNC543 crashes, COM_E6POS invalid-rshanor-10-18-2022

Hi Albert,

I believe I have that set correctly. I have attached both a picture of my $CONFIG.DAT file and a screenshot of the interface when the program crashes. I copy and pasted the $CONFIG.DAT files from the website because at one point I was having trouble with the auto configuration option.


RE: MoveL failing on Kuka robot, ROBODKSYNC543 crashes, COM_E6POS invalid-Dmitry-10-20-2022

Hi Rick,
Try the kukabridge driver (attached to this post) with the C3 Bridge Interface on the controller side (download link://www.sinclairbody.com/doc/drivers/Connect-KUKA-robots-with-RoboDK.zip, usec3setup-1.6.1.exeor the standalone versionc3bridge.exe).
You can rename kukabridge to apikuka in case you don't use GUI (don't forget to make a backup copy of apikuka).
The kukabridge will not work with KukaVarProxy, so don't use it.
The apikuka can work with KukaVarProxy and C3 Bridge Interface, but the latter is preferable.

Best regards,
Dmitry.


RE: MoveL failing on Kuka robot, ROBODKSYNC543 crashes, COM_E6POS invalid-rshanor-10-20-2022

Amazing, that worked. Thank you Dmitry! That also fixed//www.sinclairbody.com/forum/Thread-getDI-io-var-for-APIKUKA-driver