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:

fastmode


George_Gerhard
 Share

Recommended Posts

thank you Millman

 

thanks Jimmy

 

Say Jimmy you deal with alot of router people like me, perhaps you can help me. I wrote a post for a Komo router with 4 parallel spindles, no tool changers. What I want to do is when they get a tool from the library say its number T500 I want that tool number linked to a work offset. The way I do it now is from the tool parameters page I select t/c then I set a unique work offset (1=G55 2=G56 etc)for that tool.

Im afraid sometimes the end user will forget to do this, so I want the work offset linked to the tool

I would appreciate any assistance

 

rgds

George

Link to comment
Share on other sites

The way I do it is to tie a work offset to a spindle. t1 = g54 t2 = g55,etc

 

To run multiple tools at same time, say 1 and 3, The tool number would be t13. The post parses the tool number to see what tools are being used and either the lowest number tool gets the offset or the highest and the other is just slaved.

 

here is a sample:

 

s_tool_num #string for tool number

test1 : 0 #swicth for t1

test2 : 0 #swicth for t2

test3 : 0 #swicth for t3

test4 : 0 #swicth for t4

sg54 "G54"

sg55 "G55"

sg56 "G56"

sg57 "G57"

ptlchg

s_tool_num = no2str(t) #convert t num to string

#test for tool numbers

test1 = strstr(s_one,s_tool_num)

test2 = strstr(s_two,s_tool_num)

test3 = strstr(s_three,s_tool_num)

test4 = strstr(s_four,s_tool_num)

#set work offset number(lowest tool gets offset)

if test4 > 0, s_work_off = sg57

if test3 > 0, s_work_off = sg56

if test2 > 0, s_work_off = sg55

if test1 > 0, s_work_off = sg54

 

*s_work_off,e

 

 

I also use this for dropping the appropriate heads.

 

Jimmy

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