KUKA driver and robot model issues- Printable Version +- RoboDK Forum (//m.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//m.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: RoboDK bugs (//m.sinclairbody.com/forum/Forum-RoboDK-bugs) +--- Thread: KUKA driver and robot model issues (/ Thread-KUKA-driver-and-robot-model-issues) |
KUKA driver and robot model issues-kkos-09-22-2022 Hello, I am experiencing problems with controlling a KUKA KR 700 PA with RoboDK. My setup and issues are listed below. My setup:
It seems like the RoboDK model of this robot is not set up correctly. Reasons for this assumption:
Even though this robot only has 4 axes, 6 joint values are received from and sent to the controller (two of those are passive and cannot be controlled directly). Axis 4 and 5 are passive, 6 is the flange. It seems like RoboDK sets the value of axis 4 as the flange when receiving data, and the flange's value for axis 4 when sending data. To get to this conclusion, I checked the network traffic between RoboDK and the controller with WireShark. The following behaviour could be recorded:
To avoid sending joint values to the controller, I tried to send linear move instructions. These seem to not be processed at all, since theCOM_ACTION 3signal for triggering a linear move is never sent by RoboDK to the controller (also recorded with WireShark).
To find a solution to my issues, I tried to use the KUKA driver as console tool. After copying the missing Qt5Network.dll (taken from "RoboDK\bin") to "RoboDK\api\Robot", the program gives the following error: "The application was unable to start correctly (0xc000007b)." Unfortunately, the combination of issues 1-3 pose a severe problem for using RoboDK in this setup. I explored possible errors on my side, but was unable to find a solution. Help is very much appreciated. 再保险:KUKA driver and robot model issues-Albert-09-25-2022 Thank you for such a clear explanation of the issue. 它看起来像库卡基米-雷克南700 PA机器人模型not have the correct joint coupling in RoboDK. Can you confirm if the attached model solves the coupling problem? Did you change any default controller parameters to drive the joints? If not, we'll release a new official robot for this KUKA KR 700 PA robot model. Also, it looks like the robot has virtual axes 4 and 5 that should be ignored as they are calculated as a function of axes 2 and 3. Does that make sense? If not, it would be great to have a table of joint positions and their corresponding pose values. Or hopefully @Dmitryan help us troubleshoot this issue with the virtual KUKA robot. Once we fix issues 1 and 2 (hopefully with this new model), issue 3 should be fixed automatically. If you want to try the driver, you should copy the apikuka.exe file in C:/RoboDK/bin to be able to run it. On the other hand, Dmitry is working on an improved driver that has many new features. 再保险:KUKA driver and robot model issues-kkos-09-26-2022 Hello Albert, I can now use the apikuka.exe by itself, thanks for the tip. The attached robot model solves the issue of differing values for the third axis (A3). Now, when using "Get Position", the poses match with the exception of the flange rotation (A6). I noticed that the new model can be moved to invalid positions (see attached image). The problem of invalid values A4 to A6 still persists, I attached an excel file containing a comparison of actual vs. recorded coordinate and joint values. For clarification: "Actual" represents the values read from the controller's smartPad and "RoboDK (get)" describes the values shown in the RoboDK GUI when using "Get Position". "RoboDK (send)" is what has been sent in the TCP packet from RoboDK to the controller via "Move Joints" for the position that has just been retrieved. The positions can be viewed in the attached rdk-file. As mentioned before, it seems like RoboDK sends X and Y coordinates instead of A5 and A6 joint angles to the controller and sets the received A4 angle as the flange (A6). I believe it is necessary to process the entire array of A1-A6 in RoboDK, since the controller expects the passive joints to be set correctly. When sending positions from RoboDK to the controller, I noticed they mostly fail because a software limit switch is reached for A5. As for how A4 and A5 are calculated, I am unsure - hopefully the excel file can give you some insight. Since I did not change any joint parameters in the controller, you can go ahead and update the model. Thank you for help! 再保险:KUKA driver and robot model issues-kkos-09-26-2022 Quick update: I constructed my own model of the robot to which I added all 6 axes. Retrieving the position and sending joint move commands seems to work this way. Poses, coordinates and joint angles in RoboDK match the ones of the real robot (see attached images). Unfortunately it does not look complete and enables invalid positions and manipulation of the passive axes, but this is the only way I can control the robot as of now. If needed, I can send you the model via mail. 再保险:KUKA driver and robot model issues-Albert-09-28-2022 Thank you for such a detailed description of the problem. It was very helpful for us to solve this issue. @Dmitrysent you an email with the test driver and post processor fixing these issues. We also prepared a new installer for the new version of RoboDK (5.5.2) fixing these issues. You can download this version here: //m.sinclairbody.com/downloads/Install-RoboDK-64-v5.5.2.exe This version includes the following fixes:
Also, we added the option to customize the allowed workspace for this palletizing robot (see attached image). Note that we don't have precise information about the allowed workspace. If you can share a datasheet we can help you improve it. Or you can customize the allowed workspace by double clicking joint limits for joints 2 or 3. I attached 2 models that improve the workspace:
Let us know if you still have issues. 再保险:KUKA driver and robot model issues-kkos-09-29-2022 Thanks a lot for the update. I believe the kukabridge driver in the version you linked is outdated, I had to swap it with the latest version Dmitry sent me for it to work correctly (see problem regarding A4 and A6). The updated robot model does not have any of the issues mentioned above, thanks a lot! |