Duet3D Logo

    Duet3D

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

    Editing Post Processor Error

    Tuning and tweaking
    3
    6
    292
    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.
    • Colin Kent
      Colin Kent last edited by

      I am attempting to alter the vcarve post processor to ask me to ensure that I have set work coordinates before it starts to cut. This prevents my router diving into the spoilboard if I forget.
      The code I am trying to insert is:
      M291 P"Have you set work coordinates ?" S3.
      Unfortuneatly I get an error " expecting 'begin SECTION ' or 'end SECTION' when I run Vcarve. Does anyone know why ?

      1 Reply Last reply Reply Quote 0
      • Phaedrux
        Phaedrux Moderator last edited by

        Firmware version?

        Z-Bot CoreXY Build | Thingiverse Profile

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

          I don't know vcarve. Does it handle GCode that contains quoted strings?

          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
          • Colin Kent
            Colin Kent last edited by

            I think ythe firmware is 1.22.2 it seems to come with the Workbee firmware V1.0.3.
            As regards Vcarve gcode. I have added several small commands which control my Router on/off with no trouble at all. I found the send message (M291) command in the Vetric post processor manual which I followed to the letter. Recon it would accept quated strings but will check to see if the version I have is OK for that

            1 Reply Last reply Reply Quote 0
            • Colin Kent
              Colin Kent last edited by

              Firmware is 2.03 beta1

              1 Reply Last reply Reply Quote 0
              • Colin Kent
                Colin Kent last edited by

                For those interested in changing post processor for Vcarve. I got this instant reply from Vectric

                You cannot use " marks in the list of commands as these are used to tell the software that this is where a line begins or ends.

                On Page 28 of the Post Processor editing guide this is described in more detail.

                For example the line:
                M291 P"Have you set work coordinates ?" S3.

                is replaced with

                "M291 P[34]Have you set work coordinates ?[34] S3."

                Thanks Vectric for that.

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