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

    Unknown Pin Name

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    12
    269
    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.
    • Proschi3Dundefined
      Proschi3D @Proschi3D
      last edited by Proschi3D

      ; Configuration file for Duet 3 Mini 5+ (firmware version 3.3)
      ; General preferences_____________________________________________________________________________________________
      M575 P1 S1 B57600                                         ; enable support for PanelDue
      G90                                                       ; send absolute coordinates...
      M83                                                       ; ...but relative extruder moves
      M550 P"Proschi 3D E2"                                        ; set printer name
      M552 S1                                                   ; enable network
      M586 P0 S1                                                ; enable HTTP
      M586 P1 S1                                                ; disable FTP
      M586 P2 S0                                              ; enable Telnet
      G4 S5
      ; Drives___________________________________________________________________________________________________________
      M569 P0.4 S0 D3 H50 V30                                          ; physical drive 0.0 goes forwards
      M915 P0.4 T50
      M569 P0.1 S1 D3 H45 V35                                           ; Y Achse physical drive 0.1 goes forwards
      M915 P0.1 T50
      M569 P0.2 S0 D3 H50 V30                                           ; physical drive 0.2 goes forwards
      M915 P0.2 T50
      M569 P0.3 S1 D3 H50 V30                                          ; physical drive 0.3 goes forwards
      M915 P0.3 T50
      M569 P0.0 S0 D3 H50 V30                                           ; physical drive 0.4 goes forwards
      M915 P0.0 T50
      M569 P11.0 S1                                           ; physical drive 0.5 goes forwards
      ;M569 P25.0 S0 D3 H50 V30                    ; physical drive 0.5 goes forwards
      M584 X0.4 Y0.1 Z0.2 E3:11.0 U0                   ; set drive mapping
      M350 X16 Y16 U16 Z16 E16:16 I1                     ; configure microstepping without interpolation
      M92 X80 Y160 U80 Z800 E286.216 :286.216             ; set steps per mm
      M566 X480 Y480 U480 Z30 E300:300                   ; set maximum instantaneous speed changes (mm/min)
      M203 X9000 U9000 U9000 Y7200 Z650  E3000:3000             ; set maximum speeds (mm/min)
      M201 X1000 U1000 Y1000 Z100 0 E3000:3000            ; set accelerations (mm/s^2)
      M906 X1200 U1200 Y1400 Z900 E800:800 I30            ; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                            ; Set idle timeout
      
      ; Axis Limits_________________________________________________________________________________________________________________
      M208 X10 Y-3 Z-0.3 U35 S1                                         ; set axis minima
      M208 X335 Y255 Z240 U355 S0                                    ; set axis maxima
      
      ; Endstops____________________________________________________________________________________________________________________                                      
      M574 Y1 S1 P"io1.in"
      M574 X1 S1 P"io2.in"
      M574 U2 S1 P"Io4.in"
      ;M574 Z1 S1 P"!Io6.in"      ; Auto Z offset
      ;M915 X S-63 H10 R1 ; Set very sensitive stall detect
      ;M574 X1 S3 ; configure endstop for stall detection
      ;M915 X S20 H140 R0 ; Set very sensitive stall detect
      ;M915 X S-63 H10 R1 ; Set very sensitive stall detect
      
      ; Filament Sensoren___________________________________________________________________________________________________________
      M591 D1 P1 C"Io5.in"  S1
      M591 D0 P1 C"spi.cs2" S1
      
      ; Z-Probe_____________________________________________________________________________________________________________________
      M558 K0 P8 C"io3.in" H5 S0.008 F200 T6000           ; set Z probe type to unmodulated and the dive height + speeds
      G31 K0 P500 X10 Y30  ;0.55 Simplify set Z probe trigger value, offset and trigger height
      ;BL Touch________________________________________________________________________________________________________________________
      M950 K1 S0 C"25.io1.out"
      M558 K1 C"25.io1.in" P9 H5 F200 T18000 B0 A4 S0.005 R0.4			; disable Z probe but set dive height, probe speed and travel speed
      G31 K1 P500 X15 Y-5.50 Z4.25
      ;M557 X30:330 Y50:200 P14                             ; define mesh grid
      ;G31 P500 X10 Y30									; BLTouch X and Y offset
      M557 X{move.axes[0].min + sensors.probes[0].offsets[0] + 1, move.axes[0].max + sensors.probes[0].offsets[0] - 1} Y{move.axes[1].min + sensors.probes[0].offsets[1] + 0, move.axes[1].max + sensors.probes[0].offsets[1] - 75} P15:10
      ; The M557 is used to define the mesh grid area. It uses the P parameter to set the amount of probing points. P10:10 would be a 10x10 grid. Supports up to a 21x21 grid. 
      M98 P"config_probe.g"										; Load the Z-offset from the config_probe.g file
      ; The Z_offset value is now set in config_probe.g, not in config.g
      ; Adjust the values there, do not adjust anything here.
      
      ; Heaters_______________________________________________________________________________________________________________________
      M308 S0 P"Temp0" Y"thermistor" T100000 B4138              ; 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 B1 S1.00                                          ; enable bang-bang mode for the bed heater and set PWM limit
      M140 H0                                                   ; map heated bed to heater 0
      M143 H0 S120                                              ; set temperature limit for heater 0 to 120C
      M308 S1 P"11.Temp0" Y"thermistor" T100000 B4725 C7.06e-8    ; configure sensor 1 as thermistor on pin temp1
      M950 H1 C"out1" T2                                       ; create nozzle heater output on out1 and map it to sensor 1
      M307 H1 B0 S1.00                                          ; disable bang-bang mode for heater  and set PWM limit
      M143 H1 S340                                              ; set temperature limit for heater 1 to 340C
      M308 S2 P"Temp2" Y"thermistor" T100000 B4725 C7.06e-8   ; configure sensor 2 as thermistor on pin temp2
      M950 H2 C"11.out0" T1                                        ; create nozzle heater output on out2 and map it to sensor 2
      M307 H2 B0 S1.00                                          ; disable bang-bang mode for heater  and set PWM limit
      M143 H2 S340                                              ; set temperature limit for heater 2 to 340C
      M308 S3 P"25.temp0" Y"thermistor" A"Gehäuse" T100000 B4138           ; configure sensor 1 as thermistor on pin temp1
      ; Temp Sensoren_________________________________________________________________________________________________________________________
      M308 S10 Y"mcu-temp" A"MCU" ; defines sensor 10 as MCU temperature sensor
      ;M308 S11 Y"drivers" A"Duet stepper drivers" ; defines sensor 11 as stepper driver temperature sensor
      M308 S8 Y"mcu-temp" P"25.dummy" A"Can MCU"
      ;M308 S9 Y"drivers" P"25.dummy" A"Can Stepper"
      
      ; Fans___________________________________________________________________________________________________________________________________
      M950 F1 C"25.vfd" Q500                                      ; create fan 0 on pin out4 and set its frequency
      M106 P1 C"Links" S0 H-1
      M950 F0 C"11.out1" Q500                                      ; create fan 0 on pin out4 and set its frequency
      M106 P0 C"Rechts" S0 H-1
      M950 F7 C"11.out2" Q500                               ; create fan 0 on pin out3 and set its frequency
      M106 P7 C"Hotend Fan rechts" S1 H1 T45                        ; set fan 0 name and value. Thermostatic control turned on for Hotend
      ;M950 F5 C"out6" Q500
      ;M106 P5 C"Board" S0 H-1
      M950 F2 C"out3" Q500                                    ; create fan 0 on pin out4 and set its frequency
      M106 P2 C"Filter Lüfter" S0 H-1 Q25000                                        ; set fan 0 value. Thermostatic control is turned off                                         
      M950 F3 C"out5" Q500                                      ; create fan 2 on pin vfd and set its frequency
      M106 P3 C"LED" S150 H-1                                            ; set fan 2 value. Thermostatic control is turned off
      M950 F4 C"out4+out4.tach" Q25000
      M106 P4 C"Aktiv Kühlung" S0 H-1                                          
      M950 F5 C"25.out5" Q100
      M106 P5 C"Board Kühler"   ;Die Lüftersteuerung ist in Deamon.g festgelegt            ; Create a tool that uses the low end (X) carriage
      M950 F6 C"25.out4+out4.tach" Q100
      M106 P6 C"CanBoard"
      
      ;Acclerometer
      M955 P11.0 I24                ; configure accelerometer on toolboard with CAN address 121 and specify orientation 
      M593 F80 S0.2  P"zvddd"
      ;LED__________________________________________________________________________________________________________________________________
      M950 E0 C"led" T2  
      ;Switch_______________________________________________________________________________________________________________________________
      M950 J1 C"25.io6.in"
      M581 P1 S0 T5 R0	; T5 only while processing gcode
      M581 P1 S1 T6 R0
      ;Tools________________________________________________________________________________________________________________________________
      M563 P0 D0 H1 F1  S"linker Extruder"           ; tool 0 uses extruder 0, heater 1 and fan 0
      G10 P0 X0 Y0 Z-0.1 S0 R0       ; set tool 0 offsets and temperatures
      
      ; Create a tool that uses the high end (U) carriage
      M563 P1 D1 H2 X3 F0  S"rechter Extruder"        ; tool 1 uses extruder 1, heater 2, fan 2, and maps X to U
      G10 P1 Y1 U27,6 Z-0.3 R0       ; set tool 1 offsets and temperatures
      
      ; Create a tool that prints 2 copies of the object using both carriages
      M563 P2 D0:1 H1:2 X0:3 F0:0 S"Duplicate"; tool 2 uses both extruders, hot end heaters and fans, and maps X to both X and U
      G10 P2 X-25 Y0 U-176.3 Z0.0 S0 R0 ; set tool offsets and temperatures
      G10 P2 R0 S0
      M567 P2 E1:1 ; set mix ratio 100% on both extruders
      ;Create a tool that Prints in Mirrior Mode
      M563 P3 S"Mirror" H1:2 D0:1 X0:3 F0:0 
      G10 P3 X165 Y0 U-165 Z0 S0 R0
      G10 P3 R0 S-2
      ; Custom settings are not defined
      ;Temperatur anpassung MCU
      M912 P0 S2
      ; Miscellaneous_________________________________________________________________________________________________________________________________
      M501                                                      ; load saved parameters from non-volatile memory
      ;M911 S10 R11 P"M913 X0 U0 Y0 G91 M83 G1 Z3 E-5 F1000"        ; set voltage thresholds and actions to run on power loss
      ;Global Variables_______________________________________________________________________________________________________________________________
      M98 P"GlobaleBuildplate.g"
      ;LED Neopixel___________________________________________________________________________________________________________________________________
      
      ```)

      Love my Duet 3 Mini.
      https://www.instagram.com/proschi3d
      https://youtube.com/@proschi3d
      https://www.proschi3d.de

      1 Reply Last reply Reply Quote 0
      • oliofundefined
        oliof
        last edited by

        I see that you wrote "Io5.in" and not "io5.in" ... check whether changing that to lower case helps. Also, I believe that filament sensors need to attached to the board of the extruder to work correctly.

        <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

        Proschi3Dundefined 1 Reply Last reply Reply Quote 0
        • Proschi3Dundefined
          Proschi3D @oliof
          last edited by

          @oliof It makes no difference whether "io5.in" or "Io5.in".
          If it were the case that they only worked on the toolboard, it would be a shame, since they are installed on my housing and right next to the Duet 3 mini. It also seems a bit suspicious to me that this is the case.

          Love my Duet 3 Mini.
          https://www.instagram.com/proschi3d
          https://youtube.com/@proschi3d
          https://www.proschi3d.de

          oliofundefined 1 Reply Last reply Reply Quote 0
          • oliofundefined
            oliof @Proschi3D
            last edited by

            @Proschi78 it's documented here https://docs.duet3d.com/en/User_manual/RepRapFirmware/CAN_limitations#permanent-limitations

            Last paragraph:

            Filament monitors must be connected to the same board as the corresponding extruder motor. This use so that the firmware can correlate the measured filament movement and the commanded extruder movement in real time.

            <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

            oliofundefined 1 Reply Last reply Reply Quote 1
            • oliofundefined
              oliof @oliof
              last edited by

              @oliof /cc @droftarts for the broken grammar in that sentence

              <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

              Proschi3Dundefined 1 Reply Last reply Reply Quote 0
              • Proschi3Dundefined
                Proschi3D @oliof
                last edited by

                @oliof
                I just tested it, it actually is.
                is there a way to get around this? but what about the Neopixel Led?

                Love my Duet 3 Mini.
                https://www.instagram.com/proschi3d
                https://youtube.com/@proschi3d
                https://www.proschi3d.de

                oliofundefined 1 Reply Last reply Reply Quote 0
                • oliofundefined
                  oliof @Proschi3D
                  last edited by

                  @Proschi78 No idea about the LED, config seems to be missing from the config.g. Either way, there was a bug in 3.5.x about enabling the first LED in a strip caused by the compiler optimizing away stuff that'll be fixed in the upcoming 3.5.2

                  <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                  Proschi3Dundefined 1 Reply Last reply Reply Quote 0
                  • Proschi3Dundefined
                    Proschi3D @oliof
                    last edited by

                    @oliof It would also be possible to define the filament sensors as switches and then query them with the active extruder, right?

                    Love my Duet 3 Mini.
                    https://www.instagram.com/proschi3d
                    https://youtube.com/@proschi3d
                    https://www.proschi3d.de

                    oliofundefined 1 Reply Last reply Reply Quote 0
                    • oliofundefined
                      oliof @Proschi3D
                      last edited by

                      @Proschi78 you mean a switch as a trigger that sends a pause when it's not activated by the filament? Possibly, maybe, but with no guarantee that it will trigger quickly; which may be sufficient for your use case.

                      <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                      Proschi3Dundefined 1 Reply Last reply Reply Quote 0
                      • Proschi3Dundefined
                        Proschi3D @oliof
                        last edited by

                        @oliof Exactly. I will try to create a macro like this. I still have about 250mm of filament after the sensor, that should be enough

                        Love my Duet 3 Mini.
                        https://www.instagram.com/proschi3d
                        https://youtube.com/@proschi3d
                        https://www.proschi3d.de

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