Hi,
I am trying to do Socket Connection in Robot Studio 5.11.
The main idea is to do a TCP/IP based communication with the Robot.At present I am doing it in offline mode(Using Virtual Controller).
I enabled the communication part1 and Part2 in Virtual Controller(Create/Modify Station).
Here is the part of the code
MODULE Own_Socket
VAR socketdev Server1 ;
VAR socketdev Client1;
PROC main()
SocketCreate Server1
ENDPROC
ENDMODULE
If I compile the above code I get the error "Error 161 : Option is missing. : The instruction SocketCreate requires the option PC Interface. 12.11.2008 00:29:29 RAPID "
I hope this is because of some part in Communication are not enabled.
Could any one guide me on how to do this?
BR
Ravi
i have add pc interface through system builder but still I get the error "Error 161 : Option is missing. : The instruction SocketCreate requires the option PC Interface.
Please give some information how to get rid of it.
I have a similar problem as ravi. I am trying to make a server program in RobotStudio to interact with python 2 client code. I already made a simple client-server application and in offline programming it works great. The problem is that when I put the code from RobotStudio in the actual IRC5 Robot Controller it gives the error: Error 161 : The instruction SocketCreate requires the option Socket.
After entering in the System properties/Control module/Options from the TeachPendant I saw that the: Socket Messaging [619-1] is not installed in the controller and I believe this is why I cannot work with sockets at this point in time. How can I fix this problem? I hope that someone can help me
Concerning the problem above, I also made a program in RobotStudio that interacts with Python code. My problem is that the program in RobotStudio is working but after downloading the program in the actual Robot Controller it gives the exact same error that ‘ravi’ got (Error 161 : The instruction SocketCreate requires the option Socket).
On the TeachPendant Error screen at Action it states that I should update the system image with the required option.
My question is how should I do this?? The Controller type is IRC5 M2004.