Apologies - I am an idiot. The h2 I was using in my testing line was ignoring the endstops. The reason i was using h2 was my motor would not drive with g91 g1 h1 v100 f2000 but if i use g0it does drive with h1. Apologies again
Best posts made by Jacques2023
-
RE: Endstops do not work on U,V or W
Latest posts made by Jacques2023
-
RE: Endstops do not work on U,V or W
Apologies - I am an idiot. The h2 I was using in my testing line was ignoring the endstops. The reason i was using h2 was my motor would not drive with g91 g1 h1 v100 f2000 but if i use g0it does drive with h1. Apologies again
-
Endstops do not work on U,V or W
Hello all,
I am having major troubles with endstop switches. I can configure them to work on X and Y motors (have not tried Z as this is set as a probe) but cannot get them working on U, V or W. I have high certainty that they are plugged into the correct position on the board as when I press the endstop switch I can see the led going off next to the respective motor.Below I have put my config file. For testing I can send a gcode line via the web interface. When testing X (and similarly for Y), I send:
g91 g1 h1 x500 f2000
and hitting the endstop switch stops whichever direction the motor is moving
When testing V (and similarly for U), I send:
g91 g1 h2 v100 f2000
but endstop switches do not stop when moving either way. Note I need the h2 here for this particular motorHere is my config file:
Configuration file for Duet WiFi / Ethernet running RRF3 on E3D Tool Changer
; executed by the firmware on start-up
; General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like Marlin
M667 S1 ; Select CoreXY mode
; Network
M550 P"Booth 1515" ; Set machine name
M552 S1 P192.168.1.55 ; Set fixed IP address
M552 S1 ; Enable Networking
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet
; Drive direction
M569 P0 S0 ; Drive 0 X
M569 P1 S0 ; Drive 1 Y
M569 P2 S1 ; Drive 2 Z
M569 P3 S1 ; Drive 3 E0
M569 P4 S1 ; Drive 4 E1
M569 P5 S1 ; Drive 5 E2
M569 P6 S1 ; Drive 6 E3
M569 P7 S0 ; Drive 7 COUPLER
M569 P8 S0 ; Drive 8 UNUSED
M569 P9 S0 ; Drive 9 UNUSEDM584 X0 Y1 Z2 U3 V4 W5 C7 E6
;M584 X0 Y1 Z2 C7 E6M208 X-35:328.5 Y-49:243 Z0:300 U0:500 V0:500 W0:500 C-45:360 ; Set axis maxima & minima
;M208 X-35:328.5 Y-49:243 Z0:300 C-45:360 ; Set axis maxima & minima
M92 X100 Y100 Z1600 C91.022 E834 ; Set steps per mm assuming x16 microsteppingM350 C16 I10 ; Configure microstepping without interpolation
;M350 X16 Y16 Z16 U16 V16 W16 E16 I1 ; configure microstepping with interpolation
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M566 X400 Y400 U400 V400 W400 Z8 E20 ; Maximum jerk speeds mm/minute
;M566 X400 Y400 Z8 E20 ; Maximum jerk speeds mm/minute
M203 X2000 Y2000 U20000 V20000 W20000 Z300 C5000 E5000 ; Set maximum speeds (mm/min)
;M203 X5000 Y5000 Z300 C5000 E5000 ; Set maximum speeds (mm/min)
M201 X1000 Y1000 U1000 V1000 W1000 Z100 C500 E2500 ; Set accelerations (mm/s^2)
;M201 X1000 Y1000 Z100 C500 E2500 ; Set accelerations (mm/s^2)
M906 X1800 Y1800 U670 V670 W670 Z1330 E670 C500 I10 ; Idle motion motors to 10%
;M906 X1800 Y1800 Z1330 E670 C500 I10 ; Idle motion motors to 10%; Endstops
M574 X1 Y1 S3 ; Set X / Y endstop stall detection
M574 C0 Z0 ; No C Z endstop
M574 X1 S1 P"xstop" ; this worked for X test
M574 Y1 S1 P"ystop"
M574 Z1 S1 P"zstop"
M574 U2 S1 P"e0stop" ; make the same as X
M574 V1 S1 P"e1stop"
;M574 W1 S1 P"e2stop"M574 X1 Y1 Z1 U2 S1 ; active high endstop switches, XYZ at min, U at max
; Z probe
M558 P8 C"zstop" H3 F360 I0 T20000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
;M574 X1 S1 P"zstop" ; configure active-high endstop for low end on X via pin xstop
;M574 Z1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
;M574 W2 S1 P"wstop" ; configure active-high endstop for low end on X via pin xstop
;M574 Z1 S1 P"ustop" ; configure active-high endstop for low end on U via pin xstopG31 P200 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
M557 X10:290 Y20:180 S40 ; Define mesh grid
;Stall Detection
M915 X Y S3 F0 H400 R4700 ; X / Y Axes
;M915 Y S3 F0 H400 R4700 ; X / Y Axes