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:

misc reals placement problem


Tim Johnson
 Share

Recommended Posts

I'm trying to place mr1 after certain operations which works if I don't have a null tool change. If I do though the mr1 gets placed at the end of the previous operation. How do I fix this?

 

code:

(3" DIA FACE MILL FOR ALUM FRONT SIDE)       ptlchg0 pcomment2

N116G55X3.27Y-.375(B0.) ptlchg0 p__36:1271

N118Z1.95 ptlchg0 p__36:1271

N120Z1.8 pzrapid prapidout

N122G01Z1.634F100. plin plinout

N124X-1.6F144. plin plinout

N126Z1.568F100. plin plinout

N128X3.27F144. plin plinout

N130Z1.502F100. plin plinout

N132X-1.6F144. plin plinout

N134Z1.436F100. plin plinout

N136X3.27F144. plin plinout

N138Z1.37F100. plin plinout

N140X-1.6F144. plin plinout

N142G00Z1.95 pzrapid prapidout

N144G00Z6. ptlchg0 p__34:1242

(3" DIA FACE MILL FOR ALUM 45 DEGREE SIDE) ptlchg0 pcomment2

N146G56X.1598Y-2.35(B45.) ptlchg0 p__36:1271

N148Z2.2143 ptlchg0 p__36:1271

N150G01Z2.0374F100. plin plinout

N152Y1.6F144. plin plinout

N154Z1.9605F100. plin plinout

N156Y-2.35F144. plin plinout

N158Z1.8836F100. plin plinout

N160Y1.6F144. plin plinout

N162Z1.8067F100. plin plinout

N164Y-2.35F144. plin plinout

N166G00Z2.2143 pzrapid prapidout

N168G00Z6. ptlchg0 p__34:1242

(3" DIA FACE MILL FOR ALUM -45 DEGREE SIDE) ptlchg0 pcomment2

N170G57X1.2357Y-2.35(B315.) ptlchg0 p__36:1271

N172Z1.2187 ptlchg0 p__36:1271

N174Z1.0687 pzrapid prapidout

N176G01Z.8918F100. plin plinout

N178Y1.6F144. plin plinout

N180Z.8149F100. plin plinout

N182Y-2.35F144. plin plinout

N184Z.738F100. plin plinout

N186Y1.6F144. plin plinout

N188Z.6611F100. plin plinout

N190Y-2.35F144. plin plinout

N192G00Z1.2187 pzrapid prapidout

N194M05 ptlchg1002 pretract

N196G91G30Z0.M09 ptlchg1002 pretract

N198M01 ptlchg

(NO.0 CARBIDE CENTER DRILL 45 DEGREE SIDE) ptlchg pcomment2

M06T15(NO.0 CARBIDE CENTER DRILL) ptlchg ptoolcomm


Note: N144 should be at N168, N168 should be after N192.

code:

ptlchg0         #Call from NCI null tool change (tool number repeats)

if mr1 > zero & opcode <> 3, #all non-drilling ops

[

pbld, n, sg00, *mr1, e

]


This is where I put the mr1 call. Is there a postblock for the end of operations instead of the beginning of the next?

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