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

    Counting events during moves

    Scheduled Pinned Locked Moved Unsolved
    Gcode meta commands
    1
    1
    51
    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.
    • patrickwjoyceundefined
      patrickwjoyce
      last edited by patrickwjoyce

      I'm running @jay_s_uk '2 speed and accel tuning script, but my printer uses sensorless homing, and I don't have the necessary full step resolution to get reliable difference measurements at the end of the script.
      Instead I am hoping to use stallguard detection events to determine if I skipped any steps during the running of the script. How can I count or detect the number of events reported by M915 and then add them up at the end of each iteration?

      ETA: I'd like to do something similar but with max actual speed during each given move

      1 Reply Last reply Reply Quote 0
      • patrickwjoyceundefined patrickwjoyce marked this topic as a question
      • First post
        Last post
      Unless otherwise noted, all forum content is licensed under CC-BY-SA