G30 S-1 is giving me heart stitches [SOLVED]
-
@Veti said in G30 S-1 is giving me heart stitches:
Using S-2 here is incorrect
Maybe, but I also tried the other options, without any difference
-
@Veti said in G30 S-1 is giving me heart stitches:
since S has a double meaning, the use of H is encouraged.
Just for your peace of mind, I'll try (again)
Why I don't use the config tool is simple: In MY config, I know every line. Where it is and what it does (or should do)
A generated file is different. -
@o_lampe said in G30 S-1 is giving me heart stitches:
In MY config, I know every line. Where it is and what it does (or should do)
A generated file is different.then at least look at the generated files so that you know how its supposed to be done
-
@o_lampe said in G30 S-1 is giving me heart stitches:
In MY config, I know every line. Where it is and what it does (or should do)
You don't seem to be paying attention.
In your new config.g file you have...
M574 X1 Y1 Z0 S1 - that is NOT correct - remove the Z0
M574 Z1 S2 - that is NOT correct - change it to M574 Z0
Now as to your homing file.
Do you have actual end stop switches for X and Y OR are you forcing them active?
IF you ARE forcing them active your homing file is not going to work.
G1 S1 X-340 - will not move but will mark X as homed at whatever position it happens to be at
G1 S1 Y-240 - will not move but will mark Y as homed at whatever position it happens to be at
G1 X14 Y14 - will move X and Y by 14mm in the direction of the high end of the each axis
G1 S1 X-20 - does nothing - will not move
G1 S1 Y-20 - does nothing - will not move
G1 F600 - serves no purpose - remove it
G1 S1 Z-300 F600 - is incorrect - remove it - you are going to use the z probe for homing Z
G1 Z5 F200 - should generate an error as Z is not homed - remove it
G30 X20 Y20 S-2 - that is not valid syntax - to home with Z probe just use G30 by itselfBut without actual X and Y end stop sensors you might as well just do the following.
G92 X0 - mark X as homed and at position X = 0
G92 Y0 - mark Y as homed and at position Y = 0
G30 - home Z at the current X and Y position - whatever that happens to beThis would work IF the actual starting position of X was 0 and Y was 0.
If will be so much simpler if you either install X and Y end stop switches OR use sensor-less homing for X and Y
Frederick
-
@fcwilt said in G30 S-1 is giving me heart stitches:
M574 Z1 S2 - that is NOT correct - change it to M574 Z0
Although I must admit that you are right with most of your comment, this line is correct for using the z-probe as endstop.
Quote from M574 wikiSnnn Endstop type: ... 2 = Z probe
Why did I keep all the useless lines in homeAll? Simply don't want to write it again, when I have real endstops.
-
@fcwilt said in G30 S-1 is giving me heart stitches:
G1 S1 Z-300 F600 - is incorrect - remove it - you are going to use the z probe for homing Z
G1 Z5 F200 - should generate an error as Z is not homed - remove itAs I said earlier, I have to home the Z-axis before running G30. And that's exactly what it does. And it does lift 5mm afterwards, because the axis is now homed according to DWC.
The only it doesn't do, is giving me a Z=0 datum. also G92 Zxxx doesn't.That's why I had to deal with G30.
-
there G30 does not need the z axis to be homed
-
@o_lampe said in G30 S-1 is giving me heart stitches:
Read it all:
Snnn 1 = switch-type (eg microswitch) endstop input, 2 = Z probe (when used to home an axis other than Z), 3 = single motor load detection, 4 = multiple motor load detection (see Notes).
M574 Z0 is correct.
Frederick
-
@fcwilt
where's that from, please? -
@o_lampe said in G30 S-1 is giving me heart stitches:
@fcwilt
where's that from, please?Where is what from?
Frederick
-
@o_lampe said in G30 S-1 is giving me heart stitches:
As I said earlier, I have to home the Z-axis before running G30. And that's exactly what it does.
Because you didn't have M574 Z0 saying to home with the z probe.
Frederick
-
@fcwilt said in G30 S-1 is giving me heart stitches:
2 = Z probe (when used to home an axis other than Z)
Sorry, I should've quoted it...
Here is the link, I refered to -
@o_lampe said in G30 S-1 is giving me heart stitches:
@fcwilt said in G30 S-1 is giving me heart stitches:
2 = Z probe (when used to home an axis other than Z)
Sorry, I should've quoted it...
Here is the link, I refered toI thought you had upgrade to v3 firmware. Have you not done so yet?
Frederick
-
@fcwilt
here's another quote, I took from wikiExample M574 X1 Y2 Z0 S1 ; X endstop at low end, Y endstop at high end, no Z endstop, all active high
What's wrong with that compared to your M574 Z0?
-
@o_lampe said in G30 S-1 is giving me heart stitches:
@fcwilt
here's another quote, I took from wikiExample M574 X1 Y2 Z0 S1 ; X endstop at low end, Y endstop at high end, no Z endstop, all active high
What's wrong with that compared to your M574 Z0?
It looks like you haven't upgraded to v3 firmware - I thought you were going to do that.
Frederick
-
@fcwilt said in G30 S-1 is giving me heart stitches:
It looks like you haven't upgraded to v3 firmware - I thought you were going to do that.
OK, I see.
One step at a time... Covid lockdown allows me to be very generous with my time... -
@o_lampe said in G30 S-1 is giving me heart stitches:
@fcwilt said in G30 S-1 is giving me heart stitches:
It looks like you haven't upgraded to v3 firmware - I thought you were going to do that.
OK, I see.
One step at a time... Covid lockdown allows me to be very generous with my time...My apologies for I thought you were using v3 and the code I was showing you is all for v3.
Which is code I tested.
I cannot help you with v2 effectively and I have no boards with v2 firmware and thus cannot test my code.
Again my apologies for the misunderstanding and resulting confusion.
Frederick
-
@Veti said in G30 S-1 is giving me heart stitches:
there G30 does not need the z axis to be homed
That's the whole story I'm trying to tell.
On rrf2.05.1 I have to home all axis' to run a G30. Tried to home X and Y only, but NO.And then it does some horizontal moves, probes here 'n there and crashes eventually.
-
that is not true.
the z axis does not need to be homed.
i just tested it
G92 X15 Y15
G30the G30 is executed without a problem
-
@o_lampe said in G30 S-1 is giving me heart stitches:
G30 X20 Y20 S2 ; is a valid code,right?
No. Never has been. G30 when homing Z in homeall should be by itself. To position it first, use a G1 XY move before it. And yes, before you can move XY those axis must be homed otherwise it will complain. You can force an unhomed axis to move anyway with the S2/H2 switch, but that's really only feasible for the Z axis to lift it out of the way before moving XY. If you were to use S2/H2 with XY you wouldn't be sure that the position was correct.