I am doing a program that will pick one of 5 drills and reamers. I am almost done. Only one more problem to deal with. I have set my program to pick the right drill and reamer. When it comes to the TLO I am having a problem.
We set our tools off a 2" touch off block from the table of the machine. All tool lengths are "negative". In normal G code programming this is not a problem. Now using H#107 as a call it is a problem. I have used G43 and G44 with no luck. ??????? I get a #006 alarm. "Illegal use of negative sign". Sign "." input error,, sign "-" was input after an address with which it cannot be used. Or two or more "-" signs were input. I set #107 from #10003. I see when it goes into #107 it has a few "0" in front of the number (#107=-0013.5286). Can this be a problem?? I do not understand why there is a problem setting the H. Can some one put me on the right path!! Thanks for your time.