Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Toad on July 10, 2014, 11:07:37 AM

Title: spindle variable speed control board relay
Post by: Toad on July 10, 2014, 11:07:37 AM
I am using the EES and PMDX-122 BOB, C6 Spindle Variable spindle control..
When I start a program, M3 closes the relay on the C6 Variable speed control board and Starts the spindle, the program runs. , When it is time for a tool change, M6 tells relay to open and stop spindle for the tool change.
The problem is, that when M6 tool change occurs, or M9 at end of program occur, the relay on the BOB stays energized, and spindle only slows down to 860 RPM’s
What is keeping the relay energized?
Thanks,
Toad
Title: Re: spindle variable speed control board relay
Post by: Hood on July 13, 2014, 04:39:24 PM
Not really sure what you are meaning, M9 is to switch off coolant, M5 is to stop spindle.
Hood
Title: Re: spindle variable speed control board relay
Post by: PGSeanB on January 08, 2016, 06:22:52 AM
Having same problem. Was there a fix to it?
Title: Re: spindle variable speed control board relay
Post by: PGSeanB on January 08, 2016, 08:00:07 AM
Problem solved.

Under Motor control tab in config spindle Dir Pin#cannot be used. Set it to a unused pin because mach# will not let you set it to zero.  Then define the output pin numbers you want to use under Spindle set up in the relay control box. Then connect those corresponding pins on the breakout board to the c6 cw/ccw pins.

The problem is that we were trying to use 2 forward direction pins at the same time, so when you called m5, it turned off the relay for a time then re energized because the second direction pin was still energized.

 hope that makes sense.