Welcome to Our Community

Some features disabled for guests. Register Today.

M2 Program end - unwanted behaviour for servo

Discussion in 'Control Software' started by Elias Heuninck, Jul 29, 2024.

Tags:
  1. Elias Heuninck

    Builder

    Joined:
    Jul 29, 2024
    Messages:
    2
    Likes Received:
    1
    Hello,

    I have an Acro 1510 with a Blackbox that I use as a pen plotter where a servo does the pen movements. I turn SVG's into Gcode with Sameer Puri's SVG2Gcode website: svg2gcode. This gcode generator always inserts 'M2', the 'program end' command, after the editable program end sequence.
    The pen plotter reacts to this by moving the servo to the 0-position (pen down). This is not ideal for me and I'm wondering if there's a way to change the interpretation of the M2 command, ignore it or exclude the servo for example.

    Thanks
    Elias
     
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,270
    Likes Received:
    4,357
    The behaviour is technically correct. M2 should disable the servo signal, and the servo should return to 0 position when the signal is stopped

    Best option, ask the CAM developer to make M2 optional (little tickbox somewhere in the UI?) Issues · sameer/svg2gcode

    Alternatively change pen mount so 0 is pen up and positive positions are pen-down
     
  3. Elias Heuninck

    Builder

    Joined:
    Jul 29, 2024
    Messages:
    2
    Likes Received:
    1
    Peter Van Der Walt likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice