directions wrong and no zero...
-
Hi
Am trying to rebrain my M2 with a duet 2 wifi and am having the following happen;
1/wifi module works great with YAT but gets overwritten via web config and zip upload. How do i ge tthis to stick?
2/
Y axis won't zero, it goes up! moves 5mm (nowhere near zero switch) and then goes down 5mm. This also shows 5mm up/down move is going in the wrong direction!3/What is stopping the Y axis moving till it hits the end stop at home?
4/How do I keep my wifi module permanent?
How do I delete my old post?
Thanks Rich
-
Guys and girls, am having real problems getting this duet to work.
Would appreciate some support.
It's literally not working as described and I need to get it done.
Everything is set as it should be but it won't home or hardly move.
Very frustrating.
Any advice appreciated!
-
@fusedeep Can you attach your config.g file here?
Both the networking and definitions for your axes will be there.
How did you generate the configuration for your duet?
-
Some help would be appreciated, last time I got it all going in a few hours and now it is simply not working as it should.
Very frustrating;
; Configuration file for Duet WiFi (firmware version 3.3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.10 on Wed Apr 20 2022 11:07:59 GMT+0100 (British Summer Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"DUET 0.6mm HB / Son.im" ; set printer name; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S0 ; physical drive 2 goes forwards
M569 P3 S1 ; physical drive 3 goes forwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X88.89 Y88.89 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 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X200 Y250 Z185 S0 ; set axis maxima; Endstops
M574 X1 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop
M574 Y1 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop
M574 Z1 S1 P"zstop" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin zstop; Z-Probe
M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
M557 X15:200 Y15:195 S20 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 R0.227 K0.317:0.000 D10.46 E1.35 S1.00 B0
; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S280 ; set temperature limit for heater 1 to 280C; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H0 T40 ; set fan 0 value. Thermostatic control is turned on
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off; Tools
M563 P0 D0 H1 F0 ; 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; Custom settings are not defined
M552 S2Rich
-
Hi,
It's driving me mad!
The stepper motors don't respond properly and it will not home, the 5mm drop and return of the bed for homing is in reverse but the axis are travelling the right way!?
heated bed works fine, so does extruder heater, but am not getting the option to extrude!
; Configuration file for Duet WiFi (firmware version 3.3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.10 on Wed Apr 20 2022 11:07:59 GMT+0100 (British Summer Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"DUET 0.6mm HB / Son.im" ; set printer name; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S0 ; physical drive 2 goes forwards
M569 P3 S1 ; physical drive 3 goes forwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X88.89 Y88.89 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 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X200 Y250 Z185 S0 ; set axis maxima; Endstops
M574 X1 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop
M574 Y1 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop
M574 Z1 S1 P"zstop" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin zstop; Z-Probe
M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
M557 X15:200 Y15:195 S20 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 R0.227 K0.317:0.000 D10.46 E1.35 S1.00 B0
; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S280 ; set temperature limit for heater 1 to 280C; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H0 T40 ; set fan 0 value. Thermostatic control is turned on
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off; Tools
M563 P0 D0 H1 F0 ; 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; Custom settings are not defined
M552 S2 -
@hebigt I used the online config then edited the config file direct, was approx 3 yrs back.
As per now, but it is just nor responding well...
-
@fusedeep the last line of your config file (M552 S1) turns off your WiFi module. Delete that line and your WiFi will work again
-
This is from the DUET set up page;
Use M552 S2 in config.g to start the wifi module in access point mode.
My wifi is currently about the only thing working!
-
You mentioned Y axis moving "up" or "down". Do you mean front to back, etc.
Just want to make sure you didn't mean Z axis.
Does your x-axis work as expected?
Can you also post your homey.g file?
-
Non of the axis are heading to home, they do 5mm and stop.
The bed(Z) does a 5mm hop to allow for ther x and y move and then a 5mm drop back.
but the 5mm z is up then down, not down then up.
it's bloody irritating!
z file
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.3.10 on Wed Apr 20 2022 11:07:59 GMT+0100 (British Summer Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Z-190 F1800 ; move Z down until the endstop is triggered
G92 Z0 ; set Z position to axis minimum (you may want to adjust this); Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning//
; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool v3.3.10 on Wed Apr 20 2022 11:07:59 GMT+0100 (British Summer Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Y-255 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 H2 Y5 F6000 ; go back a few mm
G1 H1 Y-255 F360 ; move slowly to Y axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioning//
; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v3.3.10 on Wed Apr 20 2022 11:07:59 GMT+0100 (British Summer Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-205 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F6000 ; go back a few mm
G1 H1 X-205 F360 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioning -
Main issues;
-
Option to extrude does not appear on web control even when nozzle at 220 degrees. buttons greyed out.
-
When selecting home for any axis, only 5mm movement along axis. Does not continue until micro switch/es
However it is now doing the 5mm hop down and back up in the correct direction (not sure what has changed there) when x and y asked to be homed.
-
Extruder and bed working fine heat wise.
-
Part cooling fan starts at 100% but should not, can't work out how to leave it on gcode control, it is currently not on temp control afaik.
Plus, temp controlled fan is not working, though does occasionally. Grr
-
-
@fusedeep Are you sure the endstops are wired as described in the config.g? What is the state of the endstops before you try to move? D an M119 to see stop status.
-
@davea said in directions wrong and no zero...:
M119
I am not sure what config G is telling me about my endstops?
They are micro switches Normally open iirc, at the home/start point and have worked fine for years, does that match?
-
-
When you see an axis only moving a short distance when homing (you mentioned 5mm) what you are likely seeing is the fact the the endstop sensors are triggered by default. As a result the G1 H1 moves never happen as they stop when they sense a triggered endstop sensor. The short move you see is the G1 H2 move where you back off.
Frederick
-
@fusedeep If I understand correctly M119 is reporting that all stops are active. Assuming that the actual axis is not at the stop but the M119 is reporting that the stop has been hit then I would expect exactly what you are seeing.
Check that the configuration of the M574 exactly matches what you have for switches paying close attention to the !
and ^ options. -
You say your using normally open endstops. I am only doing this off memory as I am on holiday at the moment and am doing this off my phone but I am pretty sure you need to invert the pin as it is recommended to use normally closed. So to do that on the m574 line where you are defining your end stop you need to do P"!xstop"
-
@fusedeep said in directions wrong and no zero...:
Main issues;
- Option to extrude does not appear on web control even when nozzle at 220 degrees. buttons greyed out.
It sounds like the tool is not selected and I don't see a
T0
in your config.g to select it at startup, so please try addingT0
at the end of config.g- When selecting home for any axis, only 5mm movement along axis. Does not continue until micro switch/es
This sounds like the endstop is already triggered at the start of the move and the 5mm movement you are seeing is the backoff movement. The last few posters have identified what needs to be done there.
If M119 says the axis are at the endstops when they are not physically there, then the endstop signal needs to be inverted.
So for each axis that says it's at the endstop when it's not actually you would need to add a
!
to the pin name to invert it.Like so
M574 X1 S1 P"!xstop"
Test homing carefully after that and make sure the axis are moving in the correct direction towards the endstop. If they move in the wrong direction, e stop/cut power. Report back if that's the case.
- Part cooling fan starts at 100% but should not, can't work out how to leave it on gcode control, it is currently not on temp control afaik.
Plus, temp controlled fan is not working, though does occasionally. Grr
; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H0 T40 ; set fan 0 value. Thermostatic control is turned on M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off ; Tools M563 P0 D0 H1 F0 ; define tool 0 This section has some problems. Currently it has fan0 as thermostatically controlled to turn on when the bed temp is 40c and also assigns that fan as the part cooling fan. Fan1 is setup as a gcode controlled fan.
To be able to tell you how to fix that I need to know which fan is physically located where. Ideally Fan0 should be the part cooling fan. If that is the case the section should look like this
; Fans M950 F0 C"fan0" Q500 M106 P0 S0 H-1 M950 F1 C"fan1" Q500 M106 P1 S1 H1 T40 ; Tools M563 P0 D0 H1 F0 ; define tool 0 M552 S2 is correct to turn on the access point mode for the wifi.
-
Thanks for all of the above. it is starting to make sense.
Have the axis moving the right way, but not doing the slow bump return on homing however.
Major problem now, the green led by the wifi model is gone, so no wifi AND my laptop COM ports have literally F'd off.
So cannot connect to board at all.
Bloody annoying.
I have tried disabling com/lpt and restarting. my COM ports have literally gone and I can't fix it or connect to duet board.
Plus, there is no reason the wifi should have gone off, nothing got changed...
Really grinding my gears this time!
-
@fusedeep said in directions wrong and no zero...:
Major problem now, the green led by the wifi model is gone, so no wifi AND my laptop COM ports have literally F'd off.
This is with the USB cable still connected from your computer to the Duet?
Frederick