ABB机器人接受的字符传,怎么读取其中的数据
SocketCreate server_socket;
SocketBind server_socket,"192.168.0.1",1025;
IF dig_input1=1 THEN
str1:="go";
ELSEIF dig_input2=1 AND dig_input1=0 THEN
str1:="gun";
ENDIF
SocketSend client_socket\Str:=str1;
SocketReceive client_socket\Str:=receive_string;
SocketClose client_socket;
楼主最近还看过