Endstop Question
-
I am new to the duet platform and reprap firmware. I am very comfortable with Marlin firmware. Here is what is going on. I recently purchased a duet 2 wifi and wired it to my Ender CR-10 v2 that was working with the stock ender controller. I also have a bltouch wired onto the printer.
The duet had firmware 2.05.1 and I immediately upgraded it to firmware 3.0 then to 3.1.1. I then ran the web configurator tool to generate my zip file, which I uploaded to the board.
I am just trying to get the basics working and I can't get the endstops working. I wired in the NC end stops and the led on the board is lit when the endstop isn't pressed and turns off when it is pressed.
The issue is when I type the M119 command I am getting
Endstops - X: no endstop, Y: no endstop, Z: no endstop, Z probe: not stopped
Nothing I do makes a change and I am pulling my hair out.
Here is my config.g file
; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Tue Sep 15 2020 09:37:17 GMT-0500 (Central Daylight Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Deere_CR10_v2" ; 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 S1 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P3 S1 ; physical drive 3 goes forwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E420.00 ; set steps per mm
M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
M906 X800 Y800 Z800 E800 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 X300 Y300 Z400 S0 ; set axis maxima; Endstops
M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
M574 Y1 S1 P"ystop" ; configure active-high 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"exp.heater3" ; 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 X47 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
M557 X15:285 Y15:285 S20 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; 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 B4138 ; 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 S1.00 ; disable bang-bang mode for heater and set PWM limit; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 C"E_Fan" S1 H-1 ; set fan 0 name and value. Thermostatic control is turned off
M950 F1 C"fan2" Q500 ; create fan 1 on pin fan2 and set its frequency
M106 P1 C"E_Fan_PWM" S0 H1 T45 ; set fan 1 name and 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; Custom settings are not defined
; Miscellaneous
M575 P1 S1 B57600 ; enable support for PanelDue
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss -
@kgrigio Send M115 to the Duet and post the reply. My guess is that the Duet hasn't actually updated to 3.1.1, because your endstop definition looks correct for RRF3, but won't work on RRF2.
Ian
-
M115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.1.1 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2020-05-19b2 -
put M574 into the web ui console and post the output
-
@kgrigio said in Endstop Question:
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0tempunrelated buy you have not configured your thermistor correctly
-
M574
Endstop configuration:
X: none
Y: none
Z: none -
this indicates that your config was not read.
is the config you posted from your lokal computer or from the duet located in the sys folder ?
-
What is on the duet, at least I think. I uploaded the system files from my configuration zip file. Do I need to do anything once I upload them to make them "take"
-
please go to the web ui
file managment -> system.
and click on the config.g file and verifiy that they are identical
-
What I pasted above is from the file management -> systems -> config.g file, but I just figured it out. When I opened the file, I then hit save and it now works.
This begs the question, when I upload a new configuration.zip file why wouldn't this automatically save and start being used? Do I need to go in and save every time I upload? Do I need to save all the files?
-
@kgrigio said in Endstop Question:
This begs the question, when I upload a new configuration.zip file why wouldn't this automatically save and start being used?
you need to restart the duet to read the initial configuration. when editing the config.g after saving it will ask you to do so.
so any config changes require a restart.
-
Perfect. Thanks for the help. Now on to fix the other items, like the endstops you pointed out.
-
has the output of M574 changed?
-
Yes, now I am reading as follows
M574
Endstop configuration:
X: low end switch connected to pin xstop
Y: low end switch connected to pin ystop
Z: low end Z probeOn the thermistors you mentioned above. What didn't I configure correctly? I haven't looked at this closely yet as I am going between this and helping my kids with virtual school today. Thanks again for the help.
-
B4138 is the default. that type of thermistor has not been used in years.
you need to figure out which thermistor is used in your printer.
creality tend to use epcop 100k thermistors.
https://github.com/MarlinFirmware/Configurations/blob/import-2.0.x/config/examples/Creality/CR-10 V2/Configuration.h
and marlin uses that as well.so try the values from this guide
https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+2:+Configuration/38
but use R4700 for the duet wifi -
Perfect. Thanks.