03-02-2017 02:45 AM
Hello everyone,
I am new here. I have faced very big trouble. I am using Mitsubishi RV-6SL robot with CRn500 series. My project said to communicate with server Robot with client PC with TCP/IP. I have uploaded my code here in .vi form. But it does not receiving anything.
Help me please.
Have a nice day.
03-04-2017 12:50 PM
You seem to be starting with a full-blown application, which isn't working. I recommend that you "start small". You need to see what the Mitsu Robot wants you to do, how you are supposed to initiate communication with it.
Look at some of the LabVIEW TCP/IP examples, particularly those that involve connecting to a remote Server. There are a number of things the Client needs to do in order to establish such a connection. Start small, see if you can "get a connection". Once you've done that, send a simple request and see what happens. As you develop an understanding of how to communicate with the Robot, you can start planning more ambitious things, but First Steps First!
Bob Schor
03-06-2017 03:57 AM
Hello Bob_Schor,
Thanks for your reply. I have made it simple and there is communication but 66 error occurs. I have changed the VI server to my robot server Ip (PC is client). But still has the same problem. I am again uploaded the update and clear version of vi code.
In COSIROP side I have set timeout 10 ms for both in and out. Run the simple code as per the data sheet for position (ex. MXT 1,0,50).
It would be great help.
03-06-2017 10:32 PM
While it is helpful to attach a Project, you need to attach more than just the Project File. Compress the folder containing the Project (which gives you a .ZIP file) and attach the Zip file.
You mention that you got a 66 error. Where, exactly? This is telling you which particular function failed. If you look up the Error, it says "LabVIEW: The network connection was closed by the peer. If you are using the Open VI Reference function on a remote VI Server connection, verify that the machine is allowed access by selecting Tools>>Options>>VI Server on the server side."
Since I can't see all of your code, and I don't know which function caused the error, I'm not sure if this message is exactly applicable. Are you using Open VI Reference? [You seem to be using TCP/IP, but not Open VI Reference, hence not using VI Server ...].
Bob Schor
03-08-2017 07:30 AM
Thanks a lot. I have solve it by changing UDP from TCP.
03-10-2017 02:53 AM
The code is running properly after fixing but the speed keeps always 100%. How I can reduce the speed to 10%?
Thanks in advance.
07-25-2018 11:31 PM
What ip did you use?
I can't seem to connect at all