Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: jr_82 on March 21, 2011, 11:47:49 PM

Title: Spindle
Post by: jr_82 on March 21, 2011, 11:47:49 PM
Can some one walk me through the spindle set up. I have been using a router and now have a spindle and do not have a clue how to get it to work.










Title: Re: Spindle
Post by: Tweakie.CNC on March 22, 2011, 12:18:01 PM
Need a few more details JR.

Is it VFD controlled ?
What make and model ?
etc.

Tweakie.
Title: Re: Spindle
Post by: jr_82 on March 22, 2011, 02:26:09 PM
The board is a tb6560, it says it has spindle relays. The board powers my stepper motors nema 23s. My Spindle has no info It is just a DC motor with 2 wires, 7.5 amp. It has a lot of torque,  I can make it go either way with a battery reversing the poles. The only thing I have to go by is that the instructions say that the spindle is pin 9, I know nothing else of what to do. Or even where to put the 9. here is a link to a similar board.  http://cgi.ebay.com/CNC-3-axis-Stepper-motor-Driver-TB6560-INCLUDES-EXTRAS-/290539247321?pt=LH_DefaultDomain_0&hash=item43a57d16d9. 
Title: Re: Spindle
Post by: Hood on March 22, 2011, 03:18:16 PM
The relay is purely to turn spindle on or off. You can use it if you pass your DC feed through its contacts. In Mach you would then go to Config menu then Ports and Pins then Spindle Setup and take the tick out of the Disable Spindle relays box. Set an output number in the boxes for M3/M4 or if you are not already using the default ones just leave them as is.
Next go to the Outputs tab and enter the port and pin number against the Output you chose and make sure you enable it.
When you start the spindle from Mach (button or M3 call) the relay should close and allow your DC voltage to pass through to your spindle.
I have not read the docs so make sure the relay is specified for at least the max voltage and current you will be using on the spindle.
Hood
Title: Re: Spindle
Post by: jr_82 on March 22, 2011, 03:23:26 PM
What do you mean pass through? Take the 2 wires from the motor and put them on the relay? or just one like on a switch, and the other to the power, to complete the circuit.
Title: Re: Spindle
Post by: Hood on March 22, 2011, 03:26:57 PM
Just the positive like on a switch. You will not be able to reverse the spindle unles the relay is double pole double throw.
Hood
Title: Re: Spindle
Post by: jr_82 on March 22, 2011, 03:27:55 PM
on the board for spindle it says (P15 MO/V+) (P16 GND) (P17 M0-).  
Title: Re: Spindle
Post by: Hood on March 22, 2011, 03:29:49 PM
Hang on I will look at the manual and see what I can figure out.
Hood
Title: Re: Spindle
Post by: Hood on March 22, 2011, 03:31:06 PM
Ah sorry I thought the link you put above was for the manual. Do you have a manual? If yes can you attach.
Hood
Title: Re: Spindle
Post by: jr_82 on March 22, 2011, 03:35:29 PM
No manual just stuff from the internet about the board.  Problem is that some look the same but the manuals are different.  look for 3 axis tb6560 driver board.  I read you what was written on the circuit board for where the spindle should go.
Title: Re: Spindle
Post by: Hood on March 22, 2011, 03:40:44 PM
From the description it sounds like the relay is meant for switching a VFD's Fwd/Rev. I will presume the Gnd is actually the common terminal . The V+ may be the relays Normally closed contact and the V- may be the normally open.
Do you have a multimeter that you could test continuity of the relay contacts with?
Hood
Title: Re: Spindle
Post by: jr_82 on March 22, 2011, 03:51:52 PM
I have tried that but, I do not know if it is actually on or not, I never get anything over 4v. I can hear it click on and off, but I have no Idea if I even have the correct pins going where they need to.  I only know that pin 9 is for the spindle.
Title: Re: Spindle
Post by: andrewm on March 22, 2011, 03:57:25 PM
This is the manual for your board.

http://www.cncgeeker.com/images/manual/CNC/3axisTB6560cncdriveCNCGeeker.pdf
Title: Re: Spindle
Post by: Hood on March 22, 2011, 04:00:42 PM
Ok set Mach up as I mentioned but dont connect the motors power wires to anything. Take your meter and put it into a low Ohm range or buzzer if it has one. Connect one probe to the Gnd and touch the other to the V+ and see if it has continuity. If it does then go to the V- terminal and it should not have continuity. Next start the spindle in Mach and you should now get the continuity on the opposite terminal and no ontinuity on the one that previously had it.
Hood
Title: Re: Spindle
Post by: jr_82 on March 22, 2011, 04:05:39 PM
http://lz4gv.my.contact.bg/CNC_files/3Axis_Driver_txt.pdf

Here is the link, it is the closet thing I have, Looks identical and pins are the same.

Title: Re: Spindle
Post by: jr_82 on March 22, 2011, 04:12:16 PM
no nothing is hapening, just says 0.L no matter what I do.  Do I have to turn anything on? do I have to turn on the spindle output.   You will have to be very specific, I have no Idea what I am doing.
Title: Re: Spindle
Post by: jr_82 on March 22, 2011, 04:22:14 PM
Signal  Output enabled port 1 Pin 9  Do I need to turn on the spindle in the motor settings? if so What step pin and dir pin.  Under spindle settings. Use spindle ouputs? It clicks when I turn the spindle on, and off, nothing else happens.  No volts no beeps nothing.
Title: Re: Spindle
Post by: Hood on March 22, 2011, 04:25:44 PM
Ok if it is clicking as you turn spindle off and on then relay is working. You will not get a voltage but if you have your meter on buzzer you should hear a beep when the contacts close. I am not sure which pins are which but you neet one probe of the meter to the relay common which I presume is called Gnd and the other to the V+. Switch the spindle on and off and you should hear a beep either when on or when off. If you dont then take the probe from the common (Gnd) and connect it to V- and try switching the spindle on/off button again.
Hood
Title: Re: Spindle
Post by: jr_82 on March 22, 2011, 04:31:34 PM
OK it beeps when I do that V+ to V-  and turns back off.
Title: Re: Spindle
Post by: jr_82 on March 22, 2011, 04:33:59 PM
So is it just a relay? Or should it put out voltage to the motor? It puts out voltage to the stepper motors. xyz. axis. 
Title: Re: Spindle
Post by: jr_82 on March 22, 2011, 04:37:30 PM
• Relay spindle interface - Outputs Max. 36V 7.5A for spindle motors or coolant pump (only one
device can be powered by this output!)

So does this mean it will put out 36v to run the spindle. or just its max input.
Title: Re: Spindle
Post by: Hood on March 22, 2011, 04:46:00 PM
It is just a relay but the Gnd has me wondering as I was expecting that to be the common terminal of a NC/NO relay.
What it sounds like is just a normally open relay and you would connect the positive supply to V+ and then V- to your motors positive. The Negative wire from your supply would go direct to the motor. However as said the Gnd has me slightly worried and if I could test myself I would be confident to tell you how to connect but as I cant then it might be best to see if you can ask the supplier of the board.
Hood
Title: Re: Spindle
Post by: Hood on March 22, 2011, 04:47:27 PM
No it will not put out 36v, that means it will handle a max of 36v at 7.5 amps through its contacts, you need to supply the voltage for the contacts.
Hood
Title: Re: Spindle
Post by: jr_82 on March 22, 2011, 04:54:19 PM
OK thanks for all the help.
Title: Re: Spindle
Post by: jr_82 on March 22, 2011, 05:04:41 PM
Is there any way I can use this, to index. like a 4th axis?
Title: Re: Spindle
Post by: Hood on March 22, 2011, 05:10:08 PM
Don think so unless you have a stand alone 4th axis that reqires a signal to make it index.
It is meant for coolant or spindle on/off like you say and I am almost certain it should be wired like I said two posts ago but as its not mine and I cant test I will not say it is definitely that way as I dont want to be responsible for you letting the smoke out.
Hood