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:

MPLMaster canned cycle question


jeff
 Share

Recommended Posts

Jeff,

Those edits are in the formatting section of the post, not difficult but a bit convoluted,....

Are you only going to use G73 with this post, do you need to use this post for another machine?

 

These are the variables that control the address for the G73 canned output,....

 

fmt "U" 2 depthcc

fmt "R" 2 clearcc

fmt "U" 2 xstckcc

fmt "W" 2 zstckcc

 

The "2" in the sequence is what controls the output format,....

 

fs2 1 0.7 0.6 #Decimal, absolute, 7 place, default for initialize

fs2 2 0.4 0.3 #Decimal, absolute, 4/3 place <<<< this here is setting the decimal

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

 

fs2 16 0 4 0 3t #No decimal, absolute, 4 trailing <<<< to get no decimal output you need a format statement more like this

 

You notice that the depth is being set to "U" in the address variables,....

Do a search for "depthcc" and you will find that it is being reset by "strd",....

 

#Lathe canned cycle old style conversion

result = nwadrs (strd, depthcc)

Link to comment
Share on other sites

Jeff one of the things I have done in the past is creating new fs statements as needed or converting an unused one for the output required.

Also take note of the output for the G73 variables,.... the MplMaster uses a buffer table for the output "breaking" the buffer table is easier than some may think.

 

If this post is specific to one machine I would probably change the address in the format variable then "pound out" # the strd line that changes the address.

 

side note: didn't you have a dude dancing in his fruit of looms for your avatar?

Link to comment
Share on other sites

Jeff one of the things I have done in the past is creating new fs statements as needed or converting an unused one for the output required.

Also take note of the output for the G73 variables,.... the MplMaster uses a buffer table for the output "breaking" the buffer table is easier than some may think.

 

If this post is specific to one machine I would probably change the address in the format variable then "pound out" # the strd line that changes the address.

 

side note: didn't you have a dude dancing in his fruit of looms for your avatar?

 

Yes, I did, I changed it because Jammer kept getting too excited :p

This post is specific to 2 machines (identical controls).

Link to comment
Share on other sites

fmt "U" 2 depthcc <<<< this format sets the address to "U" for the depthcc output

 

#Lathe canned cycle old style conversion

result = nwadrs (strd, depthcc) <<<< this changes that "U" address to "D" when you use the "old style" G73 canned in the post

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