I'm using the following code to assign the tool length of the tool currently in the spindle to variable #501:
#500=#51999(-----------------------------CURRENT TOOL #)
#501=#[60000+#500](----------------------CURRENT TOOL LENGTH)
anybody know why this code would not work as expected?
I check the macro variable page after executing the code with T12 in the spindle, but the value in #501 is the length of T15 from the mazatrol tool data page.