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:

inputing work offsets


heeler
 Share

Recommended Posts

Does anyone know of a way to input workoffset data with the rs232. We are starting up a pallet system and would like the set the values up from a cmm. Also would like to do this with the tool lengths and dia's. Any other ideas as to how to do this?

 

Thanks

Glenn

 

P.S. This is on a Fanuc 18m and 21i controls

 

[ 02-12-2003, 11:38 AM: Message edited by: heeler ]

Link to comment
Share on other sites

Use the G10 data register command. With G10 you can replace work or tool offset data, or change it incrementally. The best thing to do is to look it up in your manual. If you can't find out how to do it, let me know and I will post some examples. This works equally well on mills and lathes, and on lathes you can even input TNR values and comp direction values (0 to 9)

 

Peter Eigler

 

[ 02-12-2003, 11:49 AM: Message edited by: Peter E ]

Link to comment
Share on other sites

Heeler and PeterE,

 

I like the G10 for this application but I wonder if you could get an even more root level and input indise the machine at the parameter level. IE #50001=13.1222 etc... and then read this in as a parameter file rather than trying to invoke changes as a gcode program.

 

Just a thought.

Link to comment
Share on other sites

Andrew

 

As you know, I'm sure, when you use the G10, the machine writes the data into the parameters itself; why load separately when you can use the program to do it? Also, many Fanuc parameters are impossible to write to directly, I don't know if work offsets are among these or not...

 

C

Link to comment
Share on other sites

To add to Henk's post

 

G90 G10 L2 P2 X-6.55 Y-3.322 Z1.22

(REPLACE VALUES IN G55 to X -6.55 Y-3.322 Z1.22)

 

G91 G10 L2 P1 X-.115 Z-.05

(MODIFY G54 X value by -.115 and z by -.05)

 

There is far more detail on this in Peter Smid's

book, available at www.industrialpress.com

 

It is a FAR better resource than the Fanuc manuals written in Jinglish.

 

Peter Eigler

Link to comment
Share on other sites

quote:

Andrew

 

As you know, I'm sure, when you use the G10, the machine writes the data into the parameters itself; why load separately when you can use the program to do it? Also, many Fanuc parameters are impossible to write to directly, I don't know if work offsets are among these or not...

Chris, Peter, and group...

 

The reason for my suggestion was that I am currently involved with a probing project that changes the actual parameter thru a variable assignment for locations rather that writing to it thru a gcode (G10). Every maintainence program should include a pdump from the machine and these should be catalogued and stored. A re-load of the new position parameters would be possible at this level rather than a G10 statement. User preference will dictuate which to use. Given the option though I recommend the G10 - Look much nicer and easier to document to an operator - as well there is a lower possibility to make a mistake using the G10 as the addresses are explicit!

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