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:

I have a SMALL post problem


Thee Rickster ™
 Share

Recommended Posts

...and its not that I ate to much Sugar Crisp's in

one sitting....again...

 

I just have to remove this be cause the bracketed

file location cause a no bracket error on my Haas

machine. Its too long.

.

POSTPROLLY.jpg

.

I know nothing about posts but I have been

watchin threads on it and just need a little direction,

(as well as the complete solution) wink.gif

 

any help would be greatly appreciated

thanks in advance

 

Rick

Link to comment
Share on other sites

Rick

 

I think that is being output by the pheader section of the post.

 

code:

 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

#scomm_str, "PROGRAM NAME - ", sprogname, scomm_end, e

#scomm_str, "DATE=DD-MM-YY - ", date, " TIME=HH:MM - ", time, scomm_end, e

#scomm_str, "MASTERCAM - V", *vers_no$, scomm_end, e$

scomm_str, "MASTERCAM - X", scomm_end, e$

scomm_str, "MCX FILE - ", smcpath$, smcname$, smcext$, scomm_end, e$ <<<<<<<<< Here

if spostname_sav = snull, spostname_sav = spostname

scomm_str, "POST - ", snamepst$, scomm_end, e$

#scomm_str, "MP - V", *dll_vers$, scomm_end, e$

stck_matl$ = ucase(stck_matl$)

scomm_str, "MATERIAL - ", stck_matl$, scomm_end, e$

scomm_str, "PROGRAM - ", sprogname$, sextnc$, scomm_end, e$

scomm_str, "DATE - ", *smonth, "-", *day$, "-", *year$, scomm_end, e$ # MON-DD-YYYY

#scomm_str, "DATE - ", *year$, "/", *month$, "/", *day$, scomm_end, e$ # YYYY/MN/DD

#scomm_str, "DATE - ", *day$, "/", *month$, "/", *year$, scomm_end, e$ # DD/MN/YYYY

#scomm_str, "DATE - ", date$, scomm_end, e$ # DD-MM-YR

scomm_str, "TIME - ", *hour, ":", *min, [if time$ < 12, " AM"], [if time$ >= 12, " PM"], scomm_end, e$ # 12 hour

#scomm_str, "TIME - ", time$, scomm_end, e$ # 24 hour

scomm_str, "POST DEV - ", *slicense, scomm_end, e$

spaces$=sav_spc

I would ply with the variables on this line till I got what I needed.

 

HTH

Link to comment
Share on other sites

Hey Rick, alot of times you don't necessarily have to remove the line, just rem it by putting a pound sign in front like 3rdString has:

 

#scomm_str, "PROGRAM NAME - ", sprogname, etc.etc.

 

That tells it not to read that line. If you look at the comment at the beginning of a post you'll see all the lines start with a pound sign.HTH

Al

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