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

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