10-10-2018, 02:28 PM
Hi RBE,
You are right about the problem, it’s causes by the fact that a tool cannot be detached from its robot. We will create a macro in the near future to address that specific tool changer situation.
In the meantime, I found a quick and simplistic fix for you. See the attached project. What I did was to create a copy of the tool on the tool rack and I hid the tool attached to the robot (uncheck Visibility). In your program, I replaced the ‘’attach’’ command by a ‘’Show’’ and a ‘’Hide’’ command. When the robot reaches the tool rack, I ‘’Show’’ the tool attached to the robot and I ‘’Hide’’ the tool on the tool rack.
I did the opposite with the ‘’detach’’ command.
You can now do the exact same thing for the last three tools.
Hope it helps. Like I said, we are going to work on a better solution using a macro in the future.
Jeremy
You are right about the problem, it’s causes by the fact that a tool cannot be detached from its robot. We will create a macro in the near future to address that specific tool changer situation.
In the meantime, I found a quick and simplistic fix for you. See the attached project. What I did was to create a copy of the tool on the tool rack and I hid the tool attached to the robot (uncheck Visibility). In your program, I replaced the ‘’attach’’ command by a ‘’Show’’ and a ‘’Hide’’ command. When the robot reaches the tool rack, I ‘’Show’’ the tool attached to the robot and I ‘’Hide’’ the tool on the tool rack.
I did the opposite with the ‘’detach’’ command.
You can now do the exact same thing for the last three tools.
Hope it helps. Like I said, we are going to work on a better solution using a macro in the future.
Jeremy