Andy Pugh wrote:
> 2009/6/27 alan battersby 
> <alan.battersby-XZoyATsUNX5Wk0Htik3J/[email protected]>:
> 
>> Finally to the question. I have nearly finished building a simple probe
>> and wish to use it to perform radial scans of a pre-turned wooden
>> surface and produce a file I can import into my software. Unfortunately
>> I haven't the faintest clue how to do this ( probing the surface that
>> is). Any suggestions or help would be appreciated.
> 
> I just looked at the G-Code quick reference to see what the probing
> code was, and to see what parameters the answers are written to, when
> I noticed something at the bottom that I had never noticed before, you
> can write all the probe results to a file.
> http://www.linuxcnc.org/docview/html//gcode_main.html#sub:G38.2:-Straight-Probe
> So, I think you could do what you want with something like:
> 
> #1 = 100 (Start Dia)
> F20
> (PROBEOPEN filename.txt)
> O100 WHILE [#1 GT 0]
> G38.2 Z -100
> G0 X0
> #1 = [#1-3]
> G0 X #1
> O100 ENDWHILE
> (PROBECLOSE)
> 
> 
> 
Andy,
Thanks for this. I havent replied to newsgroup because somehow I have
sent two copies of the email. OOps!! so to avoid problems I replied to
the reply from  Mark (in the other copy ) as he wanted to know If I was
making the software available which I am. However I greatly appreciate
the code I was anticipating something far more complex.

Regards
Alan



------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to