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

    Sensor 1 Not Defined Warning

    Scheduled Pinned Locked Moved Solved
    General Discussion
    2
    4
    128
    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.
    • JRCLundefined
      JRCL
      last edited by

      Hello,

      I'm getting a "sensor 1 has not been defined" warning after running M98 P"config.g". This heater is on my Mini 5+ (as an expansion board to a MB6HC) and when I comment out my M950 line the issue seems to go away, so I suspect it's related to that or the M307. Both my MB6HC and Mini 5+ are running 3.4.5. Here is my config.g I've been working on

      ; Enable network
      G4 S5														;wait for board to start
      if {network.interfaces[0].type = "ethernet"}
          M552 P192.168.1.14 S1
      else
          M552 S1
       
      ;General Prefrences
      G90                             							;send absolute coordinates...
      M83                             							;...but relative extruder moves
      M550 P"RL1 V3"                  							;set printer name
      M669 K1														;switch to CoreXY mode
      
      ; Drives
      M569 P0.0 S1												;X motor runs 
      M569 P0.1 S0												;Y motor runs 
      M569 P0.2 S1												;Z1 motor runs 
      M569 P0.4 S1												;Z2 motor runs
      M569 P0.5 S1												;Z3 motor runs
      M569 P50.0 S0												;E moves
      M569 P0.3 S0												;U motor runs
      M569 P50.1 S1												;V motor runs (front clamp driver)
      M569 P50.2 S1												;W motor runs (back clamp driver)
      
      M207 S1.5 F7200 Z0.2										;set retract length
      M584 X0.0 Y0.1 Z0.2:0.4:0.5 E50.0 U0.3 V50.1 W50.2     		;Set drive mapping
      
      M350 X16 Y16 Z16 E16 U16 V16 W16 I1           				;configure microstepping with interpolation
      M92 X80.00 Y80.00 Z400.00 E685.37234 U100 V80 W80        	;set steps per mm
      M566 X900.00 Y900.00 Z60.00 E300 U900.00 V900 W900   		;set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z180.00 E7200 U17000.0 V6000 W6000 	;set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z20.00 E3000 U500.0 V500 W500  		;set accelerations (mm/s^2)
      M906 X800 Y800 Z800 E1200 U3800 V800 W800 I30        		;set motor currents (mA) and motor idle factor in per cent												
      M84 S30                         							;Set idle timeout
      
      ; Axis Limits
      M208 X0 Y0 Z-1 U0 V0 W0 S1                    										;set axis minima
      M208 X100 Y100 Z38.45 U330 V55 W55 S0              								;set axis maxima
      
      ; Endstops
      M574 X1 S1 P"0.io8.in" 										;configure switch-type (e.g. microswitch) endstop for low end on X via pin io0.in
      M574 Y2 S1 P"0.io7.in" 										;configure switch-type (e.g. microswitch) endstop for high end on Y via pin io1.in
      M574 Z2 S1 P"0.io2.in+0.io4.in+0.io5.in"					;configure switch-type (e.g. microswitch) endstop for high end on Z
      M574 U2 S1 P"0.io6.in"										;configure switch-type (e.g. microwswitch) endstop for high end on U
      M574 V1 S1 P"50.io6.in"										;configure switch-type end stop for low end on V
      M574 W1 S1 P"50.io5.in"										;configure switch-type end stop for low end on W
      
      ;Heaters
      M308 S0 P"temp0" Y"thermistor" T100000 B3950         	; configure sensor 0 as thermistor on pin temp0
      M950 H0 C"0.out0" T0                                   	; create bed heater output on out0 and map it to sensor 0
      M307 H0 R0.075 K0.161:0.000 D3.07 E1.35 S1.00 B0
      M140 H0                                               	; map heated bed to heater 0
      
      M308 S1 P"temp1" Y"thermistor" 							; configure sensor 1 as thermistor on pin temp1
      M950 H1 C"50.out0" T1                                  	; create nozzle heater output on out1 and map it to sensor 1
      M307 H1 R4.585 K0.421:0.683 D3.75 E1.35 S1.00 B0 V24.2	 	; disable bang-bang mode for heater  and set PWM limit
      M143 H1 S280                                          	; set temperature limit for heater 1 to 280C
      
      
      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • JRCLundefined JRCL marked this topic as a question
      • jay_s_ukundefined
        jay_s_uk @JRCL
        last edited by

        @JRCL you can't have a temp sensor on a different board to a heater

        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

        JRCLundefined 1 Reply Last reply Reply Quote 1
        • JRCLundefined
          JRCL @jay_s_uk
          last edited by

          @jay_s_uk Didn't know about that, but makes sense. This fixed it, thanks!

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • JRCLundefined JRCL has marked this topic as solved
          • jay_s_ukundefined
            jay_s_uk @JRCL
            last edited by

            @JRCL just for reference it's detailed here under permanent limitations https://docs.duet3d.com/en/User_manual/RepRapFirmware/CAN_limitations

            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
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA