The best way to call upon you tlo sensor is to call it from your toolchange.cfg file. I have added some sample code below.
[TOOL1]
PLACE0=G49
PLACE1=M05
PLACE2=G4 P4
PLACE3=G0 Z-.5
PICKUP0=G49
PICKUP1=M0
PICKUP2=*!*
PICKUP3=M3
PICKUP4=G4 P3
I will keep my eye on this thread to see if I need to do a step by step posting, if needed I will. In the sample text above you will see the line PICKUP2=*!*, this is the line that calls for a tlo measurement. The activation of the toolchange.cfg file is by simply calling T1 M6 in your program or T2 M6 etc.
"A Helicopter Hovers Above The Ground, Kind Of Like A Brick Doesn't"
Greetings From Down Under
Dave Drain
Akela Australia Pty. Ltd.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)