DWC Load Unload / OK New Info Please help as this is strange.
I have this problem that after connecting to DWC and doing homing if I use Load Filament it spits the filament out while Unload Filament will load it.
Is this a bug our is there something wrong in my config, everthing else seems to be working and also the prints do not have problems on the direction
the extruder should move.
Does anyone know?
JohnOCFII last edited by
I just used "unload filament" yesterday, and it worked correctly for me.
Well I know it should but mine does not so I wonder if it could be something in the setup of my config.
OK reading the new wiki page I found something there about the macros I try changing that to see if it works.
OK I did some testing and I found out that if I use Unload or Load befor homing they work correctly.
Example unload is
; Unload filament
G1 E-5 F500
G1 E-500 F3600
Now after even homing only the X axis they are inverted.
My Home X is:
; called to home the X axis
; generated by RepRapFirmware Configuration Tool on Sun Dec 17 2017 22:06:48 GMT+0100 (ora solare Europa occidentale)
G91 ; relative positioning
G1 Z5 F6000 ; lift Z relative to current position
G1 S1 X410 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 X-5 F6000 ; go back a few mm
G1 S1 X410 F360 ; move slowly to X axis endstop once more (second pass)
G1 Z-5 F6000 ; lower Z again
G90 ; absolute positioning
I do not see any thing with G31 EXXX so what is causing this problem?
This happens after I home that is why it never worked.
Please post your complete config.g file.
I looked but cann't find anything regarding Extruder other than the motor or speed.
It prints perfectly or almost.
; SmartRapCoreAlu Config File.
; CoreXY sample config file for dc42 Duet firmware
M111 S0 ; Debug off
G21 ; Work in millimetres
G90 ; Send absolute coordinates…
M555 P2 ; Set output to look like Marlinp
;M83 ; ...but relative extruder moves
M208 X399 Y360 Z400 S0 ; set axis maxima (adjust to suit your machine)
M208 X0 Y0 Z0 S1 ; set axis minima (adjust to make X=0 and Y=0 the edges of the bed)
M550 xxxxxxxx ; Machine name (can be anything you like)
M551 xxxxxx ; Machine password (used for FTP connections)
M540 xxxxxxxxxxxxxxxxxx ; MAC Address
;*** Adjust the IP address and gateway in the following 2 lines to suit your network
M552 P0.0.0.0 ; IP address (0 = use DHCP)
M554 xxxxxxxxxxxx ; Gateway
M553 P255.255.255.0 ; Netmask
M555 P2 ; Set output to look like Marlin
M575 P1 B57600 S1 ; Comms parameters for PanelDue
M552 S1 ;start wifi
;Endstops ; If you use an endstop switch for Z homing, change Z0 to Z1 in the following line,
and see also M558 command later in this file
M574 X2 Y2 Z2 S1 ; set endstop configuration (X, Y, Z endstops only, at low end XY, high Z, active low)
; Z probe
M558 P1 R1.0 H10 F200 T1500 X0 Y0 Z0 ;digital piezo sensor, output falls on contact, probing speed, not used to home axes
G31 Z2.63 P500 ;sensor is nozzle and debounce value.
M557 X20:385 Y15:355 S50 ;define mesh
M376 H10 ;taper off after 10mm
G29 S1 ;load mesh
M667 S1 ; set CoreXY mode
M569 P0 S1 ; Drive 0 goes forwards (change to S0 to reverse it)
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M92 X160 Y160 Z4266.667 E837 ; Set axis steps/mm Set extruder steps/mm
M350 X16 Y16 Z16 E16 I1 ; Set 16x microstepping with interpolation
M566 X1000 Y1000 Z150 E600 ; Maximum jerk speeds mm/minute
M201 X1200 Y1200 Z18 E800 ; Accelerations (mm/s^2)
M203 X12000 Y12000 Z120 E12000 ; Maximum speeds (mm/min)
M906 X1200 Y1200 Z1800 E1200 I30 ; Set motor currents (mA)extruder current just enough will click not strip
M84 S30 ; Set idle timeout
; The following M557 commands are not needed if you are using a bed.g file to perform bed compensation
;*** Adjust the XY coordinates in the following M557 commands to suit your build and the position of the Z probe
;M557 P0 X60 Y0 ; Four...
;M557 P1 X60 Y165 ; ...probe points...
;M557 P2 X222 Y165 ; ...for bed...
;M557 P3 X222 Y0 ; ...levelling
;M557 P4 X141 Y82.5 ; 5th probe point for levelling
M305 P0 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S150 ; Set temperature limit for heater 0 to 120C
M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S285 ; Set temperature limit for heater 1 to 285C
;M305 P103 X3 S"TEMP2" T100000 B6725 C0 R4700
M563 P0 D0 H1 ; 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
; Thermistors and heaters
;*** If you have a Duet board with 1K thermistor series resistors, change R4700 to R1000 to the following M305 commands
; You can also use S and B parameters to define the parameters of the thermistors you are using
;M305 P1 B4725 C7.060000e-8
;M305 P0 T100000 R4700 B4300 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
;M305 P1 R4740 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
;M305 P1 X200 ;set pt100 sensor 1 to heater 1
;M305 P1 X201 R400 ; set pt100 sensor 2 to heater 3
;M305 P2 R4700 H0 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
;M305 P2 T100000 B3950 R4700 H0 L0 ; Set thermistor + ADC parameters for heater 2
;M301 H1 P10 I0.10 D100 T0.50 S1.0 ; PID settings for extruder 0
:M301 H2 P10 I0.10 D100 T0.50 S1.0 ; PID settings for extruder 1
M570 S180 ; Increase to allow extra heating time if needed
M106 P1 T45 H1
M106 P2 T250 H2 ; set fan 2 to go on at 50 deg C chamber temp
;M106 P1 H-1 ; set fan 1 to be gcode controlled
M106 P1 S0 ; switch off fan 1 at startup (and verify m106 will control fan 1)
; Tool definition
M563 P0 D0 H1 F1 ; Define tool 0
G10 P40 S40 R0 ; Set tool 0 operating and standby temperatures
;*** If you have a dual-nozzle build, un-comment the following 3 lines
;M563 P99 H2 ; Define tool 1
;G10 P99 S0 R0 ; Set tool 1 operating and standby temperatures
;*** If you are using axis compensation, put the figures in the following command
M556 S78 X0 Y0 Z0 ; Axis compensation here
T0 ; select first hot end
M572 D0 S0 ;Set pressure advance S0-off
As you have commented out the M83 command in config.g, you will need to add M83 commands at the start of your filament load and unload macros.
Ah I had read that it gave some problems and that is why I commented it.
If I use it only the macros it will not be enabled like if I used it in the config?
Do you think it is better or not to use it?
Having M83 in config.g only causes problems if you slice your models using absolute extruder coordinates (instead of the relative coordinates we recommend) AND you don't include a M82 command in the start gcode to tell the firmware that.
In macro files, extruder coordinates are always relative to the present position, because there is no way for the macro to know how much extrusion has already been done.
Absolute extruder coordinates are a hangover from the early days of 3D printing. Now that we have extrusion factor modification (M221), mixing extruders and macro files, they make no sense.