• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Feature - M703 /flag possible request?

Scheduled Pinned Locked Moved
Firmware wishlist
4
4
232
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    dmandn
    last edited by 24 Apr 2021, 16:51

    Hi all, apologies if there is a way to do this already, what I'd like is to make a call like M703 to call settings per filament. However, I want to pull speed, retraction settings and bed temps for homing, etc without the nozzle temp being applied.
    I'd like to have a M703 call that sets and applies pretty much everything except the nozzle temperature. I can then call M703 after homing, levelling, etc finished to set and heat nozzle to temp before priming and printing,

    ....Also, if this is wrong area, please advise so I may correctly put my request through.

    undefined undefined 2 Replies Last reply 25 Apr 2021, 07:21 Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 24 Apr 2021, 21:34

      Maybe you could configure multiple configuration folders to switch between?

      https://duet3d.dozuki.com/Wiki/Gcode#Section_M505_Set_configuration_file_folder

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • undefined
        OwenD @dmandn
        last edited by 25 Apr 2021, 07:21

        @dmandn
        M703 is going to call the config.g associated with the currently loaded/selected filament
        e.g. 0:/filaments/ABS/config.g
        You can put whatever you want in there.
        I put things like cold retract and min temps, retraction settings etc that are filament specific.
        If you don't want your nozzle temp to be set when you call M703, don't put it in there.

        Another alternative is to create a central macro and put all your settings in that.
        In the example below I set all the nozzle temp based on the filament (although your slicer can almost certainly do that)
        You could alter it to set whatever you want.
        You would then call the macro using an extra parameter.
        e.g. M98 P"0:/macros/setTemp.g" S"PLA"

        ;setTemp.g
        ;sets temps based on filament name passed as "S" parameter
        ;e.g. M98 P"0:/macros/setTemps.g S"ABS"
        if state.currentTool = -1
        	abort "No tool elected - can't set temp" ; cancel macro and print
        if !exists(param.S) || param.S = "" || param.S = null
        	echo "No S parameter passed to macro - default temps used"
        	G10 S200 R125
        	M99 ; exit macro
        if param.S = "ABS"
        	G10 S240 R180
        elif param.S = "PLA"
        	G10 S205 R125
        elif param.S = "PETG"
        	G10 S240 R180
        elif param.S = "NYLON"
        	G10 S255 R180
        else
        	echo param.S ^ " not defined in macro - default temp set"
        	G10 S200 R125
        
        1 Reply Last reply Reply Quote 0
        • undefined
          fcwilt @dmandn
          last edited by 25 Apr 2021, 10:55

          @dmandn said in Feature - M703 /flag possible request?:

          Hi all, apologies if there is a way to do this already, what I'd like is to make a call like M703 to call settings per filament. However, I want to pull speed, retraction settings and bed temps for homing, etc without the nozzle temp being applied.
          I'd like to have a M703 call that sets and applies pretty much everything except the nozzle temperature. I can then call M703 after homing, levelling, etc finished to set and heat nozzle to temp before priming and printing,

          My first question is why do you want to do that?

          Frederick

          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA