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();
ur.Connect("192.168.0.1");
// ...
// 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
ur.Send("set_digital_out(7,True)");

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

Logo

UnderAutomation
66 Avenue des Champs-Elysées
75008 Paris
FRANCE

© 2021 UnderAutomation - UnderAutomation通用机器人.NET通信SDK(软件开发工具包)提供了创建定制的.NET核心、.NET框架和.NET标准应用程序的能力,可以与每个UR机器人通信。提供了可用于Windows、Mac OS和Linux、LabView、Node.js和Python的现成例子。它使用TCP/IP仪表板服务器和XML-RPC来远程控制机器人,并使用客户端接口来接收和解码数据流。