Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.

Toolchange

Hello

Since my API knowledge is like zero, i need help.

How do i detach my tool, and pick up another in Robotstudio?

Robotstudio 3.2

Rgds

Ronny O

Comments

  • Hi
    Here is just a simple example

    Sub AttachToolToRobot()
        Dim m_Robot As Mechanism
        Dim m_Tool As Mechanism
       
        Set m_Robot = ActiveStation.Mechanisms("Irb140_M2000")
        Set m_Tool = ActiveStation.Mechanisms("AWGunPKI500_22")
       
        m_Robot.Attachments.Add m_Tool, False

    End Sub

    Per Svensson
    Company Specialist
    ABB Automation Technology Products