Spindle ON/OFF and speed control issues Duet 3
-
@jay_s_uk Yes have set up the VFD for the PWM control of the spindle and the speed control does work but only if I use the RUN button on the front of the VFD. If I set the VFD RUN command to external i.e from Duet I get nothing so it seems I need to switch the spindle on from the Duet somehow.
I have wired a 0-10v PMW converter as follows-
PWMIN+ to the OUT pin and PWMIN- to the GND pin of VFD/LASER connection on Duet 3, and set jumper on converter to 5v.I have power connected to 24v and DCM connections on VFD to the Power Supply terminals(24v ) on the converter
The Voltage Output+ (AO) from the converter goes to V1 on the VFD and the Voltage Output- (GND) to the ACM on the VFD.
-
I have tried the previous suggestion to try and get this up and running and thanks for pointing me in the right direction. I think I am almost there!
-
I am using FW version 3.3 and Workbee control 3.3.0- V1.2
-
I'm curious why you would use a Workbee configuration for the KillerBee, though?
I have a fairly straightforward system (without a VFD), which I'd be happy to share, that doesn't have multiple config files.
-
@Nightowl I use this purely as I found the Duet Web Control to be missing the Probe window and also the spindle speed window that is available in the WB version.
Has your DWC got these windows? -
Do you have spinle control via your Duet? If so I would love to see your config files.
-
@peteupshall
Good answer!It doesn't have the probe window, but I haven't progressed that far, yet! Just one step at a time, for me
There is a spindle speed control on the Dashboard screen, though.
To be honest, I tried the WB interface but couldn't get my head around it, and there should be improvements for CNC users with the 3.5 update from Duet, so I'm hanging my hat on that - for now.
-
Not spindle control, no. I did provide a link on your other post, which should have been of use to you, though?
-
@Nightowl Yes I tried all the suggestions but I just cant get it to work as expected.
Thanks for all your help though. -
@peteupshall you'll need a second output then from another heater output to the FWD connection on the VFD and then add it to the M950 e.g.
M950 R0 C"OUT_9+out8"
-
@jay_s_uk Do I need to use some sort of relay?
What voltage and settings would i need to provide to FWD from Duet? -
@peteupshall no, just a wire between the negative of the output to the fwd connector
-
@jay_s_uk Have tried Gnd on pin out 6 to FOR
Changed M950 R0 C"out9+out6" L0:24000 Q1000
Also tried to put directly into config.g but still no spindle start or stop.
Checking again with RUN button on VFD reactivated and I have speed control and sort of a stop control M5 but it just reduces to 500rpm not a complete stop.
Any further ideas? -
@peteupshall just checked my wiring and I also have a wire between the + of the heater output and DCM on the top row.
some more info can be found here https://wiki.printnc.info/en/electronics/vfd/config#h-0-5v -
@jay_s_uk So So close now. I now have spindle on and off and speed control via web control and gcode .
The only thing still not working is M5- Stop. When M5 is activated the spindle drops to about 500rpm, although VFD still shows 12000rpm, and stays there.
Is there a minimum RPM setting somewhere?
Thanks for your support so far you have been awesome! -
Also just noticed that as I have to press STOP on the VFD to stop spindle I then can't restart using Web Control or Gcode.
Also when set at 12000rpm on web control it shows just over 13500rpm on VFD. Is this just a case of fine tuning the 0-10v converter? -
@peteupshall yes, it just a case of adjusting the screw on the PWM converter.
You need to set the minimum RPM in M950. I think the spindle I have has a minimum RPM of 6000 -
@jay_s_uk Minimum rpm is currently set to 0, should it be something else then?
-
@peteupshall yes. more than likely there will be a minimum RPM that your spindle can work at, set it to that
-
@jay_s_uk Minimum RPM on specs is 0 but have tried it at 600 but still the same.
If I adjust the 12000rpm it knocks the 24000rpm which is spot on, would it be an innacuracy with the 0-10v converter?