RobotStudio event

How to creat a RapidData in PC SDK?

Hi,
when I creat a project of "ABB Applicition 5.14" in VS2008,I can use this:
"AController.GetModule("MainModule").CreateRapidData();"

But when I creat a project of WinForm,I could not find this method.

Is't a different between the PC SDK and the FlexPendant SDK ?

If I want to creat a RapidData in my Program on PC,what should I do?


Comments



  • Hi fransis,
     
    Yes there are many differences between PC SDK and FlexPendant SDK. They mostly derive from them residing on different platforms. Which have implications for safety.
    For instance, a FlexPendant app can assume that the operator can see the robot cell, while a PC SDK app has to assume that the operator does not see the robot cell.
     
    When it comes to RAPID data creation, there are several issues for the PCSDK. So its an omission by design.
     
    If you still want to do this there are plenty of options.
    1) You can create textual modules and then load them.
    2) You can have a PC app and a FP app, so the PC calls the FP to do what it can not to itself.
    etc
    But when/if you do this consider the safety aspects and maybe use prompts for the operator to acknowledge so that you know that you have someone next to the emergency stop first time you run it with new data.
  • thank you ,John,

    I was creat textual last time.
    if i want to creat a new data,i must be
    1.save it to file,
    2.down the file,
    3.edit it .
    4.up the file
    5.load the file.

    to find the "Module XXX" and insert a data before it.
    It's so trouble.
    And before i do the step 5,i must be delete the original module.The wobj and program point will be lost.

    it's another question ,when i load .pgf file,"-replace",but virtual FlexPendant show me like this:"Module1#1","Module1#2".




  • Hi fransis,

    you can post "PC SDK: Create RAPID Data" as a new feature over at UpFeed.

    I have heard from developers wanting to create Configuration Data as well (for example I/O signals). Are you interested in this?


    Niklas Skoglund2012-04-24 18:30:24

    Best Regards, Niklas Skoglund
    ABB Robotics

    Developer Center
    RobotStudio Blog
  • Is PLC aplicable for this? I'm currently patching ideas for my thesis. It's a combination of PLC and robotics. Ithink it will be expensive though Cry

  • John Wiberg
    John Wiberg ✭✭✭


    No a PLC wouldn't be able to create RAPID data in the robot controller.