MPCNC Endstop G28 Issue
-
Please post your config.g as it is now.
It looks like you still have all the E values present causing those errors.
-
; 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 Mon Oct 09 2023 20:52:40 GMT+1100 (AEDT) ; General preferences M575 P1 S1 B57600 ; enable support for PanelDue G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"MPCNC" ; 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 P4 S1 ; physical drive 4 goes forwards M569 P3 S1 ; physical drive 3 goes forwards M569 P2 S1 ; physical drive 2 goes forwards M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S1 ; physical drive 1 goes forwards M584 X0:1 Y3:4 Z2 ; set drive mapping M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z400.00 E420.00:420.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z20.00 E250.00:250.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 E800:800 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 X855 Y612 Z120 S0 ; set axis maxima ; Endstops M574 X1 S1 P"!e0stop+!e1stop" ; configure active-high endstops for low end on x via pins e0stop and e1stop M574 Y1 S1 P"!xstop+!ystop" ; configure active-high endstops for low end on y via pins xstop and ystop ; Z-Probe M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed M557 X15:215 Y15:195 S20 ; define mesh grid ; Heaters M140 H-1 ; disable heated bed (overrides default heater mapping) ; Fans ; Tools M563 P0 D0 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
-
M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z400.00 E420.00:420.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z20.00 E250.00:250.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 E800:800 I30 ; set motor currents (mA) and motor idle factor in per cent
In this section remove the E values like this
M350 X16 Y16 Z1 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z400.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z180.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z20.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 I30 ; set motor currents (mA) and motor idle factor in per cent
And in the tool definition you should remove the extruder drive and fan references
; Tools M563 P0 D0 F0 ; define tool 0
Like this
; Tools M563 P0 ; define tool 0
Make those adjustments and run M98 P"config.g" again and see if your homing issue is still there.
Also make sure the homing move is long enough to guarantee an endstop hit from the farthest point.
-
@Phaedrux I'm still having issues but I'm not sure why. Sometimes the motors will skip and start making a horrible noise when the endstops should have been triggered. The other issue I'm having is I don't know how to home Z without a Z probe? I've got M558 in config.g. How do I tell the board that the Z axis is homed?
-
@ZPomeroy said in MPCNC Endstop G28 Issue:
G1 H1 Z-125 F360 ; move Z down stopping at the endstopG90 ; absolute positioningG92 Z0 ; set Z position to axis minimum (you may want to adjust this)
In your homeall you're doing a homing move as if you have an endstop to home to, but you don't have a z endstop defined in config.g
How do you intend to home your Z axis?
Right now you have a manual probe defined, so it would prompt you to manually jog the axis to touch the Z0 point. To use that you would need to modify your homez and homeall and change these lines
G1 H1 Z-125 F360 ; move Z down stopping at the endstop G90 ; absolute positioning G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
To simply
G30
so that it would call the probe and prompt you to home Z manually.@ZPomeroy said in MPCNC Endstop G28 Issue:
Sometimes the motors will skip and start making a horrible noise when the endstops should have been triggered.
Can you give me detail about this? Maybe a video showing what is happening?
Do it happen every time? Randomly? Does the axis move normally otherwise?