Help with Documentation



  • Hi Tony,

    Love the Gcode list. It's great to see something that isn't cluttered with all the other gcodes for all the other firmware and electronics variants.

    I'll take a gander at the Glossary of terms - I can think of quite a few off the top of my head. Don't have a wiki account, so I'll email you a text file when I get around to doing it.

    Tutorials - you could add the one I did on your blog about using a mixing hot end with Duet?

    Cheers
    Ian



  • @T3P3Tony:

    Good point. So either set steps/mm correct for 1/16 and then use M350 to adust the microstepping, which the steps/mm wil then be auto adjusted. Or set the microstepping, and then set the correct steps/mm for the new microstepping.

    Edit: adjusted the description:
    https://duet3d.com/wiki/G-code#M350:_Set_microstepping_mode

    Excellent, you guys are doing a great job. Hope to see these boards in a whole lot more printers in the future. Now if only Tom would review the one he has 🙂

    Jeff


  • administrators

    Ian of course - yes added



  • @(In)Sanity:

    M350,

    "The steps/mm will be adjusted automatically so its wise to set the correct steps/mm after the first time microstepping mode is configured (in config.g)"

    This seams to go against what I've been using which is to set the steps per mm first and then the microstepping

    M92 X94.12 Y94.12 Z400 ; set axis steps/mm
    M92 E200.7238:200.7238 ; set extruder 0 and 1 steps/mm

    M350 X128 Y128 Z128 E128:128 ; set microstepping

    This config has been working exactly as I expected. I can change the microstepping values and everything works as expected.

    Jeff

    I did wonder about this as I have playing with other microstepping settings to see if I can improve probing with the new piezo probe. I didn't even think about it until I read one of your posts, that when I changed the microstepping using m350 the printer was still moving normally. So it does adjust the steps/mm automatically.



  • Tony I'd happily help with the wiki.



  • Tony,

    Just noticed that M558 is missing from the list of gcode commands. It's in the rerap.org Wiki but not the duet3d.com wiki.

    Ian



  • Some extra detail and examples scenarios where M500 / M501 / M502 gcodes would be useful.

    Slight thread highjack with a number of questions - but hopefully also illustrates the kind of info that would be useful:

    In the RRF WHATS_NEW.md release note on github for 1.17, it says:
    "You will need to add M501 in your config.g file, at the end or just before the T0 command if you have one, if you want to load saved values automatically at startup."

    I do, but aren't these settings loaded via my config.g?

    Is config-override.g useful for experimental configurations?

    I'm not sure when I would want to save any settings in a separate file or indeed which settings are included in each save, so ran the M500 command and in the config-override.g created I see the following:

    ; This is a system-generated file - do not edit
    ; Heater model parameters
    M307 H0 A90.0 C700.0 D10.0 S1.00 B1
    M307 H1 A340.0 C140.0 D5.5 S1.00 B0
    M307 H2 A340.0 C140.0 D5.5 S1.00 B0
    M307 H3 A340.0 C140.0 D5.5 S1.00 B0
    M307 H4 A340.0 C140.0 D5.5 S1.00 B0
    M307 H5 A340.0 C140.0 D5.5 S1.00 B0
    M307 H6 A340.0 C140.0 D5.5 S1.00 B0
    M307 H7 A340.0 C140.0 D5.5 S1.00 B0
    ; Z probe parameters
    G31 T1 P500 X29.0 Y0.0 Z0.35
    G31 T3 P500 X0.0 Y0.0 Z0.70
    G31 T4 P500 X0.0 Y0.0 Z0.00
    
    

    Are there any other groups of settings I might expect to see in config-override.g - or only the ones for Heater and Z probe?

    I recognise the G31 settings above - these are identical to the ones in my config.g, but the M307 settings - where did they come from? (My M307 H1 settings in config.g are currently commented out, while I was investigating the PID tuning issue with (layer 1+) part cooling air affecting my E3Dv6 heater block.


  • administrators

    The M307 commands have the default values because you didn't have any M307 commands in config.g, nor did you run auto tuning before you did the M500.

    If you set custom PID parameters using M301 and you don't override them by auto tuning, you will alse see M301 commands in config-override.g.

    On a delta printer, you will also see M665 and M66 calibration parameters in config-override.g.

    The point of M500/501/502 and config-override.g is that you can run heater auto tuning or delta calibration and then send M500 to save these values, instead of having to hand-edit them into config.g.



  • how about a direct and easy to find link to the reprap configurator-even though it might be down right now because It wouldn't compile a zip for me the past few days.



  • @dc42:

    The M307 commands have the default values because you didn't have any M307 commands in config.g, nor did you run auto tuning before you did the M500.

    If you set custom PID parameters using M301 and you don't override them by auto tuning, you will alse see M301 commands in config-override.g.

    On a delta printer, you will also see M665 and M66 calibration parameters in config-override.g.

    The point of M500/501/502 and config-override.g is that you can run heater auto tuning or delta calibration and then send M500 to save these values, instead of having to hand-edit them into config.g.

    Thank you.


  • administrators

    @3dprinting:

    how about a direct and easy to find link to the reprap configurator-even though it might be down right now because It wouldn't compile a zip for me the past few days.

    Good Idea!

    I just tested the configurator and it generated and downloaded a config zip ok, what errors did you get?


  • administrators

    @deckingman:

    Tony,

    Just noticed that M558 is missing from the list of gcode commands. It's in the rerap.org Wiki but not the duet3d.com wiki.

    Ian

    Thanks Ian, David added it in, and I then added the next 5 Gcodes which were also missing, rather odd since the Gcode page was based on the RepRap wiki one.



  • @T3P3Tony:

    @3dprinting:

    how about a direct and easy to find link to the reprap configurator-even though it might be down right now because It wouldn't compile a zip for me the past few days.

    Good Idea!

    I just tested the configurator and it generated and downloaded a config zip ok, what errors did you get?

    I didn't get any errors, it just sat in the same place frozen forever. I clicked download zip and the icon shaded out and when I hovered over it it gave me the no symbol.
    It was probably my settings being wrong, but I ran it a few times before without issue.


  • administrators

    Which browser were you using?



  • @dc42:

    Which browser were you using?

    Google chrome, like i said, I had no problem doing it earlier that day, in fact I had no problem downloading the non zipped version either. I havn't tried again, I'm trying to learn how to do everything through g code now.


Log in to reply