Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Using subprograms/subroutines with AXYZ router?


Dontech
 Share

Recommended Posts

HI all. I'm in another pinch and hope someone can help me out.

 

We just bought an AXYZ gantry router at the turn of the year, and after much headaches and troubleshooting related to a bad board installed, we're up and running.

Ran two separate 1-up programs no sweat, and now we're trying to get a multiple-up program running, but we're having trouble getting the machine to accept the NC code for subroutine call-up. Here is a snippet of the code the machine will not accept and errors on:

...G00Z1.
G00X31.3995Y9.18
M98P5
G00G90X8.8795Y22.91
M98P5
G00G90X31.3995Y22.91
M98P5
X70.(RACK-IN-THE-BACK)
M30

O5

G91
G00Z-.8
G01Z-.22F5.
G01X-.025F13.
G02X.051I31.4J9.18
G02X-.051I31.4J9.18
G02X.0019Y.0098I31.4J9.18
G01X.0231Y-.0096
G01Z.22F500.
G00Z.8
G00X1.9Y-.0002...

 

The documentation from their site says P specifies sub number, and the subs themselves require an O...all normal stuff, nothing unexpected there. Also says that an "L" is optional for repeats, but I'm not using any. I'm just trying to run a pattern and transform it one time over to the right and then one time up in "Y", producing a 2-x-2 pattern. The machine will verify the pattern from the main prog runs right but each of the three subs called up produce a ballooned-up pattern of ever-growing circles off the main pattern. I'm not sure how else to program the sub call up; there aren't too many variables to try. Playing phone-tag with them is a no-go today, so does anyone have any experience with AXYZ subroutine execution? We needed a custom post-processor from Cimquest to use Mastercam with this machine and this seems to work fine posting 1-up NC code. Any help at all would be appreciated, and apologies if this is posted in the wrong place.

Rob.

 

 

 

Link to comment
Share on other sites
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...