AMB Milling Motor & Duet3 MB6HC
-
@nightowl999
What's the issue?
This shows you can power the control-interface of the spindle from 10-26 Volts DC and control it using the PWM-to-Analog converter listed in your previous link.
-
@alankilian The issue is I don't know what I don't know
- but I've not seen this diagram before, so it's a step forward.
I'm not sure I fully understand how this should work, but I think the three cables of the milling motor (Brown, White and Green) would be connected to Port 4 (shared), 5 and 6 respectively, but that's what I'm not sure about. I know the 12V and GND from Out9 connect to Pin 3 and 4 respectively, and I think out9 and 5V_EXT connect to Pin 1 and 2 with the GND on that header unused.
I also think I would need to change the jumper on the converter to 5V.
There are more cables than connectors!
-
@nightowl999
THIS page you linked to says how to wire the PWM converter to the Duet.
PWM converter has 4 inputs (2 power + 2 pwm input signals) and 2 outputs (0-10V voltage). Make sure the yellow jumper is on the 24V pins as we are using the duet pwm signal output which is 12/24V.
Power wiring to the PWM converter
- Connect the “VIN” power pin on the duet board (see image) to port 3 on the pwm converter “power supply + (12-30V)”
- Connect the “GND” power pin on the duet board to port 4 on the pwm converter “power supply – (GND)”
Pwm signal wiring to the pwm converter using HEATER E0 of the duet board
- Connect “VIN” from heater E0 to port 2 “PWM input + (din+)” on the pwm converter
- Connect “E0-” from heater E0 to port 1 “PWM input – (DIN-)” on the pwm converter
THIS page you liked to says how to wire the spindle.
- Brown to “VIN” connector of the duet power supply pin
- Green to port 6 “voltage output + (AO)” of the pwm converter
- White to port 5 “ voltage output – (GND)” of the pwm converter
- Connect port 5 “ voltage output – (GND)” of the pwm converter to the “GND” pin of the power supply on the duet board
- THE LAST STEP (port 5 to GND pin duet) IS REALLY IMPORTANT! You create a common ground between the spindle and pwm converter/power supply
Now if you have 12 Volt fans, can they be run continuously, or do you NEED variable-speed fans?
-
@alankilian It's the relationship between the separate bits I was struggling with, and why I was trying to clarify the changes I would need to make from the Duet2 connectors and those on the Duet3, sorry.
The PWM signal from the Duet3 is not 12/24V as far as I can see, but 5V from OUT9 PWM header. It's that 2+3 pin set I was hoping to use.
I've powered the converter from the 12V and GND pins on the Duet3 and I'm (more) confident in how to connect the milling motor to the converter itself. It's just the 3-pins from the Duet to the converter I'm struggling with.
Sorry, but I'll get it - and then it will be there forever!
-
@nightowl999 said in AMB Milling Motor & Duet3 MB6HC:
@fcwilt It does, but I can't use the Out9 at 24V because I've got 12V fans from Out8. I suppose I could connect the fans in series, if I needed to use 24V for the milling motor, though.
The only reason I said to use V_FUSED was that it is more or less the same as they said to use for the Duet 2. You can use the 12v setting for the Duet 3 jumper and the 24v setting on the PWM convertor.
If I am reading it correctly a 12v PWM signal should drive the PWM convertor.
It's been suggested I could use the Out9 3+2pin together as it's for a PWM/Laser/Servo connection. It's 12V, but the supply to the converter only needs to be between12-30V, but I'm just waiting confirmation on how I need to connect the header and the converter together!
I have no idea what Out 9 3+2 means.
Also, I use the two corresponding connections you've shown as the GND and VIN from the PSU, but I've got a spare pair of of OUTs!
Yes you can connect to the POWER OUT connector if you choose. I was simply trying to mirror the Duet 2 setup as best I could.
Frederick
-
Thank you, @fcwilt.
@fcwilt said in AMB Milling Motor & Duet3 MB6HC:
You can use the 12v setting for the Duet 3 jumper and the 24v setting on the PWM convertor.
Yes you can connect to the POWER OUT connector if you choose...
OK, thanks for clarifying these points for me.
The Out9 3+2pin is this bit on the Duet3:
I'm actually drawing this on a piece of paper!
-
@nightowl999
I think those connectors are just to make it easy to pick up 12v for whatever purpose and/or the normal Out 9 connection plus 5v.
The normal Out 9 connection is either going to be a 12 volt PWM signal or a V_FUSED volt PWM signal depending on the setting of the jumper previously mentioned.
Frederick
-
OK, @fcwilt. Thanks again
-
@nightowl999 said in AMB Milling Motor & Duet3 MB6HC:
OK, @fcwilt. Thanks again
Let us know how it all goes.
Frederick
-
@fcwilt Fear not, I will!
One last thing before I sink myself into a comfy chair... all the GND connectors on the Duet boards are common and connected to each other, are they not?
This might make connecting things a little easier.
-
@nightowl999 said in AMB Milling Motor & Duet3 MB6HC:
@fcwilt Fear not, I will!
One last thing before I sink myself into a comfy chair... all the GND connectors on the Duet boards are common and connected to each other, are they not?
This might make connecting things a little easier.
Yes GND is GND but they may not all have the same current carrying capacity. A GND for a power connection will likely use a wide copper trace (or two) on the PC board to carry more current. A GND for a signal connection will likely use a narrow copper trace due to lower current carrying requirements.
So choose your GND connections carefully.
Frederick
-
@fcwilt
I was thinking more about the milling motor, as the brown cable connects to the VIN of the Duet power supply pin, and there is also a link between the white cable to the GND of the converter, I was thinking it would be better to connect the brown and white directly to the PSU. -
@nightowl999
If you mean have two wires carrying power to the Duet and another two wires carrying power to the motor - yes, that is what I would do.
I might even consider using a second power supply just for the motor. Now I don't know anything about your particular motor but some motors can generate damaging voltage spikes under certain circumstances. If a second power supply was used the Duet board would be isolated from any possible spikes.
Frederick
-
@nightowl999 said in AMB Milling Motor & Duet3 MB6HC:
I was thinking it would be better to connect the brown and white directly to the PSU.
That's pretty much hos it's explained in the pages you liked to above:
- Brown to “VIN” connector of the duet power supply pin
- White to port 5 “ voltage output – (GND)” of the pwm converter
- Connect port 5 “ voltage output – (GND)” of the pwm converter to the “GND” pin of the power supply on the duet board
There's no problem if you want to run:
- Brown to “V+” connector of the duet power supply
- White to “GND” of the duet power supply
-
In practice then, Pins 4 and 5 on the converter, the White cable on the milling motor, and the two GND pins on OUT9 2+3 cluster are all common to each other (I get the pins of OUT9 may be narrow copper strips in the PCB).
What I'll probably do is use Wago connectors as a GND and +VE bus for the relevant power supplies and go from there.
The only thing I need to be sure of is which of the OUT-9 pins I can use for the DIN+ve and DIN-ve (Ports 1 and 2) of the converter.
-
@nightowl999 said in AMB Milling Motor & Duet3 MB6HC:
The only thing I need to be sure of is which of the OUT-9 pins I can use for the DIN+ve and DIN-ve (Ports 1 and 2) of the converter.
OUT 9 only has two pins really - VOUTLC2 and OUT9. The two other connectors you mentioned previously are not relevant for your needs.
VOUTLC2 would connect to DIN+ and OUT9 would connect to DIN-.
Frederick
-
Thank you, @fcwilt.
Once again, your help and that of @alankilian is much appreciated!
All the best!
-
@nightowl999 said in AMB Milling Motor & Duet3 MB6HC:
Thank you, @fcwilt.
Once again, your help and that of @alankilian is much appreciated!
All the best!
Glad to help when I can.
Frederick