I could use some help
-
@mac said in I could use some help:
@fcwilt I see, but the header is in the list of files. it makes for a cleaner look, I think.
Absolutely - I include headers and footers.
; === homeZ.g BOF === ; the actual code would go here ; === homeZ.g EOF ===
Just FYI, BOF is for "beginning of file", EOF is for "end of file"
Frederick
-
@fcwilt so you write the code, but you don't put the line numbers in; that's what the program you write the code in does?
And the === before what you wrote, and the === after what you wrote create the idea of a "Header?"
-
@mac said in I could use some help:
@fcwilt so you write the code, but you don't put the line numbers in; that's what the program you write the code in does?
And the === before what you wrote, and the === after what you wrote create the idea of a "Header?"
The part at the top of the file is the "header"
The part at the bottom of the file is the "footer"
I actually put more than I posted into the header and footer - I was just posting a simple example.
Frederick
-
-
@fcwilt Z's going backwards. When I click on Z+0.5 it goes DOWN.
-
@mac @fcwilt you had the z probe working. Using an endstop on the low end is a retrograde step.
Ian
-
@droftarts hey, Ian, welcome to the show, what is a "retrograde step?"
-
@droftarts said in I could use some help:
@mac @fcwilt you had the z probe working. Using an endstop on the low end is a retrograde step.
Ian
In your opinion. I see it as a distinct improvement.
X and Y can be homed with no Z movement required.
And generally Z homing can be faster.
But that is just my opinion.
Frederick
-
@fcwilt @droftarts oh my god! what have I gotten myself between and betwixtd?
-
@mac said in I could use some help:
@fcwilt Z's going backwards. When I click on Z+0.5 it goes DOWN.
Then adjust the M569 for that Z drive and change it from normal to reverse or reverse to normal - the opposite of what it is now.
Re-boot and re-test.
Frederick
-
M569 P0.3 S1 ; physical drive 0.3 goes forwards
-
@fcwilt so I'm thinking I should change the S1 to S0? (I don't know that 0 means reverse, or the opposite of, I'm just surmising that's what I should do).
-
@mac said in I could use some help:
M569 P0.3 S1 ; physical drive 0.3 goes forwards
So you don't know what to change?
OK here you go:
The P specifies the driver number which you have as 0.3 which sounds fine.
The S specifies the direction with S1 being normal and S0 being reverse.
Don't get hung up on normal and reverse - there really is no standard for what rotation is considered normal and what is considered reverse.
So since you have S1 change it to S0, re-boot and re-test.
Frederick
-
@fcwilt nice to have that fan stop rattling away. I'm glad I figured that out, and thank you for the additional information. I was thinking of that song, One way, and another, when I read about there being no "normal and reverse."
-
@fcwilt look at his bed. It’s not 10mm cast aluminium plate, well-constrained and moving on linear rails. It’s a (please forgive me, @Mac ) cheap bedslinger setup. He’s going to need mesh compensation to have half a chance getting the first layer to stick. The probe was working fine. Fiddling around with a Z min endstop is excruciating with flimsy beds.
Doing kids bath and bed. Not around for a while.
Ian
-
-
@droftarts kids need their Dad, I had 3 (they're all adults now, although the oldest is living with us currently). Thank you for being so helpful Ian!
-
@fcwilt are we okay even though the code still says "forwards?"
-
@mac said in I could use some help:
@fcwilt are we okay even though the code still says "forwards?"
Everything after the ; character is just a comment - it affects nothing - you could put a line from a Shakespeare play there and it would make no difference at all.
All that matters is you find the right S parameter so the Z axis moves in the correct direction.
And the same is true for X and Y - if it turns out they are not moving in the correct direction.
Frederick
-
@droftarts said in I could use some help:
@fcwilt look at his bed. It’s not 10mm cast aluminium plate, well-constrained and moving on linear rails. It’s a (please forgive me, @Mac ) cheap bedslinger setup. He’s going to need mesh compensation to have half a chance getting the first layer to stick. The probe was working fine. Fiddling around with a Z min endstop is excruciating with flimsy beds.
Doing kids bath and bed. Not around for a while.
Ian
Rest assured Mesh Bed Compensation will be implemented.
One small step at a time.
Frederick