Hi all,
Is it possible to change the values of a user tool or/and user frame from within a KRL program ?
Kind regards
Luc
Hi all,
Is it possible to change the values of a user tool or/and user frame from within a KRL program ?
Kind regards
Luc
Yes.
Use the SET_VAR built-in with the $MNUTOOL[1,*] and $MNUFRAME[1,*] variables where * is the tool or frame number.
e.g. SET_VAR(ENTRY,'*SYSTEM*','$MNUFRAME[1,*]',frame_value,STATUS)
Where ENTRY and STATUS are integer data type and frame_value is a POSITION or XYZWPR data type with the value of the new frame