Hello Guest it is April 18, 2024, 07:43:20 AM

Author Topic: Spindle on/off Relay  (Read 3546 times)

0 Members and 1 Guest are viewing this topic.

Offline bajadave

*
  •  61 61
  • If It isn't Broke, Then See How It Works
    • View Profile
Spindle on/off Relay
« on: March 20, 2011, 07: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

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Spindle on/off Relay
« Reply #1 on: March 20, 2011, 07: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

Offline bajadave

*
  •  61 61
  • If It isn't Broke, Then See How It Works
    • View Profile
Re: Spindle on/off Relay
« Reply #2 on: March 20, 2011, 07: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, 08:00:37 PM by bajadave »

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Spindle on/off Relay
« Reply #3 on: March 20, 2011, 07: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

Offline bajadave

*
  •  61 61
  • If It isn't Broke, Then See How It Works
    • View Profile
Re: Spindle on/off Relay
« Reply #4 on: March 20, 2011, 08: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

Offline bajadave

*
  •  61 61
  • If It isn't Broke, Then See How It Works
    • View Profile
Re: Spindle on/off Relay
« Reply #5 on: March 21, 2011, 12:57:29 AM »
Figured it out, it was the wrong pin number.. Thanks again Hood

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Spindle on/off Relay
« Reply #6 on: March 21, 2011, 03:17:26 AM »
Ok good to hear :)
Hood