Why doesn't this M574 configuration work
-
The printer does home when the print file is loaded but then stops and does nothing.
Here is home all,
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v2.1.8 on Wed Apr 29 2020 12:52:20 GMT-0600 (Mountain Daylight Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-310 Y310 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X-310 ; home X axis
G1 H1 Y310 ; home Y axis
G1 X5 Y5 F6000 ; go back a few mm
G1 H1 X-310 F360 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y310 ; then move slowly to Y axis endstop
G1 H1 Z-330 F360 ; move Z down stopping at the endstop
G90 ; absolute positioning
G92 Z0 ; set Z position to axis minimum (you may want to adjust this); Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning -
@luckyflyer said in Why doesn't this M574 configuration work:
The printer does home when the print file is loaded but then stops and does nothing.
if you run g28 or homeall twice does it finish normally, and is there anything in a start.g file or the slicer settings that would be relevant?
-
Double check your axis limits max and min settings to see if they match the way the new endstop configuration is set up.
Is this the way axis limits should be set up with the new M574 config?
; Axis Limits
M208 X0 Y310 Z-0.6 S1 ; set axis minima
M208 X310 Y0 Z320 S0 ; set axis maxima -
@luckyflyer said in Why doesn't this M574 configuration work:
Double check your axis limits max and min settings to see if they match the way the new endstop configuration is set up.
Is this the way axis limits should be set up with the new M574 config?
; Axis Limits
M208 X0 Y310 Z-0.6 S1 ; set axis minima
M208 X310 Y0 Z320 S0 ; set axis maximaNo they shouldn't change. if you change Y1 to Y2 and reverse the axis limits you're sort of back to square 1. (also not sure the firmware accepts a minima larger than the maxima) revert to
; Axis Limits
M208 X0 Y0 Z-0.6 S1 ; set axis minima
M208 X310 Y310 Z320 S0 ; set axis maxima -
I have no file named start.G S3d does have a flip Y axes and it is configured to flip, this is the default setting. I have tried it both ways and neither way works with the new config, have not tried flipping Y when printer is working correctly. I can try running G28 a second time from panel due.
-
@bearer said in Why doesn't this M574 configuration work:
@luckyflyer said in Why doesn't this M574 configuration work:
Double check your axis limits max and min settings to see if they match the way the new endstop configuration is set up.
Is this the way axis limits should be set up with the new M574 config?
; Axis Limits
M208 X0 Y310 Z-0.6 S1 ; set axis minima
M208 X310 Y0 Z320 S0 ; set axis maximaNo they shouldn't change. if you change Y1 to Y2 and reverse the axis limits you're sort of back to square 1. (also not sure the firmware accepts a minima larger than the maxima) revert to
; Axis Limits
M208 X0 Y0 Z-0.6 S1 ; set axis minima
M208 X310 Y310 Z320 S0 ; set axis maximaI have not tried it that way, so I'm not sure about checking axes limits min & max to see if they match the way the new endstop configuration is set up.
-
@luckyflyer said in Why doesn't this M574 configuration work:
so I'm not sure about checking axes limits min & max to see if they match the way the new endstop configuration is set up.
unless moving the endstop causes the available travel on the axis to increase or decrease you don't need to change M208. But if you hav 310mm travel and moving the endstop means you can only travel 305mm then update M208 accordingly. High or low end doesn't matter in that respect, just over all travel.
-
I upload a file to print ( a known good file that I've printed before) the heaters come up to temp, the printer homes and then nothing. I sent a G28 from panel due console still nothing. I come to the pc where dwc is and send G28 the blue send box just circles , I hit estop to get it to stop.
-
@bearer said in Why doesn't this M574 configuration work:
@luckyflyer said in Why doesn't this M574 configuration work:
so I'm not sure about checking axes limits min & max to see if they match the way the new endstop configuration is set up.
unless moving the endstop causes the available travel on the axis to increase or decrease you don't need to change M208. But if you hav 310mm travel and moving the endstop means you can only travel 305mm then update M208 accordingly. High or low end doesn't matter in that respect, just over all travel.
There would be a few mm change because the opto sensor trigger is at the one end a little closer to the rail physical stop, when put at the other end the circuit board is flipped moving the trigger point a little.
-
@luckyflyer said in Why doesn't this M574 configuration work:
There would be a few mm change because the opto sensor trigger is at the one end a little closer to the rail physical stop, when put at the other end the circuit board is flipped moving the trigger a little.
the simplest would be to place or jog the head at Y0 then run
G1 F-sensible-feedrate Y400 H3
it should effectively measure your Y axis (up to 400mm but stop when endstop is triggered) and set M208 in config-override.g (maybe you have to save it with M500 or update config.g manually if you don't use config-override.g) -
Ok, I'll do that but if not configured correctly would that cause the issue I'm having? I thought the axes limits were to prevent over extending an axes and hitting a hard stop.
-
@luckyflyer i think you're correct, but i'm happy to defer to higher powers on most thing config.
however having Z-0.6 in you M208 and G92 Z0 in your homeall seems odd to me.
-
Hmm, I did not catch that. I have the -.6 because my bed has a dip in the middle. Front left corner is much closer to 0 but I'll change home all anyway.
-
Double check your axis limits max and min settings to see if they match the way the new endstop configuration is set up.
Ok I get what your saying.
-
@luckyflyer said in Why doesn't this M574 configuration work:
Double check your axis limits max and min settings to see if they match the way the new endstop configuration is set up.
Is this the way axis limits should be set up with the new M574 config?
; Axis Limits
M208 X0 Y310 Z-0.6 S1 ; set axis minima
M208 X310 Y0 Z320 S0 ; set axis maximaAs @bearer said several posts ago, you need to swap the Y values over in those two commands. As they stand, no motion will be allowed.
-
Nuramori, can you post your config.g file, thanks
-
I can run this code from the console and it prints as it should, at the correct location etc.
G92 E0
G1 X130.0 Y5 Z0.0 F2000
G1 X40.0 E20.0 F1000.0This is part of my starting script in S3d. I believe that this tells me that my M208 and M574 commands which are configured thus,
; Axis Limits
M208 X0 Y0 Z-0.6 S1 ; set axis minima
M208 X300 Y300 Z300 ; set axis maxima; Endstops
M574 X1 S1 P"!io1.in" ; configure for low end, active-low endstop on X via pin io1.in
M574 Y2 S1 P"!io2.in" ; configure for high end, active-low endstop on Y via pin io2.in
M574 Z1 S1 P"!io3.in" ; configure for low end, active-low endstop on Z via pin io3.inare configured correctly in config.g.
However when a S3d print is loaded via dwc with this start code the tool position display in dwc advances to Y5 and then very briefly at X130 then to X40 and stays there and does not change, no filament is extruded.I now believe that there is something not configured correctly in Simplify 3d for this printer configuration because S3d works correctly when M574 is set to Y1 instead of Y2. Do the experts agree with this or am I missing something?
-
I'll also add the with the above configuration when homed X=0 Y=300 Z=0 is displayed and that all movements from the console are correct.
I sure would like to get this problem resolved.
-
@luckyflyer Please post the contents of the Starting Script tab in Simplify3D.
-
Complete start script
M109 S195 ; wait for hotend temp
M190 S60 ; wait for bed temp
G28 ; home all axes
G29 S1 ; load bed mesh
G92 E0 ;set extruder to 0
G1 X130.0 Y5 Z0.0 F2000 ; move tool
G1 X40.0 E20.0 F1000.0 ; extrude 90 mm of filament to prime nozzle
G92 E0 ; set extruder to 0