retraction, bed dimensions and z height help please



  • first thanks to all that replied to my previous requests for help. Hardware nema 17 motors, micro switch end stops from original tronxy x1 no probing of any kind. Problem 1, manual leveling of bed is good but at start of print z axis raises up a little causing no bed adhesion. Problem 2, at end of print the filament is retracted too far. Problem 3, when print leveling test the print does not go to the ends of the bed. To print the test I have to manually raise the bed after start of print. With the old Melzi board and Repetier firmware I had no problems. Searched everywhere and everything has probing .


  • Moderator

    https://forum.duet3d.com/topic/5909/guide-for-posting-requests-for-help

    Please post your config.g, your homing files, and your slicer start and end gcode so we can see what the printer is actually doing.



  • This post is deleted!


  • @Phaedrux Found them. homeall.g config.g homex.g homey.g homez.g ; Default start code
    G28 ; Home extruder
    G1 Z15 F{Z_TRAVEL_SPEED}
    M107 ; Turn off fan
    G90 ; Absolute positioning
    M82 ; Extruder in absolute mode
    {IF_BED}M190 S{BED}
    ; Activate all used extruder
    {IF_EXT0}M104 T0 S{TEMP0}
    G92 E0; Reset extruder position
    ; Wait for all used extruders to reach temperature
    {IF_EXT0}M109 T0 S{TEMP0}
    ; Default end code
    ;G1 X0 Y0 Z130 ; Get extruder out of way. Uncomment to use!
    M107 ; Turn off fan
    ; Disable all extruder
    G91 ; Relative positioning
    {IF_EXT0}T0
    {IF_EXT0}G1 E-1 ; Reduce filament pressure
    M104 T0 S0
    G90 ; Absolute positioning
    G92 E0 ; Reset extruder position
    M140 S0 ; Disable heated bed
    M84 ; Turn steppers off


  • Moderator

    @Newbie said in retraction, bed dimensions and z height help please:

    Problem 2, at end of print the filament is retracted too far.

    It looks like you have your slicer configured to use absolute extrusion moves.

    M82 ; Extruder in absolute mode

    But then in the end gcode you have an extruder move that appears to be formatted as a relative extrusion move.

    {IF_EXT0}G1 E-1 ; Reduce filament pressure

    Those two things combined mean that instead of retracting 1mm of filament at the end of the print, it's telling it to retract all of the filament printed during the entire print.

    I would suggest changing your slicer to use relative extrusion. Then in your start gcode change M82 to M83.


  • Moderator

    @Newbie said in retraction, bed dimensions and z height help please:

    Problem 1, manual leveling of bed is good but at start of print z axis raises up a little causing no bed adhesion.

    How sure are you that your Z steps per mm is 2560?

    M92 X100.00 Y100.00 Z2560.00 E80.00 ; set steps per mm

    If you jog the z axis 10mm, does it actually move 10mm?


  • Moderator

    @Newbie said in retraction, bed dimensions and z height help please:

    Problem 3, when print leveling test the print does not go to the ends of the bed.

    Are you sure you've entered the correct size of your bed?

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X295 Y300 Z285 S0 ; set axis maxima

    Are you also sure that the steps per mm for X and Y are correct? If you jog 10mm, does it actually move 10mm?



  • Really appreciate all your help. I managed to get z axis behaving good. Homes good and is not 2mm or more above at the start. All axis move to the limits. And now I have to work on the retraction. All I have to go by are the eeprom settings thtat were originally for the tronxy x1 with melzi board and repetier firmware. Retraction settings for the end of print (I take it) are from the repetier host. I'll have to experiment with that.



  • @Phaedrux Really appreciate all your help. I managed to get z axis behaving good. Homes good and is not 2mm or more above at the start. All axis move to the limits. And now I have to work on the retraction. All I have to go by are the eeprom settings thtat were originally for the tronxy x1 with melzi board and repetier firmware. Retraction settings for the end of print (I take it) are from the repetier host. I'll have to experiment with that.



  • @Phaedrux Updated to version 3 and now everything is screwed up again. I give up, I'm going to try the mks gen v1.4.


  • Moderator

    @Newbie said in retraction, bed dimensions and z height help please:

    Updated to version 3 and now everything is screwed up again.

    Oh no, why did you do that? There's quite a few changes to the config that need to happen for that. You can still go back to 2.05.



  • Maybe later but I fixed the original board so I will be using it for now to complete a couple of hobby projects. Again, thanks for all your help.


Log in to reply