Large Format Dowell to Duet conversion
-
@t3p3tony said in Large Format Dowell to Duet conversion:
M307 H0 B1 R0.138 C790.6 D13.87 S1.00 V24.0
Oh wait I added that as a command in the console
How do I change to bangbang?
Just add this?
M307 H0 B1 R0.138 C790.6 D13.87 S1.00 V24.0
-
Like this?)
; Heaters M308 S0 P"1.temp0" Y"PT1000" M950 H0 C"1.out0" T0 M307 H0 B1 R0.138 C790.6 D13.87 S1.00 V24.0 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S80 ; set temperature limit for heater 0 to 80C M308 S1 P"1.temp1" Y"PT1000" ; configure sensor 1 as thermistor on pin temp0 M950 H1 C"1.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 S300 ; set temperature limit for heater 1 to 300C
-
@charles-fraser yes that looks good.
-
Okay so I wired a switch up to the Z axis that should close if the bed comes up so far it pushes against the noz and changed the firmware and wiring so hopefully that's all good:
; Endstops M574 X1 S1 P"io1.in" ; configure active-high endstop for low end on X via pin io1.in M574 Y1 S1 P"io2.in" ; configure active-high endstop for low end on Y via pin io2.in M574 Z1 S1 P"io0.in" ; configure Z-probe endstop for low end on Z
So when I run M119:
28/10/2021, 19:30:54 M119 Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: at min stop
Then I tape down the end-stops one by one and run M119 in order to make sure it's all wired up right. The x endstop (at the left, homing end of the gantry corresponding to left right movement of the gantry when viewed from in-front. Y endstop at the front end of the machine corresponding to Y home & forward and backwards. Z axis on a spring behind the extruder that is closed if the extruder is pushed up by the bed.
28/10/2021, 19:34:30 M119 Endstops - X: at min stop, Y: at min stop, Z: at min stop, Z probe: at min stop
-
I guess next is motors
-
@charles-fraser yes. So if you have the gantry safely in the center of its motion, then send G92 X600 Y600 this will tell the printer it's rough position. The idea is to test movement is correct before testing homing.
The use DWC to jog the X axis +/-50 and them Y +/-50 to confirm they move in the right direction.
-
@t3p3tony said in Large Format Dowell to Duet conversion:
G92 X600 Y600
It works :))) it's bloody moving again!! Oh caloo calay!!!
Okay I'll measure how much it is moving each time I send it 100 x and 100 y and try and work out the steps per mm like that should I? I don't think I can count the teeth on these pulleys.
When I try and move the z axis I get:
29/10/2021, 10:08:32 M120 G91 G1 Z-0.05 F6000 G90 M121 Error: G0/G1: insufficient axes homed 29/10/2021, 10:08:29 M120 G91 G1 Z0.05 F6000 G90 M121 Error: G0/G1: insufficient axes homed
-
Okay so I taped my digital callipers to the slide rail and for the Y axis a +100 mm command = c. +50mm translation (give or take 0.2mm based on the fact the tape is probably giving a bit when itโs pushed back:
Then for the X axis a +100mm command = a +100mm translation with about the same margin of error:
Any quick tips on how to change the steps per mm for the Y axis? I guess I just double them right?
-
@charles-fraser the command M92 is what you need to change in your config.g
M92 X80.00 Y80.00 Z400.00 E420.00
change to
M92 X80.00 Y160.00 Z400.00 E420.00
Generally its best to specify the axis steps/mm as they are calculated based on the stepper microstepping setting and the belt/leadscrew gearing. If measured dimensions then end up being different there is a mechanical issue. I assume you have some different gearing or different motors on X and Y?
once you have confirmed the M92 change and assuming motors are going in both directions correctly then testing homing is next. Please post your homing files (homex.g, home y.g and homeall.g)
-
Okay I had a play around to try and keep it as quet as possible. At 16 microsteps and 80 steps per mm it is so super quiet which is amazing as this will be operating around the house. When I change it to 160 it gets pretty noisey so I tried doubling the microsteps and steps per mm again, this made it quieter so I pushed it up to 128 microsteps and 1280 steps per mm. It's still quite a bit noisier but quieter than 16 x 160. Please advise if this is okay or what the way to get it the quietest would be?
M350 X16 Y128 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y1280.00 Z400.00 E420.00 ; set steps per mm
I'll post the homing files next
-
Home x.g
; homex.g ; called to home the X axis ; ; generated by RepRapFirmware Configuration Tool v3.3.3 on Fri Oct 01 2021 16:59:55 GMT+0100 (British Summer Time) G91 ; relative positioning G1 H2 Z100 F6000 ; lift Z relative to current position G1 H1 X-1205 F1800 ; move quickly to X axis endstop and stop there (first pass) G1 H2 X5 F6000 ; go back a few mm G1 H1 X-1205 F360 ; move slowly to X axis endstop once more (second pass) G1 H2 Z-100 F6000 ; lower Z again G90 ; absolute positioning
Homey.g
; homey.g ; called to home the Y axis ; ; generated by RepRapFirmware Configuration Tool v3.3.3 on Fri Oct 01 2021 16:59:55 GMT+0100 (British Summer Time) G91 ; relative positioning G1 H2 Z100 F6000 ; lift Z relative to current position G1 H1 Y-2005 F1800 ; move quickly to Y axis endstop and stop there (first pass) G1 H2 Y5 F6000 ; go back a few mm G1 H1 Y-2005 F360 ; move slowly to Y axis endstop once more (second pass) G1 H2 Z-100 F6000 ; lower Z again G90 ; absolute positioning
Homeall.g
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.3.3 on Fri Oct 01 2021 16:59:55 GMT+0100 (British Summer Time) G91 ; relative positioning G1 H2 Z100 F6000 ; lift Z relative to current position G1 H1 X-1205 Y-2005 F1800 ; move quickly to X and Y axis endstops and stop there (first pass) G1 H2 X5 Y5 F6000 ; go back a few mm G1 H1 X-1205 Y-2005 F360 ; move slowly to X and Y axis endstops once more (second pass) G90 ; absolute positioning G1 X15 Y15 F6000 ; go to first bed probe point and home Z G30 ; home Z by probing the bed ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z100 F100 ; lift Z relative to current position ;G90 ; absolute positioning
-
@charles-fraser from a noise perspective there is not lightly to be much difference over 16 steps/mm with interpolation (the I1 in the M350 command). that is because interpolation is basically the stepper driver doing 16 microsteps in between each microstep the processor sends. That said every stepper motor and motion system is a bit different so you can run it like you have it if its quieter. The only caveat is that your maximum speed may be limited by the Duets maximum step rates. You are running a 6HC (high step rates) with a heavy extruder which will need lower XY speeds so in reality you may never see any issues.
I see that your X and Y home files have significant Y movements in them (makes sense if you have a big pellet extruder that needs to be clear of the bed) so before you do homing if those can you do the same tests with movement on your Z axis (direction, amount) and then we can ensure the Z movement will be safe before trying X and Y homing.
-
Okay the z doesnt move when I send commands
-
It says:
29/10/2021, 12:04:40 M120 G91 G1 Z50 F6000 G90 M121 Error: G0/G1: insufficient axes homed
-
I sent it
G92 X600 Y600 Z200
And when I try to move the z -100 it makes a noise like a fan is going off and motors are locking but no movement
-
@charles-fraser ok try much sorter moves like 0.1 and see if that works. you can observe if the Z motors are rotating smoothly. Also is the bed trammed level so the leadscrews are not binding?
-
bed is super level, no movement just noises
-
Could it be I should send higher mA to the drives?
; Drives M569 P0.0 S1 ; physical drive 0.0 goes forwards M569 P0.1 S1 ; physical drive 0.1 goes forwards M569 P0.2 S1 ; physical drive 0.2 goes forwards M569 P0.3 S1 ; physical drive 0.3 goes forwards M569 P0.4 S1 ; physical drive 0.4 goes forwards M569 P0.5 S1 ; physical drive 0.5 goes forwards M569 P1.0 S1 ; physical drive 1.0 goes forwards M584 X0.0 Y0.1 Z0.2:0.4:0.5:0.3 E1.0 M350 X16 Y128 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y1280.00 Z400.00 E420.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2) M906 X2800 Y2800 Z1200 E1200 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout
-
@charles-fraser it could be, where did those values come from originally? What Z motors do you have? also are you sure your Z steps/mm are right?
-
I just took standard NEMA17 1.6A power rating
The actual motor spec I can't find anywhere:
It's a screw with a lead of 5mm. It's defo not moving if I put +100 or +0.1 so is it really an issue with steps per mm ?