Hello,
I have KUKA KRC4, Version=V8.5.7 HF1
I do have a question,
I'm juts trying to mimic FANUC code:
IF R[65:Position]<>0,JMP LBL[R[65]]]
So my first thought was: is it possible to use GOTO instruction with a variable ? What I mean I would like to use GOTO x, where x is going to be a string, so I could use code like:
R65_Position is an INT
IF R65_Position<>0 THEN
GOTO R65_Position
ENDIF
The code above doesn't work, because it's treating R65_Position as string (not INT) and it's looking for "R65_Position:" in the code.
I could use SWITCH, but R65_Position can have values from 0 to 10000 (not all of them are used thought).
Thanks for help