Not homing in correct direction.
-
Hi guys, kinda somewhat new here. But have been searching through the forums for a while now. Trying to fix the some of problems I have on my own by trying other peoples problems, but non seem to be the exact problem(s) I'm having. Nor can I find the solutions to my problems, hence why I am here. I am not so good with firmware. Hopefully this is the right spot to post. I have a few problems concerning the board and my printer.
So about my printer. I have a completely stock Tevo: Black widow. And I am using a Duet 2 Wifi board. Stock endstop sensors. With BL Touch.
So since I have tried switching to this board and what not, it has not been up and running yet. I have 2 problems so far that I have reached.
(1) Where I am at is I can disable home (M564 H0 S0) and physically through dashboard move all my axis in the correct direction. ( X+ to the right, y- to the back, z+ up) Where I am stuck is when I home X or Y they go in the wrong direction. After tinkering more I have got the endstops to work correctly when triggered. Now its just more less changing the direction of X and Y when they home. I cant seem to find a proper answer through the forum to fix my issue. Before when I would try to change settings in config I would usually end up with "failed to enable endstops", or nothing would move. etc.
(2) My second problem I have encountered trying to get it all to work, is that when I try to Heat up the bed I get a "heater 0 fault: temperature rising much more slowly than the expected 1.7 C/sec". Although it is heating up slowly, I'm not sure on this matter as I've spent more time trying to figure out the other axis problem first, but I figured I would post it anyways since I'm already here. I am still using the mosfet that came with the printer originally. I imagine that is the culprit and I'm missing something. I feel I might just take it out of the equation for now until I can get the rest of the printer running properly.
The printer has run fine in the past before this board. As of right now I have not tried the bl touch, or my extruder. The extruder itself heats up fine. but havent tried extruding filament yet. Thanks in advance for your help. I will post my config.g under this as well.
; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.2.2 on Sat Jan 23 2021 15:36:10 GMT-0600 (Central Standard Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"My Printer" ; 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 S0 ; physical drive 1 goes forwards
M569 P2 S0 ; 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 Z1600.00 E420.00 ; set steps per mm
M566 X900.00 Y900.00 Z60.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 X1050 Y1050 Z1050 E1050 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 X370 Y250 Z370 S0 ; set axis maxima; Endstops
M574 X2 S1 P"!xstop" ; configure active-high endstop for high end on X via pin !xstop
M574 Y2 S1 P"!ystop" ; configure active-high endstop for high end on Y via pin !ystop
M574 Z1 S2 ; configure Z-probe endstop for low end on Z; Z-Probe
M558 P1 C"zprobe.in+zprobe.mod" H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds
G31 P500 X0 Y0 Z2 ; set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:195 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 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 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
M143 H1 S280 ; set temperature limit for heater 1 to 280C; Fans
M950 F0 C"fan0" Q500 ; create fan 0 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 on pin fan1 and set its frequency
M106 P1 S1 H1 T45 ; 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; Custom settings are not defined
-
@BattleDroid said in Not homing in correct direction.:
Where I am stuck is when I home X or Y they go in the wrong direction.
Homing moves are defined in the homeall.g homex.g homey.g homez.g macros.
As long as the axis are moving in the right direction
@BattleDroid said in Not homing in correct direction.:
( X+ to the right, y- to the back, z+ up)
As you have described. and the endstops are defined at the right location. Either high end of the axis (m574 X2) or low end of the axis (M574 X1).
Then the homing moves in the homing files should move towards the endstop. + or - direction.
-
@BattleDroid said in Not homing in correct direction.:
"heater 0 fault: temperature rising much more slowly than the expected 1.7 C/sec".
You'll need to PID tune your heaters.
M303 H0 S60
When it's done, send M500 to save the results.
And then add M501 to the end of your config.gIn RRF 3.2 you can tune the tool heater with
M303 T0 S200
and then M500 to save it as well. -
Normally X+ is to the right, Y+ is to the back, Z+ moves the bed farther from the nozzle.
As to the origin some folks have X=0 Y=0 at the left front corner, some folks at the center of the bed.
Also the location of the end stop can be at either end of an axis and does not control where the 0 point is on that axis.
Frederick
-
@fcwilt said in Not homing in correct direction.:
Y+ is to the back
I guess we should be specific about what is moving where. On a cartesian it can be confusing, because the bed moves back, but the nozzle is moving to the front.
-
@Phaedrux said in Not homing in correct direction.:
I guess we should be specific about what is moving where. On a cartesian it can be confusing, because the bed moves back, but the nozzle is moving to the front.
I didn't consider the OP might have a bed slinger - my bad.
So where is X0 Y0 on one of those?
Frederick
-
@fcwilt Same place. You're right though. -Y should move the nozzle to the front.
-
Thank you for your quick responses. Sorry if I sound daft. When you say high end low end. Example being on my gantry x axis moves left to the (-) end. That would be the low end correct?
So That being said my endstops are on the low end on both my x and y. And i should change (m574 X2) to (m574 X1). Correct?
Then in my home (all)(x)(y) config change the positive values to negative values. Which should change the direction?
Also a few more responses since Ive been typing. Cant keep up. Sorry.
To confirm in my head believe I have the closest left of the bed is my zero. Thats how it was before, and thats how my reprap prusa is as well. So when they home normally the gantry goes left, bed goes back, and then normally the nozzle would zero on a sensor. But this time around im hoping to get the bl touch working. And use that with this printer.
-
@BattleDroid said in Not homing in correct direction.:
When you say high end low end.
Consider an axis with min position of 0 and max position of 300. Low end is the 0 end, high end is the 300 end.
So That being said my endstops are on the low end on both my x and y. And i should change (m574 X2) to (m574 X1). Correct?
Yes
Then in my home (all)(x)(y) config change the positive values to negative values. Which should change the direction?
Homing is toward the end stop. If they are at the low end the G1 H1 moves will have negative values, the G1 move will have a positive value.
Frederick
-
Thank you for confirming. So I changed the high end low end. And set the values to negative. And I cant believe it was that much of a hassle for me for that easy of a fix. I believe I have changed those values before but most likely not both together. Which now kinda makes sense why I was getting the endstop errors. But now I kind of have a better understanding of that. Thank you guys. It is now homing correctly. I will now move on to see if I can get the bl touch to work correctly, that I am also fishing in the dark with.
But as for my other problem. I sent M303 H0 S60. It is now tuning the bed. After it tunes (its been going for about 5-10 mins now) assuming it is good I am to Send M500 to save. Then what is M501? Just to load those parameters when it goes to heat up? Also where at the end of my config should I add M501? Just right at the end?
Also what is a bed slinger? lol
-
@BattleDroid said in Not homing in correct direction.:
Then what is M501? Just to load those parameters when it goes to heat up? Also where at the end of my config should I add M501? Just right at the end?
M500 creates (or updates) a file config-override.g and in that file are certain commands. Among them are the commands that reflect the results of the heater tuning operation(s).
M501 goes at the very end of your config.g file. In essence it causes the config-override.g file to be treated as a continuation of config.g, thus executing the commands that are in config-override.g.
Now you don't have to use M501 - you can - if you wish - simply copy the contents of config-override.g into your config.g file at the appropriate locations.
Also what is a bed slinger? lol
It's the type of printer that moves the bed back and forth along the Y axis and moves the X gantry up and down along the Z axis.
There are many others types.
Frederick
-
Ah, gotcha. That makes sense now. Thank you. You guys have been super helpful. I just closed about 30 tabs since those questions have been solved for me. haha
I am now trying to see if I can get the probe to work. I am googling how to change the mesh grid(?) when it probes. I noticed when it first tried to probe it wasn't quite on the bed. I am assuming its coordinates on the m557 line. Still searching. The other thing I have to find is why it doesn't deploy the probe when it starts homing. It is lit up, it will kick in and out when I turn the printer on. But I need to find what I change to make it deploy when it goes to home.
-
@BattleDroid said in Not homing in correct direction.:
Ah, gotcha. That makes sense now. Thank you. You guys have been super helpful. I just closed about 30 tabs since those questions have been solved for me. haha
I am now trying to see if I can get the probe to work. I am googling how to change the mesh grid(?) when it probes. I noticed when it first tried to probe it wasn't quite on the bed. I am assuming its coordinates on the m557 line. Still searching. The other thing I have to find is why it doesn't deploy the probe when it starts homing. It is lit up, it will kick in and out when I turn the printer on. But I need to find what I change to make it deploy when it goes to home.
Do you have a deploy probe and retract probe script? M401 should deploy it and M402 retract. I was in a very similar position to you just the other week so this is all very fresh and familiar for me!
-
I cant say if I do or not. I did try the M401 and M402 commands which didn't seem to do anything. So I assume not? I will try to look into this more.
-
@BattleDroid said in Not homing in correct direction.:
M558 P1 C"zprobe.in+zprobe.mod" H5 F120 T6000
If you're using a BLTouch this line is not correct.
Instead you would need
; Z-Probe BLtouch M950 S0 C"PINNAME" ; create servo pin 0 for BLTouch M558 P9 C"^zprobe.in" H5 F200 T6000 ; set Z probe type to bltouch and the dive height + speeds
The PINNAME part would be the name of the pin you are using for the servo connection. Usually heater pin 3 or 7 on the expansion header. Which are you using?
exp.heater3
for exampleThen you would need 2 macro files in /sys folder called deployprobe.g and retractprobe.g
They would contain the servo commands to deploy and retract the pin.
M280 P0 S10 ; deploy BLTouch
M280 P0 S90 ; retract BLTouch
Then when you send M401 or M402 the pin should deploy and retract if it's working correctly.
Then to probe Z you'd need to have a G30 at the center of your bed to use the probe to set Z0. Post your homeall if you're unsure.
-
*** deleted ***
-
@Phaedrux
Sorry thats alot to take in at once. I appologize for being slow. I am using heater pin 3.Here is my homeall while I re read that again.
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.2.2 on Sat Jan 23 2021 15:36:11 GMT-0600 (Central Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-375 Y-255 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X-5 Y-5 F6000 ; go back a few mm
G1 H1 X-375 Y-255 F360 ; move slowly to X and Y axis endstops once more (second pass)
G90 ; absolute positioning
G1 X15 Y15 F6000 ; go to first bed probe point and home Z
G30 ; home Z by probing the bed; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning -
@BattleDroid said in Not homing in correct direction.:
G1 X15 Y15 F6000 ; go to first bed probe point and home Z
G30 ; home Z by probing the bedThe homeall is correct, but you should change the X15 Y15 to be a position that places the probe at the center of the bed.
-
Ok i will change that.
Does this seem more correct now in my config?
; Z-Probe BLtouch
M950 S0 C"heater3" ;create servo pin 0 for BLTouch
M558 P9 C"^zprobe.in" H5 F200 T6000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X0 Y0 Z2 ; set Z probe trigger value, offset and trigger height
M557 X15:215 Y45:195 S20 ; define mesh grid -
Also I was messing around with the mesh settings there on the x andy, im changing them more to the center right now.
Edit i think i just realized thats describing the dimensions of where i can probe.