VERICUT Users' Forum

Due to relentless spammers, we are no longer automatically accepting new forum registrations. If you wish to register for this forum, please send an e-mail to: info@cgtech.com

You are not logged in.

#1 2014-08-10 21:07:13

mcam
Beta User
From: Planet Earth
Registered: 2007-06-10
Posts: 81

Variable to flag tool type?

I'm configuring an Okuma U100L lathe control, and I need to macro to know wether the active tool is a turning (grooving) tool or a drill.

With the Okuma control, G74 can be used for a grooving cycle, or a chip break drilling cycle. The parameters for this cycle are the same for both grooving and drilling (so I can't set conditions based on codes present on the cycle line).

Is there a way that Vericut knows if the tool is a drill or a turning tool? Can I extract this as a variable of some type?


New Zealand Vericut Reseller

Offline

#2 2014-08-11 08:44:54

Tony
Moderator
From: Crewe, England
Registered: 2007-02-20
Posts: 181
Website

Re: Variable to flag tool type?

You can add SetDynamicVars to Start of Processing with an override text of CurToolType 9999.

Where the 9999 is a variable that will store the tool type.

It will return a value :-

1 = milling tools
2 = turning tools
3 = probe
4 = tap tools
5 = waterjet tools
6 = knife tools
7 = polish tools


Tony

Offline

#3 2014-09-24 21:07:52

mcam
Beta User
From: Planet Earth
Registered: 2007-06-10
Posts: 81

Re: Variable to flag tool type?

Thanks Tony, that was a great help smile


New Zealand Vericut Reseller

Offline

Board footer