Results 1 to 7 of 7

Thread: Enable line 1 , gcode?

  1. #1
    Registered Konstantin's Avatar
    Join Date
    Feb 2004
    Location
    Mexico
    Posts
    465
    Downloads
    0
    Uploads
    0

    Enable line 1 , gcode?

    Hello.
    I have stepper driver modules that require an ENABLE signal in order to transfer power to the steppers. I have been reading the MAch2 manual and the thing about how to actualy enable the "ENABLE LINE1" signal is a mistery to me.
    I have setup the spindle relay and it latches with a M4 and M5 turns it off, but what is the code for the "ENABLE LINE 1" ?

    Konstantin V.


  2. #2
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,286
    Downloads
    0
    Uploads
    0
    You can create your own M codes with macros. Not sure, but I think the enables turn on automatically?
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  3. #3
    Registered Konstantin's Avatar
    Join Date
    Feb 2004
    Location
    Mexico
    Posts
    465
    Downloads
    0
    Uploads
    0
    Thanks Gerry.
    You mean all Enable lines will change state upon nc "program run" executuion?


  4. #4
    Gold Member
    Join Date
    Sep 2003
    Location
    USA
    Posts
    530
    Downloads
    0
    Uploads
    0
    The enable lines are tied to the program reset, E-STOP.

    Darek


  • #5
    Registered
    Join Date
    Jan 2006
    Location
    usa
    Posts
    67
    Downloads
    0
    Uploads
    0
    Konstantin,

    Did you ever get an answer on enable. I have also been trying to get the same answer and still don't understand.

    aggie


  • #6
    Registered
    Join Date
    Oct 2005
    Location
    USA
    Posts
    5
    Downloads
    0
    Uploads
    0
    Konstantin,

    I am still a future CNC builder (I have some plans and some hardware, but I have not built and run any CNC hardware) so do not take my answer as absolute truth.

    As I understand the ENABLE line on the driver module, it is way to use a hardware interlock. It could be an E-Stop button (as HillBilly suggested), a door switch on your enclosure, a thermal switch or any other type of switching. If you operate the switch, the driver module will stop driving the motor, even though it is still receiving signals from the software. It could also be useful for diagnostic work because you can run your software and let it send step and direction commands to the driver modules, but you are switching "dead" wires. I am considering putting a locking switch on the ENABLE line as a safety lock-out (I do not want my kids playing with the equipment without me).

    I think most CAM programs have an E-Stop input. This is a software function that will stop the command string going to the driver modules. I do not know if the commands stop immediately.

    If any of you can correct my explanation, you can help educate several of us.


  • #7
    Registered Konstantin's Avatar
    Join Date
    Feb 2004
    Location
    Mexico
    Posts
    465
    Downloads
    0
    Uploads
    0
    Yes the enable switch will 'enable' or disable the current to the motors. I just had the idea that Mach2 will change state on 'enable' to power the drivers and change state again after the program has run, like for the spindle for example, exept the spindle is output is set by a command inside the toolpath meanwhile the 'enable' I dont know.

    The Estop will halt everything, and disabling the drivers will save motor and driver live, motors will not be holding the position.


    Could anyone please throw some light onto this matter?

    Thanks.
    Konstantin.


  • Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.