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:

Tool in Spindle Macro Variable


Grumpy Guy
 Share

Recommended Posts

then I believe I need to have the line #149=#4120 in the tool change macro (our posted code stages a tool immediately after the tool change line M6T#)

which I already thought of. unfortunately I cannot access the tool change macro on this particular old machine. I believe its hard coded onto a flash card or some such thing. or am I missing something?

Link to comment
Share on other sites

I added the same line to my tool change macro, I used #500 instead of a 100 number. The value is retained at power off and reset, not always the case with the 100 number range.

The macro I wrote will retract, and also has other tidbits to measure and set tool lenghts, go to a specific area to measure on specific pallets, or just do a retrack routine. It works great for opperators who do not understand G code.

Link to comment
Share on other sites

no its a modal information variable

you could use it to check that the right h code was called or is currently active if you want to change it you need to pass it to a local or common variable

T2 example

#100=#4111 (#100 = 2)pass it to the common table

 

IF[#4111NE2]GOTO100 (check T2 H code number)

prog

N100#3000=101 (Wrong H offset)

 

if you want to check tool offset values depends on what offset memory you have for memory type c tool 1 (geometry offset) starts at #2201 cool.gif

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