Controlling spindle speed via software
04 Jul 2022 23:17 #246608
by Sabryxd
Controlling spindle speed via software was created by Sabryxd
Hello everyone
I am trying to control the spindle speed from software with that board and I have a 300 watt spindle That does not use VFD to control the speed.
I see there is 0-10v pin and the spindle PWM pin
what should I use and how to configure it on Linuxcnc ?
And do I need any external hardware?
Thanks
I am trying to control the spindle speed from software with that board and I have a 300 watt spindle That does not use VFD to control the speed.
I see there is 0-10v pin and the spindle PWM pin
what should I use and how to configure it on Linuxcnc ?
And do I need any external hardware?
Thanks
Please Log in or Create an account to join the conversation.
04 Jul 2022 23:32 #246609
by andypugh
Replied by andypugh on topic Controlling spindle speed via software
You need a spindle motor driver. It might not be a VFD, but you need something that can handle the 300W of motor power.
The BoB has a 0 to 10V output, but that can only drive a few mA of current, enough to control an external drive.
The BoB has a 0 to 10V output, but that can only drive a few mA of current, enough to control an external drive.
Please Log in or Create an account to join the conversation.
04 Jul 2022 23:38 #246610
by Sabryxd
Replied by Sabryxd on topic Controlling spindle speed via software
Sry I am kinda new to this
but what is the difference between the 0-10v pin and the spindle pwm pin ?
but what is the difference between the 0-10v pin and the spindle pwm pin ?
Please Log in or Create an account to join the conversation.
04 Jul 2022 23:49 #246613
by andypugh
Replied by andypugh on topic Controlling spindle speed via software
Well, typically the controller will output PWM on one of the DB25 pins of the parallel port, and then the BoB converts that into an isolated (hopefully) 0 to 10V signal.
Part of the reason to do this is that the potentiometer pins of some drivers (KBIC DC motor drivers for example) sit at 200V above ground. (ie the control is 0 to 10V but is actually +190 to _200V relative to ground or neutral) If you wire that directly to a parallel port pin you will need a new computer.
The BoBs contain opto-isolators that use pulses of light to transmit logic signals between the delicate PC parallel port and the high-voltage, high-power electronics.
Part of the reason to do this is that the potentiometer pins of some drivers (KBIC DC motor drivers for example) sit at 200V above ground. (ie the control is 0 to 10V but is actually +190 to _200V relative to ground or neutral) If you wire that directly to a parallel port pin you will need a new computer.
The BoBs contain opto-isolators that use pulses of light to transmit logic signals between the delicate PC parallel port and the high-voltage, high-power electronics.
Please Log in or Create an account to join the conversation.
04 Jul 2022 23:53 #246615
by Sabryxd
Replied by Sabryxd on topic Controlling spindle speed via software
So can I just use the pwm that comes out of the db25 as my pwm signal to control the spindle, some dc motor drivers require only 0-5v or what do you think ?
Please Log in or Create an account to join the conversation.
04 Jul 2022 23:56 #246616
by andypugh
Replied by andypugh on topic Controlling spindle speed via software
What are you using as a spindle driver?
And i would still recommend using the BoB to isolate the driver from the PC even if you choose to ignore the 0-10V output converter on the board.
And i would still recommend using the BoB to isolate the driver from the PC even if you choose to ignore the 0-10V output converter on the board.
Please Log in or Create an account to join the conversation.
05 Jul 2022 00:03 #246619
by Sabryxd
Replied by Sabryxd on topic Controlling spindle speed via software
I am thinking about this
www.amazon.co.uk/EPLZON-Trigger-Adjustme...ngcfsjZKHHlV5UYglw_o
you have any idea about it or even this
www.amazon.eg/-/en/Motor-Speed-Control-S...Manual/dp/B0993QH2L1
kinda confused here xD
www.amazon.co.uk/EPLZON-Trigger-Adjustme...ngcfsjZKHHlV5UYglw_o
you have any idea about it or even this
www.amazon.eg/-/en/Motor-Speed-Control-S...Manual/dp/B0993QH2L1
kinda confused here xD
Please Log in or Create an account to join the conversation.
05 Jul 2022 12:11 #246642
by andypugh
Replied by andypugh on topic Controlling spindle speed via software
You could use the first one if you ignore the PWM to voltage stage on your BoB. (You can still use the relay)
You should be able to output PWM on one of the other outputs, if the PWM pin is not broken out independently.
You should be able to output PWM on one of the other outputs, if the PWM pin is not broken out independently.
Please Log in or Create an account to join the conversation.
Moderators: cncbasher
Time to create page: 0.093 seconds