Jump to content

Modbus TCP/IP Communication between V350er OPLC's


Recommended Posts

Hi Unitronics Programmer,

 

 

I will build an Ethernet Network with more V350-35-TA24 PLC's.

 

One V350 (as Master) and five V350er  (as Slave).

 

Protocol Modbus TCP/IP, Socket 2, Ports 502.

 

Is there a practical solution?

 

Does anyone have such a Project already realized?

 

Best regards

 

Holger Fieron

 

 

Link to comment
Share on other sites

  • MVP 2023

Fieron is referring to the 4 socket limitation. You will need to connect and disconnect to each slave as needed, or on a regular cycle, depending on your application. Just be aware that it will take a large fraction of a second (or two) to perform the disconnect/reconnect process. I have done this successfully, but I sure would like to see an optimized routine for accomplishing this published as a best practice by Unitronics or an experienced programmer.

Link to comment
Share on other sites

Fieron is referring to the 4 socket limitation. You will need to connect and disconnect to each slave as needed, or on a regular cycle, depending on your application. Just be aware that it will take a large fraction of a second (or two) to perform the disconnect/reconnect process. I have done this successfully, but I sure would like to see an optimized routine for accomplishing this published as a best practice by Unitronics or an experienced programmer.

With 5 you can easily do it in less than 1 second. Remember you just need about 100 ms/slave.

Link to comment
Share on other sites

  • MVP 2023

With 5 you can easily do it in less than 1 second. Remember you just need about 100 ms/slave.

I haven't been successful at getting the total time down to 100 ms. Either the socket doesn't properly close or the data exchange fails, etc. Can you post some code, or even just a step-by-step algorithm that can make that happen?

Link to comment
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
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.