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:

eob$ (end of block)


Recommended Posts

Do you have   e$   at the end of each block in the post?  If so you can get the dollar sign output you're looking for by inserting an ASCII character.  Using the replace function, change all   , e$  with    , 36, e$     The number 36 will output a dollar sign to your posted code.

Link to comment
Share on other sites

What I would do, to save a bunch of typing, is create an EOB post block. Then, for every line you want an EOB, instead of typing 36, eob$, you can just type pe

 

Then somewhere in the post, create a post block that says this:

 

pe

      36, eob$

 

and do a find, replace to replace eob$ with pe  (except for in that postblock)

Link to comment
Share on other sites

The call to 'pprep$' is made before the Control Definition is read. You could move this code to the beginning of 'psof$' and it would work there for you. The proper way to do this however is to use the Control Definition, as this is expressly the type of thing it was designed to handle.

 

When you enable the 'Alternate EOB character' option, this sets the pre-defined variable 'use_alt_eob$' to 'yes$'. (1)

 

The Alternate EOB character output can be a single ASCII value if only the first alternate is set, or you can output two optional EOB characters by using the first and second alternates. (MP will automatically output both if both are not zero)

 

There is also a checkbox that controls the option for removing the carriage return and line feed characters (when checked).

 

Hope that helps,

 

Colin

Link to comment
Share on other sites

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...