Jump to content

Recommended Posts

Posted

        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

  • MVP 2023
Posted

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.

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.