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:

Need helps with Heidenhain Control


Tinhman
 Share

Recommended Posts

Good morning Guys,

I would like to send my tool home in Z-axis and X Y to a fixed location (x-19.5 Y+11.5 and always calculate from center of my machine) before any rotation move.

Can any one give me a sample code for this in Heidenhain control.

Thank you in advance.

 

 

Link to comment
Share on other sites

You will have to  use  the  machine  coordinate output as your secondary coordinate viewing  system  to find out what machine coords the XY point is ( so that it always stays the same no matter what your work origin is).  I am going to guess that your machine coordinate system is Z negative  when  moving away from the spindle so I'll go with a Z-5 for that . That is 5 mm  from the machine limit  or Z-0.2 inch. the other two coordinates , you'll have to find out , 

but the  line  goes L X xxxx Y yyyy Z -0.2 M91 FMAX  - , where the crucial thing here is the M91 

 

Gracjan

Link to comment
Share on other sites

Use "M140 MB MAX" to send the tool home. It moves the tool home in the tool axis, to the limit.

You can also use M140 with a distance, but in this case "MAX" tells it to go as far as it can.

And as previously mentioned, M91 is the "machine reference" code.

J

 

  • Thanks 1
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...