2000 degrees after restoring config
-
@craigrezac7 said in 2000 degrees after restoring config:
I just have to figure out what to change to get the bed to home in the correct direction now.
This may help https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Homing_files.
-
@craigrezac7 I think the problem has been caused by having RRF 2.04 on the Duet, but creating a config.g for RRF 3 (there are a lot of differences!). Now you have updated the board to RRF 3, it's working. As you started with a blank SD card, you've lost any settings that you had before, unless you kept a copy. So you're effectively setting up this printer as a new machine. Follow the commissioning guide: https://duet3d.dozuki.com/Wiki/Step_by_step_guide#Section_Commissioning_tests
For the Z endstop, you have configured:
M574 Z2 S1 P"!zstop" ; configure active-high endstop for high end on Z via pin !zstop
You've inverted the Z endstop with the "!" character, so it may be reporting that the Z endstop is triggered when it is not. This means when you send a homing move, it's seeing the endstop as triggered, and is trying to move away from it. Send M119 to see the endstop status, and press the endstop. It's also set to be at the top, ie with nozzle furthest from the bed.
Ian
-
@droftarts Endstops - X: at min stop, Y: at min stop, Z: not stopped, Z probe: at min stop - Thats what I get with M119. When I go to home Z, it just keeps lowering the bed until I hit stop.
-
Post your homez/homeall
-
@Phaedrux ; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v2.1.8 on Tue Feb 18 2020 11:10:45 GMT-0500 (Eastern Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-235 Y-235 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X5 Y5 F6000 ; go back a few mm
G1 H1 X-235 Y-235 F360 ; move slowly to X and Y axis endstops once more (second pass)
G1 H1 Z305 F360 ; move Z up stopping at the endstop
G90 ; absolute positioning
G92 Z300 ; set Z position to axis maximum (you may want to adjust this); homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v2.1.8 on Tue Feb 18 2020 11:10:45 GMT-0500 (Eastern Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Z305 F1800 ; move Z up until the endstop is triggered
G92 Z300 ; set Z position to axis maximum (you may want to adjust this) -
Is your z endstop at the high end of travel? IE farthest away from the nozzle?
When you jog the Z axis does + take it away from the nozzle and - towards the nozzle?
-
@Phaedrux It is on an Ender 5, + and - do work correctly, it just tries to find the limit switch going the wrong way, the bed lowering till I make it stop by pressing the limit switch or hitting stop, instead of raising the bed up and hitting the limit switch.
-
@craigrezac7 said in 2000 degrees after restoring config:
; homeall.g
G1 H1 Z305 F360 ; move Z up stopping at the endstop; homez.g
G1 H1 Z305 F1800 ; move Z up until the endstop is triggeredIt's these two lines, which are moving the bed to maximum Z, which is down. The 'up' comment is confusing, because the config tool is assuming the X axis moves up, not the bed moving down. What it does is increase the distance between nozzle and bed, which is a positive Z movement. What you want is a negative Z movement, to bring the bed and nozzle closer together. Change both to
G1 H1 Z-305 F360
. The feed rate 'F' doesn't matter too much, as your Z axis is probably limited to 3mm/s, or 180mm/min, which is F180.Also, I think you need to change the Z endstop definition again. You did have:
M574 Z2 S1 P"!zstop" ; configure active-high endstop for high end on Z via pin !zstop
The 'Z2' is for a 'max' endstop, ie bed furthest from nozzle, so bed moves down. Again the 'high end' comment is somewhat confusing, assuming it's the X axis that is moving up, not the bed moving down, so this should be Z1. I mentioned that you inverted the endstop with '!' earlier, which changes the behaviour of the endstop to report 'not stopped' when pressed, and 'at min stop' when not pressed. Did you change this? Change this to
M574 Z1 S1 P"zstop"
.Before homing, test your endstop by sending M119. With the Z axis not activating the endstop, it should say 'Z: not stopped'. Then press and hold the Z endstop, and send M119. Should then say 'Z: at min stop'.
Ian
-
@droftarts I did switch that ! after you mentioned it last time. I am horrible with coding. That did fix the issue though, the -305. Thank you very much. That makes perfect sense now that you say it.
-
Hey,
I have the same issue with my board.
Installed 3.0 and changed 308/950 comands as per example.
Both sensors shows 2000CAm I missing something?
-
@Alishkus said in 2000 degrees after restoring config:
Hey,
I have the same issue with my board.
Installed 3.0 and changed 308/950 comands as per example.
Both sensors shows 2000CAm I missing something?
Best to start a new thread with some more details about your setup. Include your config, and how you have everything wired.
-
This post is deleted!