Hello,

I've been trying to set up a sub-routine that will activate the HPCC on a Daewoo 8035s mill with a Fanuc 18i controller. The reason I want to put it in the sub is so that I don't have to edit each program that "may" end up on that particular machine. I can't leave the code in for our other controllers because they will alarm at the sight of G05. Currently we have a sub that sends all the axis home and zero's out absolute/relative/machine for setting tools and other things, and I'd like to enter it into there. I can get it to read the G05 P10000 in the sub ok, but once it hits a M99 it drops it. :idea: