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

    Greg_the_maker

    @Greg_the_maker

    1
    Reputation
    4
    Profile views
    14
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Greg_the_maker Unfollow Follow

    Best posts made by Greg_the_maker

    • Manual Mesh Leveling.

      Hi,

      I can't seem to figure out how to get the machine to run a multi-point manual mesh leveling like you can do with marlin.

      Whatever I do it always seems to run automatically and either crashes the head, or just pretends it has been triggered.

      This is my bed.g code…
      [c]; bed.g
      ; called to perform automatic bed compensation via G32
      ;
      ; generated by RepRapFirmware Configuration Tool on Fri May 12 2017 11:12:14 GMT+0100 (GMT Daylight Time)

      ; Clear any bed transform
      M561

      ; Home all axes
      G28

      ; Probe the bed at 5 points
      G30 P0 X25 Y25 H0 Z-99999
      G30 P1 X25 Y265 H0 Z-99999
      G30 P2 X175 Y265 H0 Z-99999
      G30 P3 X175 Y25 H0 Z-99999
      G30 P4 X100 Y100 H0 Z-99999 S[/c]

      extract from config.g
      [c]; Endstops
      M574 X2 Y2 Z2 S1 ; Define active high microswitches
      M558 P0 X0 Y0 Z0.5 H5 F120 T5000 ;
      G31 P600 X0 Y0 Z186 ; Set Z probe trigger value, offset and trigger height

      ; Mesh Leveling Grid
      M557 X25:175 Y25:265 S30
      [/c]

      All axis home to their MAX value. There is no probe on the hotend and only an endstop on Z+. From my understanding of things I should be able to manually jog the bed up and down to get the right numbers at each of the points. What am I missing?

      posted in Duet Hardware and wiring
      Greg_the_makerundefined
      Greg_the_maker

    Latest posts made by Greg_the_maker

    • RE: Duet 3 beta 3.4.0 b3 | Unable to setup Endstop on toolboard.

      @t3p3tony 3.4.0.b4

      @dc42 ok, i shall rewire and set the z probe / endstop to io.1

      posted in Firmware installation
      Greg_the_makerundefined
      Greg_the_maker
    • RE: Duet 3 beta 3.4.0 b3 | Unable to setup Endstop on toolboard.

      @jay_s_uk

      I think something very odd is going on.

      Even with no M558, and nothing being assigned to use the pin, I can't assign anything to that pin.

      3d81dc34-050b-4e7a-bef3-8f0fd9552bad-image.png

      posted in Firmware installation
      Greg_the_makerundefined
      Greg_the_maker
    • RE: Duet 3 beta 3.4.0 b3 | Unable to setup Endstop on toolboard.

      @T3P3Tony

      yes, even with M558 commented out.

      posted in Firmware installation
      Greg_the_makerundefined
      Greg_the_maker
    • Duet 3 beta 3.4.0 b3 | Unable to setup Endstop on toolboard.

      I have a toolboard configured as board 2 with three endstops in series, X, Y & Z. I have the Z probe set to use the same endstop. The z-probe can be seen to trigger in DWC when a switch is pressed.

      However, when issuing M574 X1 P"2.io0.in" S1 i get an error telling me the pin isn't free.

      Error: M574: Pin 2.io0.in is not free

      This happens even when the z-probe is not setup with M558 P8 C"2.io0.in" H3 F360 I0 T20000

      I have been unable to find out why. I have a similar setup using X & Y endstops on a single toolboard, and that seems to run just fine on a different machine.

      What am I doing wrong?

      ; General preferences
      G90                                          ; send absolute coordinates...
      M83                                          ; ...but relative extruder moves
      M550 P"Vogue"                         		 ; set printer name
      M667 S1										 ; Set CoreXY
      
      ; Drives
      M569 P0.0 S0                                 ; X
      M569 P0.1 S0                                 ; Y
      M569 P0.2 S0                                 ; T1
      M569 P0.3 S0                                 ; B
      M569 P0.4 S0                                 ; T0
      M569 P0.5 S1                                 ; Z
      
      M569 P1.0 S1                                 ; T3
      M569 P1.1 S0                                 ; T2
      M569 P1.2 S0                                 ;
      
      M569 P2.0 S0                                ; C
      
      M584 X0.0 Y0.1 Z0.5 E0.4:0.2:1.1:1.0 B0.3 C2.0   ; Drive mapping
      
      M350 E16:16:16 C16 I0 												; Configure microstepping without interpolation
      M350 X16 Y16 Z16 B16 I1												; Configure microstepping with interpolation
      M92 X100 Y100 Z800 B1600 C91.022 E396:396:396:396					; Set steps per mm
      M566 X100 Y100 Z50 C2 B200 E10:10:10:10								; Set maximum instantaneous speed changes (mm/min)
      M203 X35000 Y35000 Z4000 B3500 C5000 E5000:5000:5000:5000			; Set maximum speeds (mm/min)
      M201 X2000 Y2000 Z125 B500 C500 E1000:1000:1000:1000				; Set accelerations (mm/s^2)
      M906 X1800 Y1800 Z1330 B750 I30   									; Idle motion motors to 30%
      M906 E1330:1330:1330 C500 I10     									; Idle extruder motors to 10%
      
      ; Axis Limits
      M208 X0:350 Y0:300 Z0:300 B0:50 C0:360 S0 			; Set axis maxima & minima
      
      ; Endstops
      M574 B1 C1 S3 							 	; Set B C endstops to stall detection
      M574 X0 P"nil"                        
      M574 Y0 P"nil" 
      M574 Z0 P"nil" 
      
      ; Setup Z-Probe
      M558 P8 C"2.io0.in" H3 F360 I0 T20000 	; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
      G31 P200 X0 Y0 Z0	 					; Set Z probe trigger value, offset and trigger height
      M557 X10:290 Y20:180 S40 				; Define mesh grid
      
      ; Heaters
      M308 S0 A"Bed" P"temp0" Y"thermistor" T100000 B4725 C7.06e-8 	; configure sensor 0 as thermistor on pin temp0
      M950 H0 C"out3" T0                           				 	; create bed heater output on out2 and map it to sensor 0
      M143 H0 S250                                 				 	; set temperature limit for heater 0 to 250C
      M307 H0 B0 S1.00                             				 	; disable bang-bang mode for the bed heater and set PWM limit
      M140 H0                                      				 	; map heated bed to heater 0
      
      M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.06e-8 A"T0" 	; define E0 temperature sensor
      M950 H1 C"out1" T1												; Extruder 0 heater
      M143 H1 S305 													; Set temperature limit for heater 1 to 300C
      
      M308 S2 P"1.temp1" Y"thermistor" T100000 B4725 C7.06e-8 A"T1" 	; define E1 temperature sensor
      M950 H2 C"1.out1" T2											; Extruder 1 heater
      M143 H2 S305 													; Set temperature limit for heater 2 to 300C
      
      M308 S3 P"1.temp0" Y"thermistor" T100000 B4725 C7.06e-8 A"T2" 	; define E2 temperature sensor
      M950 H3 C"1.out2" T3											; Extruder 2 heater
      M143 H3 S305 													; Set temperature limit for heater 3 to 300C
      
      M308 S4 P"temp2" Y"thermistor" T100000 B4725 C7.06e-8 A"T3" 	; define E3 temperature sensor
      M950 H4 C"out2" T4												; Extruder 4 heater
      M143 H4 S305 													; Set temperature limit for heater 4 to 300C
      
      ; Fans
      M950 F0 C"out7"				; T0 Hotend Fan
      M950 F1 C"1.out7"			; T1 Hotend Fan
      M950 F2 C"out8"				; T3 Hotend Fan
      M950 F3 C"1.out8"			; T4 Hotend Fan
      
      M950 F4 C"out4"				; T0 Part Cooling Fan
      M950 F5 C"1.out4"			; T1 Part Cooling Fan
      M950 F6 C"out5"				; T3 Part Cooling Fan
      M950 F7 C"1.out5"			; T4 Part Cooling Fan
      
      M106 P0 T65 S255 H1			; T0 HotEnd Fan
      M106 P1 T65 S255 H2			; T2 HotEnd Fan
      M106 P2 T65 S255 H3			; T3 HotEnd Fan
      M106 P3 T65 S255 H4			; T4 HotEnd Fan
      
      M106 P4 S0					; T0 Part Cooling Fan
      M106 P5 S0					; T1 Part Cooling Fan
      M106 P6 S0					; T2 Part Cooling Fan
      M106 P7 S0					; T3 Part Cooling Fan
      
      ; Tools
      M563 P0 S"T0" D0 H1 F0 F4 				; Define tool 0
      G10 P0 X0 Y0 Z0 						; Reset tool 0 axis offsets
      G10 P0 R0 S0 							; Reset initial tool 0 active and standby temperatures to 0C
      
      M563 P1 S"T1" D1 H2 F1 F5				; Define tool 1
      G10 P1 X0 Y0 Z0 						; Reset tool 1 axis offsets
      G10 P1 R0 S0 							; Reset initial tool 1 active and standby temperatures to 0C
      
      M563 P2 S"T2" D2 H3 F2 F6				; Define tool 2
      G10 P2 X0 Y0 Z0 						; Reset tool 2 axis offsets
      G10 P2 R0 S0 							; Reset initial tool 2 active and standby temperatures to 0C
      
      M563 P3 S"T3" D3 H4 F3 F7				; Define tool 3
      G10 P3 X0 Y0 Z0 						; Reset tool 3 axis offsets
      G10 P3 R0 S0 							; Reset initial tool 3 active and standby temperatures to 0C
      
      ;Set Hotends to Standby
      T0 P0
      T1 P0
      T2 P0
      T3 P0
      T-1 P0
      
      ; Machine settings
      M501								; Load config-overide.g
      M575 P1 S1 B57600					; Enable LCD
      
      ; homex.g
      ; called to home the x axis
      
      ;Set Endstops
      M574 Y0 P"nil" 
      M574 Z0 P"nil" 
      M574 X1 P"2.io0.in" S1
      
      T-1					; deselect tool
      
      G91 				; Relative mode
      G1 H2 Z5 F5000		; Lower the bed
      
      G4 P50				; wait 50msec
      G1 H1 X-350 F5000	; Move X until the switch triggers (first pass)
      
      G4 P250				; wait 250msec
      G1 X5 F5000     	; go back a few mm
      
      G4 P250				; wait 250msec
      G1 H1 X-10 F300		; Move X until the switch triggers (second pass)
      
      G1 X1 F5000     	; go back a few mm
      
      G90					; Back to absolute positioning
      
      ;Release Endstops
      M574 X0 P"nil"                        
      M574 Y0 P"nil" 
      M574 Z0 P"nil" 
      
      posted in Firmware installation
      Greg_the_makerundefined
      Greg_the_maker
    • RE: [DSF Extension] Exec On MCode (was: Shutdown SBC)

      @wilriker Fantastic! Works exactly as desired. Have my upvote!

      posted in DSF Development
      Greg_the_makerundefined
      Greg_the_maker
    • RE: [DSF Extension] Exec On MCode (was: Shutdown SBC)

      @wilriker Ahh ok. was just a thought. would be a nice feature to have though πŸ˜‰

      posted in DSF Development
      Greg_the_makerundefined
      Greg_the_maker
    • RE: [DSF Extension] Exec On MCode (was: Shutdown SBC)

      Is tehre a way to get terminal messages displayed in the console?

      For example I need to see a list of usb devices with lsusb, is it possible to have that list returned as an M117 message or similar?

      posted in DSF Development
      Greg_the_makerundefined
      Greg_the_maker
    • RE: [DSF Extension] Exec On MCode (was: Shutdown SBC)

      thank you πŸ™‚

      posted in DSF Development
      Greg_the_makerundefined
      Greg_the_maker
    • RE: [DSF Extension] Exec On MCode (was: Shutdown SBC)

      What is it i need to be looking for?

      posted in DSF Development
      Greg_the_makerundefined
      Greg_the_maker
    • RE: [DSF Extension] Exec On MCode (was: Shutdown SBC)

      Hello,

      I'm a complete idiot when it comes to programming and I am finding the instructions a little vague. I feel I need some assistance please πŸ™‚

      The Installation is as follows.

      a3fd2a10-0826-4fe3-95d4-9a67debde466-image.png

      Download.

      Does this mean git clone? That's what I did anyway.

      Rename to just execonmcode

      Rename what? There are a load of .go files in the directory, do I rename one of those?

      chmod etc

      The rest of the install I can manage. I think.

      Thank you for your time.

      posted in DSF Development
      Greg_the_makerundefined
      Greg_the_maker