Hi all
i'm after writing a small program that i can call up to check for a broken tool.
I dont want to write a seperate sub program for every tool as the programs we run have anything upto 30 tools in them.
I would also like it to measure the tool and ONLY check if it is broken and not apply the measured length into the tool table.
So i've tried reading the present tool length into an R variable which works in MDI but not my program,
Then measure the tool
compare the new measurement with the original,
if it is within tolerance reload the original tool length back into the tool table
if its out of tolerance alarm the machine,
hope this makes sense
the machine is a DMG ecomill 600v with a siemens 840d controller
i'm after writing a small program that i can call up to check for a broken tool.
I dont want to write a seperate sub program for every tool as the programs we run have anything upto 30 tools in them.
I would also like it to measure the tool and ONLY check if it is broken and not apply the measured length into the tool table.
So i've tried reading the present tool length into an R variable which works in MDI but not my program,
Then measure the tool
compare the new measurement with the original,
if it is within tolerance reload the original tool length back into the tool table
if its out of tolerance alarm the machine,
hope this makes sense
the machine is a DMG ecomill 600v with a siemens 840d controller