Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. The_Mechanic
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 13
    • Best 0
    • Controversial 0
    • Groups 0

    The_Mechanic

    @The_Mechanic

    0
    Reputation
    1
    Profile views
    13
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Darmstadt - Germany

    The_Mechanic Unfollow Follow

    Latest posts made by The_Mechanic

    • RE: Change feed rate during Z homing

      @dc42
      Thank you very much!
      It works like you pointed out and how it wanted it to behave.

      But: one issue solved, another appeared...
      When I'm doing a G29 before the print I'm having the same settings for those probings, which take nearly 4 times longer.

      Is the solution to use
      M558 K0 P5 C"^io6.in" H2 F1000 T9000 A1 S0 before the G29?

      posted in Tuning and tweaking
      The_Mechanicundefined
      The_Mechanic
    • RE: Change feed rate during Z homing

      @dc42
      I nearly created a thread to ask for a solution like @deckingman and your post made me really happy!

      I applied this method to my routine but it doesn't work like intended.
      Where do I've the issue?

      I'm using a Klicky probe on my Voron Switchwire and I want to make a fast probe to get down to the surface, afterwards I want to do three slow and accurate probes.

      Here's my config and homez file

      Would be really grateful for some tips or hints!

      config.g

      ; Configuration file for Duet 3 Mini 5+ (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; General preferences
      M111 S0
      M575 P1 S1 B57600                                         ; enable support for PanelDue 
      G21
      G90                                                   	  ; send absolute coordinates...
      M83                                                   	  ; ...but relative extruder moves
      M550 P"Voron Switchwire"                                  ; set printer name
      M669 K2 X-1:0:-1 Z-1:0:1
      
      ; Network
      M552 S1                                               	  ; enable network
      M586 P0 S1                                            	  ; enable HTTP
      M586 P1 S0                                            	  ; disable FTP
      M586 P2 S0                                           	  ; disable Telnet
      
      ; Drives
      M569 P0.0 S0 D3	V0		
      M569 P0.1 S0 D3 V0                                 	  	  ; physical drive 0.1 goes forwards
      M569 P0.2 S1 D3 V0                                  	  ; physical drive 0.2 goes forwards
      M569 P20.0 S1 D3 V0                                       ; physical drive 0.3 goes forwards
      M584 X0.0 Y0.2 Z0.1 E20.0                    	          ; set drive mapping
      M350 X16 Y16 Z16 E16 I1                              	  ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z80.00 		               			  ; set steps per mm
      M92 E741.075
      M566 X600.00 Y600.00 Z1000.00 E1200.00              	  ; set maximum instantaneous speed changes (mm/min)
      M203 X30000.00 Y30000.00 Z30000.00 E10000.00              ; set maximum speeds (mm/min)
      M201 X5000.00 Y5000.00 Z5000.00 E30000.00                 ; set max accelerations (mm/s^2)
      M906 X1200 Y1700 Z1200 E650 I30                        	  ; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                               	  ; Set idle timeout
      
      ; Axis Limits
      M208 X0 Y-8 Z0 S1                             			  ; set axis minima
      M208 X250 Y210 Z205 S0                         			  ; set axis maxima
      
      ; Axis compensation
      ;M556 S50 X0.10
      ;M579 X1.001717
      
      ; Endstops
      M574 X1 S4                                    			  ; configure sensorless endstop for low end on X
      M574 Z1 S2                                   			  ; configure sensorless endstop for high end on Z 
      M574 Y2 S1 P"io5.in"                                      ; configure active-high endstop for low end on Y via pin io5.in
      
      ; Z-Probe
      M558 K0 P5 C"^io6.in" H2 F4000 T9000 A1 S0.02   		  ; set Z probe type to unmodulated and the dive height + speeds
      M558 K1 P5 C"^io6.in" H2 F100 T9000 A3 S0.01   			  ; set Z probe for a second and more accurate G30
      G31 P5 X0 Y25                               			  ; set Z probe trigger value, offset and trigger height
      G31 Z6.20
      
      ;Mesh grid
      M557 X15:231 Y25:210 P7:7                        		  ; define mesh grid
      
      ; Heaters
      M308 S0 P"temp0" Y"thermistor" T100000 B3988              ; configure sensor 0 as thermistor on pin temp0
      M950 H0 C"out0" T0                                        ; create bed heater output on out0 and map it to sensor 0
      M307 H0 R0.274 K0.241:0.000 D12.01 E1.35 S1.00
      M140 H0                                                   ; map heated bed to heater 0
      M143 H0 S120                                              ; set temperature limit for heater 0 to 120C
      M308 S1 P"20.temp0" Y"thermistor" T100000 B4725 C7.06e-8  ; configure sensor 1 as thermistor on pin 121.temp0
      M950 H1 C"20.out0" T1                                     ; create nozzle heater output on 121.out0 and map it to sensor 1
      M307 H1 B0 S1.00                                          ; disable bang-bang mode for heater  and set PWM limit
      M143 H1 S295                                              ; set temperature limit for heater 1 to 295C 
      
      ; Fans
      M950 F0 C"20.out1" Q5000                                  ; create fan 0 on pin out3 and set its frequency
      M106 P0 C"Part cooling"                           	      ; set fan 0 name and value. Thermostatic control is turned on
      M950 F1 C"20.out2" Q5000                    	          ; create fan 1 on pin out2 and set its frequency, and tacho output on out2.tach
      M106 P1 S1 H1 T50                                         ; set fan 1 value. Thermostatic control is turned on
      
      ; Tools
      M563 P0 D0 H1 F0                              	    	  ; 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
      M950 S0 C"out6"						  	    			  ; assign GPIO port 0 to heater3 on expansion connector, servo mode
      M280 P0 S154
      T0                                                 	      ; select first tool
      M150 X3
      M98 P"/macros/neopixel/startup.g"
      
      ;; Global variables
      M98 P"/macros/startup/set_globals.g"
      
      ; After startup
      M98 P"/macros/startup.g"							 	  ;tone after config file was completely executed
      
      
      

      homez.g

      ; Z-Home
      M564 H0
      G91                									  	 ; relative mode
      G1 Z10 F2000     										 ; raise head 4mm to ensure it is above the Z probe trigger height
      M564 H1
      M98 P"/macros/zprobe/loadclicky.g"						 ; call macro to load the Klicky probe
      M400													 ; Wait for current moves to finish
      G90                									     ; back to absolute mode
      G1 H0 X125 F10000 										 ; put head over the x-axis centre of the bed, or wherever you want to probe
      G1 H0 Y90 F10000										 ; put head over the y-axis centre of the bed, or wherever you want to probe
      ;M558 P5 C"^io6.in" H2 F4000 T9000 A1 S0.02   			 ; set Z probe type to unmodulated and the dive height + speeds
      G30 K0               	 									 ; lower head, stop when probe triggered and set Z to trigger height
      ;G4 P500
      M400
      G1 Z5 F1000
      G30 K1
      ;M558 P5 C"^io6.in" H2 F100 T9000 A3 S0.01   			 ; set Z probe for a second and more accurate G30
      G91
      G1 Z15 F1000
      M98 P"/macros/zprobe/unloadclicky.g"					 ; call macro to unload the Klicky probe
      G90
      G1 X0 Y0 F10000
      M558 P5 C"^io6.in" H2 F500 T9000 A1 S0.01   			 ; set Z probe to standard back
      M564 S1
      
      posted in Tuning and tweaking
      The_Mechanicundefined
      The_Mechanic
    • RE: Non Duet Hardware with RRF ?

      @pixelpieper
      Are there any news on your project or is it possible to continue working on it (if you may share the files)?
      I really like your approach and want to use is for my Voron Switchwire.

      posted in Duet Hardware and wiring
      The_Mechanicundefined
      The_Mechanic
    • RE: Another BLTouch Topic

      I've found something interesting.
      @JoergS5 gave me a hint.

      My DueX2 is a version 0.8 and when I read the features section from the DueX2 and DueX5 I see this:

      Duex 2 v0.8 and older

      2 additional TMC2660 stepper motor drivers with stall notification.
      2 additional extruder heater outputs.
      2 servo outputs with 5V power and 5V signal levels, sharing control channels with the heaters. So you can use unused heater channels to drive servos.
      2 additional endstop inputs with indicator LEDs and 3.3V/5V voltage selection. These are also usable as outputs.
      6 additional PWM controlled fan outputs*, also usable for driving LEDs etc. The output voltage may be switched between 5V, 12V and VIN .
      4 uncommitted general purpose I/O pins.
      12V switching regulator, for generating a 12V supply for fans, LEDs etc. when the VIN power is higher than 12V.
      2 additional thermistor inputs.
      Support for 2 more thermocouple or PT100 daughter boards, supporting up to 4 more sensors.
      Optional 5V external power input for powering servos, fans etc.
      

      Duex 2 v0.8a and newer

      2 additional TMC2660 stepper motor drivers with stall notification.
      5 additional extruder heater outputs.
      5 servo outputs with 5V power and 5V signal levels, sharing control channels with the heaters. So you can use unused heater channels to drive servos.
      5 additional endstop inputs with indicator LEDs and 3.3V/5V voltage selection. These are also usable as outputs.
      6 additional PWM controlled fan outputs, also usable for driving LEDs etc. The output voltage may be switched between 5V, 12V and VIN .
      4 uncommitted general purpose I/O pins.
      12V switching regulator, for generating a 12V supply for fans, LEDs etc. when the VIN power is higher than 12V.
      5 additional thermistor inputs.
      Support for 2 more thermocouple or PT100 daughter boards, supporting up to 4 more sensors.
      Optional 5V external power input for powering servos, fans etc.
      

      Now the crazy part. I have a 0.8 and not a 0.8a but I can use the servo ports 1-3. This is really strange and does not apply to any logic.

      @dc42
      May you could tell me where I'm wrong or misunderstand something?

      posted in Duet Hardware and wiring
      The_Mechanicundefined
      The_Mechanic
    • RE: Another BLTouch Topic

      @JoergS5
      Your're right. Thats wirtten on the board but it's a DueX2.

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.1 running on Duet WiFi 1.02 or later + DueX2
      Board ID: 08DDM-9FAM2-LW4S4-6JTD6-3SJ6L-1LVRY
      Used output buffers: 3 of 24 (23 max)

      I think thats because they share the same shematic.

      posted in Duet Hardware and wiring
      The_Mechanicundefined
      The_Mechanic
    • RE: Another BLTouch Topic

      @JoergS5
      Don't get me wrong. It's a DueX2. I've read through these two boards and the only differences are the three TMC2660 that are not soldered. Am I right?

      I'm using the expansion board only because of my three z-axis, the BLTouch and two fans, that's all. 😕

      posted in Duet Hardware and wiring
      The_Mechanicundefined
      The_Mechanic
    • RE: Another BLTouch Topic

      @JoergS5
      Thanks for that hint. This was a prolem I had in the past. But actually all ports do get 5V.
      There must be something else wrong.

      posted in Duet Hardware and wiring
      The_Mechanicundefined
      The_Mechanic
    • RE: Another BLTouch Topic

      @Phaedrux
      I've sent M280 P2 S120 (BLTouch self test) through the console.
      I don't change the P2 in my M280 command because the only change must be done in the config.g for the PWM port.

      M950 S2 C"duex.pwm4" (I've changed the '.pwm to .pwm2, 3, 4 etc.)

      It works on the other ports.

      The strange thing about these two PWM ports is that they have 5V (4.881 V measured with a multimeter).

      There must be something wrong with the PWM signal.

      posted in Duet Hardware and wiring
      The_Mechanicundefined
      The_Mechanic
    • RE: Another BLTouch Topic

      I've some news about my problem.
      As @Phaedrux told me I've changed the PWM port to the first one on the DueX2 and it works since then.
      Meanwhile I've updated to RRF 3. After I've set the config like the older one with RRF 2 it works again.

      Now I've thought why not testing it again, maybe it was a firmware problem?!

      Here are the line out of my config.g

      M950 S0 C"duex.pwm1" ; create servo pin 0 for BLTouch
      M950 S2 C"duex.pwm4" ; create servo pin 0 for BLTouch

      I've two BLTouch's for testing. The first one works since the workaround and also on RRF 3.
      After another test with PWM port 4 and 5 I come to the conclusion that it must be a hardware problem. PWM port 4 and 5 do not work.

      There is nothing in the config-override.g that could occupy the ports.

      Here's also a picture of my DueX2.
      IMG_20200613_200437.jpg

      Has someone a idea?

      The workaround from @Phaedrux does work and solves the problem for me so this topic can be marked as solved.

      posted in Duet Hardware and wiring
      The_Mechanicundefined
      The_Mechanic
    • RE: Another BLTouch Topic

      @Phaedrux

      That's really strange. I've tested (like you told me) the first PWM port (PWM3) and it works. It works also with the PWM4. What makes me curious is that it doesn't work with PWM7.

      If I don't change the config and only unplug the DueX2 and connect the BLTouch directly to the pin PWM7 on the connector it works (inverting the signal is necessary).

      Isn't it strange? 😕

      For now it solves my problem, but I wan't to understand it and also to help others with this problem.

      In first place I've to thank you very much Phaedrux! Great tip!

      posted in Duet Hardware and wiring
      The_Mechanicundefined
      The_Mechanic