Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - richardblackwell

#1
Tutorials / Re: Example: KUKA LBR iiwa and Sunrise
November 14, 2024, 05:38:01 AM
Hi! Richard Blackwell here. Im a relative newcommer to using PRC with the KUKA LBR but have some experiance with PRC for KRL output with a KR70. I have the added inconvenience of having to reinstall sunrise workbench and all software as we have not run our LBR in some years. Im just noting this as it may be that im running the wrong version of workbench or are missing options etc etc. For what its worth, everything else we have set up in the past seems to be running OK.

Im having an error just trying to do some basics to get running XML from PRC established. I Believe my tool and base are correctly named and both are trained, and my code simulates well. but I keep getting this error on the pendant right after loading my XML from the USB drive

here is the error message
ArrayIndexOutOfBounds.jpg

Just incase here is a look at my SRC file where sunrise project has been imported

Sunrise Project SRC view.PNG

Lastly. Best to my knowladge here are the lines of code the Error message address

From application.PRC_RunXML.run Ln 73:

      prc_Core.CORE_RUN(xmlout, robot, kuka_Sunrise_Cabinet_1, getApplicationData().createFromTemplate(toolname), tcpname, baseFrame, enablellogging, getLogger(), null, getApplicationData(), iogrp);

From prc_core.PRC_CORE.CORE_RUN ln 146:

PRC_CommandData lastcmd = xmlout.prccommands.get(xmlout.prccommands.size() - 1);

Im really guessing here, but im wondering if im missing some Java Libraries or I have improperly structured/imported the Sunrise project.

For what its worth, and Needless to say, PRC_RunXML does run and Creates the tool.

Any hints would be much appreciated!