Jump to content

Modbus TCP failed connection


Recommended Posts

        Hi guys,

I connected  Vision V350 TU24 PLC  to Weintek HMI via MODBUS TCP just to check the communication and which commands for read and write are working.  Everything was working perfect, but I made small  experiment- I removed the cable for few seconds and I reconnected it again. The communication was not working good. I had the feeling that the synchronization between both devices was  broken. The communication speed failed down. After I made  reset of the PLC  the communication was restored. The question is can I restart the communication in the software without reset the PLC? In the attachment I send you my test software. If you have any ideas, you can correct it.

Thanks in advance and Have a good day.

MODBUS_IP.vlp

Link to comment
Share on other sites

  • MVP 2023

Here's how I do it -

image.png.a5f74962dc5e20c9418f4dfc3fb24f2a.png

 

Just set an MB (MB 215 in this example) to re-trigger the CARD INIT block.  This is super handy if you have a screen to set the IP address, or if the Ethernet port gets stuck as in your case.

Note that if you're online via Ethernet and trigger this logic you WILL lose communication.

 

Joe T.

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...