• matthew@hierthinking.com

Forum

Please or Register to create posts and topics.

Read current tool and workoffset with Focas

Hello everybody.

Is there any function in Focas to read current Tool and Workoffset?.  Searching in fwlib32.cs with no luck. Am i missing something?. Thank's

best regards

 

Priyono

Hi,

I know that cnc_rdtool extension can read the tool specification. But it is some hard and i could not too.

It depends on what type of tool changer you have and the machine manufacturer. cnc_rdtool will work on some machines, but other machines may use a macro variable to store the active tool number. For instance, on an Onsrud CNC, with a standard 12 position rotary tool changer, you have to use pmc_rdpmcrng to read the tool number at G276. If you have the same machine with a 24 position GIFU tool changer you would have to read Macro variable 8402 to read the active tool number. It is just the way the tool changer is configured in the ladder.