Hello,
I'm building a CoreXY 3D printer with the following setup:
Board: Duet 3 MB6HC (MB6HC)
Firmware: RepRapFirmware for Duet 3 MB6HC 3.3 (2021-06-15)
Endstops: Optical endstops RAMPS 1.4
In my homex.g I have the following code:
;*******************************************************************************
;** Then home the X-axis
;*******************************************************************************
G1 H1 X-1000 F3000 ; Move quickly to X axis end-stop
G1 H0 X10 F300 ; Go back a few mm
G1 H1 X-100 F300 ; Move slowly to X axis end-stop
In my config, the endstops are declared as follows:
M574 X1 S1 P"io0.in" ; Configure X-axis endstop
M574 Y1 S1 P"io1.in" ; Configure Y-axis endstop
I run my endstops at 5Vdc.
I have another printer with the same setup and exactly the same homex.g file. I have no problems homing any axes on this printer, The new one however, triggers the endstops immediately when executing the G1 H1 commands, regardless of the actual position of my hotend. The M119 command confirms the endstops being triggered.
The endstops are active high. They are connected correctly and when I measure directly at the endstops input pins, it measures 0,6Vdc when not triggered and 5Vdc when triggered. These voltages correspond with the voltages measured at the working printer.
I have checked both printers for differences in wiring and gcode, but in my eyes everything matches up perfectly. I've been troubleshooting for hours now but so far I've come up with nothing.
If you guys have any suggestions to fix the issue, I would be most grateful. It would be nice to let the printer travel to its actual home position. I hope I supplied enough information to go on.