Automatic Tool Commenting

  • Hi,
    Short question.


    Since I am using a lot of TCPs depending the workpiece I am currently working on, I use custom .TP programs to save different TCP positions to PRs. If the workpiece I use is 301-130.tp I also have a separate file 301-130-TCP.tp for the TCP locations. My question is this: Is there a way each time I call a TCP program, to also update the tool comments ? I tried to look for a comment variable for the UTOOL list since I also have a variables manual but I was unable to find any. Any help would be greately appreciated.

  • AD
  • U can use KAREL to automatically set the comments. Example code:


    str_value = 'SETUP_DATA[1,1,' + IndexStr + '].$COMMENT'

    SET_VAR(entry, 'tpfdef', str_value, CommentStr,STATUS)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now