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

    filamentPresent no longer recognized after FW update

    Scheduled Pinned Locked Moved Unsolved
    Gcode meta commands
    1
    1
    121
    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.
    • mitchundefined
      mitch
      last edited by mitch

      I have been using a macro for unloading and loading filament for some time. I recently upgraded my firmware from 3.1.1 to 3.2 RC2 and that macro broke.

      The portion of macro it is unhappy with seems to be the "filamentPresent" logic.

      ; Filament is currently loaded
      if sensors.filamentMonitors[0].filamentPresent = true		
          M291 P"Retracting filament..." R"Unloading Filament" T5 ; Display another message
      

      I get the error:
      Error: meta command: unknown value 'filamentPresent'

      I didn't see anything in the release notes that indicated I would need to change my configuration or that this meta command would no longer be supported. If it is in the notes, I missed it. Any help would be appreciated.

      M591 shows my sensor is configured and present.

      m591 D0
      Duet3D laser filament monitor v2 with switch on pin e0stop, enabled, allow 200% to 260%, check every 3.0mm, calibration factor 1.000, version 2, quality 222, brightness 255, shutter 81, no calibration data
      

      ty,

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