Thank you very much for the quick response. You are a true life saver. Especially the life of the printer...
Ich modiefied the code a bit so that the head moves to the middle of the bed before probing. The rest was copy / paste. Thank you very much again. Joe
Posts made by Joachim71
-
RE: Z axis does not stop during homing
-
Z axis does not stop during homing
Hello Community,
I am new here in this forum. Hopefully someone can solve my headache here.
I run a core xy printer with a duet wifi 1.02 firmware 3.xxx stable.
x and y axis home with microswitch...... no problem
z axis should hime with a npn probe.
it is recornised by DWC, it switches, but when triggered durin home Z or manually the axis does not stop.
setup was done initially with te newest version of the configuration tool.
my config.g:
; Configuration file for Duet WiFi (firmware version 3.3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.16 on Sat Oct 21 2023 18:05:40 GMT+0200 (Mitteleuropäische Sommerzeit); General preferences
M575 P1 S1 B57600 ; enable support for PanelDue
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Joe's Printer Headache" ; set printer name
M669 K1 ; select CoreXY mode; Network
M551 P"" ; set password
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 backwards
M569 P3 S0 ; physical drive 3 goes backwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z1600.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 Z300.00 E300.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z50.00 E50.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 X300 Y270 Z400 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; Z-Probe
M574 Z1 S2 ; set endstops controlled by probe removed:C"!zprobe.in+!pson"
M558 P8 C"^!zprobe.in" H5 F800 T6000 ; set Z probe type to effector "R" inverted and the dive height + speeds "M558 P5 C"^!zprobe.in+!pson" H5 F1200 T6000"
;M558 P5 i1 H5 R0.1 F1200 T6000 A1 B1.
G31 P1000 X100 Y100 Z2.5 ; set Z probe trigger value, offset and trigger height
M557 X20:200 Y20:200 S20 ; define mesh grid; Z-Probe
; M558 P8 H5 F120 T6000 I1 ; Set Z probe type to ultrasonic and the dive height + speeds
; M558 P5 H5 F120 T6000 ; Set Z probe type to switch and the dive height + speeds
; G31 P500 X38 Y0 Z0.10 ; Set Z probe trigger value, offset and trigger height (changed 1.85 to 0.58 change to 0.40 cange to 0.145)
; G31 P1000 X100 Y100 Z2.5 ; Set Z probe trigger value, offset and trigger height
; M557 X20:200 Y20:200 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 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S100 ; set temperature limit for heater 0 to 100C
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 S260 ; set temperature limit for heater 1 to 260C; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
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 0CM501 ; save truing values with m500command in config override
; Custom settings are not defined
home.Z:
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.3.16 on Sat Oct 21 2023 18:05:40 GMT+0200 (Mitteleuropäische Sommerzeit)
G91 ; relative positioning
G92 Z0 ; set Z position to axis minimum
G1 H2 Z5 F6000 ; lower Z relative to current position
G1 H2 Z-405 F6000 ; move Z up until the endstop is triggered; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z10 F100 ; lift Z relative to current position
;G90 ; absolute positioninghome.all:
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.3.16 on Sat Oct 21 2023 18:05:40 GMT+0200 (Mitteleuropäische Sommerzeit)
G91 ; relative positioning
G1 H2 Z10 F6000 ; lift Z relative to current position
G1 H1 X-305 Y-275 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X-305 ; home X axis
G1 H1 Y-275 ; home Y axis
G1 X5 Y5 F6000 ; go back a few mm
G1 H1 X-305 F360 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y-275 ; then move slowly to Y axis endstop
G1 H1 Z-405 F360 ; move Z up stopping at the endstop
G90 ; absolute positioning
G92 Z400 ; set Z position to axis maximum (you may want to adjust this)i am completely stuck, figured out problems and solutions with z28 myself,
hope someone can give a bbit support. thanks in advance,
Joe