RobotStudio event

How to have connection between Visual Studio and RobotStudio?

Hello Everyone,
Can anyone Please Help me in How to have a Real time interface between Visual Studio and Robot Studio. Because Socket Programming is between Controller and RobotStudio. 
And Visual Studio i am using to generate coordinates based on Visual Sensors, and those coordinates to be given in MoveJ/MoveL commands in RobotStudio for moving the End-Effector. 
Please tell me is there any possibility to have interface between RobotStudio and Visual Studio.
And if there is no possibility, then in PC SDK application, How to have MoveJ/MoveL commands in VisualC#. Because there are no examples of using Robtarget, MoveJ, MoveL in PC SDK Manuals. 
Please tell me what to do.
Thank You very much for listening my query.
Thank You.

Answers

  • In the Technical Reference Manual, information and also examples are given about how to send and receive data from sockets. This is then defined in Rapid (Robot Studio)

    With Visual Studio you can make for example a C# application and then with the use of the "Socket" Class (in the 'System.Net.Sockets' namespace) you can send and receive data.

    With the PC SDK you can connect to a robot-controller and also update variables. The question is, why do you want to use sockets, if you can also connect through the PC-SDK? With the PC-SDK you can start a Rapid program, but not explicitly move the robot... (only by calling a routine, in which you move the robot).