Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 02:28:10 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Spindle and Vac System
Pages: 1   Go Down
Print
Author Topic: Spindle and Vac System  (Read 415 times)
0 Members and 1 Guest are viewing this topic.
crash5050
Active Member

Offline Offline

Posts: 15


View Profile
« on: January 16, 2011, 06:07:47 PM »

I have a little problem, and I cannot figure out how to fix it.  I have my relays hooked up, and my spindle and my vac system will only come on when I hit the flood and mist buttons.  I know there is a way to change them to start and stop automatically when I hit the go button, but I can't seem to get it right.  Any help on this would be appreciated.

Thanks

David
Logged
Hood
Active Member

Offline Offline

Posts: 17,362


Carnoustie, Scotland


View Profile
« Reply #1 on: January 16, 2011, 06:26:21 PM »

Have M7 (for mist) and M8 (for flood) in your code where you want either to start, M9 will switch them off.

You could also change the Start button to a VB button in the screen designer and insert some VB for the M7 and M8 there if you wanted , but it would mean it would always operate when you start, so probably better if you have control via your code.

Hood
Logged
Hood
Active Member

Offline Offline

Posts: 17,362


Carnoustie, Scotland


View Profile
« Reply #2 on: January 16, 2011, 06:28:55 PM »

Other things are of course a Brain or Macropump looking at the Start LED and when its seen switch the Flood and Mist on.

BTW are you using the Mist or Flood to start the spindle?

Hood
Logged
crash5050
Active Member

Offline Offline

Posts: 15


View Profile
« Reply #3 on: January 16, 2011, 06:34:02 PM »

Flood starts the spindle, mist starts the vac system.  The way it is now, nothing stops on a tool change.  I was think there was a way to program the start button to start them all, they all stop when I hit the stop button.

David
Logged
Hood
Active Member

Offline Offline

Posts: 17,362


Carnoustie, Scotland


View Profile
« Reply #4 on: January 16, 2011, 06:39:51 PM »

Spindle should really be using the spindle relays and M3 in code will start M5 will stop. Pressing Stop should also stop both but Stop is not really the best thing to use unless motion has halted. If you have the spindle set to spindle relays then you can choose the option on General Config for the toolchange to stop spindle and wait for Start.
Hood
Logged
crash5050
Active Member

Offline Offline

Posts: 15


View Profile
« Reply #5 on: January 16, 2011, 06:45:54 PM »

I have all that checked, the router moves zero, it just won't stop spinning.  it looks like my relays are on m7 and m8.  Attached is the XML file that is running my machine

* qualls.xml (97.83 KB - downloaded 33 times.)
Logged
Hood
Active Member

Offline Offline

Posts: 17,362


Carnoustie, Scotland


View Profile
« Reply #6 on: January 16, 2011, 06:57:29 PM »

Not sure which ones which but on the spindle setup page change the output number of the spindle to either 1 or 2 and the flood or mist to 1 or 2 like in the pic.
Hood


* ScreenHunter_02 Jan. 16 23.56.jpg (71.18 KB, 696x371 - viewed 49 times.)
Logged
crash5050
Active Member

Offline Offline

Posts: 15


View Profile
« Reply #7 on: January 16, 2011, 07:24:45 PM »

I set the spindle to 1 and the flood to 2, now the spindle starts with the g-code, and the vac can be started easily from the flood control on the Program Run screen.  Thank you for your help.

David
Logged
Hood
Active Member

Offline Offline

Posts: 17,362


Carnoustie, Scotland


View Profile
« Reply #8 on: January 17, 2011, 02:28:38 AM »

You can also start the vac from code if you have a M8 in the code where you want it to start and M9 where you want it to stop.
Hood
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!