Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. code7
    • Profile
    • Following 1
    • Followers 0
    • Topics 36
    • Posts 132
    • Best 15
    • Controversial 0
    • Groups 0

    code7

    @code7

    16
    Reputation
    9
    Profile views
    132
    Posts
    0
    Followers
    1
    Following
    Joined Last Online

    code7 Unfollow Follow

    Best posts made by code7

    • RE: How to not require Home before next print?

      @alankilian
      I just found M84 in the Cancel macro. Thanks!

      posted in General Discussion
      code7undefined
      code7
    • RE: How to run a gcode loop X times

      @cosmowave Thanks. Much simpler than I expected. This works in the print file.

      posted in Gcode meta commands
      code7undefined
      code7
    • RE: Filament Rewind while Homing

      Unfortunately a Reverse Bowen Tube will not work with my setup as I am limited by multiple space constraints. I'll need a software solution. Thanks for the idea though.

      posted in Tuning and tweaking
      code7undefined
      code7
    • RE: Sent Gcode commands not going away in DWC console

      @fcwilt
      I seldom send the same gcode command twice in a row. It would be cool if you could use the up arrow (like in DOS and other programs) to populate the previous command if you want to run it again.

      posted in Duet Web Control
      code7undefined
      code7
    • RE: Error: Bad command: macros

      @dc42
      I changed M102.g to another number and it's working great now. Thanks

      posted in General Discussion
      code7undefined
      code7
    • RE: M221 - Request for help for proper extruder drive mapping DWC

      @Phaedrux @deckingman

      Here is the updated config.g. I've also removed all references to the U and V axis as they were for testing.

      ; Configuration file for Duet WiFi (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v2.1.8 on Tue Feb 11 2020 11:45:16 GMT-0700 (Mountain Standard Time)
      
      ; General preferences
      G90                            	                ; send absolute coordinates...
      M83                                             ; ...but relative extruder moves
      M550 P"Delta Printer"                           ; set printer name
      M665 R88 L236 B55 H259.5                        ; Set delta radius, diagonal rod length, printable radius and homed height
      M666 X-1.170 Y1.058 Z0.112                      ; put your endstop adjustments here, or let auto calibration find them (default X0 Y0 Z0)
      

      ; Panel Due
      M575 P1 B57600 S1 ;Set baud rate Duet Board.

      ; Network
      M587 S"Ammon"
      M551 P"12345" ; set password
      M552 S0 ; Turn on Wifi
      ;M552 P192.168.1.0 ; enable network and set static IP - doesn't work, Static IP needs to be setup in Router

      M552 S1
      ;M553 P255.255.255.0 ; Netmask
      ;M554 P192.168.1.1 ; Gateway (not used yet)
      M586 P0 S1 ; enable HTTP
      ;M586 P1 S0 ; disable FTP
      ;M586 P2 S0 ; disable Telnet

      ; Drives
      M569 P0 S0 ; physical drive 0 goes forwards - X
      M569 P1 S0 ; physical drive 1 goes forwards - Y
      M569 P2 S0 ; physical drive 2 goes forwards - Z
      M569 P3 S0 ; physical drive 3 goes forwards - E0
      M569 P10 S1 ; physical drive 10 goes forwards - E10
      M584 X0 Y1 Z2 E10 ; set drive mapping with Wire Control
      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
      ;M92 X80.00 Y80.00 Z80.00 E3918.10 ; set steps per mm (original values)
      M92 X80.00 Y80.00 Z80.00 E2487.71 ; set steps per mm
      M566 X1200.00 Y1200.00 Z1200.00 E10 ; set maximum instantaneous speed changes (mm/min)
      M203 X4500 Y4500 Z4500 E2000 ; set maximum speeds (mm/min)
      M201 X300.00 Y300.00 Z300.00 E500 ; set accelerations (mm/s^2 (default 1000 for XYZ)
      M906 X2000 Y2000 Z2000 I65 ; set motor currents (mA) and motor idle factor in per cent (I30 is default but doesn't hold effector)
      M906 E800 I20 ; set motor currents (mA) and motor idle factor in per cent (I30 is default but doesn't hold effector)
      M84 S30 ; Set idle timeout

      ; Axis Limits
      M208 Z0 S1 ; set minimum Z for Delta Printer

      ; Endstops
      M574 X2 S1 P"!xstop" ; configure active-low endstop for high end on X via pin xstop
      M574 Y2 S1 P"!ystop" ; configure active-low endstop for high end on Y via pin ystop
      M574 Z2 S1 P"!zstop" ; configure active-low endstop for high end on Z via pin zstop
      M574 U2 S1 P"exp.E2_STOP" ; configure active-low endstop for high end on Z via pin zstop (configured this pin for a Spool Rewind dummy endstop. Can use XYZ endstop as well with +)

      ; Z-Probe
      M558 P5 C"^!zprobe.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds (P5 selects switch for bed probing between the In/Gnd pins of the Z-probe connector) (Defualt H5 F120)
      ;M558 H30 ;*** Remove this line after delta calibration has been done and new delta parameters have been saved with M500
      G31 P500 X0 Y0 Z-9.0 ; set Z probe trigger value, offset and trigger height (Default Z=-6.5)
      M557 R30 S10 ; define mesh grid
      M208 S1 Z-2.5 ; allow movement down to Z=-2.5

      ; Heaters
      M308 S0 P"bedtemp" A"Bed Temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp
      M308 S1 P"e0temp" A"Deposition Head" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp
      M308 S2 P"e1temp" A"Power 1" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp
      M308 S3 P"exp.thermistor3" A"Power 2" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp
      M308 S4 P"exp.thermistor4" A"Power 3" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp
      M308 S5 P"exp.thermistor5" A"Stepper X" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp
      M308 S6 P"exp.thermistor6" A"Y Axis SMA AG" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp
      M308 S7 P"^exp.thermistor7" A"X Axis SMA Ceramic" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp

      ; Fans
      M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
      M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
      M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
      M106 P1 S0 H-1 ; set fan 1 value. Thermostatic control is turned off
      M950 F2 C"!fan2" Q100 ; create fan 2 on pin fan2 and set its frequency
      M106 P2 C"Power Power" S0 H-1 B0.05 ; set fan 2 name and value. Thermostatic control is turned off. Blip time is set at .05sec full PWM (0.1 sec is default if field is empty).

      ; Expansion Pins
      M950 P2 C"spi.cs2" ; Auto or not for E0 controller. Set by M42 P1 S0 or S1 in macros

      ; Tools
      M563 P0 S"Deposition Head" D0 F-1 ; define tool 0
      G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
      G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C

      ; Miscellaneous
      T0 ; select tool 0

      ; Custom settings
      M302 P1 ; allow cold extrusion
      M42 P1 S50 ; turn on chamber light
      M501 ; Loads saved (M500) values at startup (calibration etc.) and overrides any similar commands earlier in config.g

      ; Power Enable/Disable Safety Relay - Expansion GPIO (0-9 pins available on Heater/Fan pins)
      M950 P0 C"exp.heater5" ; Expansion connector pin 18
      M42 P0 S0 ; Disable Powers - DC/SSR
      M950 P1 C"exp.heater6" ; Expansion connector pin 23
      M42 P1 S0 ; Deposition Signal OFF - AC/SSR
      M950 P6 C"exp.heater7" ; Expansion connector pin 31
      M42 P6 S0 ; Turns On the Aux. (Full Power is 0, Off is 255)
      M950 P5 C"exp.heater4" ; Expansion connector pin 13
      M42 P5 S0 ; Turns Shield Gas OFF (Full Power is 255, Off is 0)
      M950 J7 C"exp.heater3" ; Expansion connector pin 8
      M42 P7 S1 ; Senses conductivity between wire and bed/part
      ; M581 P"exp.heater3" T2 C1

      posted in Tuning and tweaking
      code7undefined
      code7
    • RE: Sent Gcode commands not going away in DWC console

      @fcwilt
      @Phaedrux

      I use the DWC console to send a lot of different commands. Is there anyone else that thinks this suggested update above would be helpful so we don't need to delete every command we send prior to sending a new command?

      posted in Duet Web Control
      code7undefined
      code7
    • RE: How to run a macro after resume.g

      @deckingman @fcwilt

      That was a simple fix. Thanks guys.

      posted in General Discussion
      code7undefined
      code7
    • RE: M221 - Request for help for proper extruder drive mapping DWC

      @Phaedrux @deckingman

      Thanks for both of your suggestions. I have implemented all of your suggestions but am still having this problem. I would like to be able to map the DWC Extruder to E10 but don't see that this as an option and wonder if this possible? Danal (God bless him) helped me design a custom extruder circuit that runs off of E10.

      posted in Tuning and tweaking
      code7undefined
      code7
    • RE: Sent Gcode commands not going away in DWC console

      @Phaedrux
      @fcwilt said in Sent Gcode commands not going away in DWC console:

      I am seeing something different in firmware 3.3.
      When in click on the command line of the DWC Console any existing command is selected and any new command typed in replaces what was there.

      This only happens the first time you click into the command console. If you send a second command in the console it does not behave this way. I vote with Phaedrux.

      "I wouldn't mind if it had an option to behave more like a command line terminal where after you press enter the command is sent and disappears and then you can press up arrow to cycle through previous command history. That's just my muscle memory. I do find it annoying to have to constantly delete the previous command to type something new."

      posted in Duet Web Control
      code7undefined
      code7

    Latest posts made by code7

    • RE: 1XD Closed Loop Servo Setup

      @alankilian I sure appreciate your help on this. Thanks

      posted in Duet Hardware and wiring
      code7undefined
      code7
    • RE: 1XD Closed Loop Servo Setup

      @coseng said in 1XD Closed Loop Servo Setup:

      They

      Thanks - I'll keep this in mind for future projects.

      posted in Duet Hardware and wiring
      code7undefined
      code7
    • RE: 1XD Closed Loop Servo Setup

      @alankilian Thanks for the update. Is there any other straightforward way to test the LeadShine encoder on the Duet2 or would you need a Duet3?

      posted in Duet Hardware and wiring
      code7undefined
      code7
    • RE: C290 With Duet lapse

      @stuartofmt Thanks for your recommendations. I actually found another camera that worked instead.

      posted in Third-party software
      code7undefined
      code7
    • RE: C290 With Duet lapse

      @stuartofmt I am receiving this error message while testing to see if the USB camera will work with DuetLapse3. Does this response mean the camera is not compatible or might I be overlooking something else?

      pi@duet3:~/DuetLapse3 $ fswebcam image.jpg
      --- Opening /dev/video0...
      Trying source module v4l2...
      Error opening device: /dev/video0
      open: Permission denied
      Trying source module v4l1...
      Error opening device: /dev/video0
      open: Permission denied
      Unable to find a source module that can read /dev/video0.
      
      posted in Third-party software
      code7undefined
      code7
    • RE: 1XD Closed Loop Servo Setup

      That's really kind @alankilian. I'll let you know if I decide to try this again.

      posted in Duet Hardware and wiring
      code7undefined
      code7
    • RE: How to run a gcode loop X times

      @cosmowave Thanks. Much simpler than I expected. This works in the print file.

      posted in Gcode meta commands
      code7undefined
      code7
    • RE: 1XD Closed Loop Servo Setup

      @alankilian Thanks for double checking. Everything is connected properly.

      With everything connected or disconnected I am still receiving the blinking green light with no errors. I'm going to try a simpler motor/driver for now and I may come back to the Leadshine system later.

      @shauncro Thanks for the details. I tested your config.g and servo driver settings with my Leadshine setup and am not getting any movement. If I come back to this setup and have success I'll let you know.

      posted in Duet Hardware and wiring
      code7undefined
      code7
    • RE: Adding a Cpap blower to a duet 3 mini 5+

      @ratrig0331 Great use of an old cpap machine👍

      posted in Duet Hardware and wiring
      code7undefined
      code7
    • How to run a gcode loop X times

      Can someone give me a suggestion on a code statement that I can use to run a gcode loop X number of times?

      posted in Gcode meta commands
      code7undefined
      code7