[Emc-users] Touch probe functionality

2008-11-16 Thread Jack Coats
I saw this question asked, but I never saw an answer.

 From what I have seen it looks like the ABILITY is there, but my 
understanding of
HOW TO is a little weak.

In my vision of a perfect world (yes, dreaming, again), it would be nice 
to issue
a command, or run a routing where I could give it, starting xyz and 
ending XYZ
(for a 3 dimension rectangular solid) and a 'spacing' unit (.01 or .1 or 
1, or whatever
depending on the units and a probe would start at one corner and probe 
to the other
scanning the rectangular area.  It might need a probe tool diameter and 
a  'safe space' (how
far above the upper Z to go to ensure clearance when going to the next 
point.

What I would like for output is something that is a point cloud, either 
as just points (x,y,z)
or in another format that might be used in the image-to-gcode program 
that is with EMC2.
ref: http://www.linuxcnc.org/docs/2.1/html/gui/image-to-gcode/index.html

This would allow 'copying parts' and the such.  Yes, I expect it 
could/would be slow,
but getting the job done is more important than time.

Could someone point me down the right path?  I would love to add the 
docs of 'how to'
to the EMC wiki if I can get it to work!

... Jack

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Touch probe functionality

2008-11-16 Thread Dean Hedin
I did this in EMC 1.  At that time I had to write a special program to do this.
The program talked to emc through NML and wrote out the g-code file.  
 
However I believe this can now be done in EMC2 with just a g-code sequence.

Be advised that it takes a long time to probe even a small area in this fashion.

I did a 4x5x1/2 region at .01 inch resolution and it took something like 4-5 
hours.

Because of this time issue I moved on to looking for other digitization 
solutions. 

- Original Message - 
From: Jack Coats [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Sunday, November 16, 2008 7:04 PM
Subject: [Emc-users] Touch probe functionality


I saw this question asked, but I never saw an answer.
 
 From what I have seen it looks like the ABILITY is there, but my 
 understanding of
 HOW TO is a little weak.
 
 In my vision of a perfect world (yes, dreaming, again), it would be nice 
 to issue
 a command, or run a routing where I could give it, starting xyz and 
 ending XYZ
 (for a 3 dimension rectangular solid) and a 'spacing' unit (.01 or .1 or 
 1, or whatever
 depending on the units and a probe would start at one corner and probe 
 to the other
 scanning the rectangular area.  It might need a probe tool diameter and 
 a  'safe space' (how
 far above the upper Z to go to ensure clearance when going to the next 
 point.
 
 What I would like for output is something that is a point cloud, either 
 as just points (x,y,z)
 or in another format that might be used in the image-to-gcode program 
 that is with EMC2.
 ref: http://www.linuxcnc.org/docs/2.1/html/gui/image-to-gcode/index.html
 
 This would allow 'copying parts' and the such.  Yes, I expect it 
 could/would be slow,
 but getting the job done is more important than time.
 
 Could someone point me down the right path?  I would love to add the 
 docs of 'how to'
 to the EMC wiki if I can get it to work!
 
 ... Jack
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Touch probe functionality

2008-11-16 Thread Jack Coats
I hate answering my own messages, but I found what I wanted.  I promise, 
I tried to look first
before I posted, but life happens.

There are samples in /usr/share/emc/ of .ngc files that deal with probes 
and logging data.


like:

gridprobe.ngc
probe-hole.ngc
smartprobe.ngc
tool-length-probe.ngc

... Jack

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Touch probe functionality

2008-09-24 Thread Kim Mortensen
Hi all,

Thinking of making a touchprobe, but Im missing the link between the probe 
itself and EMC controll. 

Is there a special piece of code that needs to be run to locate a corner (tell 
EMC to do the moves), or it this already know to EMC.. 

What about logging a point cloud.. is this something EMC can do..

Best Regards
Kim Mortensen-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Touch probe functionality

2008-09-24 Thread Andi Frommel
hi Kim

i've just done something like that for qualifying my converted mill:

http://homepage.bluewin.ch/andyfrommel/6101.html
(sorry, it's still in german... but lots of pics)

i selected the pin on the parport, where the prober was connected to,
as the probe input and used the G38.2 command for probing.
to get the coords you can make use of ' probeopen' 

i used this code snippet to qualify the probe itself by measuring the z-coord
at the same xy pos 50 times.

(PROBEOPEN ProbeCalib.txt)
F#10
G1Z#5
O1 while [#4 lt #3]  (Schleifen-Zähler  Anzahl)
 F#11
 G1Z#6   (runter zu Anfangspunkt)
 F#12
 G38.2Z#7(runter bis Taster)
 G91 (Incremetal Mode)
 G1Z#8   (bisschen hoch)
 F#13
 G38.2Z#9(runter bis Taster)
 G90 (Absolut Mode)
 F#11
 G1Z#6
 #4=[#4+1]   (inkrement Schleifen-Zähler)
O1 endwhile
(PROBECLOSE) (Logfile schliessen)

i hope this gives you some light...
br andy


Ursprüngliche Nachricht
Von: [EMAIL PROTECTED]
Datum: 24.09.2008 20:56
An: Enhanced Machine Controller (EMC)emc-users@lists.sourceforge.net
Betreff: [Emc-users] Touch probe functionality

Hi all,

Thinking of making a touchprobe, but Im missing the link between the probe 
itself and EMC controll. 

Is there a special piece of code that needs to be run to locate a corner (tell 
EMC to do the moves), or it this 
already know to EMC.. 

What about logging a point cloud.. is this something EMC can do..

Best Regards
Kim 
Mortensen-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Touch probe functionality

2008-09-24 Thread Kim Mortensen
ok thanks,

It tells me that there is some special behavior needed..

Thanks for the code, ill try ti reverseingeneer (Your comments are not much 
help (-: )

Best Regards
Kim Mortensen - Denmark.

-Original Message-
From: Andi Frommel [mailto:[EMAIL PROTECTED]
Sent: 24. september 2008 21:17
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Touch probe functionality


hi Kim

i've just done something like that for qualifying my converted mill:

http://homepage.bluewin.ch/andyfrommel/6101.html
(sorry, it's still in german... but lots of pics)

i selected the pin on the parport, where the prober was connected to,
as the probe input and used the G38.2 command for probing.
to get the coords you can make use of ' probeopen' 

i used this code snippet to qualify the probe itself by measuring the z-coord
at the same xy pos 50 times.

(PROBEOPEN ProbeCalib.txt)
F#10
G1Z#5
O1 while [#4 lt #3]  (Schleifen-Zähler  Anzahl)
 F#11
 G1Z#6   (runter zu Anfangspunkt)
 F#12
 G38.2Z#7(runter bis Taster)
 G91 (Incremetal Mode)
 G1Z#8   (bisschen hoch)
 F#13
 G38.2Z#9(runter bis Taster)
 G90 (Absolut Mode)
 F#11
 G1Z#6
 #4=[#4+1]   (inkrement Schleifen-Zähler)
O1 endwhile
(PROBECLOSE) (Logfile schliessen)

i hope this gives you some light...
br andy


Ursprüngliche Nachricht
Von: [EMAIL PROTECTED]
Datum: 24.09.2008 20:56
An: Enhanced Machine Controller (EMC)emc-users@lists.sourceforge.net
Betreff: [Emc-users] Touch probe functionality

Hi all,

Thinking of making a touchprobe, but Im missing the link between the probe 
itself and EMC controll. 

Is there a special piece of code that needs to be run to locate a corner (tell 
EMC to do the moves), or it this 
already know to EMC.. 

What about logging a point cloud.. is this something EMC can do..

Best Regards
Kim 
Mortensen-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Touch probe functionality

2008-09-24 Thread Chris Radek
On Wed, Sep 24, 2008 at 09:50:57PM +0200, Kim Mortensen wrote:
 ok thanks,
 
 It tells me that there is some special behavior needed..
 
 Thanks for the code, ill try ti reverseingeneer (Your comments are not much 
 help (-: )
 
 Best Regards
 Kim Mortensen - Denmark.

Be aware that in CVS trunk there are new probing modes that let you
do more advanced things.  These will be in the not-yet released 2.3
versions, but if you want to build and run trunk you can.

http://www.linuxcnc.org/docs/devel/html/gcode_main.html#G38.x%20Straight%20Probe



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users