Detecting No Tool Loaded

More
11 Jan 2019 18:10 #123980 by pl7i92
Hi is there a Way to detect there is no tool loaded in G-code

My tool is 0 to get the length measurement
I CAN DO
O105 If[#5400 GT 0] ....

This gives tool Numbers
BUT NO Tool Loaded is the Thing im searching For

Please Log in or Create an account to join the conversation.

More
11 Jan 2019 19:19 #123986 by pl7i92
Replied by pl7i92 on topic Detecting No Tool Loaded
Thank You on The IRC Channel Helpd me

THIS is the Answer for Detecting
o<testp> sub
o155 if [#5410 LE 0]
  (msg,No Tool Loaded)
o155 endif
o156 if [#5410 GT 0]
  (debug,Tooldiameter: #5410)
o156 endif
o<testp> endsub
m2

Please Log in or Create an account to join the conversation.

More
12 Jan 2019 02:27 #124010 by MaHa
Replied by MaHa on topic Detecting No Tool Loaded
I would choose Z #5403, for test. Why? Sometimes i use T1 with tooldiameter 0, to deburr a contour, made with cutter compensation, so i can use the same subroutine with z-0.5.
In that case the tool would not be detected.

Please Log in or Create an account to join the conversation.

Time to create page: 0.108 seconds
Powered by Kunena Forum