You can create your own M codes with macros. Not sure, but I think the enables turn on automatically?
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.
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)
Thanks Gerry.
You mean all Enable lines will change state upon nc "program run" executuion?
The enable lines are tied to the program reset, E-STOP.
Darek
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
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.
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.