Hello all,
KR210-R3100-2F
KR C4
KSS 8.6.11
KS V8.6.567
ArcTech Basic 3.6
I'm having trouble changing which tool is selected in a program.
I'm trying to select the tool from index 4 of the TOOL_DATA array using "$TOOL=TOOL_DATA[4]".
I've verified that index 4 of the TOOL_DATA array has the correct values in my $config.dat file.
However, after executing this line of code, the number on the tool icon on the HMI does not change value and the robot movements are executed with the old tool, not tool 4.
Example of code below:
DEF example()
$ADVANCE=3
HomeApproach() ;This moves the robot to home, then to a position near a table, using tool 1 and base 0, programmed with ILFs
$TOOL=TOOL_DATA[4]
LIN {X 1200,Y 200,Z 1500} ;I expected this to move using tool 4, but it moves using tool 1 instead
END
Apologies if there is some obvious mistake I'm missing. Still getting used to programming without the ILFs. Thanks!