RobotStudio event

Visual Express Basic with RobotStudio

Hi,

My company use an IRB1600 with FlexPendant but don't have all licence of RobotStudio, thus i can't use VSTA. RS is just use for create the RAPID code.

I am wondering if i could use Visual Express Basic in order to exctrat robtarget from RS to Excel and make the reverse path.

Thanks for your help.


Comments

  • Hi IFMA,

     

    Well, if you want to get the robtargets from RobotStudio then you need to use the RobotStudio SDK and then you need to make a RobotStudio Add-in which requires a RobotStudio Premium license to run.

    However if you instead want to read the robtargets directly from the controller, then you can indeed use Visual Studio Express (free) with the PC SDK (free) and connect over the service port. or set it up versus a virtual controller from backup and read them using the PC SDK app on the same PC as you have RobotStudio.

    Oh and a tip is that you got to be careful with your logic if you want to do a reverse path - for instance circular targets requires a lot of thinking if you want to reverse them correctly. Zones as well depending on layout etc.
    What type of reverse path are you looking for?

    =John

     

  • Thanks you John.
    And sorry for my english, I misspoke. By "reverse path"  I meant change values of the robtargets using MS EXcel.
    Indeed, We have different product with the same shape but different dimensions and my company want a single code which can be changed quickly (like robtarget if the diameter is different).
     
    Do you know if this way is possible and where could I found some examples or tutorials ?

    many thanks

  • If it is the same shape why not change the dimensions using RAPID logic instead? The operator could use some input to say the dimensions and then you'd use offset with set variables to offset the motion.
    http://developercenter.robotstudio.com:80/Index.aspx?DevCenter=DevCenterManualStore&OpenDocument&Url=../RapidIFDTechRefManual/doc353.html 

    It's how one usually does pallatizing and similar repetetive tasks but with a mathematical pattern to them.

    The most obvious one would be when you are doing training and set a robtarget+workobject in the corner of a paper, then use the same target but with an offset to reach the other corners, then switch the paper size and switch the offset accordingly.

    If so you wouldn't have to add the complexity of a PC program.


    But if you want a PC solution, then writing to RAPID data is indeed covered in the PC SDK tutorials and manuals. My tip would be to have a boolean handshake where the RAPID execution stops and sets a different bool for new input - then the PC SDK listens for the input bool, changes all targets, then writes to the handshake bool, so that RAPID continues its executation and resets the bools.

    http://developercenter.robotstudio.com:80/Index.aspx?DevCenter=RobotCommunication&OpenDocument&Url=html/b1292029-6609-414f-8256-5af31073d5e5.htm


    =John

    http://developercenter.robotstudio.com:80/Index.aspx?DevCenter=RobotCommunication&OpenDocument&Url=html/b1292029-6609-414f-8256-5af31073d5e5.htm