end stop bug?
-
Hi, i encountered the following problem/bug.
i got a cartesian machine with 2 y-axis motors and 2 switches.
when i put the motor 1 in Y driver Duet wifi board "!ystop"
and motor 2 in e2 driver Duex5 board "!e2stop"
combine these with M command "!ystop+!e2stop" the switches are not recognized.
When M119 ----> Y "no end stops"i changed motor 2 to extruder driver on wifi board "!e0stop"
problem solved M119 lists Y end stop and Homing works fine.I gues you guys can look into it? i also tried e3stop didnt work either,
seems Duex5 endstops cant be combined.Thanks.
-
@jerolee please post your full config.g fie and tell us which firmware version you are using.
-
@dc42
Boards Duet2 wifi with Duex5.
Firmware 3.3 but also same problem with 3.2.2. i updated to see if the bug was solved in 3.3.
This configuration works fine. When u change the second Y-motor to a driver and endstop on the duex5 it doesnt work.M575 P1 S1 B115200 ; enable support for PanelDue
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Contronix3D" ; 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 P0 S0 ; physical drive 0 goes backwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S0 ; physical drive 2 goes backwards
M569 P3 S0 ; physical drive 4 goes backwards
M569 P4 S0 ; physical drive 4 goes backwards
M569 P5 S0 ; physical drive 5 goes backwards
M569 P6 S0 ; physical drive 6 goes backwards
M569 P7 S0 ; physical drive 7 goes backwardsM584 X0 Y1:3 Z2:4:5:6 E7 ; set drive mapping
M350 X16 Y16 Z16 E16:16:16:16:16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z1600.00 E932.00:80.00:1600.00:1600.00:1600.00 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E50.00:900.00:60.00:60.00:60.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z360.00 E500.00:6000.00:360.00:360.00:360.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00:500.00:20.00:20.00:20.00 ; set accelerations (mm/s^2)
M906 X650 Y650 Z700 E800:650:700:700:700 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 X600 Y299 Z500 S0 ; set axis maxima; Endstops
M574 X1 S1 P"!xstop" ; configure active-low endstop for low end on X via pin !xstop
M574 Y1 S1 P"!ystop+!e0stop" ; configure active-low endstop for low end on Y via pin !ystop
M574 Z1 S2 ; configure Z-probe endstop for low end on Z; Z-Probe
M950 S0 C"duex.pwm1" ; create servo pin 0 for BLTouch
M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X53 Y-2 Z2.5 ; set Z probe trigger value, offset and trigger height
M557 X25:565 Y15:285 S90 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 R4700 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"e0temp" Y"thermistor" T100000 B4000 R4700 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 B0 R2.926 C244.4 D10.45 S1.00 V25.0 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S260 ; set temperature limit for heater 1 to 260C; Fans
M950 F0 C"fan0" Q500 ; create fan 0 "part fan" on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 "hotend fan"on pin fan1 and set its frequency
M106 P1 S1 H1 T70 ; set fan 1 value. Thermostatic control is turned on; Tools
M563 P0 D0 H1 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