Expansion 3HC M906 not working properly
-
Hey!
This is my first topic and I hope to get my problem fixedI don't know why but my Duet3 3HC is not accepting the stepper motors currents settings... Maybe it's a mistake in the config.g
Do not be alarmed by the size of the printer, it will be really giant ... as soon as I have permission I will publish some photos
Thanks in advance!
Here is the config.g
; Configuration file for Duet 3 (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Thu Mar 04 2021 11:26:14 GMT+0000 (Western European Standard Time) ; General preferences G90 ; send absolute coordinates... M83 M550 P"io_BIG" ; set printer name ; Drives M569 P1.0 S1 ; physical drive 1.0 goes forwards | X Front Stepper M569 P1.1 S0 ; physical drive 1.1 goes forwards | X Back Stepper M569 P1.2 S0 ; physical drive 1.1 goes forwards | Y stepper M569 P0.0 S0 ; physical drive 0.0 goes forwards | Front Left Z M569 P0.1 S0 ; physical drive 0.1 goes forwards | Front Right Z M569 P0.2 S0 ; physical drive 0.2 goes forwards | Back Left Z M569 P0.3 S0 ; physical drive 0.3 goes forwards | Back Right Z M569 P121.0 S1 ; physical drive 121.0 goes forwards | Front Right Z M584 X1.0:1.1 Y1.2 Z0.0:0.1:0.2:0.3 E121.0 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X53.33 Y53.33 Z200.00 E420.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X5000.00 Y5000.00 Z1500.00 E1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2) M906 X2200 Y2200 Z2200 E1350 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 X1920 Y1240 Z1000 S0 ; set axis maxima ; Endstops M574 X1 S1 P"!1.i01.in" ; configure active-high endstop for low end on X via pin 1.io1.in M574 Y1 S1 P"!1.io1.in" ; configure active-high endstop for low end on Y via pin 1.io3.in M574 Z1 S1 P"!io2.in" ; configure active-high endstop for low end on Z via pin io0.in ; Z-Probe M558 P0 H5 F120 T60000 ; disable Z probe but set dive height, probe speed and travel speed M557 X15:215 Y15:195 S20 ; define mesh grid ; Heaters M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0 M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280C ; Fans M950 F0 C"121.out1" Q500 ; create fan 0 on pin 121.out1 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"121.out2" Q500 ; create fan 1 on pin 121.out2 and set its frequency M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on ; Tools M563 P0 D0 H1 F0 ; 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 ; Miscellaneous M575 P1 S1 B57600 ; enable support for PanelDue
-
Hi,
As I recall the CAN address 121 is the default address for a Duet 1XD expansion board.I should not trust my memory - 121 is for a 1LC.
And that board is used for external stepper drivers needing STEP, DIR and ENABLE signals.With the external drivers I have used the current is set in the driver itself and not via a M906 command.Frederick
-
@fcwilt Thanks for your reply!
How to set the current in the 3HC itself not using M906? -
This post is deleted! -
I'm not using 1XD I'm using 3HC with 3 integrated drivers...
-
@mauriciomartins said in Expansion 3HC M906 not working properly:
I'm not using 1XD I'm using 3HC with 3 integrated drivers...
My bad - 121 is the default address for a 1LC - sorry about the confusion - I should not trust to my memory.
In any case for a 3HC a M906 command should work.
Frederick
-
@mauriciomartins Why do you think that the stepper motor current settings are not being applied correctly?
-
@deckingman because it's clear that there's no torque.
I'm using the same type of nema23 in all axis, the 4 Z motors are connected to the 6HC and I can set the current and it's working,
X and Y not, if I replace it with a nema17 just for debugging it works ,but without a strong torque. -
@mauriciomartins said in Expansion 3HC M906 not working properly:
because it's clear that there's no torque.
I have a 6HC/3HC setup on my bench which I just started to work with.
I connected one stepper to the 6HC and one to the 3HC.
I made what I believe are the correct entries in config.g.
Both steppers will move with the DWC jog buttons.
The stepper on 3HC has no torque - which is consistent with your experience.
Now to determine why.
Frederick
-
@mauriciomartins Ahh, so the real issue is that your XY motors don't appear to have enough torque. Your configuration file shows that the steps per mm for Z are 4 times higher than for X or Y, so it will effectively have 4 times better gearing - and you have 4 motors for that single axis, yet only one for Y and 2 for X. So comparing the Z axis behaviour to the X and Y axes is hardly fair.
What do you get if you send M906 without any parameters? The console should tell you want the motor currents are.
-
@fcwilt No problems here. I have XY and Z connected to a 3HC expansion board. X and Y are Nema 17s set to 1800mA, Z is a single Nema 23 set to 2300 mA.
-
@deckingman Could you please share your config.g?
Thanks! -
@fcwilt Thanks for you feedback!
Could you try what @deckingman is suggesting, sending just M906 without parameters to check the motors currents?
Thanks! -
@deckingman said in Expansion 3HC M906 not working properly:
@fcwilt No problems here. I have XY and Z connected to a 3HC expansion board. X and Y are Nema 17s set to 1800mA, Z is a single Nema 23 set to 2300 mA.
Interesting. I wonder what the difference will turn out to be.
Frederick
-
@mauriciomartins said in Expansion 3HC M906 not working properly:
@fcwilt Thanks for you feedback!
Could you try what @deckingman is suggesting, sending just M906 without parameters to check the motors currents?
Thanks!I rebooted a few times using different M906 values in the config file.
After the reboot I executed M906 from the console and the values reported always matched.
Interesting situation.
Frederick
-
-
@mauriciomartins said in Expansion 3HC M906 not working properly:
@deckingman Could you please share your config.g?
Thanks!I don't how mush use it'll be to you - it's a CoreXYUVAB with a 6 input (that's 6 extruders) mixing hot end. But as you asked......config.g
-
@mauriciomartins said in Expansion 3HC M906 not working properly:
@fcwilt yah, weird behaviour...
Let's try to bring @dc42 to this topic to help us understanding itI just returned to my workbench and powered up the boards.
Still no torque from the stepper on the 3HC.
A temp sensor connected to 3HC was reading correctly.
I tried resetting the boards - first M999 B1 and then M999 - no change to the torque.
I cycled power and now the torque was as expected.
I reset the boards again.
The torque was gone and the temp sensor reading was way off.
I cycled power and now the torque was as expected.
It seems to me that a reset using M999 should restore the boards to the same state as cycling power but it doesn't seem to be
Frederick
-
@fcwilt Welcome to my world!
How are you powering the expansion board? Does M122 B1 show anything? All voltages good?
-
@fcwilt how long have you had it?
might be a lazy crystal