Hello Guest it is April 20, 2024, 01:30:58 AM

Author Topic: Mach 3 enable  (Read 9485 times)

0 Members and 1 Guest are viewing this topic.

Mach 3 enable
« 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

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 enable
« Reply #1 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
Re: Mach 3 enable
« Reply #2 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

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 enable
« Reply #3 on: March 26, 2010, 09:28:08 AM »
This what you are looking for?
Hood
Re: Mach 3 enable
« Reply #4 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

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 enable
« Reply #5 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.
 
Re: Mach 3 enable
« Reply #6 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).