@Proschi78
mhm, this makes no sense for me, do you have a M558 on some other positions? like in the the bed.g or config-override.g?
I will test this when I have time for, I normaly use only one probe per point.
@Proschi78
mhm, this makes no sense for me, do you have a M558 on some other positions? like in the the bed.g or config-override.g?
I will test this when I have time for, I normaly use only one probe per point.
@Proschi78 said in Only probe where the part will be printed:
ke A5 in no
the A5 needs to be in the config.g where you configure the probe type
look for M558
https://docs.duet3d.com/User_manual/Reference/Gcodes#m558-set-z-probe-type
@Proschi78
no, sorry
but on S3d maybe have a look to this variables:
I do not know what is in, but you can test with a smal object and check then the gcode file
[build_size_x]
[build_size_y]
[build_size_z]
....
[next_position_x]
[next_position_y]
[next_position_z]
they are mentioned here:
https://community.ultimaker.com/topic/11328-simplify3d-hidden-undocumented-placeholders-for-post-processing-scripts/
@Proschi78
start G-Code:
G90 ; use absolute coordinates
;M83 ; extruder relative mode
;BED_MESH_CALIBRATE AREA_START={first_layer_print_min[0]},{first_layer_print_min[1]} AREA_END={first_layer_print_max[0]},{first_layer_print_max[1]}
;MINX:{first_layer_print_min[0]}
;MINY:{first_layer_print_min[1]}
;MAXX:{first_layer_print_max[0]}
;MAXY:{first_layer_print_max[1]}
M557 X{first_layer_print_min[0]}:{first_layer_print_max[0]} Y{first_layer_print_min[1]}:{first_layer_print_max[1]}
M82 ; absolute extrusion mode
M104 S140 T0
M140 S[first_layer_bed_temperature] ; set bed temp
M190 S[first_layer_bed_temperature] ; wait for bed temp
G32 ; home all
G1 X-14 Y-10 F10000
; Reset speed and extrusion rates
M200 D0 ; disable volumetric e
M220 S100 ; reset speed
M221 S100 D0 ; reset extrusion rate
M109 S{first_layer_temperature[initial_extruder]+extruder_temperature_offset[initial_extruder]} ; wait for extruder temp
G92 E0.0
;G1 X150.0 E20 F1000.0 ; intro line
G1 E20 F1000.0 ; intro line
G1 X0.0 Y0.0 Z0.1 F1000.0 ; go outside print area
;G1 X5 Y0
G92 E0.0
G1 X2 Y2 Z0.2 E0 F18000 ; new
G1 X60 Y2 E9.0 F1800 ;intro Line
;G1 X200.0 E30 F500 ; second Part intro Line
G92 E0.0
G1 Z5 E-{retract_length[0]} F{retract_speed *60}
G1 X{first_layer_print_min[0]} Y{first_layer_print_min[1]} Z{first_layer_height} F30000
G1 E{retract_length[0]} F{retract_speed*60}
G92 E0.0
I do not use a mesh.g this does not exists on my system
my bed.g:
; bed.g
; called to perform automatic bed compensation via G32
;
; generated by RepRapFirmware Configuration Tool v2.1.8 on Sun Feb 09 2020 01:08:02 GMT+0100 (Mitteleuropäische Normalzeit)
M561 ; clear any bed transform
G4 P100
G28 ; home
G0 Z10 F4200
G0 F60000
G30 P0 X5 Y155 Z-99999 ;Orbiter
G30 P1 X302 Y155 Z-99999 S2 ;Orbiter
G30 P0 X5 Y155 Z-99999 ;Orbiter
G30 P1 X302 Y155 Z-99999 S2 ;Orbiter
G91 ;Relative positioning
G1 Z5 F1500 ;Raise Z 5mm
G90 ;Absolute positioning
G0 X45 Y-5 F60000
G29 ;Probe the heatbed and generate heightmap
G91 ;Relative positioning
G1 Z5 F1500 ;Raise Z 5mm
G90 ;Absolute positioning
G4 P100
G0 X0 Y0 F60000 ;Go to Parking Position
some settings in config.g that maybe relevant for:
...
M671 X-52:377 Y155:155 S2.5 ; leadscrews at left (connected to Z) and right
...
M557 X10:300 Y10:300 P6:6; S40 ; define mesh grid ( the normal full size mesh config)
@Proschi78
Hi, I use SuperSlicer, but I think in prusa Slicer it should also work.
in my startcode I added this line:
M557 X{first_layer_print_min[0]}:{first_layer_print_max[0]} Y{first_layer_print_min[1]}:{first_layer_print_max[1]}
maybe this will help you too.
@Sindarius
like I said in github it is working with the FixV2 on my SBC for me.
many thx for the great work.
@N3XT3D this is exact the same problem that I have from the beginning with the duets boards.
duet wifi 2 (sorry a clone) and a original duet 3. Which Motors you are using?
when I use a SKR GTR board with klipper and TMC5160 it is much quiter, but I had skipped layers when it switch between
steahltshcoop and coolstep.
@dc42 I have still no answare how I can test with a different RSens parameter, all other firmwares use 0.075Ω only the duets use 0.050Ω can be this the difference?
at the moment I don´t have time to test again. But the homing sequence didn´t help yet, only adding stepper dumper to isolate the frame from the motors has helped for me. However, this reduce the print quality.
I read in a post on facebook that useing 1.8° stepper motors instead of 0.9° helped.
I ordered some more motors to test, maybe the moon motors are not the best for the Duet board. I don´t know what the problem is. But I´m not alone with this problem.
@empi00
your storry is particle also my Storry
I have started with a Tevo Tornado Gold, steppers are loud, this machine has a MKS Gen L V1.0 Board so I replaced the drivers with TMC2800, installed Klipper and used Repetier Server as frontend on the raspberry.
I was amazed, the steppers you can not hear anymore when the machine is printing, on quick moves the drivers use SpreadCycle and you can hear the differnces.
So I was really happy with the machine, but I would have more speed.
Then I started to build the BLV with the new BTT SKR Pro 1.1 with TMC5160 sound was ok but regarding the new Type of printer it was louder as the Tevo, this is clear regarding the MGN Hiwin Rails.
But I had sometimes the problem that I lost a stepper after a while of printing (now I know it is a Hardware defect on the board, first driver sockel gets disconnect when the machine gets warm so I think it is a solder problem).
So I decided to try a Duet Wifi clone, but I had not read the full documentation so I missed that stealthchop is not availabe.
I was chocked how loud the machine can be with the 2660 drivers, but the machine was stable.
Then the Duet 3 comes out with TMC5160 and direct connection to a raspberry.
So I was hoping I can get all my wisches now.
But the noise of the printer is nearly the same, only when the steppers are not moving you can hear a difference
I have tested the motors alone, not build in to the printer and you can feel the vibration of the motors when a duet board is
connected.
When I connect a different board like the SKR Pro or now the GTR with TMC5160 and Klipper installed the motors are smoother on the same speed etc.
I have two ideas what can be behind.
As first Klipper/Marlin etc. use for the SenseResistor 0.075 and the duet Firmware use 0.050 this means that you can use motors with higher current on a duetboard but I think this change also the wave so that the sound that the motors creating
are different and maybe louder is normal and it can be changed only when we get a option in the firmware to select as example 0.075 with the correct wave like all other firmware does. But I have not enough knowledge and measuring devices
for checking and testing. So it can be that I´m on the wrong way at all here.
As second what I do not understand is why is there a big noice change between the speed 119mm/min and 121mm/min on 0.9° motors.
When you check my first post you can see that M569 say´s the change should be at 110.3 mm/sec
and @dc42 had confirmed that my settings are correct.
I have tried many different homing scripts but nothing changed.
at the moment I´m a little bit frustrated at all.
what I would wish for the best Board and firmware:
Sorry for the long text but I have the feeling it goes not forward since month. I understand that Duet3d must look for business and creating new things but it would be helpfull to have all functions that are promised are also correct working
before new things are started.
@fractalengineer
you mean I have to configure motor stall detection to get Stealthchop running?
This I have never tried,
What I do not understand what T1 means
is this TCOOLTHRS?
TCOOLTHRS ≥ TSTEP ≥ THIGH:
@empi00 I think the problem is that the vibration comes from the motors for a temporary solution I have add some Stepper damper to the X/Y Motors that has helped a lot. But you can still feel the vibration on the Motors with the hand, this will not fix the vibration problem it is only a "not so nice" work around.
and I was hoping that @dc42 will find the problem. My feeling was that stealthchoop is enabled but only up to F119 (that is verry slow) on F120 I had strange noices like it is jumping between steahltchop and spreadcycle. and F121 is noisy like only spreadcycle. When no motors are moving all is fine then spreadcycle (D2) is more noisy as steahltchop (D3).
Any M569 V and H parameters does nothing here for me.
The funny thing is when I use a other board with TMC5160 and klipper it was working, so I´m pretty sure it is not a hardware issue.
When I have time I and I have understand what the T parameter is doing on M915 I will play with.
@dc42
it looks like it does not help, I have created the following test macro file, but I can´t hear any difference only on still stand after moves I can hear the motors a little bit when Spread cycle (D2) is enabled.
maybe I have done something wrong?
; first test with stealh enabled
M18 ; disable all motors to reset the stepper drivers
M569 P0.0 S0 D3 V34 ; physical drive 0 goes forwards D2=Spread cycle (x-achses)
M569 P0.1 S0 D3 V34 ; physical drive 1 goes forwards D2=Spread cycle (y-achses)
M569 P0.2 S0 D3 V34 ; physical drive 2 goes backwards D2=Spread cycle (Z1)
M569 P0.3 S0 D3 V34 ; physical drive 3 goes backwards D2=Spread cycle (Z2)
M569 P0.4 S1 D3 V34 ; physical drive 4 goes backwards D2=Spread cycle (extruder)
M569 P0.5 R-1 ; physical drive 4 goes backwards D2=Spread cycle (empty)
M584 X0.0 Y0.1 Z0.2:0.3 E0.4 ; Driver 0 For X, 1 for Y, Z=2:3 U=4, Extruder 4
M350 X32 Y32 Z16 E16 I1 ; configure microstepping with interpolation - working
M92 X400.00 Y400.00 Z400 E412.00 ; set steps per mm
M566 X300.00 Y300.00 Z24.00 E300.00 ; set maximum instantaneous speed changes (mm/min) from config file thingiverse
M203 X14000 Y14000 Z4520 E7000 ; set maximum speeds (mm/min) new test Z800 old
M201 X1000 Y1000 Z1400.00 E5000 ; set accelerations (mm/s^2) own
M906 X1150 Y1150 Z850 E600 I50 ; set motor currents (mA) and motor idle factor in per cent
G91 ; relative positioning
G1 H2 Z0.02 F3000 ; enable the Motor move at least one mircostep -- Problem Stealthchop?
G4 P50 ; make a 50ms pause for the drivers -- Problem Stealthchop?
G1 H2 Z15 F6000 ; lift Z relative to current position
G1 H2 X0.02 ; enable the Motor move at least one mircostep -- Problem Stealthchop?
G4 P50 ; make a 50ms pause for the drivers -- Problem Stealthchop?
G1 H2 Y0.02 ; enable the Motor move at least one mircostep -- Problem Stealthchop?
G4 P50 ; make a 50ms pause for the drivers -- Problem Stealthchop?
G1 H1 X-355 Y355 F9000 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X-355 ; home X axis
G1 H1 Y355 ; home Y axis
G1 X5 Y-5 F9000 ; go back a few mm
G1 H1 X-355 F360 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y355 ; then move slowly to Y axis endstop
G90 ; absolute positioning
G1 X177.713 Y144.526 F9000 ; go to first bed probe point and home Z --> own direct system
G30 ; home Z by probing the bed
G91 ; relative positioning
G1 Z15 F6000 ; lift Z relative to current position
G90 ; absolute positioning
;smal test moves
G0 X0 Y0 F3000
G0 X0 Y310 F3000
G0 X310 Y310 F3000
G0 Y0 Y0 F3000
; now again with Spread cycle
M18 ; disable all motors to reset the stepper drivers
M569 P0.0 S0 D2 ; physical drive 0 goes forwards D2=Spread cycle (x-achses)
M569 P0.1 S0 D2 ; physical drive 1 goes forwards D2=Spread cycle (y-achses)
M569 P0.2 S0 D2 ; physical drive 2 goes backwards D2=Spread cycle (Z1)
M569 P0.3 S0 D2 ; physical drive 3 goes backwards D2=Spread cycle (Z2)
M569 P0.4 S1 D2 ; physical drive 4 goes backwards D2=Spread cycle (extruder)
M569 P0.5 R-1 ; physical drive 4 goes backwards D2=Spread cycle (empty)
M584 X0.0 Y0.1 Z0.2:0.3 E0.4 ; Driver 0 For X, 1 for Y, Z=2:3 U=4, Extruder 4
M350 X32 Y32 Z16 E16 I1 ; configure microstepping with interpolation - working
M92 X400.00 Y400.00 Z400 E412.00 ; set steps per mm
M566 X300.00 Y300.00 Z24.00 E300.00 ; set maximum instantaneous speed changes (mm/min) from config file thingiverse
M203 X14000 Y14000 Z4520 E7000 ; set maximum speeds (mm/min) new test Z800 old
M201 X1000 Y1000 Z1400.00 E5000 ; set accelerations (mm/s^2) own
M906 X1150 Y1150 Z850 E600 I50 ; set motor currents (mA) and motor idle factor in per cent
G91 ; relative positioning
G1 H2 Z0.02 F3000 ; enable the Motor move at least one mircostep -- Problem Stealthchop?
G4 P50 ; make a 50ms pause for the drivers -- Problem Stealthchop?
G1 H2 Z15 F6000 ; lift Z relative to current position
G1 H2 X0.02 ; enable the Motor move at least one mircostep -- Problem Stealthchop?
G4 P50 ; make a 50ms pause for the drivers -- Problem Stealthchop?
G1 H2 Y0.02 ; enable the Motor move at least one mircostep -- Problem Stealthchop?
G4 P50 ; make a 50ms pause for the drivers -- Problem Stealthchop?
G1 H1 X-355 Y355 F9000 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X-355 ; home X axis
G1 H1 Y355 ; home Y axis
G1 X5 Y-5 F9000 ; go back a few mm
G1 H1 X-355 F360 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y355 ; then move slowly to Y axis endstop
G90 ; absolute positioning
G1 X177.713 Y144.526 F9000 ; go to first bed probe point and home Z --> own direct system
G30 ; home Z by probing the bed
G91 ; relative positioning
G1 Z15 F6000 ; lift Z relative to current position
G90 ; absolute positioning
;smal test moves
G0 X0 Y0 F3000
G0 X0 Y310 F3000
G0 X310 Y310 F3000
G0 Y0 Y0 F3000
@Sindarius
is it possible to have this also in DWC 3.1.1 for the Duet 3?
I have seen the source code "/src/Movement/StepperDrivers/TMC51xx.cpp"
constexpr float SenseResistor = 0.050;
when I right on other firmware´s I use 0.075, can this create a difference?
Is it possible to play with over the M569 command or is it needed to compile new, have not found in the Duet documentation.
ok then let us discuss it on my original thread for the problem.
https://forum.duet3d.com/topic/16297/help-needed-with-duet-3-6hc-tmc5160-stealthchop-config/14
@deckingman
Hello,
do you have found a solution why stealth chop is not working on the Duet 3?
I still trying to enable it but it looks like the board use it only under 119 mm/min (1,9mm/sec)
all above is noisy like spreadCycle.
same printer and motors with different boards and tmc5160 are much more quiet as with the duet 3 6hc.
@dc42 was you able to test?
I have also tried to change the D settings on a test print to hear some changes, but nearly nothing has changed only on D0 (constant off-time)
he goes a little bit louder but not much. D1 (random off-time) is not supported by TMC5160.
can it be that my board is faulty or that the Firmware has a Bug and only shows the corect mode but not send to the stepper drivers?