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:

Segment numbers in subprograms


Recommended Posts

Hello, here's a little problem which is mostly esthetical - except for some Heidenhain controls, it isn't.

 

Obviously, when there's a subprogram, it's in the middle of everything and thus n$ number is whatever it happens to be at that moment. So when you merge the subprograms at peof$ postblock, you get this:

 

...

124 L Z+30. F MAX

125 TOOL CALL 0

126 M6

127 L M30

0 LBL 1 ; line number should be 128

1 L IY-21.65 R0 F MAX M99 ; 129 here, and so on

2 L IX-18.75 IY-10.826 R0 F MAX M99

...

 

So, in Heidenhain control, I'd like to get line (seqment) numbers to just keep counting after L M30.

 

 

I think there was some simple way to do this in a post, can't remember it...

 

(And yes, this is a post problem. I know about "Reset sequence numbers in subprograms" option in Control Definition. If it's not on the line number is just whatever it happens to be at the time the subprogram is created. In this case, 9, 10, 11 etc.)

Link to comment
Share on other sites
  • 2 weeks 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...