Notifications
Clear all

Thread for Duet/RepRap users  

  RSS
deonholt
(@deonholt)
Eminent Member
Thread for Duet/RepRap users

Is there a thread for Duet users using RepRap firmware?

I have a problem with PS 2.3.0-beta2 adding a line after priming for dual extruders. It add the line which I will make bold. This cayses the printer to stop printing there-and-then and switches off the nozzle & bed.

; CP PRIMING END
;------------------

 

G1 E-6.00000 F3000.000
M300 S800 P500
M1 S10
;LAYER_CHANGE
;Z:0.3
;HEIGHT:0.3
G1 Z0.300 F7800.000
G1 E-84.00000 F3000.000
G1 X130.449 Y136.387 F7800.000
G1 E90.00000 F3000.000
;HEIGHT:0.300000
;TYPE:Wipe tower
;-------------------------------------
; CP WIPE TOWER FIRST LAYER BRIM START

I have to delete this line prior to every print, save the file and upload to my printer. I have an Ender 5 Pro, Duet 2 Wifi with two extruders and Y-split Creality hotend.

Will appreciate any advice. It doesn't do this when printing with single extruder.

Posted : 13/12/2020 10:15 am
towlerg
(@towlerg)
Noble Member
RE: Thread for Duet/RepRap users

The GCode M1 is unconditional stop so I would have thought it would stop any machine running GCode. There are a number of different places in Prusa Slicer where you can add custom code. I think primeing  code is generally in Printer Settings/Custom Code/Start G-code. For example my custom start code is

G28 ; home all
M420 S1 ; Bed Leveling State - enabled (G28 disables but not if RESTORE_LEVELING_AFTER_G28)
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
G92 E0 ; Reset Extruder
M221 S100 ; Set flow to 100
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
G1 X5.1 Y10 Z0.28 F5000.0 ; Move to start position
G1 X5.1 Y200 Z0.28 F1500.0 E15 ; Draw the first line
G1 X6.1 Y200 Z0.28 F5000.0 ; Move to side a little
G1 X6.1 Y10 Z0.28 F1500.0 E30 ; Draw the second line
Posted : 13/12/2020 10:42 am
deonholt
(@deonholt)
Eminent Member
Topic starter answered:
RE: Thread for Duet/RepRap users

@towlerg

This is my begin g-code for the printer:

T0
G28 ; home all axes
G29 ; do abl
G1 Z5 F5000 ; lift nozzle

The M1 S10 is added by Prusa for some reason.

 

Posted : 13/12/2020 11:12 am
towlerg
(@towlerg)
Noble Member
RE: Thread for Duet/RepRap users

You can also have custom GCode in Filament Settings/GCode override and Colour Change. I suspect there may be more related to multiple extruders but I only have one so I don't know.

When I played with dual colour a while ago the only issue I had was that PrusaSlicer added a tool change early on in the GCode which I had to manually remove.

Just to be sure, you did change Printer Settings/General/G-Code Flavor to RepRap?

This post was modified 4 years ago by towlerg
Posted : 14/12/2020 9:00 am
towlerg
(@towlerg)
Noble Member
RE: Thread for Duet/RepRap users

@deonholt

Check out PrusaSlicer 2.3.0 RC1

"When using initial priming of extruders with multimaterial printing, the M1 G-Code was issued to let the user confirm it was successful. This G-Code is now only emitted for Marlin firmware, the others do not support it (#5441)"

 

Posted : 18/12/2020 2:42 pm
deonholt liked
Share: