Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. thaug29
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 30
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by thaug29

    • RE: M98 issue after update from 3.4.6 to 3.5.4

      @jay_s_uk
      #############################################################
      ; AutoZ - Automatic probe offset adjustment
      ;
      ; to use autoz, please place the following near the end
      ; of your slicer start gcode
      ; M98 P"/macros/autoz/autoz.g" <<< Place in slicer
      ;##################################################################

      ;##################################################################
      ; prepare
      ;##################################################################

      M98 P"/macros/autoz/autoz_settings.g" ; Load your settings
      M98 P"/macros/autoz/scripts/autoz_globals.g" ; Load autoz framework
      G29 S2 ; Disable mesh
      M290 R0 S0 ; Reset baby stepping

      ;##################################################################
      ; Probe the nozzle on teh Z-pin
      ;##################################################################

      ;G1 E-5 F1000
      M98 P"/macros/autoz/scripts/autoz_move_up.g" ; large z hop incase the nozzle is low and you have a high pin
      M400
      M98 P"/macros/autoz/scripts/autoz_goto_zpin.g" ; go to the z pin
      M400
      M98 P"/macros/autoz/scripts/autoz_adjust_safe_zdrive.g" ; set z drive safe physics
      M400
      M98 P"/macros/autoz/scripts/autoz_probe.g" K1 H5 A4 S0.004
      M400

      if !exists(global.macrocallresult)
      echo "Call to macro failed. Aborting"
      abort
      ;end if

      var nozzleheight = {global.macrocallresult}
      echo "nozzleheight: ", {var.nozzleheight}

      M98 P"/macros/autoz/scripts/autoz_restore_zdrive.g" ; restore the z drive to the state before autoz
      M400
      M98 P"/macros/autoz/scripts/autoz_move_up_small.g" ; move up 2mm
      M400

      ;##################################################################
      ; Load the magprobe
      ;##################################################################

      M98 P"/macros/autoz/scripts/autoz_move_up.g"
      M400
      M98 P"/macros/magprobe_attach.g" ; pick up and verify clicky
      M400
      M98 P"/macros/autoz/scripts/autoz_goto_zpin_magprobe_offset.g" ; move the clicky probe switch body over the z pin
      M400
      M98 P"/macros/autoz/scripts/autoz_adjust_safe_zdrive.g" ; set z drive safe physics
      M400

      ;##################################################################
      ; Probe magprobe body on the Z-pin
      ;##################################################################

      M98 P"/macros/autoz/scripts/autoz_probe.g" K1 H5 A4 S0.004
      M400

      if !exists(global.macrocallresult)
      echo "Call to macro failed. Aborting"
      abort
      ;end if

      var magprobeheight = {global.macrocallresult}
      echo "magprobeheight: ", {var.magprobeheight}

      ;##################################################################
      ; Probe the bed
      ;##################################################################

      M98 P"/macros/autoz/scripts/autoz_move_up.g" ; hop to clear the switch
      M400
      M98 P"/macros/autoz/scripts/autoz_goto_bedcenter.g" ; go to the center of the bed
      M400

      M98 P"/macros/autoz/scripts/autoz_probe.g" K0 H5 A4 S0.004
      M400

      if !exists(global.macrocallresult)
      echo "Call to macro failed. Aborting"
      abort
      ;end if

      var bedheight = {global.macrocallresult}
      echo "bedheight: ", {var.bedheight}

      ;##################################################################
      ; Calculate probe offset
      ;##################################################################

      var nozzleswitchoffset = {var.magprobeheight - var.nozzleheight + global.switchoffset}
      echo "nozzleswitchoffset: ", {var.nozzleswitchoffset}

      var probeoffset = {var.bedheight - var.nozzleswitchoffset}
      echo "probeoffset: ", {var.probeoffset}

      ;##################################################################
      ; Set probe offset as baby step offset
      ;##################################################################

      M290 R0 S{var.probeoffset}
      M400

      ;##############################################
      ; Finish up
      ;##############################################

      M98 P"/macros/autoz/scripts/autoz_restore_zdrive.g" ; restore the z drive to the state before autoz
      M98 P"/macros/autoz/scripts/autoz_move_up.g" ; small z hop
      M400
      M98 P"/macros/magprobe_dock.g" ; unload the clicky probe
      M98 P"/macros/autoz/scripts/autoz_goto_bedcenter.g" ; go to the center of the bed

      ;##############################################
      ; Done
      ;##############################################

      posted in Firmware installation
      thaug29undefined
      thaug29
    • RE: M98 issue after update from 3.4.6 to 3.5.4

      @jay_s_uk I'm using the 6HC

      posted in Firmware installation
      thaug29undefined
      thaug29
    • M98 issue after update from 3.4.6 to 3.5.4

      I have recently updated to 3.5.4 from 3.4.6 and the DWC keeps loosing its connection while running the pre print macros and an error message pops up in the control screen when this happens. The message reads,

      Connection interrupted, attempting to reconnect...
      Operation failed (Reason: Service Unavailable)

      I think this happens when it reads the following line in the macro,

      M98 P"/macros/autoz/scripts/autoz_probe.g" K1 H5 A4 S0.004

      Are the variables allowed at the end of the M98 line? The pre print macros continue and the print job finishes without any other issues.

      posted in Firmware installation
      thaug29undefined
      thaug29
    • RE: Cancelled printing file, 'abort' command executed

      @oliof Thanks for your help but I'm going to stick with 3.4.6 for now and try to simplify and rewrite my macros at a latter time.

      posted in Firmware installation
      thaug29undefined
      thaug29
    • RE: Cancelled printing file, 'abort' command executed

      @droftarts
      These macros run when individually run.

      ; Macro print start
      ; reset baby stepping
      M290 S0.00 R0

      G28

      M98 P"/macros/magprobe_do_QGL.g"

      G28 Z
      G1 Y270

      M98 P"/macros/nozzle_scrub.g"

      M98 P"/macros/autoz/autoz.g"

      ; Final settings before print actually start
      T0 ; select tool 0
      G21 ; set units to mm
      M83 ; set extruder to relative mode
      G92 E0.0 ; reset extruder position
      M220 S100 ; reset speed multiplier

      M98 P"/macros/magprobe_dock.g"

      echo "Print will now start"

      posted in Firmware installation
      thaug29undefined
      thaug29
    • RE: Cancelled printing file, 'abort' command executed

      @droftarts;
      This is my startup script.

      M104 S140 ; PreHeat nozzle
      M109 S140 ; wait for extruder temp
      M98 P"/macros/start_print.g"
      M104 S[extruder0_temperature] T0 ; set extruder temp
      M109 S[extruder0_temperature] T0 ; wait for extruder temp
      G1 X20 Y10 Z0.2 F3000 ; get ready to prime
      G92 E0 ; reset extrusion distance
      G1 X250 E25 F600 ; prime nozzle

      This is the G-Code I am trying to print, it heats the bed and then aborts.

      G-Code generated by Simplify3D(R) Version 5.1.2
      ; Jan 25, 2024 at 10:48:44 AM

      G90
      M82
      M106 S0 P0
      M140 S105
      M190 S105
      M104 S140 T0 ; PreHeat nozzle
      M109 S140 T0 ; wait for extruder temp
      M98 P"/macros/start_print.g"
      M104 S220 T0 ; set extruder temp
      M109 S220 T0 ; wait for extruder temp
      G1 X20 Y10 Z0.2 F3000 ; get ready to prime
      G92 E0 ; reset extrusion distance
      G1 X250 E25 F600 ; prime nozzle
      ; process Process 1
      ; layer 1, Z = 0.2200
      T0
      G92 E0.00000
      G1 E-2.00000 F2100
      ; feature skirt
      ; tool H0.2200 W0.480
      G1 Z0.2200 F1800
      G1 X105.424 Y127.392 F15000
      G92 E0.00000
      G1 E2.00000 F2100
      G92 E0.00000
      G1 X127.902 Y136.843 E1.37821

      posted in Firmware installation
      thaug29undefined
      thaug29
    • RE: Cancelled printing file, 'abort' command executed

      I moved back to 3.4.6 and everything works fine. I went through the change log for 3.5.0 and I don't see anything that would cause it not to work on my printer. Any ideas what might have changed between the two versions to cause the print to abort after heating the bed. For some reason I am unable to upload my code or file to this site.

      posted in Firmware installation
      thaug29undefined
      thaug29
    • RE: Cancelled printing file, 'abort' command executed

      @oliof Which file should I include?

      posted in Firmware installation
      thaug29undefined
      thaug29
    • Cancelled printing file, 'abort' command executed

      probe-screw-5sc.gcode I just updated to 3.5.0-rc2 from 3.4.6, I have a 6HC with 1LC v1.3 everything was running fine on 3.4.6 but now the print aborts just after the bed reaches temp. I am using Simplify3D. The error message is

      Cancelled printing file 0:/gcodes/probe-screw-5sc.gcode, print time was 0h 1m
      'abort' command executed

      posted in Firmware installation
      thaug29undefined
      thaug29
    • RE: Connecting LED's to 1LC Toolboard

      @droftarts I don't see IO_1.out on the toolboard but there is IO_0.out. It may be safer to just run them back to the 6HC unless there is someone that has successfully connected them to the toolboard.

      posted in Duet Hardware and wiring
      thaug29undefined
      thaug29
    • Connecting LED's to 1LC Toolboard

      Anyone know how to connect stealth burner led's to 1LC Toolboard? Can they be connected to IO 0 using +5v, GND and io0.out for data? Or do they have to be connected to 6HC.

      posted in Duet Hardware and wiring
      thaug29undefined
      thaug29
    • RE: Duet3 Mini5+ Ethernet Nozzle Distance to PEI sheet is too large

      @Wobi Hello, may I ask you what mount you are using for the 1LC tool board? If you have a link that would be great. Thanks

      posted in Duet Hardware and wiring
      thaug29undefined
      thaug29
    • Meaning of M122 B121 Filament sensor report

      I keep getting a print pause during printing and when I run M122 B121 after print I get this for the Filament sensor. What does this report mean?

      Screenshot 2023-07-01 at 5.12.37 PM.png

      posted in Filament Monitor
      thaug29undefined
      thaug29
    • RE: Twisted pair wiring length for Toolboard

      @dc42 Thank you

      posted in Duet Hardware and wiring
      thaug29undefined
      thaug29
    • RE: Bad tool board or bad wiring

      @Phaedrux Sense I am color blind I can't tell what color the LED is and the issue happens so fast the flashing LED does not change as far as I can tell. I am using twisted wire with factory crimps on both ends which is soldered to the twisted wire. I have run a new wire and ordered a new ver1.3 board so one way or the other the problem will be fixed.

      posted in Duet Hardware and wiring
      thaug29undefined
      thaug29
    • RE: Twisted pair wiring length for Toolboard

      @Phaedrux Price is not the question. Will a 6 foot length of untwisted wire work for the Toolboard?

      posted in Duet Hardware and wiring
      thaug29undefined
      thaug29
    • RE: Bad tool board or bad wiring

      I check the wiring and it seems to be OK. Attached are some other responses that I get from M122 B121 when entered when the Hotend temp hits 2000 deg. Is there some M code that can be entered to give more information on what is going on?

      @thaug29 Screenshot 2023-05-31 at 9.20.29 AM.png

      posted in Duet Hardware and wiring
      thaug29undefined
      thaug29
    • Twisted pair wiring length for Toolboard

      What is the max length for untwisted wire for the Duet Toolboard?

      Duet says "Unshielded twisted pair cable is normally used; however over the short cable lengths typical of desktop 3D printers and CNC machines, the cable type is not critical."

      What is short lengths? Is 6 feet to long for untwisted, unshielded?

      posted in Duet Hardware and wiring
      thaug29undefined
      thaug29
    • RE: Bad tool board or bad wiring

      @Phaedrux This is very odd, it will run for hours without any problem and then the print will pause and the hotend temp will jump up and down from set point to 2000 deg. It's on a Voron 2.4 and the wire runs thru a lot of cable chain. It mat be easier to replace the entire wire, I just don't know if it's wire or the board. I can try to check continuity and crimps.

      posted in Duet Hardware and wiring
      thaug29undefined
      thaug29
    • Bad tool board or bad wiring

      Is there a way to determine if the duet toolboard is bad or is the wiring bad. I get the hotend temperature jumping to 2000 deg for a split second and when this happens I run M122 B121 and this is what is returned.

      Screenshot 2023-05-30 at 8.24.44 PM.png

      posted in Duet Hardware and wiring
      thaug29undefined
      thaug29