Duet 3 wifi on Caribou
-
@phaedrux
Hi, the extruder is now working
I have made the first layer calibration- came out very good
But when i will start a print came this message:28.6.2021, 17:04:24 Warning: M73: Command is not supported
Warning: M73: Command is not supported
Maximum jerk rates (mm/sec): X: 8.0, Y: 8.0, Z: 0.4, E: 1.5
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.2 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2021-01-05 -
@revolution, either ignore that warning; or configure your slicer not to generate M73 commands; or upgrade to firmware 3.3.
-
@dc42
Hi, now i have upgraded to 3.3
When i will print something i get this message28.6.2021, 18:06:15 Cancelled printing file 0:/gcodes/gearr_0.2mm_PLA_MK3S_18m.gcode, print time was 0h 2m
Emergency Stop! Reset the controller to continue.
Error: Homing failed
Can i Post videos? -
Yes you can post videos.
When do you get that error?
Please post your homing macros as well as your slicer start gcode so we can see what is going on when you start a print.
-
@phaedrux
Looks like this
https://vimeo.com/568524469Start.g:
========================================================================================================
;
; for Caribou220- E3d Thermistor - PINDA2
;
; Executed before each print - BEFORE ANY SLICER CODE IS RAN
; This also loads the heightmap
;
; =========================================================================================================
;
M122 ; Clear diagnostic data to cleanly capture print evolution statistics.
T0 ; Ensure the tool is selected
;
M572 D0 S0.0 ; Clear pressure advance.
M220 S100 ; Set speed factor back to 100% in case it was changed
M221 S100 ; Set extrusion factor back to 100% in case it was changed
M290 R0 S0 ; Clear any baby-stepping
M106 S0 ; Turn part cooling blower off if it is on
M703 ; Execute loaded filament's config.g
G32 ; execute bed.g (level gantry)
G29 S1 ; Load bed mesh for the system's set filament type
M400 ; Finish all moves, clear the buffer
G90 ; Absolute Positioning
M83 ; Extruder relative mode
M98 P"0:/sys/current-sense-normal.g" ; Ensure that motor currents and sense are set for printing
;
; Slicer generated gcode takes it away from here ....
; -
@revolution said in Duet 3 wifi on Caribou:
G32 ; execute bed.g (level gantry)
What do you have in bed.g and homeall.g?
Can you please also post the slicer start gcode section?
Can you describe what I'm seeing in that video?
-
@phaedrux
Hi,
; =========================================================================================================
;
; bed.g
; called to perform automatic bed compensation via G32
;
; =========================================================================================================
;
M561 ; clear any bed transform
G28 W ; home
;
G30 P0 X25 Y100 Z-99999 ; probe near a leadscrew, half way along Y axis
G30 P1 X235 Y100 Z-99999 S2 ; probe near a leadscrew and calibrate 2 motors
G90 ; back to absolute mode
;
G30 P0 X25 Y100 Z-99999 ; probe near a leadscrew, half way along Y axis
G30 P1 X235 Y100 Z-99999 S2 ; probe near a leadscrew and calibrate 2 motors
G90 ; back to absolute mode
;
G30 P0 X25 Y100 Z-99999 ; probe near a leadscrew, half way along Y axis
G30 P1 X235 Y100 Z-99999 S2 ; probe near a leadscrew and calibrate 2 motors
G1 H2 Z8 F2600 ; raise head 4mm to ensure it is above the Z probe trigger height
G90 ; back to absolute mode
;
G1 X104 Y100 F6000 ; put head over the centre of the bed, or wherever you want to probe
G30 ; lower head, stop when probe triggered and set Z to trigger height
;
; =========================================================================================================; =========================================================================================================
;
; Home XYZ Axis
;
; for Caribou220- E3d Thermistor - PINDA2
;
; =========================================================================================================
;
M98 P"homez.g" ; homeall is the same as homez
;
; =========================================================================================================
In the Video you see starting a Print, the leveling and Then the Print should starting but then the extruder goes only on the Home of x and nothing happens
I Hope you know what i mean? -
@revolution said in Duet 3 wifi on Caribou:
M98 P"homez.g" ; homeall is the same as homez
Ok, what's in homez.g then?
It looks like you get through the leveling portion. Then the print should be starting, but it moves very slowly to the left. If that is from the sliced gcode section please share either the slicer start gcode section or share the first 50 lines or so of a sliced gcode file.
Everything the printer is doing is just gcode commands. So being able to see what those commands are is important for understanding what's actually happening.
-
@phaedrux
homez.g:=========================================================================================================
;
; Home XYZ Axis
;
; for Caribou220- E3d Thermistor - PINDA2
;
; =========================================================================================================
;
G91 ; relative positioning
M98 P"current-sense-homing.g" ; Ensure the current and sensitivity is set for homing routines.
;
G1 H2 X0.5 Y-0.5 F10000 ; energise motors to ensure they are not stalled
M400 ; wait for current moves to finish
M913 X40 Y40 ; drop motor current to 40%/40%
G4 P200 ; wait 200ms
;
G1 H2 Z5 F6000 ; lift Z relative to current position
M400 ; wait for current moves to finish
;
; =========================================================================================================
; Home X Axis
; =========================================================================================================
;
G1 H1 X5 F1000 ; move slowly away
G1 H1 X-260 F3000 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F1000 ; go back a few mm
G1 H1 X-10 F3000 ; move slowly to X axis endstop once more (second pass)
;
; =========================================================================================================
; Home Y Axis
; =========================================================================================================
;
M400 ; wait for current moves to finish
G1 H1 Y5 F1000 ; move slowly away
G1 H1 Y-260 F3000 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 Y5 F1000 ; go back a few mm
G1 H1 Y-10 F3000 ; move slowly to X axis endstop once more (second pass)
;
M400 ; wait for current moves to finish
M913 X100 Y100 ; return X & Y motor
G4 P200 ; wait 200ms
;
G90 ; absolute positioning
;
; =========================================================================================================
; Home Z Axis
; =========================================================================================================
;
G90 ; absolute positioning
G1 X11.5 Y4.5 F6000 ; go to first probe point
G30 ; home Z by probing the bed
G1 Z0.15 F100 ; move Z to origin
G91 ; relative positioning
G1 Z1 F100 ; lift Z relative to current position
G90 ; absolute positioning
M400 ; Wait for current moves to finish
;
; =========================================================================================================
;
G90 ; absolute positioning
;
M98 P"current-sense-normal.g" ; Ensure the current and sensitivity is set for homing routines.
;
; =========================================================================================================Start G-code/ Prusaslicer from the object in the Video:
M115 U3.9.3 ; tell printer latest fw version
G90 ; use absolute coordinates
M83 ; extruder relative mode
M104 S[first_layer_temperature] ; set extruder temp
M140 S[first_layer_bed_temperature] ; set bed temp
M190 S[first_layer_bed_temperature] ; wait for bed temp
M109 S[first_layer_temperature] ; wait for extruder temp
G28 W ; home all without mesh bed level
G80 ; mesh bed leveling
G1 Y-3.0 F1000.0 ; go outside print area
G92 E0.0
G1 X60.0 E9.0 F1000.0 ; intro line
G1 X100.0 E12.5 F1000.0 ; intro line
G92 E0.0
M221 S{if layer_height<0.075}100{else}95{endif} -
@revolution said in Duet 3 wifi on Caribou:
G1 Y-3.0 F1000.0 ; go outside print area
Would you say that the slow movement occurs here? F1000 is about 16mm/s so quite slow. F6000 would be more appropriate for a travel move.
There are a few things in your slicer start gcode that aren't compatible with reprapfirmware. What gcode flavor do you have set for PrusaSlicer?
M115 for instance just reports the current firmware version.
G28 W would likely just run homeall.g with no changes.
G80 isn't a supported gcode at all. To do mesh compensation in RRF you use G29.@revolution said in Duet 3 wifi on Caribou:
M98 P"current-sense-homing.g" ; Ensure the current and sensitivity is set for homing routines.
M98 P"current-sense-normal.g" ; Ensure the current and sensitivity is set for homing routines.Can you post those two macros as well for full disclosure?
Also, at what point in your video are you getting the short to ground error on driver 3? Driver 3 appears to be your extruder.
Are you able to extrude into free air by heating the hotend and commanding extrusion from DWC or paneldue?
-
@phaedrux
Now i have solve the problem:
i have changed in Prusaslicer the Firmware G-Code Typ to "RepRap/Sprinter"
Then i add this customised Start G-code;
; start script for PrusaSlicer for CaribouDuet
;
; =========================================================================================================
;
G0 X60 Y-3 Z80 ; move extruder above bed, keep extruder in front for cleaning and checking
;
M104 S160 T0 ; pre-heat extruder to 160°C
M140 S[first_layer_bed_temperature] ; this will take the layer 1 temperature for bed 0
M190 S[first_layer_bed_temperature] ; wait for bed temp
;
G29 ; mesh bed leveling using defined mesh grid
G0 X0 Y-3 Z0.6 ; go outside print area
;
M104 S[first_layer_temperature] ; set extruder temperature
M109 S[first_layer_temperature] ; wait for extruder temp
;
; =========================================================================================================
;
;
M98 P"0:/sys/primeLine.g" ; execute primeline macro
;
G92 E0.0 ; set extruder position
;
M572 D0 S0.07 ; set pressure advance
;
; =========================================================================================================
Now it works!