Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: ABHELI on March 25, 2010, 09:04:35 AM

Title: Mach 3 enable
Post by: ABHELI on March 25, 2010, 09:04:35 AM
Hi All

Does Mach 3 have the capability to send an enable signal to my drive board. What I want is for my drivers to be powered down before and after I run a program.  My drivers are a unipolar with power resistors that are always on. the boards do have an enable pin. the addition of 5 volts shuts the boards down. I searched the Mach settings and could not figure it out. Is it possible?

abheli
Title: Re: Mach 3 enable
Post by: Hood on March 25, 2010, 11:46:28 AM
You can use the Enable signals on Ports and Pins, Outputs
If you use them the drives will be disabled when you go into reset.
Hood
Title: Re: Mach 3 enable
Post by: ABHELI on March 26, 2010, 09:17:07 AM
hI

 I knew about the enable /disable with the reset.  Is it possible that when the program is finished that it will automaticly disable the drives
  Abheli
Title: Re: Mach 3 enable
Post by: Hood on March 26, 2010, 09:28:08 AM
This what you are looking for?
Hood
Title: Re: Mach 3 enable
Post by: ABHELI on March 27, 2010, 08:57:09 AM
Hood

I tried the setting you suggested it did not work. do I need to configure an output port for this setting other than my enable pin.


thanks ABHELI
Title: Re: Mach 3 enable
Post by: Hood on March 27, 2010, 12:28:14 PM
No, it should work, what it will do is once your code has run it will put Mach into reset, you will need a M30 at the end of your code I think and remember that there has to be a next line started in your code file after the M30 or Mach will not see the M30 as the block has not been ended.
Hood.
 
Title: Re: Mach 3 enable
Post by: DeNjo on August 03, 2011, 01:38:51 PM
Hello. I am trying to solve the same problem. I think the answer is to modify the program in the driver. Means that when the engine is no activity that the program (I mean the program that controls the driver such as the PIC 16F84 or similar).