600,884 active members*
2,773 visitors online*
Register for free
Login
IndustryArena Forum > CNC Plasma, EDM / Waterjet Machines > Waterjet General Topics > Mach3 and EDM. Has anyone written macros?
Results 1 to 12 of 12
  1. #1
    Join Date
    Jun 2007
    Posts
    3735

    Question Mach3 and EDM. Has anyone written macros?

    With the flexibility available on Mach3, like controlling the machine for an Auto Tool Zero Setter, I am sure it can be adapted for EDM use.

    The above Auto Tool Zero Setter:
    http://www.cnczone.com/forums/showth...ghlight=greolt

    Has anyone used Mach3 for EDM control?

    I broke an M4 tap in stainless the other day and had to visit a friend to get him to use his EDM sinker to remove the offending tap.

    Watching the process, I am sure Mach3 can be adapted to this task.
    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.

  2. #2
    Join Date
    Dec 2003
    Posts
    24235
    An EDM can be used of course to remove broken taps, But if making one from scratch, rather than retro-fitting an existing one, a Tap Disintegrator is a simpler machine.
    The EDM requires a more sophisticated DC power supply, with usually PWM control, a Tap Disintegrator uses a simple low voltage, high current AC source, and usually the electrode advance is produced by an AC vibrator. No servo's needed.
    For pursuing the EDM approach, there is an excellent DIY book written by Canadian Robert Langlois Published by the HSM, entitled Build An EDM.
    This gives the fundamentals needed and the design of a small practical machine.
    I am not sure if you can get this down under?
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  3. #3
    Join Date
    Jun 2007
    Posts
    3735

    Question Mach3. That was the question.

    I just used my tap as an example. Sorry to mislead.
    Yes, EDM requires a more sophisticated DC power supply, with usually PWM control.

    The question was has anyone used Mach3 to control such a machine.

    The fancy power supply is no more complex than a servo drive, all be it quite different.

  4. #4
    Join Date
    Jun 2007
    Posts
    3735

    Question EDM. Mach3. Anyone?

    EDM. Mach3. Anyone?

  5. #5
    Join Date
    Jun 2007
    Posts
    3735

    Question Looks like I'll be the first.

    Anyone need Mach3 EDM?
    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.

  6. #6
    Join Date
    May 2007
    Posts
    250

    Smile EDM and Mach 3

    Hi Neilw,
    It's very interesting. Can Mach3 control EDM machine? Do you have more detail? I am interested in doing EDM-homehobby machine.

    Mongkol

  7. #7
    Join Date
    Jun 2007
    Posts
    3735

    Lightbulb I'm think it can.

    You can write external cycles, in VB modules such as using a probe for auto z-height setting where a cycle is initiated to move z down until a probe touch, then retract a controlled amount, (like an EDM needs) and rezeroing the Z DRO.
    You just need to make it into a cycle you can call with a final Z depth for example, and it can hunt up and down until the destination is reached, via a few control loops.
    Then it can retract like you would with a drill cycle and move to the next location.

    Doing EDM wire would be a bit more involved, but the same principle applies.
    You are just creating a vector, and a controlled way to get there with feedback from an external signal (the spark current control).

    You would just write code like a drill cycle. Because Mach3 can control 6 axis more complex functions with U and V drives are possible.
    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.

  8. #8
    Join Date
    Dec 2003
    Posts
    24235
    I suspect the issues to overcome would be Hardware rather than software.
    In pre-CNC sinker EDM machines, the profile was formed by a highly conductive die material, and Hyd. servo valves used a simple closed loop system to control the arc gap, as done with steppers in the Langlois book.
    In the case of CNC, the servo's have to be constantly controlled under arc voltage feed-back control until the profile is reached.
    i.e. A profile move is not performed as in a normal CNC move.
    Steppers, as with servo's have to be constantly incremented/decremented as the arc voltage dictates.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  9. #9
    Join Date
    Jun 2007
    Posts
    3735

    Talking It can be done.

    A modified version of the the following techniques will work.
    http://www.cnczone.com/forums/showthread.php?t=56079
    As long as Mach3 stays in the canned cycle until the end of the burn the VB logic can take care of all of the control.
    Just say where you want to burn and how deep.
    On a vector by vector basis.
    Mach3, from within a VB loop can move any axis according to whatever logic you can invent. Stay in the loop until the burn is finished, or the abort button is hit.
    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.

  10. #10
    Join Date
    Mar 2003
    Posts
    322

    Have a look at plugins

    Have a look at plugins. If it can't be done completely in VB then you can certainly do it in a plugin.

    I posted a plugin tutorial at the machsupport forum:

    http://www.machsupport.com/forum/ind...ic,4884.0.html

    -James Leonard
    James Leonard - www.DragonCNC.com - www.LeonardCNCSoftware.com - www.CorelDRAWCadCam.com - www.LeonardMusicalInstruments.com

  11. #11
    Join Date
    Jan 2009
    Posts
    9

    feed control

    Hello do anyone have marco of brain to control the feedrate for a wire edm?
    but I have to put the volt that I wont to have it is my gap voltage

  12. #12
    Join Date
    Nov 2009
    Posts
    2

    Re: EDM. Mach3. Anyone?

    I make one wire edm . I hope this helpClick image for larger version. 

Name:	Immagine1.jpg 
Views:	0 
Size:	35.5 KB 
ID:	512638

Similar Threads

  1. has h-bot/plot corexy firware been written for the smoothstepper
    By thesignworks in forum SmoothStepper Motion Control
    Replies: 0
    Last Post: 06-01-2014, 02:28 PM
  2. Guide to build CNC with less tools, but it written by Newbie.
    By iD2 in forum DIY CNC Router Table Machines
    Replies: 201
    Last Post: 11-19-2013, 04:39 PM
  3. Macros
    By Rick_B in forum Fanuc
    Replies: 3
    Last Post: 03-09-2013, 11:03 PM
  4. Mach3,macros,encoder.
    By Alexf2a in forum Mach Wizards, Macros, & Addons
    Replies: 0
    Last Post: 02-15-2010, 07:43 PM
  5. X3 CNC macros
    By trainfred in forum Syil Products
    Replies: 6
    Last Post: 05-21-2008, 01:42 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •