Setting tool frame same as user frame in current robot position

  • I'm working with vision system and I need to modify tool frame when I measure offset.


    I have user frame and tool frame set in the center point of my camera and I need to shift the tool frame when the part is offset to get correct rotation angle for SHIFTON TL.


    How can I calculate correct coordinates for tool frame so it will be same as the user frame based on robot current position?


    Yrc1000

    We have gettool and settool commands available. I am able to get the useframe origin in pvar, but can't figure out how to convert it.

    Edited 2 times, last by herja ().

  • AD
  • herja

    Changed the title of the thread from “Setting tool frame as user frame in current position” to “Setting tool frame same as user frame in current robot position”.
  • HawkME

    Approved the thread.
  • Thank you roboprof for your reply. Im still bit confused how cnvrt actually works.

    So in theory I need to get user frame origin in pvar, convert it to tool coordinates and then same thing for tool frame with zero values, so it will be on flange and then offset of these will be coordinates for new tool frame?

    Edited once, last by herja ().

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