Hello Guest it is April 18, 2024, 11:37:21 PM

Author Topic: spindle speed control  (Read 2530 times)

0 Members and 1 Guest are viewing this topic.

spindle speed control
« on: April 21, 2021, 01:33:24 PM »
hello. i am making a 3 axis-marble carving and cutting CNC machine.
i have connected my spindle with a 24v relay. the relay is connected with 12-24v supply and the last two terminals of relay. with this i am unable to control the speed of the spindle and its running on a fixed speed. i don't get how to connect 0-10v terminal with relay. can somebody suggest how may i connect it to control the speed,
not to mention. i have selected the PWM selection from the software. but still not working. i have attached the pictures, i hope they are visible.

and how do i connect 12v water pump with mach controller. a wiring picture would be helpfull please.
thankyou in advance


if pictures are not available then please guide me how upload them

[/img]
Re: spindle speed control
« Reply #1 on: April 22, 2021, 12:09:18 AM »
Hi,
in order to control the speed of a spindle with a PWM signal you need a controller that will accept a PWM signal,
or effectively, a 0-10V siganl and control the motor speed. Do you have such a device?

Second question is 'do you need it?'. Most of the time my mini-mill sits at 24000rpm and stays there all day. I can control
the speed both manually and programmatically but I seldom need to. I imagine you'll be running your diamond tools at a constant
speed for hours at a time....so where is the need for speed control?.

My limited experience with diamond tools tells me its more important to keep them really cool and well flushed. That suggests that reliable
coolant operation is more important than spindle speed.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: spindle speed control
« Reply #2 on: April 22, 2021, 06:06:11 AM »
in order to control the speed of a spindle with a PWM signal you need a controller that will accept a PWM signal,
or effectively, a 0-10V siganl and control the motor speed. Do you have such a device? If MACH3 doesnt count then no i  do not have any such device .

Second question is 'do you need it?'. With the current speed i had to lower my acceleration and velocity so low so that it doesnt break the marble. it took almost 2 hours to complete a 1500 line gcode. where as it takes only 10 minutes on a wooden peice.

Most of the time my mini-mill sits at 24000rpm and stays there all day. I can control
the speed both manually and programmatically but I seldom need to. I imagine you'll be running your diamond tools at a constant
Yes i will be running it at a constant speed but i want it to be the max speed so i can move the machine a little faster.

so is there any way i can make it work at its max speed without PWM supply???? like with the 24 supply i have provided it.
12 V water pump connection
« Reply #3 on: April 22, 2021, 06:20:31 AM »
hello there, i am usimg mach 3 controller. and i need to connect a 12v dc pump with mach3 . but i am unable to find the right pins. as there are no pins  or may be im unaware of. the water pump only has black and red wire. where should i connect it and with which pin should i connect it . so i can turn it on with M8 command as well.
im adding the picture of my mach3 below.
if i need to connect a relay or something and if it can be done without it ill be glad for your help. please do respond.

proper wiring defined would a great thankyou 
Re: 12 V water pump connection
« Reply #4 on: April 23, 2021, 04:15:38 AM »
In this, and your other post on spindle speed, you don’t mention what sort of spindle you have, or whether you have a vfd to run it.
Looking at the controller you picture below, one way of connecting the water pump would be to connect a suitable relay to the spindle connections so it switches on whenever the spindle is powered up.
Re the 0-10 volts question you asked in the other thread, the 0-10v is meant to be fed to the analogue in (often labelled A0 and AI) connections of the vfd. You then set the parameters of the vfd to use this analogue signal to control spindle speed, rather than setting it manually. If you don’t have a vfd you would presumably have to set the speed in your g-code with an M3 S*********xx command.
Maybe let people know a bit more about your hardware so they can give some better answers than this one??
Re: spindle speed control
« Reply #5 on: April 23, 2021, 04:56:56 AM »
Hi,

Quote
so is there any way i can make it work at its max speed without PWM supply???? like with the 24 supply i have provided it.

No, you need a motor speed controller...and the breakout board you have is not it.

We still don't know what spindle you have, is it DC or BLDC or an asynchronous motor or what?
You need to give us some details.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: spindle speed control
« Reply #6 on: April 23, 2021, 09:43:41 AM »
We still don't know what spindle you have, is it DC or BLDC or an asynchronous motor or what?
You need to give us some details.
Craig
the spindle i bought is a 24V dc. and i do not have a VFD.


the thing is its very hard to get parts from here i have to order them online and i only have 3-5 weeks left to submit my project. plus the orignal parts are way to expensive here.  if i order a vfd it would increase my project cost.



all i need is to get spindle to its max speed s i can save much time. with current speed my axis motor are travelling at 80mm/minute because the cutting speed is slow. consider me a very great noob.  just looking for a hack TBH.
Re: spindle speed control
« Reply #7 on: April 23, 2021, 11:02:03 AM »
A vfd would only be of use for a 3 phase mains voltage spindle. As yours is a 24dc spindle, the simplest way would be to connect it to a 24v dc power supply, and switch it using a relay from your controller. It should then run at max speed.
If you want more sophistication you could look for a variable voltage supply from, say, eBay so you could control the speed manually. You will not be able to use the 0-10v analog output from the controller, as it is not capable of supplying the current that the spindle would need.
Re: spindle speed control
« Reply #8 on: April 23, 2021, 11:06:27 AM »
A vfd would only be of use for a 3 phase mains voltage spindle. As yours is a 24dc spindle, the simplest way would be to connect it to a 24v dc power supply, and switch it using a relay from your controller. It should then run at max speed.
If you want more sophistication you could look for a variable voltage supply from, say, eBay so you could control the speed manually. You will not be able to use the 0-10v analog output from the controller, as it is not capable of supplying the current that the spindle would need.
yess i have connected the spindle through relay so i can switch it ON and off. thankyou soo much.
so theres no more speed to it.
and can i connect the 12 dc pump by connecting a 12v  relay  along side the spindle so they both turn ON. it will work right??.
Re: spindle speed control
« Reply #9 on: April 23, 2021, 11:10:40 AM »
Yes. Unless you have another spare output on the controller that you can switch on/off using  Mach3, though you would still need a relay because the pump will probably draw at least 1 amp, maybe more.