Spindle ON/OFF and speed control issues Duet 3
-
Hi All,
I wonder if anyone out there can help me solve this problem.I have just installed a PMW 0-10v converter from my duet 3 to my HY02D223B VFD. I get absolutely no activity from my spindle from either M3 S.... or Duet web control commands. The spindle does not switch on at all when the RUN button is disabled on VFD (setting Pd001=1) However if I reinstate the Run button (Pd001=0) I can manually press RUN to start the spindle and then I have speed control via the Duet web control and M3 S... commands.
Also the M5- STOP command doesnt work in either scenario.
Really struggling to get my head arround this!
I have searched the forums for days trying to find a solution but nothing is particlarly clear.
It feels like I need a seperate ON/OFF function to get the spindle running.
This is my config-spindle.g
M950 R0 C"OUT_9" L0:24000 Q1000 ; Create spindle index 0
M563 P1 S"SPINDLE" R0 ; Create tool 1 with spindle 0 and call it "SPINDLE"
M453
T1 ; select tool 1
M3 S0
M5 ;stop spindle -
Is this the same issue you posted about earlier? Did you try the suggestions made there?
Can I also ask why you haven't configured the spindle in the config.g file (I'm a novice too, so this question is for my interest, not a challenge )
-
@peteupshall have you set the spindle up for PWM control? I had to adjust mine.
Can you also post information about the wiring both from the duet to the PWM and then from the PWM to the VFD -
@Nightowl it is part of the same question. I now have part of the operation running of sorts but need to fine tune to get it right.
spindle.g loads into config.g when called for as far as I can see. I am using a modified config.g for Killerbee supplied by Andy Ofori . -
@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?