Processing additional parameters in G-Code?- Printable Version +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: General questions about RoboDK (//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK) +--- Thread: Processing additional parameters in G-Code? (/Thread-Processing-additional-parameters-in-G-Code) |
Processing additional parameters in G-Code?-sreshtiyer-06-03-2019 Hey! So I want to run a robot machining project with a g-code file. The difference is that each movement instruction in the G-code like has 3 additional values apart from the normal X ,Y , Z and E parameters as shown below.
Code:
G1 X3.650 Y-9.611 Z1.500 nX0.000 nY-0.000 nZ1.000 E0.103
These nX, nY and nZ represent the euclidian angles of the robot's tool orientation. When I try running the g-code normally by starting a machining project, although there are no errors, the robot simply goes to a point for the entire operation. Is there a way to input these nX, nY and nZ values from each line of the g-code to the tool orientation angles in the post processor? I am using an ABB IRB120 for the same. Kindly do let me know! Thanks in advance! RE: Processing additional parameters in G-Code?-sreshtiyer-06-06-2019 (06-03-2019, 11:02 AM)sreshtiyer Wrote:Hey! So I want to run a robot machining project with a g-code file. The difference is that each movement instruction in the G-code like has 3 additional values apart from the normal X ,Y , Z and E parameters as shown below. Never mind, it worked once I replaced nX, nY and nZ to I, J and K! RE: Processing additional parameters in G-Code?-Albert-06-07-2019 我们刚刚更新RoboDK支持工具取向given nX, nY, nZ values for robot machining when using G-code. It should have the same effect as I,J,K. |