# Create TCP from robtargets

**URL:** <https://tech-community.robotics.abb.com/t/create-tcp-from-robtargets/6794>\
**Category:** Robot Controller\
**Created:** [September 10, 2015, 11:20am UTC](https://tech-community.robotics.abb.com/t/create-tcp-from-robtargets/6794 "2015-09-10T11:20:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LiamGwallace](https://avatars.discourse-cdn.com/v4/letter/l/9e8a1a/32.png) [@LiamGwallace](https://tech-community.robotics.abb.com/u/LiamGwallace)\
**Post date:** [September 10, 2015, 11:20am UTC](https://tech-community.robotics.abb.com/t/create-tcp-from-robtargets/6794/1 "2015-09-10T11:20:54Z")

</div>

Hi, Is it possible to create/modify the toolframe of a TCP from robtargets using the program code? Like how you can use robtargets when creating a tool in the tool definition window.

Something similar to useing DefFrame to create a workobject user frame or object frame. e.g. myWObj.uframe:=DefFrame (pX1, pX2, pY1);

I want the robot operator to be able to tune their tool to account for daily variation without needing a permanent point fixed in the robot cubicle.
