Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: fabhund on January 07, 2014, 05:12:07 PM

Title: G68, how digits are interpreted internally ?
Post by: fabhund on January 07, 2014, 05:12:07 PM
Dear Forum.
I'm trying to drill PCB (Eching is done via photosensitive PCB and chemical etch process), so I slam the PCB to my spoil board.
Measure the board via. webcam, and calculate the Rotation needed. Fx:
G68 A0 B0 R-1.753
However when i run the G-code and look at the MDI-screen it say the rotation is -1.8

So is it internally handled as 1.753 or is it rounded to 1.8 ?

Best Regards, Bo.
Title: Re: G68, how digits are interpreted internally ?
Post by: Hood on January 07, 2014, 05:40:48 PM
I suspect if you open the screenset in a screen designer and edit the string to add more places after the decimal it will show that it is resolved correctly.
Hood
Title: Re: G68, how digits are interpreted internally ?
Post by: Hood on January 07, 2014, 05:44:11 PM
Ok I have just done it, I put 8 positions after the decimal and typed in, seems to be Mach allows the rotation to 5 decimal place, bit more than anyone would ever need I suspect :)
Hood
Title: Re: G68, how digits are interpreted internally ?
Post by: fabhund on January 08, 2014, 10:12:02 AM
Dear Sir,
Thank you for your prompt reply.
I also doubt that I will need 5 digits.
Never the less I'm now confident that I can proceed with this solution to PCB drilling.

Best Regards, Bo Andersen.