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:

Upgrade from x2 to x6 mu2


drafting3
 Share

Recommended Posts

So, yeah...

 

computer is built, os installed, drivers installed, mastercam installed.

 

everything has went PERFECT, until now.

 

 

 

Can anyone point me to a guide for updating .pst, .mmd, and .control files to x6 from x2? I copied them over, renamed them *-6 so x6 would read them, but I still get error messages when I post the gcode.

 

 

Also, in X2 when I create an .nc file, CimcoEdit would automatically open up. This no longer happens. Suggestions?

Link to comment
Share on other sites

http://www.emasterca...showtopic=64805

 

you can also find info here

"C:\Program Files\mcamx6\documentation\MCAMX6_Transition_Guide.pdf"

 

Thanks!

 

To fix your cimco problem:

 

Select settings, configuration, go into the start / exit page and then at the bottom of that page change your editor to Cimco.

 

That should do the trick.

 

Thanks!

 

 

I'm going to dive into this on monday. Looking forward to finishing the transition and getting back to work!

Link to comment
Share on other sites

Well I would never have recommend you follow the process you did. Think about what you did. If the mmd or cmd had changes to the process or method in which things were done from version to version how changing the extension account for that? It is like taking a config file for your computer that worked in Xp renaming it to work in Win 7 then wonder why there are problems. The recommend and best method is to use the update utility. Following this process should yield the results you desire.

 

HTH

  • Like 1
Link to comment
Share on other sites

Well I would never have recommend you follow the process you did. Think about what you did. If the mmd or cmd had changes to the process or method in which things were done from version to version how changing the extension account for that? It is like taking a config file for your computer that worked in Xp renaming it to work in Win 7 then wonder why there are problems. The recommend and best method is to use the update utility. Following this process should yield the results you desire.

 

HTH

 

I completely agree with you. However, the post processing and settings config files in X6 look remarkably similar to X2 (identical actually), so I figured it was worth a shot to just try to "force it through". I do get gcode, and it does match what I used to produce with X2, so I was partially right. The error messages I'm getting are not devastating, just irritating.

 

If I had to guess, I would say mastercam didn't change much of the post processing going to X6, but needed a way to get people to pay more for the initial setup. Sounds familiar, yes? (i.e. every software company ever)

 

Then again, it is monday, and I may just be extra cynical this morning. ;)

Link to comment
Share on other sites

spoke too soon.

 

 

01 Oct 2012 09:21:53 AM - <0> - Report created.

01 Oct 2012 09:21:53 AM - <2> - Initialize posting log file

01 Oct 2012 09:21:53 AM - <2> - Using MP run version 15.00 and post components version 15.00

01 Oct 2012 09:21:53 AM - <2> - Initiate opening the post processor file(s).

01 Oct 2012 09:21:53 AM - <2> - C:\USERS\PUBLIC\DOCUMENTS\SHARED MCAMX6\MILL\POSTS\MPSNK3.PST

01 Oct 2012 09:21:53 AM - <2> - The post processor file has been successfully opened.

01 Oct 2012 09:21:53 AM - <2> - Post version information (input):

01 Oct 2012 09:21:53 AM - <2> - UPDATEPOST Version 15. was used to modify this file.

01 Oct 2012 09:21:53 AM - <2> - The file was modified by this product on 28 Sep 12 15:18:51

01 Oct 2012 09:21:53 AM - <2> - The post was written to run with Mastercam Version 15.

01 Oct 2012 09:21:53 AM - <2> - The post product type is Mill.

01 Oct 2012 09:21:53 AM - <2> - Initialization of pre-defined post variables, strings, postblocks was successful.

01 Oct 2012 09:21:53 AM - <2> - Search for defined post variables, strings, postblocks was successful.

01 Oct 2012 09:21:55 AM - <2> - PST LINE (561) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (614) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (766) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (770) - The post block output type processing has failed!, , Label has not been defined[8]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (774) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (797) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (807) - The post block output type processing has failed!, , Label has not been defined[26]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (808) - The post block output type processing has failed!, , Label has not been defined[13]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (809) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (978) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (984) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (990) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (996) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (1002) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (1008) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (1014) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (1023) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'met_ltol$' was re-initialized from 0.002 to 0.01

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'helix_tol$' was re-initialized from 0.0005 to 0.0001

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'met_helix_tol$' was re-initialized from 0.005 to 0.001

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'dec_seq_right$' was re-initialized from 3. to 0.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'arctype$' was re-initialized from 2. to 5.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'arctypexz$' was re-initialized from 2. to 5.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'arctypeyz$' was re-initialized from 2. to 5.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'larctype$' was re-initialized from 2. to 5.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'larctypexz$' was re-initialized from 2. to 5.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'larctypeyz$' was re-initialized from 2. to 5.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'helix_arc$' was re-initialized from 2. to 1.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'lhelix_arc$' was re-initialized from 2. to 1.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'arccheck$' was re-initialized from 1. to 11311.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'larccheck$' was re-initialized from 1. to 11311.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'rotfeed4$' was re-initialized from 2. to 1.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'rotfeed5$' was re-initialized from 3. to 1.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'lrotfeed4$' was re-initialized from 2. to 1.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'lrotfeed5$' was re-initialized from 0. to 1.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'peckacel$' was re-initialized from 0. to 1.

01 Oct 2012 09:21:55 AM - <2> - PST LINE (1210) - Dollar Sign ('$') found terminating user defined variable/string/postblock

01 Oct 2012 09:21:55 AM - <2> - PST LINE (1229) - Dollar Sign ('$') found terminating user defined variable/string/postblock

01 Oct 2012 09:21:55 AM - <2> - Successful completion of posting process!

 

 

gcode is good, but i still get errors after i post. these do not seem system critical, just annoying.

 

suggestions?

Link to comment
Share on other sites

01 Oct 2012 09:21:55 AM - <2> - PST LINE (1210) - Dollar Sign ('$') found terminating user defined variable/string/postblock

01 Oct 2012 09:21:55 AM - <2> - PST LINE (1229) - Dollar Sign ('$') found terminating user defined variable/string/postblock

 

these 2 lines in your post proccessor are causing the error report.

obviously they are not critical, but will have to be addressed if you want to get rid of the error report every time you post

Link to comment
Share on other sites

Actually, every line that puts out an error should be gone over.

 

Many may be related to one error but they should be looked at and the post cleaned up.

 

What functions OK this time, in the future depending on the issue, may not. So best to deal with it.

 

If you don't know anything about posts, send the post and error log to your reseller

Link to comment
Share on other sites

01 Oct 2012 09:21:55 AM - <2> - PST LINE (561) - The post block output type processing has failed!, , Label has not been defined[7]

 

 

if mi1$ > one, absinc$ = zero

pcan1$, pbld, n$, *sgcode, *sgabsinc, pwcs, pfxout, pfyout, (line 561)

pfcout, *speed, *spindle, pgear, strcantext, e$

pbld, n$, "G43", *tlngno$, pfzout, scoolant, e$

 

01 Oct 2012 09:21:55 AM - <2> - PST LINE (614) - The post block output type processing has failed!, , Label has not been defined[7]

 

 

if mi1$ > one, absinc$ = zero

pcan1$, pbld, n$, *sgcode, *sgabsinc, pwcs, pfxout, pfyout, (line 614)

pfcout, *speed, *spindle, pgear, strcantext, e$

pbld, n$, "G43", *tlngno$, pfzout, scoolant, e$

 

01 Oct 2012 09:21:55 AM - <2> - PST LINE (766) - The post block output type processing has failed!, , Label has not been defined[7]

 

 

prapidout #Output to NC of linear movement - rapid

pcan1$, pbld, n$, sgplane, `sgcode, sgabsinc, pccdia, (line 766)

pxout, pyout, pzout, pcout, strcantext, scoolant, e$

 

 

01 Oct 2012 09:21:55 AM - <2> - PST LINE (770) - The post block output type processing has failed!, , Label has not been defined[8]

 

 

plinout #Output to NC of linear movement - feed

pcan1$, pbld, n$, sgfeed, sgplane, `sgcode, sgabsinc, pccdia, (line 770)

pxout, pyout, pzout, pcout, feed, strcantext, scoolant, e$

 

01 Oct 2012 09:21:55 AM - <2> - PST LINE (774) - The post block output type processing has failed!, , Label has not been defined[7]

 

 

pcirout #Output to NC of circular interpolation

pcan1$, pbld, n$, `sgfeed, sgplane, sgcode, sgabsinc, pccdia, (line 774)

pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e$

 

 

01 Oct 2012 09:21:55 AM - <2> - PST LINE (797) - The post block output type processing has failed!, , Label has not been defined[7]

 

 

pcom_movea #Common motion preparation routines, after

pcan2$ (line 797)

pe_inc_calc

 

 

01 Oct 2012 09:21:55 AM - <2> - PST LINE (807) - The post block output type processing has failed!, , Label has not been defined[26]

 

01 Oct 2012 09:21:55 AM - <2> - PST LINE (808) - The post block output type processing has failed!, , Label has not been defined[13]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (809) - The post block output type processing has failed!, , Label has not been defined[7]

 

 

pdwl_spd$ #Call from NCI gcode 4

pspindle

comment$

if prv_spdir2 <> spdir2, pbld, n$, *sm05, e$

if prv_speed <> speed | prv_spdir2 <> spdir2,

pbld, n$, *speed, *spindle, pgear, e$

pcan

if fmtrnd(dwell$), pcan1$, pbld, n$, *sgcode, *dwell$, strcantext, e$

else, pcan1$, pbld, n$, strcantext, e$ (line 807)

pcan2$ (line 808)

(line 809)

 

 

01 Oct 2012 09:21:55 AM - <2> - PST LINE (978) - The post block output type processing has failed!, , Label has not been defined[7]

 

01 Oct 2012 09:21:55 AM - <2> - PST LINE (984) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (990) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (996) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (1002) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (1008) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (1014) - The post block output type processing has failed!, , Label has not been defined[7]

01 Oct 2012 09:21:55 AM - <2> - PST LINE (1023) - The post block output type processing has failed!, , Label has not been defined[7]

 

 

 

pdrill$ #Canned Drill Cycle

pdrlcommonb

pcan1$, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, (line 978)

prdrlout, dwell$, *feed, strcantext, e$

pcom_movea

 

ppeck$ #Canned Peck Drill Cycle

pdrlcommonb

pcan1$, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, (line 984)

prdrlout, *peck1$, *feed, strcantext, e$

pcom_movea

 

pchpbrk$ #Canned Chip Break Cycle

pdrlcommonb

pcan1$, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, (line 990)

prdrlout, *peck1$, *feed, strcantext, e$

pcom_movea

 

ptap$ #Canned Tap Cycle

pdrlcommonb

pcan1$, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, (line 996)

prdrlout, *feed, strcantext, e$

pcom_movea

 

pbore1$ #Canned Bore #1 Cycle

pdrlcommonb

pcan1$, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, (line 1002)

prdrlout, dwell$, *feed, strcantext, e$

pcom_movea

 

pbore2$ #Canned Bore #2 Cycle

pdrlcommonb

pcan1$, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, (line 1008)

prdrlout, *feed, strcantext, e$

pcom_movea

 

pmisc1$ #Canned Misc #1 Cycle

pdrlcommonb

pcan1$, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, (line 1014)

prdrlout, shftdrl$, dwell$, *feed, strcantext, e$

pcom_movea

 

pmisc2$ #Canned Misc #2 Cycle (User Option)

pdrill$

 

pdrill_2$ #Canned Drill Cycle, additional points

pdrlcommonb

pcan1$, pbld, n$, pxout, pyout, pzout, pcout, prdrlout, dwell$, (line 1023)

feed, strcantext, e$

pcom_movea

 

 

 

 

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'met_ltol$' was re-initialized from 0.002 to 0.01

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'helix_tol$' was re-initialized from 0.0005 to 0.0001

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'met_helix_tol$' was re-initialized from 0.005 to 0.001

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'dec_seq_right$' was re-initialized from 3. to 0.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'arctype$' was re-initialized from 2. to 5.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'arctypexz$' was re-initialized from 2. to 5.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'arctypeyz$' was re-initialized from 2. to 5.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'larctype$' was re-initialized from 2. to 5.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'larctypexz$' was re-initialized from 2. to 5.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'larctypeyz$' was re-initialized from 2. to 5.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'helix_arc$' was re-initialized from 2. to 1.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'lhelix_arc$' was re-initialized from 2. to 1.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'arccheck$' was re-initialized from 1. to 11311.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'larccheck$' was re-initialized from 1. to 11311.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'rotfeed4$' was re-initialized from 2. to 1.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'rotfeed5$' was re-initialized from 3. to 1.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'lrotfeed4$' was re-initialized from 2. to 1.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'lrotfeed5$' was re-initialized from 0. to 1.

01 Oct 2012 09:21:55 AM - <2> - CONTROL DEFINITION - Post variable 'peckacel$' was re-initialized from 0. to 1.

 

^^^ Are these errors? ^^^

 

 

 

01 Oct 2012 09:21:55 AM - <2> - PST LINE (1210) - Dollar Sign ('$') found terminating user defined variable/string/postblock

 

 

 

pcan1$ #Canned text - with move (line 1210)

strcantext = sblank

if cant_no$ > zero,

[

if cant_pos1$ = one, pcant_1

if cant_pos2$ = one, pcant_2

if cant_pos3$ = one, pcant_3

if cant_pos4$ = one, pcant_4

if cant_pos5$ = one, pcant_5

if cant_pos6$ = one, pcant_6

if cant_pos7$ = one, pcant_7

if cant_pos8$ = one, pcant_8

if cant_pos9$ = one, pcant_9

if cant_pos10$ = one, pcant_10

]

if cstop$, strcantext = strcantext + sm00

if cgstop$, strcantext = strcantext + sm01

#Output of strcantext occurs at the end of the output line

 

 

01 Oct 2012 09:21:55 AM - <2> - PST LINE (1229) - Dollar Sign ('$') found terminating user defined variable/string/postblock

 

 

pcan2$ #Canned text - after output call (line 1229)

strcantext = sblank

if cant_no$ > zero,

[

if cant_pos1$ = two, pcant_1

if cant_pos2$ = two, pcant_2

if cant_pos3$ = two, pcant_3

if cant_pos4$ = two, pcant_4

if cant_pos5$ = two, pcant_5

if cant_pos6$ = two, pcant_6

if cant_pos7$ = two, pcant_7

if cant_pos8$ = two, pcant_8

if cant_pos9$ = two, pcant_9

if cant_pos10$ = two, pcant_10

pbld, n$, strcantext, e$

strcantext = sblank

]

Link to comment
Share on other sites

i've never worked with post processors before, but it looks like some pretty basic programming/logic.

 

 

all the errors are related to pcan1$ and pcan2$.

 

i assume the last two items i posted (lines 1210 and 1229) are the root of all the problems. it appears as if pcan1$ and pcan2$ are not defined properly.

 

i'm also assuming that a very minor and simple syntax modification will eliminate the errors, yes?

 

i'm also assuming one of you fine fellows knows exactly what i should do :D

Link to comment
Share on other sites

try putting a "#" in front of those 2 lines

that is the post equivelent of (MAN READABLE CODE) in gocde

 

isn't the # used for comments (i.e. lines that are not read by the program.)

 

if i put # in front of those lines, won't it cancel their call?

 

i'll try it.

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