Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Duet3D_6HC_How to redefine M3 (m code) function?

    Duet Web Control
    2
    3
    37
    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.
    • jimmychiu
      jimmychiu last edited by

      I want to change M3 function to run M118 S"XXXX" to run BLDC drive.
      Is it possible?

      1 Reply Last reply Reply Quote 0
      • dc42
        dc42 administrators last edited by dc42

        Two options:

        1. Modify the firmware source to do that.
        2. Use a GCode post-processor to replace M3 commands either directly by that M118 command, or by a macro call that can then be defined to send that command.

        In future I may prove a facility to flag particular commands to call macros, but that will be much more useful when macro parameters have been implemented.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • jimmychiu
          jimmychiu last edited by

          Thank you for your prompt reply.

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