Points after whole numbers in G-code

Points after whole numbers in G-code

williammaisch
Observer Observer
240 Views
1 Reply
Message 1 of 2

Points after whole numbers in G-code

williammaisch
Observer
Observer

Hello,

i have a problem with my G-Code.

I am using the WinPC-NC Post Processor to create the G-code. After loading the G-Code into WinPC-NC it just shows a distorted mess. I found out that the cause of this problem is that there is a dot after every whole number. After deleting all the dots manually it works alright.

 

%
(1001)
(T1 D=10. CR=0. TAPER=45deg - ZMIN=0. - Fasenfraser)
N10 G90
N11 G71

(Gravieren1)
(CHANGE TOOL)
N12 T1 M06 (FASENFRASER D=10.)
N13 S5000 M03
N14 G54
N15 M08
N16 G00 X-136.65 Y-107.12
N17 G00 Z16.              <---------------like here
N18 G00 Z5.
N19 G01 Z0. F1000

 

Does anyone have an idea why the dot causes problems or how to get rid of it?

Thanks in advance

 

William

0 Likes
241 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

Hi!

this is a setting in your post processor. Do you know how to edit your post?

 

if so. search for this line: var xyzFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true});

 

when found you need to set 'force decimal' on false (just change the word true to false).

Always be careful whenever you changed the post.

 

 

Coert