Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 06:35:06 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 on/off Relay
Pages: 1   Go Down
Print
Author Topic: Spindle on/off Relay  (Read 362 times)
0 Members and 2 Guests are viewing this topic.
bajadave
Active Member

Offline Offline

Posts: 61


If It isn't Broke, Then See How It Works


View Profile
« on: March 20, 2011, 06:13:48 PM »

I have a control  box with a relay in it to turn on and off the spindle... I can't seem to find out in Mach where or  how to do this.. I know its an m5 command... I believe my spindle control is setup for pin1 port1. can someone direct me to where i need to enter this info... Thanks
Logged
Hood
Active Member

Offline Offline

Posts: 17,366


Carnoustie, Scotland


View Profile
« Reply #1 on: March 20, 2011, 06:34:24 PM »

Config menu then Ports and Pins then Spindle Setup. Take the tick out of the disable relays box and then choose which outputs you want to use for M3 and M4. Next go to the Outputs page and set up the output numbers you chose with the port and pin number.
Hood
Logged
bajadave
Active Member

Offline Offline

Posts: 61


If It isn't Broke, Then See How It Works


View Profile
« Reply #2 on: March 20, 2011, 06:54:49 PM »

Thanks Hood But I must still be missing something. When I run the roadrunner file, at the end is the M5 command but my spindle does not shutoff... under ports and pins and spindle setup, I have the box unchecked and the output for M3 is #2 and for M4 is #1... under output signals I have output#2 Enabled with port 1 and Pin 1 set to Active low.... This is correct? If it is, my spindle doesnt shutoff so where should I start looking for the error?

Thanks
« Last Edit: March 20, 2011, 07:00:37 PM by bajadave » Logged
Hood
Active Member

Offline Offline

Posts: 17,366


Carnoustie, Scotland


View Profile
« Reply #3 on: March 20, 2011, 06:58:59 PM »

Does your spindle start when you press the button on screen? Does it stop when you press it again?
If you want to attach your xml I will take a look.
Hood
Logged
bajadave
Active Member

Offline Offline

Posts: 61


If It isn't Broke, Then See How It Works


View Profile
« Reply #4 on: March 20, 2011, 07:16:35 PM »

No the button does nothing... Its a porter cable trim router with a on/off switch.. I can manually turn it off/on... when I run the road runner file and i manually turn the router on, it doesnt shut off at the end of the file.. thanks

* Daves1_CNC.xml (97.64 KB - downloaded 22 times.)
Logged
bajadave
Active Member

Offline Offline

Posts: 61


If It isn't Broke, Then See How It Works


View Profile
« Reply #5 on: March 20, 2011, 11:57:29 PM »

Figured it out, it was the wrong pin number.. Thanks again Hood
Logged
Hood
Active Member

Offline Offline

Posts: 17,366


Carnoustie, Scotland


View Profile
« Reply #6 on: March 21, 2011, 02:17:26 AM »

Ok good to hear Smiley
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!