Hi, I’m currently working on Robotstudio 5.12 I tried to do the following: install a robot with a gripper to grip an object, attach the object to the gripper, and then move it to somewhere else. However I face the following problems:
How can we adjust the orientation and the location of the object (let’s say it is a box), so that it fit nicely to the gripper?
I’ve made some station signal like open, close, opened, and closed. When I click open, the gripper will open and release the box, and change the signal opened to one, and vice versa with the close signal. This works well manually (I click the signal through the I/O simulator). However, when I tried to do it automatically (maybe through some action instruction in path, or through SetDO in the RAPID), I couldn’t access the signal. When I write the signal name, it cause error( the name is not recognized). Does anyone how to solve this?
I also want to do the above problems through some add-in from C#, is there any suitable code for that?
You cannot use station signals directly in your rapid code. You have to setup your signals in your robotsystem. You can only ude controller signals in your rapid code.
To use station signal you have to setup IO connection in “Station Logic” between station signals and controller signals.
Thanks for the reply, it really helps. =D Do you know how I can adjust the position of the box, so that it fit nicely to the gripper? And is there any way to detect when the gripper touch the box, then attach the box to the gripper?
See the tutorial that Super Anders Spaake have mad showing how to attach and deattach part in gripper.
I use the seem principel. Then you just move your robtarget before you grip your item
I encounter another problem: in the last tutorial,
Smart Component - Setup Simulation (5:12 min)at 02:40, suddenly it use a digital output from IRB6620, which is doNewBox. I cannot even see IRB6620 from the drop-down list, and moreover I don’t remember creating a doNewBox signal for IRB6620, do you know where it is? I’ve been following the tutorial since the beginning, including the other three smart components tutorial.
Hmm it seems that we need to create a system with name IRB6620, then add some input/output manually to the system, which is not shown in the tutorial , am I right?