Hi everybody, i'm new and i want to know this.
I'm programing a cnc software for my cnc machine, this software is capable to read a cnc file (g-code) and move my machine, but i'm a little confuse how z should move.
if i want to go to X100 Y250 Z50, Z is moving at the same time of the other axis or first go to X100 Y250 and then Z is going down to Z50.
The other case would be X100 Y250 Z0, first go X100 Y250, Z doesnt move, and then X100 Y250 Z50 go to Z50. the code complete wolud be:
X100 Y250 Z0 go ot 100,250
X100 Y250 Z50 already in 100,250 move Z50
My doubt is because sometimes i want to make a rect cut without moving the Z axis and sometimes, a circular cut moving the Z axis with the other axis.
Thanks for your help.