Hello
I wanted to readout the tool identifier of the current spindle tool and to continue processing in a MSG.
So I wrote
DEF REAL _TNR
DEF STRING[15] WZINFO
_TNR=$TC_MPP6[9998,1]
WZINFO=$TC_TP2[_TNR,1]
MSG ("T"<<WZINFO<<"........")
But the controller just brings the alarm 12620: character access to this variable is impossible.
Why? Does anyone have a solution?
The problem is in the following line:
WZINFO=$TC_TP2[_TNR,1]
There’s only one parameter allowed in clamp. The T-number is clear and it’s enough.
What are you going to use the second one, I mean“1”, for?
It has to look like this:
WZINFO=$TC_TP2[_TNR]
Gruß,<br /><br />Drehpapst<br /><br /><br />Willen braucht man. Und Zigaretten.<br />Wer Visionen hat, sollte zum Arzt gehen.<br />Helmut Schmidt