Can't configure End stops
-
This is a toolchanger. X is fine, Y is fine. Z? Nope!
Console returns:
Error: Failed to enable endstops
Error: endstop type 0 is no longer supported. Use type 1 and invert the input pin instead.Here's the config.sys:
; Configurat; Configuration file for Duet WiFi / Ethernet
; executed by the firmware on start-up
; For Toolchanger and RRF 3.4.1; 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; Network
M550 P"ToolChanger" ; Set machine name
;M587 S"ssid" P"password" ; WiFi Settings
;M552 S1 P"ssid" ; Enable WiFi Networking
M587 S"ATT642" P"x" ; Configure access point. You can delete this line once connected
M552 S1 ; Enable Networking
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable TelnetM575 P1 B57600 S1 ;Paneldue
M667 S1 ; Select CoreXY mode; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X-35:328.5 Y-49:243 Z0:300 C0:500 S0 ; Set axis maxima & minima; Endstops
M574 X1 S1 P"!xstop" ; configure active high endstop switch for low end on X (Duet 3)
M574 Y1 S3 ; Set Y endstop stall detection
M574 C0 Z0 ; No C Z endstop; 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
G31 P200 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
M557 X10:290 Y20:180 S40 ; Define mesh grid; Drive direction
M569 P0 S0 ; Drive 0 X
M569 P1 S0 ; Drive 1 Y
M569 P2 S1 ; Drive 2 Z
M569 P3 S0 ; Drive 3 E0
M569 P4 S0 ; Drive 4 E1
M569 P5 S0 ; Drive 5 E2
M569 P6 S0 ; Drive 6 E3
M569 P7 S0 ; Drive 7 COUPLER
M569 P8 S0 ; Drive 8 UNUSED
M569 P9 S0 ; Drive 9 UNUSED
M584 X0 Y1 Z2 C7 E3:4:5:6 ; Apply custom drive mappingM350 E16:16:16:16 I1 ; Configure microstepping with interpolation for Orbitors
M350 X16 Y16 Z16 I1 ; Configure microstepping with interpolation for X,Y,Z steppers
M350 C8 I0 ; Configure microstepping with interpolation for C stepperM92 X100 Y100 Z1600 C100 E679.21:679.21:679.21:679.21 ; Steps per mm for the Orbitors V2
M566 X400 Y400 Z8 C2 E300:300:300:300 ; Set maximum instantaneous speed changes (mm/min) Orbitors
M203 X35000 Y35000 Z1200 C5000 E 7200:7200:7200:7200 ; Set maximum speeds (mm/min)
M201 X6000 Y6000 Z400 C500 E 10000:10000: 10000:10000 ; Set accelerations (mm/s^2) for OrbitorsM906 X2000 Y2000 Z1330 C400 E900:900:900:900 I10 ; Set motor currents for the Orbitors
M84 S120 ; Set idle timeoutM207 S1.75 F7200 Z0.4 ; Set FW Retraction
;Stall Detection
M915 C S5 F0 H200 R4700 ; Coupler;Stall Detection
M915 X Y S5 F0 H400 R4700 ; X / Y Axes; Heaters
M308 S0 P"Bedtemp" Y"thermistor" T100000 B4138 C0 ; Set thermistor
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S225 ; Set temperature limit for heater 0 to 225CM308 S1 P"e0temp" Y"thermistor" T100000 B4388 ; 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.422 S1 ;From Auto tune
M143 H1 S280 ; Set temperature limit for heater 1 to 300CM308 S2 P"e1temp" Y"thermistor" T100000 B4388 ; configure sensor 2 as thermistor on pin e0temp
M950 H2 C"e1heat" T2 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H2 B0 S1 ;From Auto tune
M143 H2 S280 ; Set temperature limit for heater 2 to 300CM308 S3 P"duex.e2temp" Y"thermistor" T100000 B4388 ; configure sensor 3 as thermistor on pin e0temp
M950 H3 C"duex.e2heat" T3 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H3 B0 S1 ;From Auto tune
M143 H3 S280 ; Set temperature limit for heater 3 to 300CM308 S4 P"duex.e3temp" Y"thermistor" T100000 B4388 ; configure sensor 3 as thermistor on pin e0temp
M950 H4 C"duex.e3heat" T4 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H4 B0 S1 ;From Auto tune
M143 H4 S280 ; Set temperature limit for heater 3 to 300C; Tools
M563 P0 D0 H1 F0 ; Define tool 0
G10 P0 X0 Y0 Z0 ; Reset tool 0 axis offsets
G10 P0 R0 S0 ; Reset initial tool 0 active and standby temperatures to 0CM563 P1 D1 H2 F2 ; Define tool 1
G10 P1 X0 Y0 Z0 ; Reset tool 1 axis offsets
G10 P1 R0 S0 ; Reset initial tool 1 active and standby temperatures to 0CM563 P2 D2 H3 F4 ; Define tool 2
G10 P2 X0 Y0 Z0 ; Reset tool 2 axis offsets
G10 P2 R0 S0 ; Reset initial tool 2 active and standby temperatures to 0CM563 P3 D3 H4 F6 ; Define tool 3
G10 P3 X0 Y0 Z0 ; Reset tool 3 axis offsets
G10 P3 R0 S0 ; Reset initial tool 3 active and standby temperatures to 0C; Fans
;M106 P0 S0 ; UNUSED
;M106 P1 S255 H1 T70 ; T0 HE;M106 P2 S0 ; T0 PCF
;M106 P3 S255 H2 T70 ; T1 HE
;M106 P4 S0 ; T1 PCF
;M106 P5 S255 H3 T70 ; T2 HE
;M106 P6 S0 ; T2 PCF
;M106 P7 S255 H4 T70 ; T3 HE
;M106 P8 S0 ; T3 PCFM950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 ; UNUSED
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S255 H1 T70 ; set fan 1 value.
M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
M106 P2 S0 ; set fan 2 value. Thermostatic control is turned on
M950 F3 C"duex.fan3" Q500 ; create fan 3 on pin duex.fan3 and set its frequency
M106 P3 S255 H2 T70 ; set fan 3 value.
M950 F4 C"duex.fan4" Q500 ; create fan 4 on pin duex.fan4 and set its frequency
M106 P4 S0 ; set fan 4 value. Thermostatic control is turned on
M950 F5 C"duex.fan5" Q500 ; create fan 5 on pin duex.fan4 and set its frequency
M106 P5 S255 H2 T70 ; set fan 5 value.
M950 F6 C"duex.fan6" Q500 ; create fan 6 on pin duex.fan4 and set its frequency
M106 P6 S0 ; set fan 6 value. Thermostatic control is turned on
M950 F7 C"duex.fan7" Q500 ; create fan 7 on pin duex.fan4 and set its frequency
M106 P7 S255 H2 T70 ; set fan 7 value.
M950 F8 C"duex.fan8" Q500 ; create fan 8 on pin duex.fan4 and set its frequency
M106 P8 S0 ; set fan 8 value. Thermostatic control is turned onM593 F50 ; cancel ringing at 50Hz
;M376 H15 ; bed compensation taper;tool offset
G10 P0 X-9 Y39 Z-4.55 ; T0 Positive moves closer negative away
G10 P1 X-8.8 Y38.8 Z-4.55 ; T1
G10 P2 X-9 Y38.8 Z-4.55 ; T2
G10 P3 X-8.8 Y38.8 Z-4.55 ; T3M501 ;Use the config-overide.g file
;deselect tools
T-1M572 D0 S0.02 ; pressure advance T0
M572 D1 S0.02 ; pressure advance T1
M572 D2 S0.02 ; pressure advance T2
M572 D3 S0.02 ; pressure advance T3 -
Yes... I see the missing "!" in the zstop label. Made no diff.
I assume the problem is related to the "C0". These lines were taken from the E3D sample files. -
@andy-cohen you have M574 Z0. That means no endstop
-
@andy-cohen said in Can't configure End stops:
M574 C0 Z0 ; Kein CZ-Endanschlag
If the Z-axis has its endstop at the low-end (Z-min) and it's the same type of endstop as the X-axis, and the endstop is connected to the Z-Endstop connector on the board, then it should the command line look like this:
M574 Z1 S1 P"!zstop" ;configure active high endstop switch for low end on ZGCode Dictionary Command M574
Google Translate
--- Original Text ---Wenn die Z-Achse am unteren Ende (Low-End / Z-min) ihren Endstop hat und es der gleiche Typ Endstop wie bei der X-Achse ist, und der Endstop am Z-Endstop Stecker auf dem Board angeschlossen ist, dann sollte die Befehlszeile wie folgt aussehen:
M574 Z1 S1 P"!zstop" ;konfiguriere aktiven High-Endstop-Schalter für Low-End auf ZGCode Dictionary Command M574
-
@norder yes… if this were a typical machine which has a z end stop switch activated when the bed is drawn up to 0.
This is the E3d Toolchanger. The end stop gcode is from E3d. The end stop switch also acts as the z probe and it is mounted on the coupler carriage. -
@andy-cohen
Sorry I don't have a crystal ball.
You should have written about it right away.
The more information... the easier and faster we can help you.Google Translate
--- Original Text ---Sorry das ich keine Glaskugel habe.
Du hättest es gleich dazu schreiben sollen.
Um so mehr Infos... desto einfacher und schneller kann Dir geholfen werden. -
@norder My first sentence is its a Toolchanger.
I tried ...
M574 Z1 S1
M574 C1 S3C is the tool coupler and it uses amps from motor stall as well as Y axis for end stop on my machine.
It did not work either.
I also switched out the zhome script with another written by E3D... no difference. It keeps saying the same error. Weird.
I need help from the RRF gods! -
Do you have a Z endstop and a Z probe?
Post your homing files.
When exactly are you getting that error?Can you send M98 P"config.g" and copy paste the output?
-
My TC config has the same settings but I wonder if the order in which you have it is causing a issue? I.e you have the motor setting etc after the endstop settings?
-
@rushmere3d Yeah... the end stop def was before. I switched it and it still returned the same error.
So next I swapped out the homing scripts from mine to those from the E3D sample files. My older files had M574 commands in them which could easily have fired off the error. Now I get something quite different:
"Error: Probe already triggered at start of probing move"
Which to me indicates it's expecting a closed switch not an open one. -
@phaedrux On this machine the Z switch is on the tool coupling carriage which rides on the X axis rail. When no tool is on it it acts as the Z end stop and the mesh compensation probe.
I was getting the error right after the first homing move which tells me it was in the homez script. I changed that to the sample E3D script on their website and now I get the message:
"Error: Probe already triggered at start of probing move"here's the output per your request:
8/28/2022, 11:36:16 AM HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Warning: Heater 1 predicted maximum temperature at full power is 496°C
Warning: Heater 2 predicted maximum temperature at full power is 512°C
Warning: Heater 3 predicted maximum temperature at full power is 547°C
Error: Heater 5 not found
Error: Heater 6 not found
Error: Heater 7 not found
8/28/2022, 11:36:15 AM M98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabledNote I have yet to run PID control routines on my heaters.
-
@andy-cohen DOH!!! The "!" in the zstop label! AH!
Thank you to all here who replied to my post I appreciate the help.
Chances are though I'm not ready to print just yet and may have more things like this.
-
@andy-cohen I'm confused you didn't have the ! in the config when you posted, then you added it and you said it made no difference.
So is your original issue fixed?
-
@andy-cohen So it was the homing files and then the ! In the endstop config?
I should have said I have a duet 3 on my TC.
-
@rushmere3d The heart of my problem was that I simply edited the S labels to H in all my Homing scripts. Bad idea. I should have simply swapped out the old files for e3d’s new homing files. My old files used the M574 command which reset the end stops incorrectly for the update. I have no idea why the m574 command was in the original homing scripts…
The second problem was because I had not read the ALL of the docs on the pin out labels. As such I had assumed the exclamation mark was on all pinout names. I went back and ready the whole thing and found the ! Sets the polarity of the connections.
Heaters all tuned. Almost ready to print. Again thanks to all for the help.
And… yeah I’ll talk about the update in the 3d Printing Today podcast. -
-