MG400 Runscript command by C#


#1

I use C# via TCP/IP command and try to use Runscript(projectname) to Run. But the command can’t run and return -1,Runscript(projectname). Is anyone know how to use Runscript command in c#? Thanks.


#2

Do you execute EnableRobot before running the program? This instruction needs to be executed to put the robot into remote TCP/IP mode for the execution to be effective


#3

I use the sample code provide by Dobot. And I add one button to runscript. Before I runcsript, I enable first and I can move the Robot and can open the DO. But I can’t send the Runscript command succesfully. I will try to add one command “EnableRobot” before the Runscript command and try again, thanks.