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

    Heater 1 fault: monitor 0 was triggered

    Scheduled Pinned Locked Moved Solved
    Using Duet Controllers
    3
    14
    516
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      Error: unterminated string

      That would seem to indicate that you're missing a quote mark somewhere in your config.g which may be causing chaos.

      Z-Bot CoreXY Build | Thingiverse Profile

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

        I can't spot it, maybe you see it?

        but your config is a bit messy. I suggest you make a backup of it, and then create a fresh config using the online tool and manually adjust it to match your config leaving it as organized and clean as possible. Then let's see if we can be rid of the string error.

        https://configtool.reprapfirmware.org/Start

        Even just having a basic config for testing here would be helpful even if it didn't get updated completely for your setup.

        Z-Bot CoreXY Build | Thingiverse Profile

        General_kaosundefined 1 Reply Last reply Reply Quote 0
        • General_kaosundefined
          General_kaos @Phaedrux
          last edited by

          @phaedrux Thanks for the pointer - I'll try that tomorrow and see if it fixes it (& let you know).

          I can't see a missing ", but not easy to spot!

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

            @general_kaos said in Heater 1 fault: monitor 0 was triggered:

            I can't see a missing ", but not easy to spot!

            It could also be a case of a bad character. Or a command that was expecting a quoted string and not getting it.

            That makes me think that perhaps your PID values aren't actually getting executed.

            Z-Bot CoreXY Build | Thingiverse Profile

            General_kaosundefined 2 Replies Last reply Reply Quote 0
            • General_kaosundefined
              General_kaos @Phaedrux
              last edited by

              @phaedrux I realise it's probably just because I mistyped the command first time! Missing " in the console entry of M98 - the repeat above is green.

              Phaedruxundefined 1 Reply Last reply Reply Quote 0
              • General_kaosundefined
                General_kaos @Phaedrux
                last edited by

                @phaedrux It actually faults the moment I activate the heater - you can see here it isn't even being told to heat up.

                Imgur

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

                  @general_kaos There are a bunch of M307 commands in your config.g. Most are commented out with a semicolon except the last one which I assume is the active one. However, while it does not have the semicolon, it is indented. So I'm wondering if it's the indentation that is causing the problem? Or perhaps there is a hidden character showing as an indent?

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

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

                    @general_kaos said in Heater 1 fault: monitor 0 was triggered:

                    @phaedrux I realise it's probably just because I mistyped the command first time! Missing " in the console entry of M98 - the repeat above is green.

                    Ah yes, of course, now it's obvious.

                    Can you send M307 H0 and M307 H1 and compare the results it shows to what you have entered in your config.g to confirm they are actually being applied?

                    My recommendation to start with a clean config still stands.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    General_kaosundefined 1 Reply Last reply Reply Quote 0
                    • General_kaosundefined
                      General_kaos @deckingman
                      last edited by

                      @deckingman Thanks Ian - I tried that, but removing the indent did not fix it. New Config G does though.

                      1 Reply Last reply Reply Quote 0
                      • General_kaosundefined
                        General_kaos @Phaedrux
                        last edited by

                        @phaedrux

                        M307 showed the values being loaded:

                        22/03/2022, 17:48:35: M307 h0: Heater 0: heating rate 0.350, cooling rate 0.158, dead time 31.25, max PWM 1.00, mode PID
                        Predicted max temperature rise 180°C
                        PID parameters: heating P16.3 I0.110 D357.0, steady P16.3 I0.211 D357.0
                        22/03/2022, 17:48:38: M307 h1: Heater 1: heating rate 4.800, cooling rate 0.546, dead time 1.38, max PWM 1.00, mode PID, calibrated at 23.8V
                        Predicted max temperature rise 500°C
                        PID parameters: heating P26.9 I1.612 D26.0, steady P26.9 I4.921 D26.0

                        So onto a new config via the configurator, which worked and still works after copying across all the specific settings for my printer.

                        I am at a loss what was wrong, but it seems to work now. Thanks for your help.

                        ; Configuration file for Duet 3 (firmware version 3.3)
                        ; executed by the firmware on start-up
                        ;
                        ; generated by RepRapFirmware Configuration Tool v3.3.10 on Tue Mar 22 2022 17:23:42 GMT+0000 (Greenwich Mean Time)
                        
                        ; General preferences
                        G90                                              ; send absolute coordinates...
                        M83                                              ; ...but relative extruder moves
                        M550 P"Duet 3"                                   ; set printer name
                        M669 K1                                          ; select CoreXY mode
                        
                        ; Drives
                        M569 P0.0 S0                                     ; physical drive 0.0 goes backwards
                        M569 P0.1 S1                                     ; physical drive 0.1 goes forwards
                        M569 P0.2 S1                                     ; physical drive 0.2 goes forwards
                        M569 P0.3 S0                                     ; physical drive 0.3 goes backwards
                        M569 P0.4 S0                                     ; physical drive 0.4 goes backwards
                        M569 P121.0 S0                                   ; physical drive 121.0 goes backwards
                        M584 X0.0 Y0.1 Z0.2:0.3:0.4 E121.0               ; set drive mapping
                        M350 X16 Y16 Z16 E16 I1                          ; configure microstepping with interpolation
                        M92 X200.00 Y200.00 Z1600.00 E397.00             ; set steps per mm
                        M566 X950.00 Y950.00 Z66.00 E1000.00             ; set maximum instantaneous speed changes (mm/min)
                        M203 X18000.00 Y18000.00 Z540.00 E3600.00        ; set maximum speeds (mm/min)
                        M201 X3000.00 Y3000.00 Z66.00 E1500.00           ; set accelerations (mm/s^2)
                        M906 X1100 Y1100 Z1000 E900 I30                  ; set motor currents (mA) and motor idle factor in per cent
                        M84 S30                                          ; Set idle timeout
                        
                        ;Leadscrew locations
                        M671 X-60:-60:330  Y35:270:170 S7.5  			 ;Front left, Rear Left, Right  S7.5 is the max correction
                        
                        ; Axis Limits
                        M208 X0 Y0 Z0 S1                                 ; set axis minima
                        M208 X290 Y280 Z330 S0                           ; set axis maxima
                        
                        ; Endstops
                        M574 X1 S1 P"io2.in"                             ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io2.in
                        M574 Y1 S1 P"121.io1.in"                         ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin 121.io1.in
                        ;M574 Z1 S2                                       ; configure Z-probe endstop for low end on Z
                        
                        ; Z-Probe
                        M950 S0 C"121.io0.out"                           ; create servo pin 0 for BLTouch
                        M558 P9 C"121.io0.in" H10 F120 T6000             ; set Z probe type to bltouch and the dive height + speeds
                        G31 P500 X45 Y-40 Z1.4                           ; set Z probe trigger value, offset and trigger height
                        M557 X50:250 Y50:250 S20                         ; define mesh grid
                        
                        ; 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 B0 S1.00                                 ; disable bang-bang mode for the bed heater and set PWM limit
                        M140 H0                                          ; map heated bed to heater 0
                        M143 H0 S115                                     ; set temperature limit for heater 0 to 115C
                        M307 H0 R0.350 K0.158:0.000 D31.25 E1.35 S1.00 B0 ;PID tune bed heater 21mar22
                        
                        M308 S1 P"121.temp0" Y"thermistor" T100000 B4725 C7.060000e-8 ;e3D thermistor settings
                        M950 H1 C"121.out0" T1                           ; create nozzle heater output on 121.out0 and map it to sensor 1
                        M307 H1 B0 S1.00                                 ; disable bang-bang mode for heater  and set PWM limit
                        M143 H1 S300                                     ; set temperature limit for heater 1 to 300C
                        M307 H1 R4.880 K0.553:0.843 D1.23 E1.35 S1.00 B0 V23.8 ;PID tune w/ e£D thermistor set 23Mar22
                        
                        M308 S3 Y"drivers" A"DRIVERS"  					 ; configure sensor 3 as temperature warning and overheat flags on the TMC2660 on Duet
                        M308 S4 Y"mcu-temp" A"MCU" 						 ; configure sensor 4 as thermistor on pin e1temp for left stepper
                        M912 P0 S-2.7									 ; 2.7C offset from PT100 at RT 4/7/2020
                        
                        ; Fans
                        M950 F0 C"121.out2" Q500                         ; create fan 0 on pin 121.out2 and set its frequency
                        M106 P0 S0 H1 T45                                ; set fan 0 value. Thermostatic control is turned on
                        M950 F1 C"121.out1"                              ; create fan 1 on pin 121.out1 and set its frequency
                        M106 P1 S1 H-1                                   ; set fan 1 value. Thermostatic control is turned off
                        M950 F2 C"out6" Q500                             ; create fan 2 on pin out6 and set its frequency
                        ;M106 P2 S0.25 H1 T30                             ; set fan 2 value. Thermostatic control is turned on
                        M106 P2 S0.3 H3:4 L0.15 X1 B0.3 T30				 ;electronics fan linked to MCU/drivers
                        
                        ;filament sensor
                        M591 D0 P2 C"121.io2.in" S1 					 ;simple trianglelabs filament sensor on toolboard IO2
                        
                        ; Tools
                        M563 P0 D0 H1 F1                                 ; 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
                        M572 D0 S0.020									 ;set pressure advance
                        
                        ; Miscellaneous
                        T0                                               ; select first tool
                        
                        
                        
                        1 Reply Last reply Reply Quote 1
                        • General_kaosundefined General_kaos has marked this topic as solved
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA