603,945 active members*
4,083 visitors online*
Register for free
Login
Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2004
    Posts
    466

    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
    Join Date
    Mar 2003
    Posts
    35494
    You can create your own M codes with macros. Not sure, but I think the enables turn on automatically?
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

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

  3. #3
    Join Date
    Feb 2004
    Posts
    466
    Thanks Gerry.
    You mean all Enable lines will change state upon nc "program run" executuion?

  4. #4
    Join Date
    Sep 2003
    Posts
    552
    The enable lines are tied to the program reset, E-STOP.

    Darek

  5. #5
    Join Date
    Jan 2006
    Posts
    67
    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. #6
    Join Date
    Oct 2005
    Posts
    5
    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. #7
    Join Date
    Feb 2004
    Posts
    466
    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

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