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

    Extruder feed just 0/1

    Scheduled Pinned Locked Moved
    General Discussion
    4
    15
    522
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      I think https://duet3d.dozuki.com/Wiki/Gcode#Section_M571_Set_output_on_extrude should meet your needs.

      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

      CedricEundefined 1 Reply Last reply Reply Quote 1
      • CedricEundefined
        CedricE
        last edited by

        @Veti said in Extruder feed just 0/1:

        maybe you are looking for CNC mode?

        https://duet3d.dozuki.com/Wiki/Configuring_RepRapFirmware_for_a_CNC_machine

        Maybe I'm looking for this, I don't know 🤪 but I'll check it, Thank you!

        1 Reply Last reply Reply Quote 0
        • CedricEundefined
          CedricE @dc42
          last edited by

          @dc42 said in Extruder feed just 0/1:

          I think https://duet3d.dozuki.com/Wiki/Gcode#Section_M571_Set_output_on_extrude should meet your needs.

          I think that's it, thank you very much! 😊 I'll try it tomorrow!

          Are there a few words you can say about

          • how to know which pin is which number? In pin out grafic I can't see this, right?

          • which pins I could use? When I take a look to pin out, I'd say there are only the pwm fan output usable? Or are there some more?

          Thank you!

          1 Reply Last reply Reply Quote 0
          • CedricEundefined
            CedricE
            last edited by

            I love this board for its perfect documentation!

            https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins#Section_Logical_pin_numbers

            1 Reply Last reply Reply Quote 0
            • CedricEundefined
              CedricE
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • CedricEundefined
                CedricE
                last edited by

                Hey together,

                that wasn't succesful today...

                I don't get a clear signal out of the board, and I can't find a mistake... Maybe I don't see something or do something wrong?

                I try to geht 0/1 out on pin 64...

                Like this:

                ; Configuration file for Duet WiFi (firmware version 1.21)
                ; executed by the firmware on start-up
                ;
                ; generated by RepRapFirmware Configuration Tool v3.1.10 on Sat Dec 12 2020 14:09:27 GMT+0100 (Mitteleuropäische Normalzeit)
                
                ; General preferences
                G90                            ; send absolute coordinates...
                M83                            ; ...but relative extruder moves
                M550 P"My Printer"             ; set printer name
                
                M575 P1 B57600 S1 ;Set baud rate Duet Board.
                M575 P0 B57600 S1 ;Set baud rate USB
                
                ; Network
                M552 S1                        ; enable network
                M586 P0 S1                     ; enable HTTP
                
                ; Drives
                M569 P3 S1                     ; physical drive 3 goes forwards
                M569 P5 S0                     ; physical drive 5 goes backwards
                M569 P6 S0                     ; physical drive 6 goes backwards
                M569 P7 S1                     ; physical drive 7 goes forwards
                M569 P8 S0                     ; physical drive 8 goes backwards
                M584 X5:6 Y8 Z7 E3               ; set drive mapping
                M350 X1 Y1 Z16 I1            ; configure microstepping with interpolation
                M92 X160.00 Y160.00 Z160.00      ; set steps per mm
                M566 X900.00 Y900.00 Z60.00    ; set maximum instantaneous speed changes (mm/min)
                M203 X1000.00 Y2000.00 Z1000.00 ; set maximum speeds (mm/min)
                M201 X200.00 Y200.00 Z20.00    ; set accelerations (mm/s^2)
                
                M84 S30                        ; Set idle timeout
                
                ; Axis Limits
                M208 X0 Y0 Z0 S1               ; set axis minima
                M208 X900 Y1200 Z300 S0         ; set axis maxima
                
                ; Endstops
                
                M574 X1 Y1 Z1 S1                  ; set active high endstops
                
                ; Z-Probe
                M558 P0 H5 F120 T6000          ; disable Z probe but set dive height, probe speed and travel speed
                M557 X15:215 Y15:195 S20       ; define mesh grid
                
                ; Heaters
                M140 H-1                       ; disable heated bed
                
                ; Fans
                
                ; Tools
                M563 P0 D0 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
                
                ; Custom settings are not defined
                M571 P64 S1
                
                
                569 P3 S1                     ; physical drive 3 goes forwards
                

                is only for checking, if the extruder rotates, if I can get a signal

                ; Custom settings are not defined
                
                M571 P64 S1
                

                is that the right way to use M571?

                Im using this gcode

                ;FLAVOR:RepRap
                ;TIME:492
                ;Filament used: 2.23337m
                ;Layer height: 1
                ;MINX:313
                ;MINY:435.5
                ;MINZ:1
                ;MAXX:587
                ;MAXY:764.5
                ;MAXZ:2.564
                ;Generated with Cura_SteamEngine 4.6.2
                T0
                M82 ;absolute extrusion mode
                G28 ;Home
                G1 Z15.0 F6000 ;Move the torch high 15mm
                M83 ;relative extrusion mode
                G1 F1500 E-6.5
                
                
                ;LAYER_COUNT:2
                ;LAYER:0
                M107
                ;MESH:500x600x5.stl
                G0 F3000 X313.1 Y764.4 Z1
                ;TYPE:WALL-OUTER
                G1 F1500 E6.5
                G1 F900 X586.9 Y764.4 E115.145
                G1 X586.9 Y435.6 E138.27492
                G1 X313.1 Y435.6 E115.145
                G1 X313.1 Y764.4 E138.27492
                G0 F3000 X313.6 Y764.4
                G0 X313.6 Y764.5
                G0 X586.9 Y764.4
                G0 X586.9 Y764.5
                G1 F900 X313.1 Y764.5 E11.5145
                G1 X313 Y764.5 E0.02356
                G1 X313 Y764.4 E0.02356
                G1 X313 Y435.6 E13.82749
                G1 X313 Y435.5 E0.02356
                G1 X313.1 Y435.5 E0.02356
                G1 X586.9 Y435.5 E11.5145
                G1 X587 Y435.5 E0.02356
                G1 X587 Y435.6 E0.02356
                G1 X587 Y764.4 E13.82749
                G1 X587 Y764.5 E0.02356
                G1 X586.9 Y764.5 E0.02356
                G0 F3000 X586.4 Y764.5
                ;MESH:NONMESH
                G0 F600 X586.4 Y764.5 Z2
                G0 F3000 X586.4 Y764.4
                G0 X313.07 Y764.43
                G0 X313 Y764.5
                ;TIME_ELAPSED:189.624310
                ;LAYER:1
                M106 S255
                ;TYPE:WALL-OUTER
                ;MESH:500x600x5.stl
                G1 F900 X313 Y435.5 E138.35903
                G1 X587 Y435.5 E115.2291
                G1 X587 Y764.5 E138.35903
                G1 X313 Y764.5 E115.2291
                G0 F3000 X313.1 Y764.4
                G1 F900 X586.9 Y764.4 E115.145
                G1 X586.9 Y435.6 E138.27492
                G1 X313.1 Y435.6 E115.145
                G1 X313.1 Y764.4 E138.27492
                G0 F3000 X313 Y764.5
                G1 F900 X313 Y435.5 Z2.154 E138.35905
                G1 X587 Y435.5 Z2.282 E115.22912
                G1 X587 Y764.5 Z2.436 E138.35905
                G1 X313 Y764.5 Z2.564 E115.22912
                G1 X313 Y435.5 E96.85132
                G1 X587 Y435.5 E57.61455
                G1 X587 Y764.5
                ;TIME_ELAPSED:492.924824
                G1 F1500 E-6.5
                M82 ;absolute extrusion mode
                M107
                M84
                M83 ;relative extrusion mode
                
                

                Which voltage I would measure, if it would work? 3.3V right?

                I tried using pin 20 before, like here https://forum.duet3d.com/topic/7822/m571-to-turn-on-fan-0-everytime-the-extruder-is-started/3 but I dont want to get a pwm signal. If i write

                M106 P0 I-1
                M571 P20  S1
                

                I'd get a constant signal, right? But it doesn't work, too...

                Or is writing M571 in config generally wrong? 😵

                Thank you and have a relaxed day!

                PS: wanted to correct some words and now its spaaam 😢

                1 Reply Last reply Reply Quote 1
                • Phaedruxundefined
                  Phaedrux Moderator
                  last edited by

                  Using pins gets a lot simpler with RRF3 and based on your config.g it looks like you're still using RRF2. Check your firmware version with M115.

                  If you still have access to DWC. Upload these 3 zip files, one at a time. Don't extract them. Reboot after each.
                  https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
                  https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
                  https://github.com/Duet3D/RepRapFirmware/releases/download/3.2/Duet2and3Firmware-3.2.zip
                  That will get your firmware and DWC up to date.
                  https://configtool.reprapfirmware.org/Start
                  For your config, might be a good idea to run through the configurator tool and generate a fresh set for RRF3.

                  You can learn about how pins are defined and named here:
                  https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_Pin_names

                  Z-Bot CoreXY Build | Thingiverse Profile

                  CedricEundefined 1 Reply Last reply Reply Quote 0
                  • CedricEundefined
                    CedricE @Phaedrux
                    last edited by CedricE

                    @Phaedrux

                    Thank you for showing me the way to make a safe update! I was a little bit scared to crash my system when i upload a wrong file from github 😕
                    but it worked perfectly!

                    I have now firmware version 3 and I understood the "new" pin names, but I dont have succes to get a signal with M571...

                    ; Custom settings are not defined
                    M950 P0 C"fan0"
                    M571 P"fan0" S1	
                    

                    this above doesn't work...

                    ; Custom settings are not defined
                    M950 P0 C"connsd.encsw"
                    M571 P"connsd.encsw" S1							
                    

                    ...doesn't work...

                    ; Custom settings are not defined
                    M950 P0 C"connsd.encsw"
                    M571 P"0" S1							
                    

                    ...doesn't work...

                    is it generally the right way to put M950 and M571 in the end of config.g?

                    Or should it be in the beginning of gcode?

                    I think I started print aboout 100 times now and I really don't now what to try now 😐

                    1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator
                      last edited by Phaedrux

                      M571 P0 S1 without the quotes around the 0 should work I think

                      Z-Bot CoreXY Build | Thingiverse Profile

                      CedricEundefined 1 Reply Last reply Reply Quote 0
                      • CedricEundefined
                        CedricE @Phaedrux
                        last edited by

                        @Phaedrux

                        Hey, not atm...

                        Only

                        M571 P"bedheat" S1
                        

                        is working.

                        But no problem, I ordered optocoupler now for 24v and get other pins working I'll try another time.

                        Thank you very much for your help!

                        1 Reply Last reply Reply Quote 0
                        • Phaedruxundefined
                          Phaedrux Moderator
                          last edited by

                          Ah sorry, when I was looking at it bleary eyed this morning I mistook the command.

                          https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M571_Set_output_on_extrude

                          Z-Bot CoreXY Build | Thingiverse Profile

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