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

    M567: array too long

    Scheduled Pinned Locked Moved
    General Discussion
    2
    4
    116
    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.
    • Timothee Leblondundefined
      Timothee Leblond
      last edited by

      Hi,

      Since I upgraded to version 3.6 of RRF, I now have this error message saying: "M567: array too long, max length = 0" in config.g.

      Below is some part of my config.g before the update for a co-extrusion system:

      M569 P121.0 S0 D2 ; driver 121.0 goes forwards (extruder 0)
      M569 P0.4 S0 D2 ; driver 0.4 foes forwards (extruder 1)
      
      M584 E121.0:0.4   ; set extruder mapping
      
      M563 P0 S"Coflow" D0:1: ; create tool #0
      M567 P0 E0.5:0.5; Mixing ratio
      M568 P0 S1
      

      Would you know how to solve the error message?

      Thank you,

      TIM

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

        @Timothee-Leblond please post your full config

        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

        Timothee Leblondundefined 1 Reply Last reply Reply Quote 0
        • Timothee Leblondundefined
          Timothee Leblond @jay_s_uk
          last edited by Timothee Leblond

          @jay_s_uk
          Here it is:
          PS: it was working before updates...

          ; Default config.g template for DuetPi
          ; Replace this with a proper configuration file (e.g from https://configtool.reprapfirmware.org)
          
          ; Display initial welcome message
          M291 P"You are operating an SBC image in standalone mode. Please see <a href=""https://www.duet3d.com/StartHere"" target=""_blank"">here</a> further information." R"Welcome to your new Duet 3!" S1 T0
          
          ; Enable PanelDue
          M575 P1 B57600 S1
          
          ; Enable network
          ; M552 P0.0.0.0 S1
          
          ; Configuration file for RepRapFirmware on Duet 3 Mini 5+ Ethernet
          ; executed by the firmware on start-up
          ;
          ; generated by RepRapFirmware Configuration Tool v3.5.8 on Fri Dec 13 2024 08:59:52 GMT-0500 (Eastern Standard Time)
          
          ; General
          G90 ; absolute coordinates
          M83 ; relative extruder moves
          M550 P"Charlemagne_TIM" ; set hostname
          M915 X Y S30 R1 F1 H10  ; set sensorless homing
          
          M302 P1   ; Allow cold extrusion
          M207 S0 F0 Z0 ; Completely disable retraction
          
          ; Accessories
          M575 P1 S0 B57600 ; configure PanelDue support
          
          ; Wait a moment for the CAN expansion boards to become available
          G4 S2
          
          ; Smart Drivers
          M569 P0.0 S1 D3 V2 ; driver 0.0 goes forwards (X axis) -> D3 is for stealthChop mode = enable stall detection
          M569 P0.1 S0 D3 V2 ; driver 0.1 goes forwards (Y axis) -> D3 is for stealthChop mode = enable stall detection
          M569 P0.2 S1 D2 ; driver 0.2 goes forwards (Z axis)
          M569 P121.0 S0 D2 ; driver 121.0 goes forwards (extruder 0)
          M569 P0.4 S0 D2 ; driver 0.4 foes forwards (extruder 1)
          
          ; Motor Idle Current Reduction
          M906 I30 ; set motor current idle factor
          M84 S30 ; set motor current idle timeout
          
          ; Axes
          M584 X0.0 Y0.1 Z0.2 ; set axis mapping
          M350 X16 Y16 Z16 I1 ; configure microstepping with interpolation
          M906 X800 Y800 Z1000 ; set axis driver currents
          M92 X80 Y80 Z200 ; configure steps per mm
          M208 X-6:300 Y0:300 Z-5:400 ; set minimum and maximum axis limits
          M566 X900 Y900 Z12 ; set maximum instantaneous speed changes (mm/min)
          M203 X6000 Y6000 Z800 ; set maximum speeds (mm/min)
          M201 X500 Y500 Z20 ; set accelerations (mm/s^2)
          
          ; Extruders config for 1 extruder
          ;M584 E121.0 ; set extruder mapping
          ;M350 E16 I1 ; configure microstepping with interpolation
          ;M906 E800 ; set extruder driver currents
          ;M92 E100 ; configure steps per mm
          ;M566 E120 ; set maximum instantaneous speed changes (mm/min)
          ;M203 E3600 ; set maximum speeds (mm/min)
          ;M201 E250 ; set accelerations (mm/s^2)
          
          ; Extruder + thread feeder
          M584 E121.0:0.4   ; set extruder mapping
          M350 E16:16 I1  ; configure microstepping with interpolation
          M906 E800:800 ; set extruder driver currents
          M92 E2840:2840    ; configure steps per mm -> E2840 with current set up means G1 E100 will move piston 100mm down. (second = 83 for thread feeder)
          M566 E120:120   ; set maximum instantaneous speed changes (mm/min)
          M203 E3600:3600 ; set maximum speeds (mm/min)
          M201 E250:250   ; set accelerations (mm/s^2)
          
          ; Kinematics
          M669 K0 ; configure Cartesian kinematics
          
          ; Probes
          
          M950 P0 C"out6"                              ; Set servo output on Mini 5+ 
          M558 P9 H10 F800:700 T8000 C"!io6.in"            ; Set probe input to IO_6 on Mini 5+
          G31 P500 X0 Y0 Z10                                  ; set Z probe trigger value, offset and trigger height
          
          ;M950 S0 C"121.io0.out"                              ; Set servo output on Rototoolboard
          ;M558 P9 H6 F250:30 T8000 C"^!121.io0.in"            ; Set probe input to IO_0 on Rototoolboard
          ;G31 P500 X0 Y0 Z0                                  ; set Z probe trigger value, offset and trigger height
          
          ; Endstops
          M574 X1 S3                            ; configure X axis endstop
          M574 Y1 S3                            ; configure Y axis endstop
          M574 Z1 S2                            ; configure Z axis endstop
          M915 X Y R0 F0
          
          ; Tools
          
          M563 P0 S"Coflow" D0:1: ; create tool #0
          M567 P0 E0.5:0.5 ; Mixing ratio
          ;
          ;M567 P0 E0.02:0.98          ; set mixing ratios for tool #0
          
          ;M563 P0 S"MainExtruder" D0 ; create Tool 0 using Extruder Drive 0
          ;M563 P1 S"Thread Feeder" D1 ; create Tool 1 -> Extruder Drive 1
          G10 P0 X-68 Y-55 Z-12 S0 R0 ; set Tool 0 active and standby temperatures to 0 -> XY values are the offsets of the nozzle from center of cart.
          T0 ; select Tool 0 at startup
          

          I thought it could also be a misscommunication with the CAN bus but it is appearing when using M122.

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

            @Timothee-Leblond said in M567: array too long:

            M563 P0 S"Coflow" D0:1:

            Try without the rogue colon after the 1

            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