Re: [Emc-users] touch probe routines

2011-07-02 Thread Stuart Stevenson
My preferred probe calibration protocol:

clamp a known diameter hole (ex. dial bore gage master) to the machine table
determine XY location of the hole (test indicator in the spindle?)
with the probe in the spindle use a calibration routine to determine where
the probe calculates the hole XY location and the diameter of the probed
diameter
the calibration routine uses the known diameter of the probe tip, the known
diameter of the hole, the dialed in XY location and the probed XY location
to determine the apparent diameter of the probe tip and the adjustment
values to correct the probed XY location to the dialed in XY location. These
values are saved for future use.

I don't have a probe on any of my EMC2 machines or I would work on this
protocol.
thanks
Stuart

-- 
dos centavos
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Gerber Files and EMC

2011-07-02 Thread Paulo Valadares
Does Someone have experience with Gerber files and how to run them in EMC .

Yours truly

Paulo Valadares

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How can I create my own functions table for named subroutines

2011-07-02 Thread cogoman
In the past I have thought that it would be great to have a feature in 
EMC2 like the C pre-processor, that would do some automatic replacements 
to allow the original G-code to be more readable.  It seems like two 
threads here can collide, and the solution for the thread on 
substituting A for E could give us a solution to the named subroutines 
problem.

the previous solution used filters in the ini file:

This is my filter section in .ini
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
PROGRAM_EXTENSION = .gcode Extruder gcode
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python
gcode = E2A

This is E2A that was run from outside of AXIS before
#!/bin/bash
sed -e 's/\( E\)\([0-9]*\)/ A\2/' $1
Guru comments on this?

Here we just have to adjust our sed line to get editing scripts from a 
file like so

sed -f subroutines.sed $1

now we can have scripts to replace text subroutine names with the 
numbers EMC2 seems to like so much, IE:

 s/rectangular-pocket/500/
 s/peck-drill/501/
 s/leave-a-tab/502/

Now you can use whatever names look good to you, and before EMC2 sees 
the code, it will be changed to a simple number.  It will only replace 
the first instance of the phrase on each line, so if you put the 
subroutine name in a comment at the end of the line, it will survive 
sed, but will let you keep track of subroutines in AXIS.

Comments anybody?

On 06/24/2011 06:11 PM, emc-users-requ...@lists.sourceforge.net wrote:
 So is it possible to create such a table? I tried to initialise 
  table
 using code above but got an error message Parameter number out of 
  Range
 I suspect the answer is no you can't - see later caveat.

 You can of course do this sort of thing, because it is based upon
 numbers and that is all a parameter can hold

 /o200   sub/

 / (msg, In 200-sub)/

 /o200   endsub/

 /o201   sub/

 / (msg, In 201-sub)/

 /o201   endsub/

 /#_index   = 0/

 /owhile1   sub/

 / o100 while [#_index   LT 2]/

 / o[200 + #_index   ] call/

 / #_index   = [#_index   + 1]/

 / o100 endwhile/

 /owhile1   endsub/

 /owhile1   call/

 /M2/

 This is E2A that was run from outside of AXIS before
#!/bin/bash
sed -e 's/\( E\)\([0-9]*\)/ A\2/' $1
 Guru comments on this?
   


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How can I create my own functions table for named subroutines

2011-07-02 Thread andy pugh
On 2 July 2011 18:47, cogoman cogo...@optimum.net wrote:

             s/rectangular-pocket/500/
             s/peck-drill/501/
             s/leave-a-tab/502/

 Now you can use whatever names look good to you, and before EMC2 sees
 the code, it will be changed to a simple number.

I think you are missing the point that
Opeckdrill CALL is perfectly valid already in EMC2 G-code


-- 
atp
Torque wrenches are for the obedience of fools and the guidance of wise men

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] touch probe routines

2011-07-02 Thread Jon Elson
Stuart Stevenson wrote:
 My preferred probe calibration protocol:

 clamp a known diameter hole (ex. dial bore gage master) to the machine table
 determine XY location of the hole (test indicator in the spindle?
I've seen these edge locators with an inside corner and a hole centered 
over the intersection of the
sides of the corner.  I don't know how to make one of these fixtures 
accurately.  A good one is
probably somewhat expensive.

Steve Stallings had a $120 touch probe made by Wildhorse Innovations (I 
think he paid
$140 but they have reduced the price.)  It is modeled after the patented 
Renishaw probe that recently
expired.  It has a steel ball machined on the end of the probe rod.  I 
figured I could find a ruby
ball with a drilled hole somewhere relatively cheap and make it even better.

Anyway, Mach is set up with some routines for probing edges and the 
center of holes, and this
has apparently been done to some extent in EMC, also.  There seems to be 
a hole finding routine
in nc_progs.  The center of a hole needs no information about the probe, 
just that it is centered to the
spindle and the ball is spherical.  To pick up an edge of a part 
directly (without the above-mentioned
corner fixture) the routine needs to know the diameter of the probe 
ball.  And, then, it would be
most convenient if it could do the same thing the touch-off button does 
in Axis, for both X and Y.
This would be really convenient, as I always fumble with whether I 
should enter +radius or
-radius for the touch-off value.  I have to always do G1 F10 X0 Y0 after 
touching off to catch when
I have done it wrong.

Jon

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] touch probe routines

2011-07-02 Thread samco
I have been using these from chris

http://timeguy.com/cradek/01262579508

I got a renishaw knockoff from ebay that seems to work really well... And all 
the work was done.

http://www.youtube.com/watch?v=KOi51ogqelsfeature=youtu.be

On Sat, 02 Jul 2011 13:04:36 -0500
 Jon Elson el...@pico-systems.com wrote:
 Stuart Stevenson wrote:
  My preferred probe calibration protocol:
 
  clamp a known diameter hole (ex. dial bore gage master) to the machine table
  determine XY location of the hole (test indicator in the spindle?
 I've seen these edge locators with an inside corner and a hole centered 
 over the intersection of the
 sides of the corner.  I don't know how to make one of these fixtures 
 accurately.  A good one is
 probably somewhat expensive.
 
 Steve Stallings had a $120 touch probe made by Wildhorse Innovations (I 
 think he paid
 $140 but they have reduced the price.)  It is modeled after the patented 
 Renishaw probe that recently
 expired.  It has a steel ball machined on the end of the probe rod.  I 
 figured I could find a ruby
 ball with a drilled hole somewhere relatively cheap and make it even better.
 
 Anyway, Mach is set up with some routines for probing edges and the 
 center of holes, and this
 has apparently been done to some extent in EMC, also.  There seems to be 
 a hole finding routine
 in nc_progs.  The center of a hole needs no information about the probe, 
 just that it is centered to the
 spindle and the ball is spherical.  To pick up an edge of a part 
 directly (without the above-mentioned
 corner fixture) the routine needs to know the diameter of the probe 
 ball.  And, then, it would be
 most convenient if it could do the same thing the touch-off button does 
 in Axis, for both X and Y.
 This would be really convenient, as I always fumble with whether I 
 should enter +radius or
 -radius for the touch-off value.  I have to always do G1 F10 X0 Y0 after 
 touching off to catch when
 I have done it wrong.
 
 Jon
 
 --
 All of the data generated in your IT infrastructure is seriously valuable.
 Why? It contains a definitive record of application performance, security 
 threats, fraudulent activity, and more. Splunk takes this data and makes 
 sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-d2d-c2
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] touch probe routines

2011-07-02 Thread andy pugh
On 2 July 2011 19:04, Jon Elson el...@pico-systems.com wrote:

  It has a steel ball machined on the end of the probe rod.  I
 figured I could find a ruby
 ball with a drilled hole somewhere relatively cheap and make it even better.

Check eBay for actual Renishaw probe tips, they occasionally turn up
not to expensive.
http://cgi.ebay.com/RENISHAW-M4-RUBY-BALL-STYLUS-A-5000-6350-NEW-/290481017645
(But I have seen much cheaper ones)

-- 
atp
Torque wrenches are for the obedience of fools and the guidance of wise men

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] touch probe routines

2011-07-02 Thread Jon Elson
sa...@empirescreen.com wrote:
 I have been using these from chris

 http://timeguy.com/cradek/01262579508

   
Oh WOW, I didn't know Chris had this on his web site!

Thanks,

Jon

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users