Remote send script

When calling Send() method, URScript (the programming language that controls the robot) is directly executed. If a program is running, it is immediately stopped to execute this script. Script can only be executed if you are connected to port UniversalRobotPorts.PrimaryClient (default if not specified) or UniversalRobotPorts.SecondaryClient.

// Create a new UR instance
var ur = new UR();
// ...
// Remote execute a movej
ur.Send("movej([-1.5,-1.5,-2,-0.5,1.8,0],a=1.4, v=1.05, t=0, r=0)");
// Set digital output 2 to true

Please refer to the Script Manual to see all the functions you can remotely call : Download PDF Script Manual.

Try it with the Windows example



66 Avenue des Champs-Elysées
75008 Paris

© 2021 UnderAutomation - UnderAutomation Universal Robots .NET Communication SDK (Software Development Kit) provides the ability to create customized .NET Core, .NET Framework and .NET Standard applications that can communicate with every UR robots. Ready to use examples for Windows, Mac OS and Linux, LabView, Node.js and Python are provided. It uses TCP/IP Dashboard Server and XML-RPC to remote control the robot and the Client Interface to receive and decode data stream.