Endstop error
-
; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v2.1.2 on Thu Nov 07 2019 17:27:04 GMT+0100 (Centraleuropæisk normaltid)
G91 ; relative positioning
G1 H2 Z5 F3000 ; lift Z relative to current position
G1 S1 X-255 F1500 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F3000 ; go back a few mm
G1 H1 X-255 F120 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z-5 F3000 ; lower Z again
G90 ; absolute positioning -
Are you sure that you don't have the X and Y endstop connections swapped, or the X and Y motor connections swapped?
-
@lacs2711 said in Endstop error:
1: 21.28.07M119
Endstops - X: at min stop, Y: at min stop, Z: not stopped, Z probe: not stopped
2: 21.28.22M119
Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: not stoppedthis means they trigger correcly.
can you test x and y seperatly. you might have swapped them around. -
I'm pretty sure they are not swapped, here M119 along with a picture
21.51.57M119
Endstops - X: at min stop, Y: not stopped, Z: not stopped, Z probe: not stopped -
what firmware version did they supply the duet with?
-
Let' start with homing X by itself. Your homex.g file is this:
; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v2.1.2 on Thu Nov 07 2019 17:27:04 GMT+0100 (Centraleuropæisk normaltid)
G91 ; relative positioning
G1 H2 Z5 F3000 ; lift Z relative to current position
G1 S1 X-255 F1500 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F3000 ; go back a few mm
G1 H1 X-255 F120 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z-5 F3000 ; lower Z again
G90 ; absolute positioningThe line starting G1 S1 should really start G1 H1, but unless you have accidentally set the Duet to laser mode, it doesn't matter. Try changing it to G1 H1 anyway.
You've already checked that the X endstop switch reads correctly in M119. When you try to home just X (using the web interface, or by sending G28 X), does it move the carriage towards the X endstop switch?
-
when I try to home X it says
22.06.50G28 X
Error: G0/G1: insufficient axes homed -
@lacs2711 said in Endstop error:
when I try to home X it says
22.06.50G28 X
Error: G0/G1: insufficient axes homedAs @Veti already asked, please tell us what firmware version you are using. Send M115 to find out.
-
firmware version 2,03
-
sorry
M115
22.10.39M115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.0(RTOS) ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2018-06-05b3 -
@lacs2711 said in Endstop error:
sorry
M115
22.10.39M115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.0(RTOS) ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2018-06-05b3That version is too old to understand G1 H commands. I recommend you upgrade to 2.04.
-
OKI will try it tomorrow. thank you so much.
-
This guide may help you in your testing. The Ender 5 and the Ender 3 are basically the same setup.
https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+3:+Commissioning/39