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

config.g file created with RRF tool M350 Array too long error

Scheduled Pinned Locked Moved
Config Tool
3
4
417
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
    dlc60
    last edited by dlc60 5 Oct 2024, 04:11 10 May 2024, 04:10

    This was my best guess for a place to ask this question.
    Details:
    Duet 2 Maestro
    F/W 3.5.1, Web 3.5.1
    RRF 3.5.0
    Printer: custom CoreXY with single extruder.

    Problem:
    I just updated my Maestro to firmware/web 3.5.1 and used the RRF config tool to build my initial config.g file.
    I got this error:
    Error in start-up file macro line 45: in file macro line 45 column 19: M350: array too long, max length = 0
    Line 45 doesn't have an M350, but there is one near there for the extruder. (attached config.g file)

    ; Extruders
    M584 E3 ; set extruder mapping
    M350 E16 I1 ; configure microstepping with interpolation
    M906 E1000 ; set extruder driver currents
    M92 E764 ; configure steps per mm
    M566 E120 ; set maximum instantaneous speed changes (mm/min)
    M203 E7200 ; set maximum speeds (mm/min)
    M201 E250 ; set accelerations (mm/s^2)

    My last RRF config file for another printer was from a prior version of RRF and this looks different, I am scratching my head. Can anyone see what is going wrong?

    Any hint appreciated. Be well,
    DLC

    config.g

    undefined 1 Reply Last reply 10 May 2024, 11:14 Reply Quote 0
    • undefined Phaedrux moved this topic from Tuning and tweaking 10 May 2024, 04:48
    • undefined
      Phaedrux Moderator
      last edited by 10 May 2024, 04:50

      Can you share your config.json file as well?

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 11 May 2024, 02:12 Reply Quote 0
      • undefined
        droftarts administrators @dlc60
        last edited by 10 May 2024, 11:14

        @dlc60 I just updated my Maestro board with 3.5.1, and copied your config.g in to test it. I don't see this error, either at startup or if I run M98:

        M98 P"config.g"
        HTTP is enabled on port 80
        FTP is enabled on port 21
        Warning: Heater 0 predicted maximum temperature at full power is 321°C

        I think this is more likely to be an SD card reading issue, maybe a bad block on the SD card. Try reformatting the SD card, or try a new one, and copy the configuration files fresh back on to it. See https://docs.duet3d.com/en/User_manual/RepRapFirmware/SD_card for formatting and SD card structure guidance.

        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

        1 Reply Last reply Reply Quote 0
        • undefined
          dlc60 @Phaedrux
          last edited by 11 May 2024, 02:12

          @Phaedrux said in config.g file created with RRF tool M350 Array too long error:

          Can you share your config.json file as well?

          Sure, here you go.

          be well

          configtool.json

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