advertisement
from the Engineering Buhler AG Uzwil department...
Wago MBT.dll problem
Software, including programming, OS issues, etc. topic
Posted by M.Schmid on 2 July, 2012 - 6:44 am
We developed a testing device using Wago Modbus/TCP device 750-342. For communication with the device we use wago MBT.dll. So far, the work was done only WinXP and worked like a charm. Now we want wo migrate to Win7. But there we have the problem that we can access the device for about 3-4 cycles, but then the connection stops to work, without any error from the dll.

Now, can you suggest us an alternative and how do we have to approach this?

Many thanks!
Michael


Posted by Magnus Lundberg on 12 October, 2012 - 9:15 am
I´m experiencing the same problem reading from module Wago 750 unit using MBT.dll on Windows 7. The device returns data for a couple of cycles (arbitrary in our case), but then it mysteriously starts returning 0-values. The funny thing is that it worked fine just two days ago.

We don't think its a socket problem, looks more like something has happened to the dll.

Did you ever find a solution to your problem? If so, any hint would be greatly appreciated.

Regards
Magnus Lundberg

> We developed a testing device using Wago Modbus/TCP device 750-342. For communication with the device we use
> wago MBT.dll. So far, the work was done only WinXP and worked like a charm. Now we want wo migrate to Win7. But there we
> have the problem that we can access the device for about 3-4 cycles, but then the connection stops to work, without
> any error from the dll.

> Now, can you suggest us an alternative and how do we have to approach this?


Posted by real_skydiver on 8 November, 2012 - 3:43 pm
I developed a 'Home Control' (PLC-style) application (C++) about 8 years ago based on the 750-342. I wrote my own TCP libs for that purpose because everything I stumbled across was simply pure crap. My lib has a very clean interface, the source is easy to read (always my main goal) and understand. That software runs for almost eight years now on a Win2000 installation with the only break downs in case of a power loss. No leaking, nothing. A few month ago I was playing with the two spare 750-342's I own, this time under W7/64. Since them I'm banging my head against the wall because it has the same problem you describe. On W2K I have about 170cycles/sec, on W7 it runs for about 5sec and then it stops for another 5sec and so on. The funny thing is, EVERY other lib, including every Java implementation I came across has the exact same problem. I have 20+ years experience in developing professional software (mainly C/C++) but this problem seams to be the first one I can't solve ...


Posted by John Correa on 8 November, 2012 - 9:20 pm
Try looking first to the behavior of the timeouts and retries parameters of your communication driver.

Another cause may be the firewall settings. Try to deactivate all security settings and or antivirus programs.

Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2013 Nerds in Control, LLC. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.


Fortune
"I'm defending her honor, which is more than she ever did."
Advertise here
Advertisement
our advertisers
Help keep our servers running...
Patronize our advertisers!
Visit our Post Archive