fw128ted

issue when multiple application communicate with PLC though MC protocol

3 posts in this topic

Hello everyone.

I'm new to  Mitsubishi PLC . My device is  Mitsubishi PLC  Q Series(Q03UDV) and GX worker2 to set up parameters.

I'm now implementing an application to communicate PLC with MC protocol. After some research, the application can now read or write data to PLC.

But here's the problem, I have found that once an application is connected to PLC and read/write data(without closing the connection), other application must wait until the first application close the connection to read or write data.

I have read these manual, but no solution has found. Hope someone knows the reason, thanks.

http://forums.mrplc.com/index.php?/files/file/1086-q_l-melsec-comms-mc-sh080008lpdf/

http://dl.mitsubishielectric.com/dl/fa/document/manual/plc/sh080779eng/sh080779engai.pdf

 

Share this post


Link to post
Share on other sites

You have two options:

  1. Use UDP instead of TCP for both MC protocols (probably not possible since you maybe don't have control over the "other" equipment?)
  2. Setup more connections on the Ethernet port in GX Works2 so that you have dedicated connections for each application connecting into the CPU. In other words, the "other" application can open/close their connection freely and so can you on your other/different connection

The problem you are describing have nothing to do with Mitsubishi on its own, it's simply the mechanics of a TCP connection.

Share this post


Link to post
Share on other sites

 

Thanks for your reply. I will work on the solution you provide. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now