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

Macro Line 84 error after updating to 3.5.2

Scheduled Pinned Locked Moved Solved
General Discussion
2
4
207
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.
  • undefined
    Sgt G 294
    last edited by 2 Aug 2024, 17:40

    I have the Duet 2 Wifi and I just updated the Firmware to 3.5.2 and now at start up, I get an error in the Console "Error in start-up file macro line 84: Pause the print before attempting to cancel it". I'll post my config file below. Thanks in advance!

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.7 on Wed Jan 15 2020 19:00:04 GMT-0500 (Eastern Standard Time)
    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Ender5" ; set printer name
    ; Network
    M552 S1 ; connect to strongest network with known SSID
    ;M552 S1 P"mywifi" ; enable network
    ;M552 S2
    ; M554 PmyIP
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet
    ; Drives
    M569 P0 S0 ; physical drive 0 goes backwards
    M569 P1 S0 ; physical drive 1 goes backwards
    M569 P2 S0 ; physical drive 2 goes backwards
    M569 P3 S1 ; physical drive 3 goes forwards
    M584 X0 Y1 Z2 E3 ; set drive mapping
    M350 X256 Y256 I0 ; configure microstepping without interpolation
    M350 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X1254.21 Y1251.72 Z392.53 E483.27 ; set steps per mm
    M566 X480.00 Y480.00 Z24.00 E300.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X60000.00 Y60000.00 Z800.00 E3000.00 ; set maximum speeds (mm/min)
    M201 X800.00 Y800.00 Z100.00 E5000.00 ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout
    ; Axis Limits
    ;M208 X0:225 Y0:205 Z0:300 ; set axis minima
    M208 X-3:234 Y0:205 Z0:300 ; set axis minima
    ; Endstops
    M574 X2 S1 P"xstop" ; configure active-high endstop for high end on X via pin xstop
    M574 Y2 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop
    M574 Z1 S2 ; configure Z-probe endstop for low end on Z
    ; Filament Sensor
    M591 D0 P3 C"e0stop" S1 R30:150 L24.84 E3.0 ; E0 endstop, D3D magnet sensor, enabled, sensitivity 24.8mm.rev, 70% to 130% tolerance, 3mm detection length
    ; Z-Probe
    M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
    M558 P9 C"zprobe.in+zprobe.mod" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X0 Y-38 Z2.08 ; set Z probe trigger value, offset and trigger height
    ;M557 X20:225 Y0:167 S102.5:83.5 ; define mesh grid
    M557 X10:225 Y0:167 P3 ; define mesh grid
    ; Heaters
    M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
    M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    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
    M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin e0temp
    M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
    M143 H1 S280 ; set temperature limit for heater 1 to 280C
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    ;M307 H1 R5.086 K0.545:0.000 D1.38 E1.35 S1.00 B0 V24.2 ; Heater Tune see config override
    ; Fans
    M950 F1 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
    M106 P1 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
    M950 F0 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
    M106 P0 S1 H-1 ; set fan 1 value. Thermostatic control is turned off
    M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
    M106 P2 S1 H1 T45 ; set fan 2 value. Thermostatic control is turned on
    ; Tools
    M563 P0 D0 H1 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
    ; Miscellaneous
    M501 ; load saved parameters from non-volatile memory
    M911 S19.8 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
    M0
    T0
    undefined 1 Reply Last reply 2 Aug 2024, 18:00 Reply Quote 0
    • undefined
      jay_s_uk @Sgt G 294
      last edited by 2 Aug 2024, 18:00

      @Sgt-G-294 you have an M0 is your config which is the command thats ran at the end of a print as stop. Remove it

      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

      undefined 1 Reply Last reply 2 Aug 2024, 21:38 Reply Quote 1
      • undefined
        Sgt G 294 @jay_s_uk
        last edited by 2 Aug 2024, 21:38

        @jay_s_uk
        Thanks for the quick reply! I'll try removing that

        1 Reply Last reply Reply Quote 0
        • undefined
          Sgt G 294
          last edited by 3 Aug 2024, 12:51

          SOLVED - thank you

          1 Reply Last reply Reply Quote 1
          • undefined jay_s_uk marked this topic as a question 3 Aug 2024, 13:21
          • undefined jay_s_uk has marked this topic as solved 3 Aug 2024, 13:21
          3 out of 4
          • First post
            3/4
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA