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

    RRF3 several issues

    Scheduled Pinned Locked Moved
    Firmware wishlist
    5
    7
    528
    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.
    • Cecilundefined
      Cecil
      last edited by Cecil

      Hi,

      Yesterday I started to modify my machine to RRF3. I found several issues during configuration.

      1.) Heater config
      In wiki are heater outputs listed as inverted, so I activated them through M950 as inverted... Few minutes after booting I started to smell plastic melting - temperature of hotend was according to thermistor >800C! No warning, nothing - even if I have had configured max temp for that heater to 300C. It looks like thermal runaway protection is not working.

      2.) Z homing with probe - I was used to do in RRF2 "G1 Z-215 F720 H1" to quickly go close to bed, after that raise a little bit and do G30. In RRF3 is probe not working as an endstop - or I am not able to configure it. Is it possible to use it in same way like in RRF2, or should I now just use G30 instead and wait for slow probing all the way down if gantry is all the way up?

      Board: Duet Maestro 1.0
      Firmware: RepRapFirmware for Duet 2 Maestro 3.0alpha (2019-08-21b2)

      My config.g and homez.g below 🙂

      ; Configuration file for Duet Maestro (firmware version 1.20 or newer)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool on Sun Jun 03 2018 17:10:41 GMT+0200 (Central Europe Daylight Time)
      
      ; General preferences
      G90                                                ; Send absolute coordinates...
      M83                                                ; ...but relative extruder moves
      
      ; Network
      M550 PMy printer                                   ; Set machine name
      M552 P192.168.1.32 S1                              ; Enable network and set IP address
      M553 P255.255.255.0                                ; Set netmask
      M554 P192.168.1.1                                  ; Set gateway
      M586 P0 S1                                         ; Enable HTTP
      M586 P1 S0                                         ; Disable FTP
      M586 P2 S0                                         ; Disable Telnet
      
      ; Drives
      M584 X0 Y1 Z2:4 E3 U5 V6			   ; U=filament chooser mmu, V=filament feeder mmu
      M671 X-40:290 Y0:0 S2 				   ; leadscews
      M569 P0 S1                                         ; Drive X goes forwards
      M569 P1 S1                                         ; Drive Y goes forwards
      M569 P2 S1                                         ; Drive Z goes forwards
      M569 P3 S0                                         ; Drive E goes backwards
      M569 P4 S1                                         ; Drive Z goes forwards
      M569 P5 S0					   ; Drive U goes backwards
      M569 P6 S1					   ; Drive V goes forwards
      M350 X16 Y16 Z16 E64 U32 V32 I1			   ; Microstepping with interpolation
      M92 X100 Y100 Z400 E579.5,579.5,579.5,579.5 U400 V400	; Set steps per mm
      M566 X300 Y300 Z60 E120 U60 V60                    ; Set maximum instantaneous speed changes (mm/min)
      M203 X12000 Y12000 Z720 E7200 U720 V720            ; Set maximum speeds (mm/min)
      M201 X1500 Y1500 Z200 E5000 U200 V200              ; Set accelerations (mm/s^2)
      M204 P1250 T2500				   ; Set printing and travel accelerations limit
      M906 X1000 Y1000 Z500 E700 I30                     ; Set motor currents (mA) and motor idle factor in per cent
      M84 S30                                            ; Set idle timeout
      
      ; Axis Limits
      M208 X0 Y-5 Z0 S1                                  ; Set axis minima
      M208 X250 Y210 Z210 S0                             ; Set axis maxima
      
      ; Endstops
      M574 X1 S0 P"xstop"				   ; X endstop low side
      M574 Y1 S0 P"ystop"                                ; Y endstop low side
      M574 U1 S0 P"e0stop"				   ; U endstop low side
      
      ; Z-Probe
      M574 Z0 P"nil"					   ; free Z endstop
      M574 Z1 S2 P"zprobe.in"                            ; Set endstop controlled by probe
      M558 P1 C"zprobe.in" I1 H0.3 A3 F300 T12000 S0.02  ; Set Z probe type to unmodulated and the dive height + speeds
      G31 P500 X25 Y-2.9 Z1.8                            ; Set Z probe trigger value, offset and trigger height
      M557 X30:228 Y5:203 S33                            ; Define mesh grid
      
      ; Heaters
      ;M305 P0 T100000 B4725 C0 R2200                    ; Set thermistor + ADC parameters for heater 0
      M308 S0 P"bedtemp" Y"thermistor" A"Bed temp" T100000 B4725 C0 R2200 ; Set thermistor + ADC parameters for heater 0
      M950 H0 C"bedheat" T0				   ; Create bed heater uninverted as heater 0 using thermistor 0
      M143 H0 S120                                       ; Set temperature limit for heater 0 to 120C
      ;M305 P1 T98130 B4000 R2200                        ; Set thermistor + ADC parameters for heater 1
      M308 S1 P"e0temp" Y"thermistor" A"Extruder temp" T98130 B4000 R2200 ; Set thermistor + ADC parameters for heater 1
      M950 H1 C"e0heat" T1				   ; Create hotend heater uninverted as heater 1 using thermistor 1
      M143 H1 S300                                       ; Set temperature limit for heater 1 to 300C
      
      ; Fans
      M106 P0 S0 H-1                             	   ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P1 S0 H-1                             	   ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P2 S0 H-1                             	   ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off
      
      ; Tools
      M563 P0 D0 H1                                      ; 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
      
      ; Automatic power saving
      M911 S20.0 R30.0 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss
      
      ; Pressure advance
      M572 D0 S0.15
      
      ;Extruder ehater PID
      M307 H1 A1049 C299.5 D8.1 B0 S0.5
      
      ;Bed heater PID
      M307 H0 A119.8 C480.4 D8.5 V23.9 B0
      
      ;extruder non-linearity
      M592 D0 A-0.004104 B0.003347
      
      ;initialize display
      M918 P1
      
      ;filament sensor
      M591 P1 C"zstop" S1
      
      ;filament sensor at mmu
      M581 P"e1stop" T2 C0
      
      ;servo at mmu
      M950 S0 C"servo"
      
      ; homez.g
      ; called to home the Z axis
      ;
      ; generated by RepRapFirmware Configuration Tool on Sun Jun 03 2018 17:10:41 GMT+0200 (Central Europe Daylight Time)
      G91               ; relative positioning
      G1 Z5 F6000 H2    ; lift Z relative to current position
      G90               ; absolute positioning
      G1 X5 Y7.9 F6000 ; go to first probe point
      G91               ; relative positioning
      ;G1 Z-215 F720 H1 ; move quickly to Z axis endstop and stop there (first pass)
      ;G1 Z2 F720       ; go back a few mm
      G90               ; absolute positioning
      G30               ; home Z by probing the bed
      
      ; Uncomment the following lines to lift Z after probing
      ;G90              ; relative positioning
      ;G1 Z2 F900 S2    ; lift Z relative to current position
      
      JoergS5undefined dc42undefined 2 Replies Last reply Reply Quote 0
      • Cecilundefined
        Cecil
        last edited by

        Today I have made test so I configured it throu console as inverted to see what will happen after going above 300C...
        Heater above 300C

        1 Reply Last reply Reply Quote 0
        • JoergS5undefined
          JoergS5 @Cecil
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators @Cecil
            last edited by dc42

            @cecil said in RRF3 several issues:

            In wiki are heater outputs listed as inverted, so I activated them through M950 as inverted... Few minutes after booting I started to smell plastic melting - temperature of hotend was according to thermistor >800C! No warning, nothing - even if I have had configured max temp for that heater to 300C. It looks like thermal runaway protection is not working.

            The ! character means invert the usual sense. The additional heater outputs on the expansion connector are active low, so if you were using one of those as GPIO and wanted an active high output, then you would use the ! character to specify inversion in firmware. Thermal runaway protection can't work if the heater is on when the firmware is commanding it it to be off. Is there a particular part of the documentation that you feel misled you into using the ! character?

            @cecil said in RRF3 several issues:

            Z homing with probe - I was used to do in RRF2 "G1 Z-215 F720 H1" to quickly go close to bed, after that raise a little bit and do G30. In RRF3 is probe not working as an endstop - or I am not able to configure it. Is it possible to use it in same way like in RRF2, or should I now just use G30 instead and wait for slow probing all the way down if gantry is all the way up?

            It has always been incorrect to treat the Z probe as an endstop. You can use the M558 F parameter to change the probing speed, and thereby do fast-then-slow probing.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            gtj0undefined Cecilundefined 2 Replies Last reply Reply Quote 0
            • gtj0undefined
              gtj0 @dc42
              last edited by gtj0

              @dc42 said in RRF3 several issues:

              Is there a particular part of the documentation that you feel misled you into using the ! character?

              The example for pin names shows the !. I thought that was odd.

              https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_Pin_names_for_Duet_2_WiFi_Ethernet

              Pin names for Duet 2 WiFi/Ethernet
              
              Multiple names on a line are aliases for a single pin. An exclamation mark before the pin name
              means that there is inversion between the processor and the corresponding output, and that
              RRF3 will automatically allow for this inversion.
              
              // Duet 2 and DueX heater outputs
              
              !bedheat
              !e0heat
              !e1heat
              
              1 Reply Last reply Reply Quote 0
              • Cecilundefined
                Cecil @dc42
                last edited by

                @dc42 said in RRF3 several issues:

                The ! character means invert the usual sense. The additional heater outputs on the expansion connector are active low, so if you were using one of those as GPIO and wanted an active high output, then you would use the ! character to specify inversion in firmware. Thermal runaway protection can't work if the heater is on when the firmware is commanding it it to be off. Is there a particular part of the documentation that you feel misled you into using the ! character?

                In section "Pin names" in wiki post to RRF3 are all pin names listed without explanation mark but heaters are with. I was misled by it. I thought I should use it by default as it is stated in that list.
                Now I know my extruder will survive thermal abuse. Who have extruder which can handle 800C? 😄

                It has always been incorrect to treat the Z probe as an endstop. You can use the M558 F parameter to change the probing speed, and thereby do fast-then-slow probing.

                You mean something like changing M558 parameters on the fly during homing? That can work! Thanks

                deckingmanundefined 1 Reply Last reply Reply Quote 0
                • deckingmanundefined
                  deckingman @Cecil
                  last edited by

                  @cecil said in RRF3 several issues:

                  You mean something like changing M558 parameters on the fly during homing? That can work! Thanks

                  Exactly so. For info, this is an extract from one of my homing macros...........

                  ;change to faster probing speed
                  M558 F450
                  G30 ; FAST home Z using values from G31

                  G91 ;relative
                  G1 Z5 F300 ; lower bed 5mm
                  G90 ;absolute

                  ;change back to slower probing speed
                  M558 F180
                  G30 ; SLOW home Z

                  Ian
                  https://somei3deas.wordpress.com/
                  https://www.youtube.com/@deckingman

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