RobotStudio event

I/O Help

Hey Guys,
 

I am really new to robot studio and i am having my difficulties and i would appriciate if someone could help me out.

I created a Convoyer system that moves a Box From A to B. At Location B there is a Sensor that stopps the Box. If the Box is removed a new one will be copied and moves towards the sensor. This is ofcourse 1 Smart Component.

I added this to my IRB_120. Now what i want to do is that the Robot Starts moving only if the box is infront of the Sensor. So i in my Logic Design i see the DO of my Convoyer Sensor but where can i define any Inputs into my Robot so that i can use it in Rapid Programming language like this: WaitDO di...., 1 then movej ....

 

Thanks for the help

Comments

  • kioog
    kioog ✭✭
    hello,
     

    you can find this example in the robotstudio tutorials on abb site :


    choose tutorial : smart component - setup simulation.

     

    you have to make a digital output in your smart component when the box is at the sensor

    you have to declare an input in your robot to wait for

    then in "simulation/station logic" in "signals and connections"you have to interconnect the DO from your smart component to the input of the robot

     

    then in your robotprogram you add a line like :

    waitdi DiBoxReady,1;

     

    Hope you get it to work

     
  • I am so close to getting it to work...
    the only problem i am having is:

    How to add a DI to my Robot?
    When i want to make the connection from the DO to the Robot i do not have a DI signal on my Robot. Where do i create a new Signal on my Robot!!

    Thanks for the help