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

    Sensor dont create

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    5
    323
    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.
    • Amagatthundefined
      Amagatth
      last edited by

      Hi all , i have a PB with a Multiple Bed config,

      I create my 4 bed + my hotend (sensor m308 + M950 )

      and when the card boot i have a message Warning: M950: Sensor number 4 has not been defined

      Did anyone See a problem on my config plz ?

      config (4).g

      Thx all !!!

      jay_s_ukundefined droftartsundefined 2 Replies Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        ; Configuration file for Duet 3 (firmware version 3)
        ; executed by the firmware on start-up
        ;
        ; generated by RepRapFirmware Configuration Tool v3.1.10 on Mon Dec 21 2020 14:00:11 GMT+0100 (heure normale d’Europe centrale)
        
        ; General preferences
        G90                                                ; send absolute coordinates...
        M83                                                ; ...but relative extruder moves
        M550 P"CDFI-SURF"                                     ; set printer name
        ; Drives
        M569 P0.0 S0                                       ; Driver 0.0 marche avant X
        M569 P0.1 S0                                       ; Driver 0.1 marche avant Y
        M569 P0.2 S0                                       ; Driver 0.2 marche avant Z1
        M569 P0.3 S0                                       ; Driver 0.3 marche avant Z2
        M569 P0.4 S0                                       ; Driver 0.4 marche avant E1
        M569 P0.5 S1
        M569 P1.0 S1									   ; Driver 1.0 marche avant Z3
        M569 P1.1 S1									   ; Driver 1.1 marche avant Z4
        
        M584 X1.0 Y0.4:0.5 Z0.0:0.1:0.2:0.3 E1.1                     ; Assignation moteur 
        M350 X64 Y64 Z32 E16 I1                         ; Configuration micro pas
        M92 X134.85 Y177.92 Z1264.048 E672.69         ; Configuration step/mm
        M566 X3000.00 Y3000.00 Z200 E320.00         ; Configuration changement de vitesse (mm/min)
        M203 X75000.00 Y49000.00 Z500.00 E1200.00    ; Configuration vitesse max (mm/min)
        M201 X2000.00 Y2000.00 Z150 E550.00:         ; Configuration acceleration (mm/s^2)
        M906 X4000 Y4000 Z3500 E850                 ; Configuration amperage moteur (mA) 
        M84 S30                                            ; Mise en repos
        
        ; Axis Limits
        M208 X0 Y0 Z0 S1                                   ; Coordonnées Mini
        M208 X2450 Y650 Z1000 S0                          ; Coordonnées Max
        
        ; Endstops
        M574 X1 S1 P"io0.in"                  ; configure active-high endstop for high end on X via pin io0.in
        M574 Y1 S3                   ; configure active-high endstop for low end on Y via pin io1.in
        M574 Z1 S2                                         ; Configuration Z probe
        ;M591 D0 P1  C"io2.in" S1							   ; Capteur de fin de filament Tête 1 Pin io2																	
        		
        
        ; Z-Probe
        M950 S0 C"io7.out"                                 ; Creation Pin servo Bltouch
        M558 P9 C"io7.in" H10 F500 T25000 A1 S0.03                 ; Définition Z probe pour  bltouch et la hauteur/ vitesse de probe
        G31 P500 X-5.07 Y-62.07 Z1.54                         ; Définition Z probe Offset
        M557 X15:970 Y15:960 S50                         ; Définition Grille de palpage
        
        ; Sensor
        
        M308 S0 P"temp0" Y"pt1000" R2200 A"Lit1"         ; Sensor 0 en PT 1000
        M308 S2 P"temp1" Y"pt1000" R2200 A"Lit2"         ; Sensor 2 en PT 1000
        M308 S3 P"temp2" Y"pt1000" R2200 A"Lit3"         ; Sensor 3 en PT 1000
        M308 S4 P"temp3" Y"pt1000" R2200 A"Lit4"       ; Sensor 4 en PT 1000
        M308 S1 P"1.temp0" Y"pt1000" R2200 A"Tete"         ; Sensor 1 (tête) en pt 1000
        
        
        ; Chauffe
        M950 H0 C"out1" T0 Q10   ; Lit 0 assigné a sensor 0
        M950 H2 C"out2" T2 Q10   ; Lit 1 assigné a sensor 2
        M950 H3 C"out3" T3  Q10  ; Lit 3 assigné a sensor 3
        M950 H4 C"1.out0" T4 Q10 ; Lit 4 assigné a sensor 4
        M950 H1 C"1.out1" T1     ; Tête assigné a sensor 1
        
        
        
        M307 H0 B0 S1.00  ; disable bang-bang mode for the bed heater and set PWM limit  
        M307 H2 B0 S1.00  ; disable bang-bang mode for the bed heater and set PWM limit
        M307 H3 B0 S1.00  ; disable bang-bang mode for the bed heater and set PWM limit 
        M307 H4 B0 S1.00  ; disable bang-bang mode for the bed heater and set PWM limit       
        M307 H1 B0.00 S1.00                             ; disable bang-bang mode for heater  and set PWM limit
        
        M307 H0 R0.324 C216.0 D7.83 S1.00 V25.0 ; PID Lit 0
        M307 H2 R0.324 C216.0 D7.83 S1.00 V25.0 ; PID Lit 1
        M307 H3 R0.324 C216.0 D7.83 S1.00 V25.0 ; PID Lit 2
        M307 H4 R0.324 C216.0 D7.83 S1.00 V25.0 ; PID Lit 3
        M307 H1 R1.998 C297.9:200.9 D15.16 S1.00 V24.9 ; PID Tête
        
        
        M143 H0 S100                                       ; set temperature limit for heater 0 to 100C
        M143 H2 S100                                       ; set temperature limit for heater 2 to 100C
        M143 H3 S100                                       ; set temperature limit for heater 3 to 100C
        M143 H4 S100                                       ; set temperature limit for heater 4 to 100C
        M143 H1 S500                                       ; set temperature limit for heater 1 to 500C
                                                 
        
        M140 H0:H2:H3:H4 ; Map Des Bed
        
        ; Fans
        M950 F1 C"out7" Q500  C"Ventil Tete"                             ; Ventillateur tête 1 sur pin out7
        M106 P1 T45 S1 H1                                    ; Ventillateur 1 en thermostatique demarrage 45 degrés
        
        M950 F0 C"out8" Q500  C"Ventil Print"                           ; Ventillateur de print tête 1 sur pin 1.out6
        M106 P0 H-1                                         ; Ventillateur de print
        
                                             
        ;M950 F5 C"out9" Q500                             ; Compteur d'heure
        ;M106 P5 h-1
        
        ;M950 F6 C"out8" Q500                               ; Aimant porte
        ;M106 P6 T45 S1 H0                                  ; Activation des aimants quand le lit depasse 45deg
        
        
        
        ; Tools
        M563 P0 D0 H0:2:3:4:1 F0:1 S"Tete"                                   ; La tête 1 utilise l'extrudeur 1 et le ventillateur 3
        G10 P0 X0 Y0 Z0                                    ; definition offset tête 1
        G10 P0 R0 S0                                       ; set initial tool 0 active and standby temperatures to 0C
        ;M563 P2 D1 H2 F4                                   ; La tête 2 utilise l'extrudeur 2 et le ventillateur 4
        ;G10 P2 X0 Y0 Z0                                    ; definition offset tête 2
        ;G10 P2 R0 S0                                       ; set initial tool 2 active and standby temperatures to 0C
        
        ;Correction des vis
        
        M669
        1.00 0 0
        0 1.00 0
        0 0 1.00
        M671 X-230.0:-230.0:1200:1200 Y15.0:1010:15.0:1010 S40 P5
        
        ; Custom settings are not defined
        
        ; Miscellaneous
        M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
        
        M572 D0 S0.025                               ; Gestion du pressure advance 
        
        m280 p0 s160
        
        ;M591 D0 P1 C"io2.in" S1
        M581 T2 E0 S0 C0 R0
        
        T0
        
        
        M501
        
        m500
        

        I've reposted it for you as a code block.

        Can you send M122 and M98 P"config.g" in the gcode console and copy and paste the results here?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • jay_s_ukundefined
          jay_s_uk @Amagatth
          last edited by

          @amagatth sensor 4 won't have created as you can't have a temp sensor on a different board to the output

          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

          1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @Amagatth
            last edited by

            @amagatth

            M140 H0:H2:H3:H4

            What are you trying to do? Do you want all 4 bed heaters to show as one bed, or to have 4 separate beds? Either way, this M140 command is wrong.

            If you want multiple beds to show as one heater, define one heater that includes all 4 bed pins defined by M950.

            If you want 4 separate beds, define each bed with a separate M140 command, and use the P parameter to define each bed individually. See https://docs.duet3d.com/User_manual/Reference/Gcodes#m140-set-bed-temperature-fast-or-configure-bed-heater

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            Amagatthundefined 1 Reply Last reply Reply Quote 1
            • Amagatthundefined
              Amagatth @droftarts
              last edited by

              @droftarts thx for the answer the problem is i have the sensor on 1 board and heater on other board, i change it and its perfect,

              Same for the M140 i do it right 🙂 thx !!!!!

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