Page 1 of 1

Precision and G code with 0 length

Posted: Fri Mar 10, 2023 4:00 am
by marsheng
Can I set the number of decimal places for the G-code. Currently I'm getting 3 places in metric. 2 would be fine.

This may fix another issue I have where I'm getting very sort G-code snippets. I'll have to go and find one mistake and track back to the G-code. My machine sometimes comes up with an error, and, when I check, I'm getting a mill of 0.00 length. I can only see 2 dec on my machine, so maybe it is a mill of less than 0.01 mm.

I'm finally getting my G-code CNC commissioned. It has a has a Fanuc OMD Controller.

I currently, interpret the SC's G-Code and convert to conversational for my South Western Industries mill. (Nearly 20 years now)

Re: Precision and G code with 0 length

Posted: Fri Mar 10, 2023 12:03 pm
by djreiswig
You can edit the post processor. Look for the 0.#### formats & shorten them to the number of places you need. There is also a rounding function that might help get rid of the 0.00 values if the formatting change doesn't work.