Huanyang VFD 2,2kw Water Cooled Spindle to D3MB6HCv1 mainboard
-
This post is deleted! -
@max3d Thanks for this. Can you explain a bit more about the red wire you have used? Is it just connecting DCM and FOR or is there something else there?
Many thanks,
Mark
-
@cjm said in Huanyang VFD 2,2kw Water Cooled Spindle to D3MB6HCv1 mainboard:
Does the Duet3 PWM output need filtering to get an analogue signal for the VFD or will the Huanyang work from the PWM signal directly?
If the spindle controller needs an analog signal then you do need to convert it. In any case, I recommend using the converter because it provides optical isolation between the Duet and the spindle controller. However, instead of using an OUT pin to drive the converter, you could use the Laser/VFD output and set the jumper on the converter to 5V.
-
@dc42 Many thanks for the answer.
As it happens, I ended up making an opto-isolated board to drive my VFD (very similar to the Huanyang) with filtering for VFD speed and an Arduino to convert the VFD's tacho voltage to a variable frequency logic level signal that drives the Duet's Fan0 RPM input:
https://forum.duet3d.com/topic/19968/duet-integration-with-an-askpower-a131-vfd/4?_=1623690078188 -
@mdhazell Greetings. Change PD001 from 0 to 1 to change spindle on/off from "operator" control to "external" control on the VFD control panel. You will need to power up the VFD manually before a job. I can see where this might cause some confusion because you can set the VFD up to power up and down automatically. The DCM and FOR terminals are used for that.
Good luck ...
-
@jay_s_uk Thanks for the reply. I did not have my email notification turned on so I missed your reply.
I used a converter to protect the mainboard. I followed a suggestion from one of the administrators from another post. At the time they did not have enough information on the Huanyang VFD and the converter would be an added safety measure.
Great addition to the post. If anyone wants to nix the converter they can use your method.
-
@max3d Thanks for this. So, you mention the red wire is a jumper between DCM and FOR, is it just used to connect the two together?
Thanks,
Mark -
@mdhazell Yup, you got it. The red wire connects the two terminals together.
-
@max3d many thanks
-
@max3d said in Huanyang VFD 2,2kw Water Cooled Spindle to D3MB6HCv1 mainboard:
To test the setup, enter M3 S500 on the DWC console to turn the spindle @ 500 RPM and all should be well. Enter M5 to turn it off.
But after installing the red wire jumper the spindle starts rotating after its powered and doesn't stop by M5 and looks , like doesn't want rotate slower than ~500rpm
Do I need to connect the second module to another port to control On/Off function?I'm using Duet 3 MB6HC Firmware 3.4.1
Any help will be very appreciable !; Configuration file for Duet 3 (firmware version 3.3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.10 on Thu Jul 21 2022 ; General preferences ;M575 P1 S1 B57600 ; enable support for PanelDue G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"M1 Candy" ; set printer name M669 ;K1 ; select CoreXY mode ; Network M552 S1 M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0.0 S0 ; physical drive 0.0 goes forwards M569 P0.1 S0 ; physical drive 0.1 goes forwards M569 P0.2 S1 ; physical drive 0.2 goes forwards M569 P0.3 S0 ; physical drive 0.3 goes forwards M569 P0.4 S1 ; physical drive 0.3 goes forwards M584 X0.0 Y0.1:0.2 Z0.3 E0.4 ; set drive mapping M350 X16 Y16:16 Z16 E16 I1 ; configure microstepping with interpolation M92 X223.00 Y223.00:223.00 Z316.00 E420.00 ; set steps per mm M566 X900.00 Y780.00:780.00 Z420.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y4800.00:4800.00 Z1000.00 E1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00:500.00 Z350.00 E250.00 ; set accelerations (mm/s^2) M906 X4000 Y4000:4000 Z4000 E800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X2000 Y3000 Z200 S0 ; set axis maxima ; Endstops M574 X1 S1 P"io0.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io0.in M574 Y1 S1 P"io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io1.in M574 Z1 S1 P"io2.in" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin io2.in ; Z-Probe M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed M557 X15:215 Y15:195 S20 ; define mesh grid ; Heaters ; Fans M950 F0 C"out4" Q500 ; create fan 0 on pin out4 and set its frequency M106 P0 S1 H-1 ; set fan 0 value. Thermostatic control is turned off ; Tools M950 R0 J1 C"out1" Q100 L0:24000 ; Create spindle index 0 with M563 P0 R0 S"Spindle" ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Custom settings are not defined M453 S0 C"out1" R24000 Q100 T0
-
@allsirius You may want to start a new thread for your issue.
-
-