Endstop error
-
use a multimeter and measure the resistance on the connector. triggered and untriggerd.
-
OK I have measured on endstop with multimeter 20k, they go from 0.00 to -8.30 when activated.
hope it makes sense -
-8.3 makes not much sense. there is no negative resistance. but there seems to be a change.
config looks fine.
please post the output of.
M119 when press x and when pressed y endstop.also you are aware that your board is not a genuine duet board?
-
We'll also need to see your homing files.
-
here's what it writes when I send M119
the first is triggered, the second is not triggered:1: 21.28.07M119
Endstops - X: at min stop, Y: at min stop, Z: not stopped, Z probe: not stopped2: 21.28.22M119
Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: not stoppedDid not now that it was not a duet I had bought, but can see that it says on the back that it is a copy.
sorry if i have wrongly asked for help. -
; homeall.g
; called to home all axes
;
; 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 Z4 F3000 ; lift Z relative to current position
G1 H1 X-240 Y-240 F1500 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X5 Y5 F3000 ; go back a few mm
G1 H1 X-240 Y-240 F120 ; move slowly to X and Y axis endstops once more (second pass)
G90 ; absolute positioning
G1 H2 X-26 Y6 F3000 ; go to first bed probe point and home Z
G30 ; home Z by probing the bed; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 S1 Z4 F50 ; lift Z relative to current position
;G90 ; absolute positioning -
; 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