I have a problem when running a simulation in a real kuka robot, I think it has to do with the orientation of the axes, when running programs developed in robodk only with targets the real robot moves the same as the simulation, the code is generated in PTP instruction.
but when created with solid works and robodk the instructions become LIN and the robot does not move as in the simulation.
In the photo of the program loaded to the controller it moves correctly to line 21, from line 22 there are movements in the real robot that do not resemble those of the simulation.
As you may see on your teach pendant, the difference between PTP and LIN movement is the type of movement and the input parameter.
PTP are MoveJ and the inputs are the joints values.
LIN are MoveL and the inputs are cartesian coordinates and orientation.
If the base frame of the robot and the reference frame of RoboDK are not set according to one another, the LIN movements won't work.
Did you try creating a program only using the robot? Without involving the external axes? Did that work?
How can I configure the robot base and the RoboDK reference frame with each other?
I created a program only with the robot without external axes and it worked well, but when trying to add the KUKA 1000-2 rail and the table I have problems with the orientation of the physical robot, this is the simulation of the robot alone and the other simulation with the external axes where there are faults
You should properly configure RoboDK and the controller so that both definitions of the base coordinate system match.
What happens if you run the program with the linear rail?
It may help if you can send an image or a video showing where the robot is trying to go.
Does it work if you run a program simulated with the robot alone?
How can I make the correct configuration of the base definitions match? in the real robot the base 0 coincides with the home position of the rail that is the base in robodk
when we execute the program only with the linear rail the same thing happens as if the 8 axes were coupled, as shown in the video "Video_runing_Rectangular2"
when running the robot alone there is no problem
the actual positions as shown in the photograph "real robot cartesian position" do not match those indicated in the simulation code, this photograph was captured on line 22 of the code generated by robodk and loaded to the controller, we believe it may be due to a conflict in the ABC rotary axes
in the other file only with the rail there are similar problems
After a quick look, it feels like there is a mismatch between the orientation of the turntable reference frame in RoboDK and in real life.
You should be able to check if both systems are the same by simply jogging the robot in real life and in RDK and checking if the orientations of XYZ are the same in both cases.
You need to make sure that you are traveling within the same reference frame, in the real world and in RoboDK.
02-28-2020, 06:48 PM (This post was last modified: 02-28-2020, 07:43 PM by dmmaya.)
I check the XYZ orientations and solve the difference between the cartesian points and joints in the real and simulated, but I get different cartesian values when running the simulation in the real robot, the simulated positions with the real ones do not coincide again
02-28-2020, 08:40 PM (This post was last modified: 02-28-2020, 08:42 PM by dmmaya.)
Hi Jeremy, I think you reviewed the previous files, I updated the files and I could match the real Cartesian values with those of the simulation
Quote:dmmayaI check the XYZ orientations and solve the difference between the cartesian points and joints in the real and simulated, but I get different cartesian values when running the simulation in the real robot, the simulated positions with the real ones do not coincide again
03-03-2020, 04:20 AM (This post was last modified: 03-03-2020, 04:24 AM by dmmaya.)
I made the changes without the turntable and they were favorable, they coincided with the real values of the robot, but when loading the turntable I have problems again, how could I orientate the axes well to match and attached the base to the turntable