4th-Axis GCode Programming
Need clarification on GCode for 4th axis.
What is the "unit" of movement for a 4th (or any rotary) axis? Is the 4th axis measured in inches/millimeters (of head-relative movement) like X,Y, and Z, or degrees/radians (of rotation), etc. It is easy enough to make either set of calculations, but have not worked with (or seen) rotary axis code.
Re: 4th-Axis GCode Programming
Hi
I found a youtube video that shows how to use a macro to do something like the question being asked. I had the same problem and right now I don't have
access to my 4th axis. Gcode on the fly for Rotary CNC - YouTube
If I get it to work, what I plan to do is add variables for diameter of material and length of material. That I am pretty sure that I can do manually,
Once I get that to work, I want to have a message so that I can enter this information. I'm looking at the M109 command. It looks like you can enter one
variable, I would like to enter at least 2 variables.
Re: 4th-Axis GCode Programming
hy hmatyas :) 4th axis programing requires a bit of trials, so to find the correct formulas
i can help with code sugestions, going little by little, until solved, at least let's hope will figure it out
so far i solved for rotary on other machine, so there is a place to start / kindly :)
Re: 4th-Axis GCode Programming
Hi,
I use Mach4 and all rotary axes are in degrees. This is a shame because I prefer radians. I use Fusion + Machining Extensions and Fusion can post either degrees OR radians, but Mach
can only handle degrees.
Mach does have a G93 mode which changes the angular velocity such the the peripheral speed remains constant. I have not used it in Fourth axis tool paths myself, thinking that G93 is
best suited to lathes.
Craig
Re: 4th-Axis GCode Programming
hy joe :) if you need some feeds modified ( or someting else, etc ), i can help with
for example, let's say that you just generated program file cut-this.cnc; the moment you see it become cut-this-fixed.cnc, then all is ok ( thus a service runs in background, scans a folder for new files, and adjusts them as needed; no intervention necesary ) / kindly :)