Originally Posted by
aprilia
Hi all, im relatively new to cnc programming and im experiencing problems getting a tool life cycle program to work on one of the nc lathe's at my workplace, i want to have 2 tool groups(2 different types of tools) with with 5 tools in each group. tools 1,3,5,7,9, in group 1 and tools 2,4,6,8,10 in group 2.
The programming below will work for tool group 1, it is proven.
why won't it work when i substitute the macro numbers with others and change TO199(tool group 1) with T0299(tool group 2) for the second tool/group? any help or direction will be greatly appriciated thanks
(TOOL COUNTER)
IF[#550GT4800] GOTO 25
N10
T0199
#552 =1
#550 =550+552
IF[#550EQ4800] GOTO20
GOTO 40
N20#3000=3(RESET TOOLS)
N25 550=0 ???
GOTO 10
N40