# CNC Machining Blog

## Programming 5-Axis Transform Planes Using IJK UVW Vectors

Posted by Mike Cope on Mon, May 09, 2016

Tags: 5-Axis Machining, NC / G-Code Programming, Milling, CNC Control & Software, Manufacturing Industry Insights, control technology

Shawn Terrell

great

timothy dorfner

I just found you guys and wow what an informative Blog machinists, cutting tool dealers like midwest industrial supply inc, and really anyone in the MFG Industry. I found the manufacturing Insights very well written and easy to understand. I also saw that you partner with Cutting Tool Dealers. I would love to exchange links and maybee help each other out

Korloy Insert

Thanks for the sharing of this valuable information mate.

CNC Machining

Thanks for sharing this valuable post. It is very helpful to me, because I am also working with CNC machining. At HZ technology, we are dedicated to making the finest parts and products for our customers. We offer all services under one roof for Mold Tooling, CNC Machining & Injection Molding.

Michael Jason

VHGVHGVHGVHGVHGVHGV YGYTFYTF

Michael Hitchcock

Trying to post to Hurco 5 Axis VTXUi with WinMax. When milling on a canted plane, this code works great.
A45. C-90.
G68.2 X0.0 Y0.0 Z0.0 A45. C-90.
G90 X-.2 Y1.5303
G94 G43 Z1.2981 H13
Z-.4303
G94 G01 Z-.5303 F10.
Y1.0303
Y-1.0303
X-.9
Y1.0303
X-1.6
Y-1.0303
X-2.3
Y1.0303
Y1.5303
Z-.4303
G00 Z1.2981
However, if I try to cut a helix in this same orientation, there are errors when it gets to the G03 moves. The following code does not work.
A45. C-90.
G68.2 X0.0 Y0.0 Z0.0 A45. C-90.
G90 X-1.5 Y0.0
G94 G43 Z.1414 H12
Z-.4803
G41 G94 G01 X-1.5021 Y.0098 D12 F10.
G03 X-1.595 Y0.0 I.0459 J.0098
X-1.595 Y0.0 Z-.537 I-.095 J0.0
X-1.595 Y0.0 Z-.5937 I-.095 J0.0
X-1.595 Y0.0 Z-.6504 I-.095 J0.0
...
X-1.595 Y0.0 Z-1.8411 I-.095 J0.0
X-1.595 Y0.0 Z-1.8978 I-.095 J0.0
X-1.595 Y0.0 Z-1.9545 I-.095 J0.0
X-1.595 Y0.0 Z-2.0112 I-.095 J0.0
X-1.4507 Y-.0812 Z-2.0303 I-.095 J0.0
I.0493 J-.0812
X-1.4906 Y.0033 I.0244 J-.0401
G40 G01 X-1.5 Y0.0
G00 Z.1414
Can you please comment on what I am missing.
Thanks,
Michael