Developer Portal Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    AddOffsetRobotPointToList

    AddOffsetRobotPointToList

    Hudson
    Established Member

    Hello,

     I do not understand the AddOffsetRobotPointToList using method, my application is that I want to calculate a new robot point based on a reference point for replacing the picking point, because product picking position is different.

     for example: reference point(see attachment 'Picking_Position_value')  the X = 78.78, Y = 341.3.  I want to calculate it to X = 138.78, Y = 341.3 via AddOffsetRobotPointToList method, but the result is not what I expect. (see attachment Pincking_Position_value_after_adding_offset and PLC_Code).

     I refered to the document, but do not understand what the 'the robot point addressed by BaseIndex is considered the origin of a new reference coordinate system' meaning.

     Hardware : Staubli scara 4 axis

    thank you.

    4 REPLIES 4

    Thorsten_Brach
    New Contributor

    The AddOffsetRobotPointToList method adds a "Tool-Offset" to the point - that means that the offset is added in the alignment of the tool,
    not in the RCS (Robot coordinate system) .  Was the point teached with a tool ? And if yes - what does your tool look like ?


    Yes, I selected a tool during teaching robot point, but I set all data(x,y,z,rx,ry,rz) to 0. the tool is a cylinder gripper and I see there is a angle(not 90 or 180) between X flange direction and the gripper clamping direction. so I guess if the method work with flange coordinate, not RCS.

    Actually, I do not understand what the 'the offset is added in the alignment of the tool' meaning, if it is caculated based on the flange coordinate like the attachment?

    the gripper center is not match with flange center.

    thank you.

    If you have set all values of the tool to 0, then your tool is equal to the flange.

    With stäubli robots, it is common to set up the tool so that the working direction of the tool is the the Z axis.
    Then you usually just work with a Z-offset to approach to a workpiece or moving away from it.

    I made a short video of how the whole thing behaves.

    The blue arrow is the Z-axis - once from the flange and once from a correct configured tool....

    If I select the tool and drive in Z-direction, then you can see that the tool moves only in Z-direction,
    but the robot has to interpolate all axes accordingly.


    You would have to tilt your tool 90 degrees and compensate the twist to the flange
    and adjust the center of the gripper via X and Y.

    Then you can easily work with tool offsets in your program.
    Without a correctly configured tool you can not work with the tooloffsets - the result will not be satisfactory.

    thank you^^

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist