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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...