Spindle ON/OFF and speed control issues Duet 3
-
@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? -
@jay_s_uk
That might depend on the milling motor or spindle.I (now) know the Sorotec and Mafell have a minimum speed of 4,000RPM, but the AMB/Kress does go down to 0.
I'm not sure about water/air-cooled spindles, though.
-
@Nightowl mines a water cooled one. no idea what spindle is being used here
-
@jay_s_uk Hi 1.5kw aircooled spindle
-
@peteupshall itll probably have the same minimum RPM as mine then, so 6000
-
@jay_s_uk Still no joy. Set it to 6000 and M5 still wont make it stop. Tearing my hair out now as I cant get my head arround whats going on. Could it be a VFD setting?
-
Sorted it and dancing around the workshop .
Looked at all the frequency settings on VFD and noticed that PD011 was set to 200.00. Set it to factory 0 and it all works.
Thanks so much for all your help. This forum is invaluable. -
-