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:

Need help!!!


Thirteenth
 Share

Recommended Posts

Ok, I have just started using, well started this year, mastercam. Our school has the older V8 and V8.1.1 of this.

 

I have been in CAD class for 4 semesters now, I know how to draw in autocad decently and rhino pretty well to. Could learn a few things i magin.

 

anyway, im having problems. here is what i have done.

 

I drew up a part that i planned on making. I drew this in autocad2000. I then opened it up in mastercam, not as a dwg, but as some other type of file. i dont remember what kind. if this matters, i can find out.

 

Ok, so its in MasterCam, looking good and all. I start making the toolpaths. I used contour and then chain. basicly i got all the toolpaths made, only 2 actually. I can verify it just fine, it looks good.

 

Ok, teacher says ive done all i need. So we start to do the next step and make it on the machine.

 

Its a EMCO PC 50 mill. we used the EMCO program that i guess came with the mill. Well we open it up and everything, load the stuff, but the "program" wont load. It says the "MC30" isnt there.

 

I dont know where i went wrong. If you need more details, please let me know what you need to know! Or if you know how to fix this, please, please, post! thanks a ton.

 

-Jay

Link to comment
Share on other sites
  • Replies 101
  • Created
  • Last Reply

Top Posters In This Topic

Well I would that that is like a Regular M30 and you may just need to change the Definiton in the Post to make it be a MC30 verse what is might be now. Put up some sample code and someone can tell you real quick what you have by looking at the starting and ending code.

 

Oh yeah welcome4.gifFORUM

 

Crazy Millman

 

[ 12-16-2003, 10:34 PM: Message edited by: Millman^Crazy ]

Link to comment
Share on other sites

If Millman is correct, and the end of file should read MC30, you can open the post and look for this..

 

code:

peof            #End of file for non-zero tool

iseof = 1

pretract

iseof = 0

spaces=0

comment

spaces=sav_spc

#Remove pound character to output first tool with staged tools

#if stagetool = one, pbld, n, *first_tool, e

#pbld, n, "G52", "Y0.", e

if stagetool <> 0, pbld, n, "M06", e

if t <> first_tool, n, first_tool, "M06", e

if sav_mi3 = 1, n, "M33", e

n, "M30", e

The last line,

 

n, "M30", e

 

needs to be changed to

 

n, "MC30", e

 

Save and re-post.

 

(BTW, you can edit the machine code first to see if that's it, just open it in notepad or whatever and go to the end of the file and look for the

 

M30

 

and change it to

 

MC30

 

and try to send it again.)

 

WELCOME TO THE FORUM!!! biggrin.gif

 

'Rekd

Link to comment
Share on other sites

Welcome to the forum

 

I echo what the other cats said about putting up some code like you want it to look and some the way you're getting it now; we can advise you on what you need to do from there.

 

As far as editors go I'd use the CimcoEdit that you have with your Mastercam seat to edit as it has many NC functions that pure text editors do not.

 

C

Link to comment
Share on other sites

The thing about most notepads or other editors of that sort is that they always want to save a files as a TXT extension. If you look at a post it is a PSB extension and if you edit them in the noepad or soemthign that doesn't give you the freedom like the old dos editors use to them it can be a freaking night mare. The Cimco or any other editor that ships with Mastercam(To use these go to File/Edit/Editors here it will allow you to select which one here) I am not sure if a student version uses a hasp if it does not it will not allow this. One of the other Teacher Members should be able to fill in that blank.

 

Crazy Millman

Link to comment
Share on other sites

%

O0000

(PROGRAM NAME - O1578)

(DATE=DD-MM-YY - 17-12-03 TIME=HH:MM - 07:22)

N100G20

N102G0G17G40G49G80G90

(3/16 FLAT ENDMILL TOOL - 1 DIA. OFF. - 41 LEN. - 1 DIA. - .1875)

N104T1M6

N106G0G90G54X6.2228Y8.0831A0.S2852M3

N108G43H1Z.25

N110Z.1

N112G1Z0.F6.16

N114Y8.6047Z-.0273

N116X6.1018Y8.8906Z-.0436

 

 

thats the very begining of the code.

 

 

N244X6.0598Y8.8614Z-.4624

N246G3X5.5791Y9.0506Z-.4901R.7057

N248X5.0983Y8.8614Z-.5178R.7057

N250G1X4.9853Y8.5946Z-.533

N252Y8.1022Z-.5588

N254X5.1423Y7.9269Z-.5711

N256G3X5.5791Y7.7931Z-.5954R.7795

N258X6.0158Y7.9269Z-.6197R.7795

N260G1X6.1728Y8.1022Z-.632

N262Y8.4448Z-.65

N264Y8.5946

N266X6.0598Y8.8614

N268G3X5.5791Y9.0506R.7057

N270X5.0983Y8.8614R.7057

N272G1X4.9853Y8.5946

N274Y8.1022

N276X5.1423Y7.9269

N278G3X5.5791Y7.7931R.7795

N280X6.0158Y7.9269R.7795

N282G1X6.1728Y8.1022

N284Y8.4448

N286G0Z.25

N288M5

N290G91G28Z0.

N292G28X0.Y0.A0.

N294M30

%

 

thats the end part of the code i just got. if ya need something else let me know.

 

[ 12-17-2003, 10:50 AM: Message edited by: Thirteenth ]

Link to comment
Share on other sites

Please post a verbatim sample of post processed code including the exact file name including .XXX.

 

Also please post a verbatim sample of code that has run in the machine, particularly the start and end lines including exact file name.

 

Sometimes little details like % or ; in the wrong place mess things up.

Link to comment
Share on other sites

As posted, File name: 213153.TXT

 

%

(213153)

(PROGRAM NAME - 213153 DATE=DD-MM-YY - 15-12-03 TIME=HH:MM - 13:52)

(POST LICENSE - VEECO)

(TOOL - 21 OFFSET - 21)

(DRILL #1 CENTER DRILL .046)

G20

N100 G28 U0.

G28 W0.

M200

T2121.0008 B24

deleted code

X8.6041 Z-.1538 C84.197 Q188

X9.0753 Z-.1538 C96.326 Q188

Z-.1538 C83.674 Q188

G80

M9

G69.5

Y0.

G28 U0.

G28 W0. M205

M30

%

 

 

Proven code File name 213153.EIA

 

(213153)

(PROGRAM NAME - 213153 DATE=DD-MM-YY - 15-12-03 TIME=HH:MM - 13:52)

(POST LICENSE - VEECO)

(TOOL - 21 OFFSET - 21)

(DRILL #1 CENTER DRILL .046)

G20

N100 G28 U0.

G28 W0.

M200

T2121.0008 B24

deleted code

X8.6041 Z-.1538 C84.197 Q188

X9.0753 Z-.1538 C96.326 Q188

Z-.1538 C83.674 Q188

G80

M9

G69.5

Y0.

G28 U0.

G28 W0. M205

M30

%

 

Notice the % is missing from the proven code??? And the file name is different? These are the details required to get you zooming.

 

Edit: Maybe I should clarify that your code does not need to look exactly like my code. It needs to look exactly like like code that has been proven in your machine and we will help you look for the details.

 

[ 12-17-2003, 12:19 PM: Message edited by: Harryman ]

Link to comment
Share on other sites

%

O0000

(PROGRAM NAME - O1578)

(DATE=DD-MM-YY - 17-12-03 TIME=HH:MM - 09:15)

N100G20

N102G0G17G40G49G80G90

(3/16 FLAT ENDMILL TOOL - 1 DIA. OFF. - 41 LEN. - 1 DIA. - .1875)

N104T1M6

N106G0G90G54X6.2228Y8.0831A0.S2852M3

N108G43H1Z.25

N110Z.1

N112G1Z0.F6.16

N114Y8.6047Z-.0273

N116X6.1018Y8.8906Z-.0436

N118G3X5.5791Y9.1006Z-.0739R.7557

N120X5.0563Y8.8906Z-.1041R.7557

N122G1X4.9353Y8.6047Z-.1204

N124Y8.0831Z-.1477

N126X5.1091Y7.889Z-.1614

N128G3X5.5791Y7.7431Z-.1876R.8295

N130X6.049Y7.889Z-.2137R.8295

N132G1X6.2228Y8.0831Z-.2274

N134Y8.6047Z-.2547

N136X6.1018Y8.8906Z-.271

N138G3X5.5791Y9.1006Z-.3013R.7557

N140X5.0563Y8.8906Z-.3315R.7557

N142G1X4.9353Y8.6047Z-.3478

N144Y8.0831Z-.3751

N146X5.1091Y7.889Z-.3888

N148G3X5.5791Y7.7431Z-.4149R.8295

N150X6.049Y7.889Z-.4411R.8295

N152G1X6.2228Y8.0831Z-.4548

N154Y8.6047Z-.4821

N156X6.1018Y8.8906Z-.4984

N158G3X5.5791Y9.1006Z-.5286R.7557

N160X5.0563Y8.8906Z-.5589R.7557

N162G1X4.9353Y8.6047Z-.5752

N164Y8.0831Z-.6025

N166X5.1091Y7.889Z-.6162

N168G3X5.5791Y7.7431Z-.6423R.8295

N170X5.7245Y7.7559Z-.65R.8295

N172X6.049Y7.889R.8295

N174G1X6.2228Y8.0831

N176Y8.6047

N178X6.1018Y8.8906

N180G3X5.5791Y9.1006R.7557

N182X5.0563Y8.8906R.7557

N184G1X4.9353Y8.6047

N186Y8.0831

N188X5.1091Y7.889

N190G3X5.5791Y7.7431R.8295

N192X5.7245Y7.7559R.8295

N194G0Z.25

N196X6.1728Y8.1022

N198Z.1

N200G1Z0.

N202Y8.5946Z-.0258

N204X6.0598Y8.8614Z-.041

N206G3X5.5791Y9.0506Z-.0687R.7057

N208X5.0983Y8.8614Z-.0964R.7057

N210G1X4.9853Y8.5946Z-.1116

N212Y8.1022Z-.1374

N214X5.1423Y7.9269Z-.1498

N216G3X5.5791Y7.7931Z-.1741R.7795

N218X6.0158Y7.9269Z-.1984R.7795

N220G1X6.1728Y8.1022Z-.2107

N222Y8.5946Z-.2365

N224X6.0598Y8.8614Z-.2517

N226G3X5.5791Y9.0506Z-.2794R.7057

N228X5.0983Y8.8614Z-.3071R.7057

N230G1X4.9853Y8.5946Z-.3223

N232Y8.1022Z-.3481

N234X5.1423Y7.9269Z-.3604

N236G3X5.5791Y7.7931Z-.3847R.7795

N238X6.0158Y7.9269Z-.409R.7795

N240G1X6.1728Y8.1022Z-.4214

N242Y8.5946Z-.4472

N244X6.0598Y8.8614Z-.4624

N246G3X5.5791Y9.0506Z-.4901R.7057

N248X5.0983Y8.8614Z-.5178R.7057

N250G1X4.9853Y8.5946Z-.533

N252Y8.1022Z-.5588

N254X5.1423Y7.9269Z-.5711

N256G3X5.5791Y7.7931Z-.5954R.7795

N258X6.0158Y7.9269Z-.6197R.7795

N260G1X6.1728Y8.1022Z-.632

N262Y8.4448Z-.65

N264Y8.5946

N266X6.0598Y8.8614

N268G3X5.5791Y9.0506R.7057

N270X5.0983Y8.8614R.7057

N272G1X4.9853Y8.5946

N274Y8.1022

N276X5.1423Y7.9269

N278G3X5.5791Y7.7931R.7795

N280X6.0158Y7.9269R.7795

N282G1X6.1728Y8.1022

N284Y8.4448

N286G0Z.25

N288M5

N290G91G28Z0.

N292G28X0.Y0.A0.

N294M30

%

 

that is the entire NC file. now...this is only 1 chain for the part that i need to do. I want to get something made, so i know im going in the right track.

 

now, what is going wrong here? why isnt it reading?

 

is the

 

O0000 wrong? should that be changed to O1578

 

should the % at the very begining be deleted?

Link to comment
Share on other sites

I don't like the O0000; try it with O [that's 'Oh', not zero] and a number: O1234

 

% usually wants to be there

 

can you get any other files to transfer to the machine and work? what do they look like? don't really get the 'N5' thing because there isn't one in your program

 

please post a file here that ACTUALLY WORKS so we can see it

 

C

Link to comment
Share on other sites

i would post one, if there was one on this computer. the computer that has one that works, does not have the internet. so yeah, little stuck there.

 

but it doesnt look anything like this one. Teach said its cuz they are completly different things, mine is a 3d type object, his was just a flat thing w/ MC wrote on it.

Link to comment
Share on other sites

Can you save the working code to a floppy, and then get it to the online computer?

 

It doesn't matter whether the parts resemble each other. We need to see the details of the code that works. Write it down and type three lines or so from the beginning and end of the working program if that's all you can do.

Link to comment
Share on other sites

If this machine was communicating, it would seem to me that the problem lies with the code itself, and I see several places where this could be an issue. First thing I would do is strip all the comment stuff. Next I would strip all of the fourth axis stuff. And finally I would look at some of helical moves. It's my guess the control doesn't like lines like

"N118G3X5.5791Y9.1006Z-.0739R.7557"

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