CNC : 5 Axis Machine

April 2025 Wecon CNC

Project Description

? Who needs pre-defined interpolation functions ?

Just use MATH !

The machine includes 5 Axis ;

  • X Axis
  • Y Axis
  • Z Axis
  • A Axis
  • C Axis

In this project, I wasn't able to use premade CNC interpolation functions, so I decided to calculate all the interpolation mathematics myself.

However, it wasn't easy — I had to be extremely careful, as any mistake in the math could affect servo axis speeds up to 9000 RPM due to cyclic position sending.

After running hundreds of simulations, I was able to generate all geometric shapes on the machine.

This made me realize: Could I develop a G-code writer and parser for this type of machine? : Stay tuned :)

Please check out the video below. If you need more information, feel free to contact me. I hope you enjoy it!

Project Video

Thanks for Sam Machinery for allowing me to share this video.

Technical Informations

  • Technology : Motion Control, Cylic Positioning
  • Platform : Wecon : Codesys 3.5