cr10s steppers with Duet2 no joy
-
hi all
and first of all best wishes and a healthy 2023i have a question.. i have a duet 2 wifi and i have a used printer frame. (gift because broken motherboard ) really neat looking creality sc10s pro i want to use the Duet 2 wifi that i have here.. i am totally rewiring it. inc flat cable
now the printer has standard creality cr 10s pro steppers and i have problems finding info about the steppers. and what settings to use with the online config tool.
the text on the stepper is bj42d22-23
i tried multiple versions of the online config generator but the steppers do move . but keep making weird noises and making lots of noise. and it's giving errors like A motor may be disconnected reported by driver. that error that has to do with faulty wiring .but i checked the old wiring and bought new cables with connectors but no luck, . does anyone have any clue what i am doing wrong here.. ps i am using the 24v volt to power the duet.. as far as i know this can't be the problem because the cr10s pro is stock 24volt. hope that some of u can point me in the right direction.. thanks -
@Lampie Almost certainly your motor wiring is incorrect. You need to check which wires are for which phase, then wire them to the appropriate pin on the Duet. See https://docs.duet3d.com/User_manual/Connecting_hardware/Motors_connecting#using-the-internal-drivers
Ian
-
@Lampie please post your current config.g and the response to M122.
This thread https://gist.github.com/knoopx/e6c40a009e796203b93a75a3ed6a5ab8 suggests your motors are 1A. Don’t set the current any higher than this, at least to start with.Ian
-
@droftarts ok thank u for responding.. when finished from work i will try it and post the outcome.. once again thank u
-
tried it and the comment is gone. so that is solved , i used some other cables
but now if i press level x then z moves . i have managed to break it once again
can someone please help me fix the config files.i have to map the steppers but i have no idea..
i have one x stepper
one y stepperAnd two Z motors.. there connected to the dual output ports on my duet2 wifi
i also like to know what are the files on my sd card doing.i have
config-override
config.bak
config.g
what is the correct file?i want to reuse the old endstops (two wires mechanical ones)
the rest is hardware used from my older cr10 printer..
below is the config i used on the old printer but its not working although it also creality cr10
if someone can help me out, that would be appreciated a lot..code_text ; Configuration file for Duet WiFi (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed Jul 28 2021 18:02:58 GMT+0200 (Midden-Europese zomertijd) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Butcher" ; set printer name M918 P1 E4 F2000000 ; configure direct-connect display ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S0 ; physical drive 0 goes backwards M569 P1 S0 ; physical drive 1 goes backwards M569 P2 S0 ; physical drive 2 goes backwards M569 P3 S0 ; physical drive 3 goes backwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z400.00 E400 ; set steps per mm M566 X1200.00 Y1200.00 Z24.00 E300.00 ; set maximum instantaneous speed changes (mm/min) M203 X9000.00 Y9000.00 Z180.00 E6000.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z100.00 E5000.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 E600 I50 ; 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 X300 Y300 Z260 S0 ; set axis maxima ; Endstops M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop M574 Z1 S1 P"zstop" ; configure active-high endstop for low end on Z via pin zstop ; 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 M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 ; configure sensor 0 as PT1000 on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 R0.116 C633.1 D0.47 S1.00 V11.8 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S60 ; set temperature limit for heater 0 to 60C M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin e1temp M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S260 ; set temperature limit for heater 1 to 260C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency M106 P2 S1 H1:0 T45 ; set fan 2 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 T0 ; Custom settings are not defined ; Miscellaneous M575 P1 S1 B57600 ; enable support for PanelDue M501 ; load saved parameters from non-volatile memory
-
Please post your homing files and the results of sending M122 and M98 P"config.g" in the gcode console.
@Lampie said in cr10s steppers with Duet2 no joy:
And two Z motors.. there connected to the dual output ports on my duet2 wifi
If you are using the double Z connector, the Z motors will be wired in series to a single driver. You don't need to do anything fancy for assigning the drivers as there is only 1. Now if you wanted to do something like gantry tilt correction, you would need to connect each Z motor to its own independent driver, as described here: https://docs.duet3d.com/en/User_manual/Connecting_hardware/Z_probe_auto_levelling
@Lampie said in cr10s steppers with Duet2 no joy:
i have
config-override
config.bak
config.g
what is the correct file?Config.g is the main configuration file for RRF. It gets executed at startup.
Config.bak is a backup of the config.g file updated every time you save a change in the editor window in DWC.
config-override.g is a supplemental config file that can be used to save automatically measured values like PID tuning results. M500 saves results, and M501 loads the file. You would usually have M501 at the end of config,g to load that supplemental file.
@Lampie said in cr10s steppers with Duet2 no joy:
i want to reuse the old endstops (two wires mechanical ones)
That should be pretty straightforward. https://docs.duet3d.com/en/User_manual/Connecting_hardware/Sensors_endstops
To help further I need to see your homing files.