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:

Sorry! Post not working anyone know why?


Recommended Posts

Hello all,

I have posted a message introducing myself once before and nobody responded.

I work in the Aerospace Dept. at Virginia Tech and I have been trying get the post files working for our machine for several months.

It is close to working. The problem with this post is that the machine isn't picking up an arc command although it is outputting the moves. Also, the T0 command isn't generated in order for the tool to go to Z-0. Any help making this post work would be awesome. Sorry I'm used to posting on digidesign and ford forums where you can ask anything. Thanks for any help that can be provided.

Scott Patrick

 

We are running Windows 7, Anilam Crusader Series M controller, Mastercam X4.

 

 

%

T1001

X.25 Z0.

T0

Z0

T1

G0 X2.852 Y.95

G0 Z1.

G0 Z.1

G1 Z-.05 F10.

G1 G41 D1 X2.352

G1 Y.25

G2 X2.35 Y.248 R.002

G1 X.75

G2 X.248 Y.75 R.502

G1 Y1.15

G2 X.75 Y1.652 R.502

G1 X2.35

G2 X2.352 Y1.65 R.002

G1 Y.95

G1 G40 X2.852

G1 Z-.1

G1 G41 D1 X2.352

G1 Y.25

G2 X2.35 Y.248 R.002

G1 X.75

G2 X.248 Y.75 R.502

G1 Y1.15

G2 X.75 Y1.652 R.502

G1 X2.35

G2 X2.352 Y1.65 R.002

G1 Y.95

G1 G40 X2.852

G1 Z-.15

G1 G41 D1 X2.352

G1 Y.25

G2 X2.35 Y.248 R.002

G1 X.75

G2 X.248 Y.75 R.502

G1 Y1.15

G2 X.75 Y1.652 R.502

G1 X2.35

G2 X2.352 Y1.65 R.002

G1 Y.95

G1 G40 X2.852

G1 Z-.2

G1 G41 D1 X2.352

G1 Y.25

G2 X2.35 Y.248 R.002

G1 X.75

G2 X.248 Y.75 R.502

G1 Y1.15

G2 X.75 Y1.652 R.502

G1 X2.35

G2 X2.352 Y1.65 R.002

G1 Y.95

G1 G40 X2.852

G1 Z-.25

G1 G41 D1 X2.352

G1 Y.25

G2 X2.35 Y.248 R.002

G1 X.75

G2 X.248 Y.75 R.502

G1 Y1.15

G2 X.75 Y1.652 R.502

G1 X2.35

G2 X2.352 Y1.65 R.002

G1 Y.95

G1 G40 X2.852

G1 Z-.15

G0 Z.25

G0 X2.85

G0 Z-.1

G1 Z-.25

G1 G41 D1 X2.35

G1 Y.25

G1 X.75

G2 X.25 Y.75 R.5

G1 Y1.15

G2 X.75 Y1.65 R.5

G1 X2.35

G1 Y.95

G1 G40 X2.85

G1 Z-.15

G0 Z1.

G0 X2.6398 Y3.0938

G0 Z.1

G1 Z-.05

G1 G41 D1 X2.1398

G1 Y2.4938

G2 X2.1378 Y2.4918 R.002

G1 X.7378

G2 X.2358 Y2.9938 R.502

G1 Y3.1938

G2 X.7378 Y3.6958 R.502

G1 X2.1378

G2 X2.1398 Y3.6938 R.002

G1 Y3.0938

G1 G40 X2.6398

G1 Z-.1

G1 G41 D1 X2.1398

G1 Y2.4938

G2 X2.1378 Y2.4918 R.002

G1 X.7378

G2 X.2358 Y2.9938 R.502

G1 Y3.1938

G2 X.7378 Y3.6958 R.502

G1 X2.1378

G2 X2.1398 Y3.6938 R.002

G1 Y3.0938

G1 G40 X2.6398

G1 Z-.15

G1 G41 D1 X2.1398

G1 Y2.4938

G2 X2.1378 Y2.4918 R.002

G1 X.7378

G2 X.2358 Y2.9938 R.502

G1 Y3.1938

G2 X.7378 Y3.6958 R.502

G1 X2.1378

G2 X2.1398 Y3.6938 R.002

G1 Y3.0938

G1 G40 X2.6398

G1 Z-.2

G1 G41 D1 X2.1398

G1 Y2.4938

G2 X2.1378 Y2.4918 R.002

G1 X.7378

G2 X.2358 Y2.9938 R.502

G1 Y3.1938

G2 X.7378 Y3.6958 R.502

G1 X2.1378

G2 X2.1398 Y3.6938 R.002

G1 Y3.0938

G1 G40 X2.6398

G1 Z-.25

G1 G41 D1 X2.1398

G1 Y2.4938

G2 X2.1378 Y2.4918 R.002

G1 X.7378

G2 X.2358 Y2.9938 R.502

G1 Y3.1938

G2 X.7378 Y3.6958 R.502

G1 X2.1378

G2 X2.1398 Y3.6938 R.002

G1 Y3.0938

G1 G40 X2.6398

G1 Z-.15

G0 Z.25

G0 X2.6378

G0 Z-.1

G1 Z-.25

G1 G41 D1 X2.1378

G1 Y2.4938

G1 X.7378

G2 X.2378 Y2.9938 R.5

G1 Y3.1938

G2 X.7378 Y3.6938 R.5

G1 X2.1378

G1 Y3.0938

G1 G40 X2.6378

G1 Z-.15

G0 Z1.

G0 X1.5582

G0 Z.1

G1 Z-.05 F0.

G3 X1.4879 Y3.1641 R.0703

G3 X1.4176 Y3.0938 R.0703

G3 X1.5817 Y2.9297 R.1641

G3 X1.7457 Y3.0938 R.1641

G3 X1.4879 Y3.3516 R.2578

G3 X1.2301 Y3.0938 R.2578

G3 X1.5817 Y2.7422 R.3516

G3 X1.7239 Y2.7723 R.3516

G3 X1.9078 Y3.0938 R.373

G3 X1.5348 Y3.4668 R.373

G3 X1.1618 Y3.0938 R.373

G3 X1.5348 Y2.7208 R.373

G3 X1.7239 Y2.7723 R.373

G1 Z.05

G0 Z.25

G0 X1.5582 Y3.0938

G0 Z.05

G1 Z-.1

G3 X1.4879 Y3.1641 R.0703

G3 X1.4176 Y3.0938 R.0703

G3 X1.5817 Y2.9297 R.1641

G3 X1.7457 Y3.0938 R.1641

G3 X1.4879 Y3.3516 R.2578

G3 X1.2301 Y3.0938 R.2578

G3 X1.5817 Y2.7422 R.3516

G3 X1.7239 Y2.7723 R.3516

G3 X1.9078 Y3.0938 R.373

G3 X1.5348 Y3.4668 R.373

G3 X1.1618 Y3.0938 R.373

G3 X1.5348 Y2.7208 R.373

G3 X1.7239 Y2.7723 R.373

G1 Z0.

G0 Z.25

G0 X1.5582 Y3.0938

G0 Z0.

G1 Z-.15

G3 X1.4879 Y3.1641 R.0703

G3 X1.4176 Y3.0938 R.0703

G3 X1.5817 Y2.9297 R.1641

G3 X1.7457 Y3.0938 R.1641

G3 X1.4879 Y3.3516 R.2578

G3 X1.2301 Y3.0938 R.2578

G3 X1.5817 Y2.7422 R.3516

G3 X1.7239 Y2.7723 R.3516

G3 X1.9078 Y3.0938 R.373

G3 X1.5348 Y3.4668 R.373

G3 X1.1618 Y3.0938 R.373

G3 X1.5348 Y2.7208 R.373

G3 X1.7239 Y2.7723 R.373

G1 Z-.05

G0 Z.25

G0 X1.5582 Y3.0938

G0 Z-.05

G1 Z-.2

G3 X1.4879 Y3.1641 R.0703

G3 X1.4176 Y3.0938 R.0703

G3 X1.5817 Y2.9297 R.1641

G3 X1.7457 Y3.0938 R.1641

G3 X1.4879 Y3.3516 R.2578

G3 X1.2301 Y3.0938 R.2578

G3 X1.5817 Y2.7422 R.3516

G3 X1.7239 Y2.7723 R.3516

G3 X1.9078 Y3.0938 R.373

G3 X1.5348 Y3.4668 R.373

G3 X1.1618 Y3.0938 R.373

G3 X1.5348 Y2.7208 R.373

G3 X1.7239 Y2.7723 R.373

G1 Z-.1

G0 Z.25

G0 X1.5582 Y3.0938

G0 Z-.1

G1 Z-.25

G3 X1.4879 Y3.1641 R.0703

G3 X1.4176 Y3.0938 R.0703

G3 X1.5817 Y2.9297 R.1641

G3 X1.7457 Y3.0938 R.1641

G3 X1.4879 Y3.3516 R.2578

G3 X1.2301 Y3.0938 R.2578

G3 X1.5817 Y2.7422 R.3516

G3 X1.7239 Y2.7723 R.3516

G3 X1.9078 Y3.0938 R.373

G3 X1.5348 Y3.4668 R.373

G3 X1.1618 Y3.0938 R.373

G3 X1.5348 Y2.7208 R.373

G3 X1.7239 Y2.7723 R.373

G1 Z-.15

G0 Z.25

G0 X1.2848 Y3.0938

G0 Z-.1

G1 Z-.25

G1 G41 D1 X1.0348

G3 X1.5348 Y2.5938 R.5

G3 X2.0348 Y3.0938 R.5

G3 X1.5348 Y3.5938 R.5

G3 X1.0348 Y3.0938 R.5

G3 X1.5348 Y2.5938 R.5

G3 X2.0348 Y3.0938 R.5

G3 X1.5348 Y3.5938 R.5

G3 X1.0348 Y3.0938 R.5

G1 G40 X1.2848

G1 Z-.15

G0 Z1.

G0 X1.6734 Y.95

G0 Z.1

G1 Z-.05

G3 X1.6031 Y1.0203 R.0703

G3 X1.5328 Y.95 R.0703

G3 X1.6969 Y.7859 R.1641

G3 X1.8609 Y.95 R.1641

G3 X1.6031 Y1.2078 R.2578

G3 X1.3453 Y.95 R.2578

G3 X1.6969 Y.5984 R.3516

G3 X1.8391 Y.6285 R.3516

G3 X2.023 Y.95 R.373

G3 X1.65 Y1.323 R.373

G3 X1.277 Y.95 R.373

G3 X1.65 Y.577 R.373

G3 X1.8391 Y.6285 R.373

G1 Z.05

G0 Z.25

G0 X1.6734 Y.95

G0 Z.05

G1 Z-.1

G3 X1.6031 Y1.0203 R.0703

G3 X1.5328 Y.95 R.0703

G3 X1.6969 Y.7859 R.1641

G3 X1.8609 Y.95 R.1641

G3 X1.6031 Y1.2078 R.2578

G3 X1.3453 Y.95 R.2578

G3 X1.6969 Y.5984 R.3516

G3 X1.8391 Y.6285 R.3516

G3 X2.023 Y.95 R.373

G3 X1.65 Y1.323 R.373

G3 X1.277 Y.95 R.373

G3 X1.65 Y.577 R.373

G3 X1.8391 Y.6285 R.373

G1 Z0.

G0 Z.25

G0 X1.6734 Y.95

G0 Z0.

G1 Z-.15

G3 X1.6031 Y1.0203 R.0703

G3 X1.5328 Y.95 R.0703

G3 X1.6969 Y.7859 R.1641

G3 X1.8609 Y.95 R.1641

G3 X1.6031 Y1.2078 R.2578

G3 X1.3453 Y.95 R.2578

G3 X1.6969 Y.5984 R.3516

G3 X1.8391 Y.6285 R.3516

G3 X2.023 Y.95 R.373

G3 X1.65 Y1.323 R.373

G3 X1.277 Y.95 R.373

G3 X1.65 Y.577 R.373

G3 X1.8391 Y.6285 R.373

G1 Z-.05

G0 Z.25

G0 X1.6734 Y.95

G0 Z-.05

G1 Z-.2

G3 X1.6031 Y1.0203 R.0703

G3 X1.5328 Y.95 R.0703

G3 X1.6969 Y.7859 R.1641

G3 X1.8609 Y.95 R.1641

G3 X1.6031 Y1.2078 R.2578

G3 X1.3453 Y.95 R.2578

G3 X1.6969 Y.5984 R.3516

G3 X1.8391 Y.6285 R.3516

G3 X2.023 Y.95 R.373

G3 X1.65 Y1.323 R.373

G3 X1.277 Y.95 R.373

G3 X1.65 Y.577 R.373

G3 X1.8391 Y.6285 R.373

G1 Z-.1

G0 Z.25

G0 X1.6734 Y.95

G0 Z-.1

G1 Z-.25

G3 X1.6031 Y1.0203 R.0703

G3 X1.5328 Y.95 R.0703

G3 X1.6969 Y.7859 R.1641

G3 X1.8609 Y.95 R.1641

G3 X1.6031 Y1.2078 R.2578

G3 X1.3453 Y.95 R.2578

G3 X1.6969 Y.5984 R.3516

G3 X1.8391 Y.6285 R.3516

G3 X2.023 Y.95 R.373

G3 X1.65 Y1.323 R.373

G3 X1.277 Y.95 R.373

G3 X1.65 Y.577 R.373

G3 X1.8391 Y.6285 R.373

G1 Z-.15

G0 Z.25

G0 X1.4 Y.95

G0 Z-.1

G1 Z-.25

G1 G41 D1 X1.15

G3 X1.65 Y.45 R.5

G3 X2.15 Y.95 R.5

G3 X1.65 Y1.45 R.5

G3 X1.15 Y.95 R.5

G3 X1.65 Y.45 R.5

G3 X2.15 Y.95 R.5

G3 X1.65 Y1.45 R.5

G3 X1.15 Y.95 R.5

G1 G40 X1.4

G1 Z-.15

G0 Z1.

G0 Z0.

G0 X0. Y0.

G29E

%

Link to comment
Share on other sites

FYI

The T0 command at the end of the program sends the tool back to Z0. If the T0 command isn’t there, then the control stops with the tool in the part.

The machine controller requires a line that says “arc cw” or “arc ccw” in order for it to recognize the x,y locations as arcs versus chamfer.

Thanks John.

Scott

Link to comment
Share on other sites

Scott, Welcome to the forum.

We run the Anilam 3000M and 5000 here,(they don't use T0)not sure of crusader M. I have seen that problem when the post leaves a ramp off move to cancel cutter comp, usally at end of program. I would also try what Leigh suggested.

Link to comment
Share on other sites

quote:

The machine controller requires a line that says “arc cw” or “arc ccw”

you should be able to output a program from the control that is in normal code , then you will see what it looks like to send back in. i had a post back in V7 that we used on a anilam supermax. i'll see if i can dig something up at home.

Link to comment
Share on other sites
Guest SAIPEM

Scott,

 

Anilam controls can read 2 different formats.

 

1) Modified G-Code

 

2) Conversational.

 

With these controls the conversational is almost always the more reliable way to go.

 

Conversational format programs should end with a '.m" file extension.

 

The Conversational post you have should work fine.

I'm willing to bet that all you need to do is configure the RS-232 Serial Communication to add the % character at the beginning and the end of the file.

 

Test it.

Open up a *.m file that has been posted.

Manually put the % at the beginning and the end of the file.

Save the file.

 

I bet your machine reads it with no problem.

 

[ 10-04-2010, 01:16 PM: Message edited by: SAIPEM ]

Link to comment
Share on other sites

It read but the file isn't machining the contour properly. It's not even close to machining this simple contour I created as a test.

Here is the post file.

 

*T

%

Dim Abs

Tool# 0

Rapid Z 0.0000

X 0.0000 Y 0.0000

Tool# 239

Rapid X 0.0000 Y 0.7500

Rapid Z 0.2500

Rapid Z 0.1000

Line X 0.0000 Y 0.7500 Z-0.1000 Feed 6.4

Line X 0.0000 Y 0.2500 Z-0.1000

Line X 2.9230 Y 0.2500 Z-0.1000

Arc Cw X 3.4230 Y-0.2500 Z-0.1000 XCenter 2.9230 YCenter-0.2500

Line X 3.4230 Y-1.2515 Z-0.1000

Arc Cw X 2.9230 Y-1.7515 Z-0.1000 XCenter 2.9230 YCenter-1.2515

Line X-0.3952 Y-1.7515 Z-0.1000

Line X-0.3952 Y-2.2515 Z-0.1000

Line X-0.3952 Y-2.2515 Z 0.0000

Rapid Z 0.2500

MCode 5

Tool# 0

Rapid Z 0.0000

X 0.0000 Y 0.0000

EndMain

%

*04-10-10 16:28

Link to comment
Share on other sites
Guest CNC Apps Guy 1

In V9 there were some Anilam Posts, but there was a switch in the post to flip between G-Code and Conversational. NOt sure what your post looks like but you may want to take a gander in the header and first section to see if there is a switch for that.

Link to comment
Share on other sites
Guest SAIPEM

When all else fails, RTFM!!!! rolleyes.gif

 

There is nothing wrong with the code.

However, you have NOT established the Tool Change/Home Position in the Mastercam file.

This is done by clicking on the "Home Pos..." button in the Toolpath Parameters Tab of the Operation

 

You also need to establish a Part Zero and Tool Length offset at the machine.

 

code:

*T

%

Dim Abs

Tool# 0

Rapid Z 10.0000

X 10.0000 Y 10.0000

Tool# 239

Rapid X 0.0000 Y 0.7500

Rapid Z 0.2500

Rapid Z 0.1000

Line X 0.0000 Y 0.7500 Z-0.1000 Feed 6.4

Line X 0.0000 Y 0.2500 Z-0.1000

Line X 2.9230 Y 0.2500 Z-0.1000

Arc Cw X 3.4230 Y-0.2500 Z-0.1000 XCenter 2.9230 YCenter-0.2500

Line X 3.4230 Y-1.2515 Z-0.1000

Arc Cw X 2.9230 Y-1.7515 Z-0.1000 XCenter 2.9230 YCenter-1.2515

Line X-0.3952 Y-1.7515 Z-0.1000

Line X-0.3952 Y-2.2515 Z-0.1000

Line X-0.3952 Y-2.2515 Z 0.0000

Rapid Z 0.2500

MCode 5

Tool# 0

Rapid Z 10.0000

X 10.0000 Y 10.0000

EndMain

%

*04-10-10 16:28

Please notice the X,Y and Z Coordinates AFTER the T0.

This is the Tool Change/Home Position.

 

I have to ask this question in all seriousness.

Do you have any CNC Machining experience?

All these things are very basic issues related to properly setting up ANY CNC Machine.

 

[ 10-04-2010, 07:22 PM: Message edited by: SAIPEM ]

Link to comment
Share on other sites
Guest SAIPEM

quote:

[Head Scratch]

 

On my Anilam post/machine def this is controlled by the home position swith in the toolpath dialog window.

DUH!!! rolleyes.gif

 

Where do you think the post is getting the information?

 

The OP's original code example had Z0, X0 Y0 for the Tool Home position.

It is OBVIOUS that the Home Position was not set.

Link to comment
Share on other sites

Actually I went and changed the Tool Home Position so that the machine wouldn't go 10" by default to run the program. To reply to your question SAIPEM we have years of CNC experience running HAAS tool room mill equipment. This controller is dated and we don't program it or the HAAS at the machine. We prefer to program at MC and we actually have generated, using Mastercam V9, many G-code programs that allowed us to basically do it all from MC and RS-232 it over to the machine. Now we have a post that is conversational on a machine that is unfamiliar. I've tried so many posts over the last six months that I don't think anything will work. So cut me a little slack here. Here at the VT AOE machine shop, we are unique in that I've got 10 years experience with Solidworks and my boss has 15 years experience programming/machining the HAAS equipment using MC so combined we can design and build/machine anything your mind could scribble on a napkin. But this thing is old as the hills and we have a limited knowledge of getting posts to work on it. As for set up, I can tell you that without a doubt the moves I had in the file and the moves the machine was doing were not coincident.

Thanks for the great information and I'll keep working on this and see if it will work.

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