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:

pheader


Recommended Posts

pheader$ #Call before start of file

hour = int(time$)

min = int((time$ - hour)* 100)

if hour > 12, hour = hour - 12

if hour = 0, hour = 12

year$ = year$ + 2000

 

"%", e$

spaces$=0

*progno$, " ", scomm_str, sprogname$, scomm_end, e$

spathnc$ = ucase(spathnc$)

smcname$ = ucase(smcname$)

comment$ # File descriptor

spaces$=0

 

Try adding the comment$ line.

Link to comment
Share on other sites

Hi Gene,

 

Welcome to the forum.

 

Here is how it's done...always back up post first!!!!!!!!!!!!!!

 

Go to the section of your post labeled "String Definitions" or something like that

and add this line

smgrp  : ""

 

Then go to the pheader postblock (or where ever you want the output to be) and add

these two lines


 	rd_cd$
 	pbld,  "( ", smgrp, " )", e$

 

Then find the pmachineinfo postblock and add this line

 	if prmcode$ = 19990, smgrp = sparameter$

Link to comment
Share on other sites

Gene,

 

An alternative to making post edits, would be to configure your control definition.

 

1. Open the Control Definition Manager found on the "settings" drop down menu.

2. Go to the "NC Output --> General" Tab.

3. Select "Output group name to NC".

4. Save your control definition.

5. Reload your Machine definition.

 

If this does not output the Machine group name in your NC code, make sure the "comment$" line is present in your post as explained by Mr Wizard above.

 

- Ed

Link to comment
Share on other sites

-Start

-All Programs

-Mastercam X5 (I have X5 but I think you should have it with X4 as well)

-Documentation

-Mastercam X5 NCI Parameter Reference Guide

 

That Guide along with this Forum... Like having the developers of Mastercam sharing my office with me!!!!!!!!!!!!

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