Does anybody know wich variable holds comment for Utool and another fo Uframe? I set xyzwpr values, but i don't know how to change comments using code.
Setting comments for Utool and Uframe
- C_P
- Thread is Unresolved
-
-
-
Lemster68
Approved the thread. -
This does not seem to be a general robotics question. Please specify which robot make you are asking about.
-
I work on Fanuc Robot H705 CRX-10iA/L
-
panic mode
Moved the thread from forum General Discussion of Industrial Robots Only to forum Fanuc Robot Forum. -
You can set the comment on same screen you taught the tool frame
-
On the Detail screen for the Frame, simply move the cursor to the Comment and hit Enter. Then you'll have the options to type out the name you want.
-
Here are the commands to set the frame comments programmatically, using a .cm file.
Code
Display More! User Tool Comments KCL SET VAR[TPFDEF]SETUP_DATA[1,1,1].$COMMENT = 'UT1' KCL SET VAR[TPFDEF]SETUP_DATA[1,1,2].$COMMENT = 'UT2' KCL SET VAR[TPFDEF]SETUP_DATA[1,1,3].$COMMENT = 'UT3' KCL SET VAR[TPFDEF]SETUP_DATA[1,1,4].$COMMENT = 'UT4' KCL SET VAR[TPFDEF]SETUP_DATA[1,1,5].$COMMENT = 'UT5' KCL SET VAR[TPFDEF]SETUP_DATA[1,1,6].$COMMENT = 'UT6' KCL SET VAR[TPFDEF]SETUP_DATA[1,1,7].$COMMENT = 'UT7' KCL SET VAR[TPFDEF]SETUP_DATA[1,1,8].$COMMENT = 'UT8' KCL SET VAR[TPFDEF]SETUP_DATA[1,1,9].$COMMENT = 'UT9' ! User Frame Comments KCL SET VAR[TPFDEF]SETUP_DATA[1,3,1].$COMMENT = 'UF1' KCL SET VAR[TPFDEF]SETUP_DATA[1,3,2].$COMMENT = 'UF2' KCL SET VAR[TPFDEF]SETUP_DATA[1,3,3].$COMMENT = 'UF3' KCL SET VAR[TPFDEF]SETUP_DATA[1,3,4].$COMMENT = 'UF4' KCL SET VAR[TPFDEF]SETUP_DATA[1,3,5].$COMMENT = 'UF5' KCL SET VAR[TPFDEF]SETUP_DATA[1,3,6].$COMMENT = 'UF6' KCL SET VAR[TPFDEF]SETUP_DATA[1,3,7].$COMMENT = 'UF7' KCL SET VAR[TPFDEF]SETUP_DATA[1,3,8].$COMMENT = 'UF8' KCL SET VAR[TPFDEF]SETUP_DATA[1,3,9].$COMMENT = 'UF9'
Create an account or sign in to comment
You need to be a member in order to leave a comment