# How to access current TCP position via PCSDK?

**URL:** <https://tech-community.robotics.abb.com/t/how-to-access-current-tcp-position-via-pcsdk/4301>\
**Category:** Developer Tools\
**Created:** [July 12, 2011, 1:45pm UTC](https://tech-community.robotics.abb.com/t/how-to-access-current-tcp-position-via-pcsdk/4301 "2011-07-12T13:45:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![apox](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/apox/32/2392_2.png) [@apox](https://tech-community.robotics.abb.com/u/apox)\
**Post date:** [July 12, 2011, 1:45pm UTC](https://tech-community.robotics.abb.com/t/how-to-access-current-tcp-position-via-pcsdk/4301/1 "2011-07-12T13:45:18Z")

</div>

i tried

Controller.MotionSystem.ActiveMechanicalUnit.GetPosition(CoordinateSystemType.Tool)

but i get an exception.

Is there another way to get the current TCP position?

Best
