Problem of connection failure after a certain period of time in China's Adam6060, China's adam6060

Source: Internet
Author: User

[Switch] The problem of connection failure after a certain period of time in China's Adam6060, China's adam6060

To cooperate with Party B for testing, the Adam module must be connected to the site. After a while, I found that the module could not be connected and there was very little information on the Internet. I found this post and recorded it. In the past, there were no high-frequency connections from multiple clients (not high in fact), and the connection release was not considered. In addition, the official Demo has not released the connection.

1. Problems

15 ADAM-6060 modules are used in the customer system, the host is the IPC-610, the customer uses VC6.0 to write software for data collection.

Phenomenon: Reconnect 15 modules once in seconds and refresh the data. Communication was interrupted within 1-2 hours. Call this function adamModbus. Connect (m_szIP, ProtocolType. Tcp, m_iPort)

Phenomenon: one module is reconnected once in 2 S and data is refreshed. No. However, if the WriteCoil () function is called at this time, communication will be completely interrupted within 1-2 hours.

2. reply:

(1). We recommend that you adjust the program to reduce the number of times of adamModbus. Connect.

(2). Use the corresponding disconnect () function after using adamModbus. Connect.

 

The customer's system is located in a car production line in a city in Canada, and 15 modules have been put into use. After the two modifications, the customer has returned to the site and the problem has not been reproduced yet.

 

Original post address: http://forum.adamcommunity.com/viewthread.php? Tid = 92795 & extra = page % 3D1

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.