Precision and G code with 0 length

If you have any problems accessing the forum or email then ask here.
Post Reply
marsheng
Posts: 15
Joined: Sat Aug 07, 2021 11:04 am

Precision and G code with 0 length

Post 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)
User avatar
djreiswig
Posts: 484
Joined: Sat Feb 20, 2016 4:47 am
Location: SE Nebraska

Re: Precision and G code with 0 length

Post 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.
Post Reply