Close



Results 1 to 7 of 7
  1. #1
    Staff Engineer old man emu's Avatar
    Join Date
    Oct 2013
    Location
    Narellan, New South Wales, Australia
    Posts
    912

    Stepper calibration process - G-codes to move extruder location

    I want to run some stepper calibrations for X & Y movement. I am going to place a sheet of paper on the print bed; mark a point (using a pin attached to the extruder frame); have the frame move 100 mm along either the X or Y axis , then mark that end point. I would like to know what G-code syntax I enter into Proterface to answer these questions.

    Questions:

    1. I want to carry this out at the front of my print bed so access is easier. How do I instruct the printer to go from [X(home),Y(home)] to a point 50 mm from the far left X edge and 50 mm from the front Y edge, given that I have a 200 x 200 bed and (0,0) is X = far right edge, Y = rear edge.

    2. Having reached the above start point, how do I get the printer to tell me where it thinks it is?

    3. Having marked the start point, how do I instruct the printer to travel to a point which, for the first run, is +100 mm from the start point along the X axis; then for the second run, is +100 mm from that end point along the Y-axis? (I should have moved the head like a Knight's move in chess.)

    Old Man Emu

  2. #2
    Engineer
    Join Date
    Jul 2014
    Location
    Eastern Colorado
    Posts
    536
    Quote Originally Posted by old man emu View Post
    how do i instruct the printer to go from [x(home),y(home)] to a point 50 mm from the far left x edge and 50 mm from the front y edge, given that i have a 200 x 200 bed and (0,0) is x = far right edge, y = rear edge.
    g1 x150 y150

    2. Having reached the above start point, how do i get the printer to tell me where it thinks it is?
    m114

    3. Having marked the start point, how do i instruct the printer to travel to a point which, for the first run, is +100 mm from the start point along the x axis; then for the second run, is +100 mm from that end point along the y-axis? (i should have moved the head like a knight's move in chess.)
    g1 x50
    g1 y50

    All the above G-codes should be with capital letters, but this forum software keeps changing them to lower case every time I try to edit them. If your first G1 command moves the extruder too slowly, try adding an F1500 like so: "G1 X150 Y150 F1500"
    Last edited by AbuMaia; 11-08-2014 at 09:00 PM.

  3. #3
    Staff Engineer old man emu's Avatar
    Join Date
    Oct 2013
    Location
    Narellan, New South Wales, Australia
    Posts
    912
    When I enter M114, will the printer say, "Hey stupid! You just told me to go to (150,150), which I did. Where else do you think I'd be?" Or will it say, "You told me to go to (150,150) but I've actually ended up at (151.3, 149.5)"?

    In other words, what return should I expect?


    OME

  4. #4
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    Quote Originally Posted by old man emu View Post
    When I enter M114, will the printer say, "Hey stupid! You just told me to go to (150,150), which I did. Where else do you think I'd be?" Or will it say, "You told me to go to (150,150) but I've actually ended up at (151.3, 149.5)"?

    In other words, what return should I expect?

    OME
    Well that's simple if you know your printer. If your printer is a little bit neurotic like mine is, it will say "I know I'm supposed to be at (150,150) but my belts aren't perfect and one of them is loose, I could only make it to (149.7,150.2) I'll try harder next time.

  5. #5
    Technician
    Join Date
    Jun 2014
    Posts
    74
    Belts also stretch in the most used areas and little to none in the least used areas. So periodic belt replacement would be valuable after X hrs of use. What X represents I have no idea, but belt length with use will not remain totally static. So to be thorough, it would require measuring each direction every 10mm or so to determine that. It might be easier to just measure the dimensions of parts you print to ensure they remain within whatever tolerance you find acceptable. If X150,Y150 was actually a little off but parts maintain acceptable accuracy, I just don't see this as an issue to address. Maybe I'm not thinking about this right though.

  6. #6
    Staff Engineer old man emu's Avatar
    Join Date
    Oct 2013
    Location
    Narellan, New South Wales, Australia
    Posts
    912
    I've just done some maintenance and tightened my belts. Now they "twang" like like a Sioux bowstring at the Little Big Horn.

    OME
    Last edited by old man emu; 11-09-2014 at 05:52 PM.

  7. #7
    Engineer
    Join Date
    Jul 2014
    Location
    Eastern Colorado
    Posts
    536
    Quote Originally Posted by old man emu View Post
    When I enter M114, will the printer say, "Hey stupid! You just told me to go to (150,150), which I did. Where else do you think I'd be?" Or will it say, "You told me to go to (150,150) but I've actually ended up at (151.3, 149.5)"?

    In other words, what return should I expect?


    OME
    M114 will tell you where it thinks it's at, X150 Y150. You will have to measure your points manually to determine if it's right or not.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •