I created a robot machining project and chose self-created NC code as the path for the KUKA robot. An excerpt of the code is below:
ABC denotes Euler angles
In actual operation, the robot tool is able to move correctly along the set XYZ. However, the orientation is incorrect.
Code:
N1 G1 X-254.003 Y15.077 Z0.000 A0 B0 C37
N1 G1 X-254.002 Y45.112 Z0.000 A0 B0 C37
N1 G1 X-254.006 Y75.060 Z0.000 A0 B0 C37
N1 G1 X-254.006 Y105.181 Z0.000 A0 B0 C37
N1 G1 X-254.002 Y112.560 Z0.000 A0 B0 C37
In actual operation, the robot tool is able to move correctly along the set XYZ. However, the orientation is incorrect.