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:

Yet another post question (s)


Michael Reynolds
 Share

Recommended Posts

I got my aerotech up and running today, but programing is wierd in this monster. I've contacted our local mastercam reseller (industrial, Chris Parish - all around nice guy) and he said he'd write one for me. But first, I want to try to do what I can so I can learn a little more about posts. Here is the first battery of questions:

 

How do I suppress the "O" in the program #, so it only posts out the # (no O).

 

How do I get the output in NON decimal point programming?

 

How do I suppress all G28's?

 

Thats enouph for now. I don't want to bug anyone.

 

(Using MPEZ post)

 

Thanks for all your help!!!

 

Mike R.

Faithful Mcam user

Link to comment
Share on other sites

Mike:

 

For the program number look for these lines:

 

#Move comment (pound) to output colon with program numbers

fmt O 7 progno #Program number

#fmt ":" 7 progno #Program number

 

Put a # infront of the fmt O line and add another line like this:

fmt 7 progno #Program number not leading symbol

Link to comment
Share on other sites

To change the x,y,z,I,j, and k’s to no decimals edit these lines:

 

#Default english/metric position format statements

fs2 1 0.7 0.6 #Decimal, absolute, 7 place, default for initialize ( smile.gif

fs2 2 0.4 0.3 #Decimal, absolute, 4/3 place

fs2 3 0.4 0.3d #Decimal, delta, 4/3 place

 

Change to:

 

fs2 2 0 4 0 3 # absolute, 4/3 place

fs2 3 0 4 0 3d #delta, 4/3 place

 

If you don’t want to change the I,j, and k’s let me know and I’ll post the edit.

Link to comment
Share on other sites

Remove the sg28ref calls in pretract. Make it look like the following:

 

pretract #End of tool path, toolchange

sav_absinc = absinc #Save active Absolute/Incremental mode

absinc = one #Set to Incremental mode for retract

sav_coolant = coolant #Save current Coolant status

coolant = zero #Turn any active Coolant OFF

gcode = zero #Force Rapid mode

#cc_pos is reset in the toolchange here

cc_pos = zero #Turn any active Cutter Diameter Comp. OFF

pcan #Canned text output (before)

pbld, n, sccomp, e #Cancel any active Cutter Diameter Comp

pbld, n, *sm05, e #Stop spindle

pcan1, pbld, n, scoolant, strcantext, e # Home Z

#pbld, n, *sg28ref, "X0.", "Y0.", e # Home X,Y

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