1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Solved custom G code

Discussion in 'Troubleshooting' started by Mr Wire, Nov 14, 2017.

Thread Status:
Not open for further replies.
  1. Mr Wire

    Mr Wire Member

    Joined:
    Jun 7, 2017
    Messages:
    46
    Likes Received:
    6
    Hi all
    suggested by this forum im using a custom g code
    G28 ; home all axes
    G1 Z5 F5000 ; lift Z by 5mm
    M565 Z-0.6 ; set the offset for auto-leveling mechanism
    G29 ; run auto-level

    the extruder is touching the bed ( i cannot slice a piece of paper )
    the robo tutorial says i need to go 0.8 /0.9
    the offset/macros wont change the settings
    no i need to edit the g code with the new height?
    what is the line mentioned I need to change?

    im in the correct page?
    thanks
     
  2. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Try this:


    More negative (i.e. -0.9 rather than -0.6) is further from the bed.
     
  3. Mr Wire

    Mr Wire Member

    Joined:
    Jun 7, 2017
    Messages:
    46
    Likes Received:
    6
    its ok that i cannot slice a piece of paper under the extruder still with -0.9 ?
     
  4. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    No. Something else is going on. You must have a global offset or something defined elsewhere OR that GCode you posted is not your entire startup GCOde. it is important because the M565 must be AFTER the LAST G28 and before the ONLY G29. if you do the M565 and then do another G28 it is wiped out.
     
  5. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    I mean in theory 0.9 mm might be too low, but it needs to at least be HIGHER from the bed than the 0.6 .. if not something else is going on.
     
  6. Mr Wire

    Mr Wire Member

    Joined:
    Jun 7, 2017
    Messages:
    46
    Likes Received:
    6
    i have no clue at all
    the only setting ive modified/ added is the one provided for the g code.
    i have no knowledge of changing other parameters
    ive played with the rods trying to level them
    please see the pic of the settings
    all printing is perfect, except first layer bubbles.
     

    Attached Files:

  7. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    But you see, in MatterControl (and even in other slicers) there are different configuration screens where you can do things like set a global Z offset. That would cause you grief. For example this:

    http://wiki.mattercontrol.com/SETTINGS/Printer/Print_Leveling/Probe_Settings/Z_Offset

    Should be zero. There are likely others. While you are at it open the GCode terminal (see the SHOW TERMINAL button):

    http://wiki.mattercontrol.com/OPTIONS/G-Code_Terminal

    and type in the the following:

    M502;

    and then

    M500;
     
  8. Rod Smith

    Rod Smith Member

    Joined:
    Nov 7, 2017
    Messages:
    87
    Likes Received:
    33
    I've been dealing with the Z-axis settings myself. From the figures you've quoted, I suspect you may be thinking of -1.0 as a limit to the M565 command, but it's not; you can go further than that. Mine seems to be optimal in the -1.30 to -1.40 range, depending on other settings. See this thread for details, including photos of what I've been getting. (The test print file is referenced in post #9 in this thread.)
     
    mark tomlinson likes this.
  9. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    It is not a limit but seldom is the offset more negative. If the change from 0.6 to 0.9 is not noticable something else is going on. I have see printers with larger offsetsand maybe it needs it but there would still be improvement as it increases.
     
  10. Mr Wire

    Mr Wire Member

    Joined:
    Jun 7, 2017
    Messages:
    46
    Likes Received:
    6
    Ok , ive typed in terminal
    M502;
    and then
    M500

    see settings
     

    Attached Files:

  11. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    @Mr Wire Do not use the Z Offset in Matter Control. That is not what creates a proper Z Offset. Here is what that does exactly. Let's say you are slicing a model and you ask for all layers to be 0.2 mm, but you need an offset so let's say for example you put in 1.0 mm in that box. what it will do is take you 0.2 mm and add your offset so that the result is the printer will use 1.2 mm as layer one. It doesn't care about level it is just a value that is added to layer one. MatterControl does it this way as they are a generic multi-printer host application that must work with many different types of firmware and this is one way to guarantee that some sort of offset works with all those flavors of 3D printers.
     
  12. Mr Wire

    Mr Wire Member

    Joined:
    Jun 7, 2017
    Messages:
    46
    Likes Received:
    6
    between the bed and the extruder , it has to have a paper sheet thickness gap?
     
  13. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Not really, it needs whatever thickness (and it will be custom to each printer) it takes to get a good first layer.
    The picture we always refer to for what THAT perfect first layer looks like is here (again):

    https://printedsolid.com/blogs/news/37035715-get-your-prints-to-stick-check-your-skirt

    Your offset will likely be different from anyone else or even another printer you own... all of mine are slightly different.

    The rule of thumb is to START with a paper thickness and then adjust it up or down as needed until you get what is perfect (see picture again)
     
  14. Mr Wire

    Mr Wire Member

    Joined:
    Jun 7, 2017
    Messages:
    46
    Likes Received:
    6
    Ive made it!
    perfect and incredible first layer
    used Z-1.0

    thank you all
     
    Rod Smith and mark tomlinson like this.
Thread Status:
Not open for further replies.

Share This Page