AdvancedHMI Software

General Category => Support Questions => Topic started by: ShriramPendse on February 20, 2014, 09:10:17 AM

Title: AdvHMI V361 ModTCP error 20
Post by: ShriramPendse on February 20, 2014, 09:10:17 AM
Hi,

I am using AdvHMI V361 ModTCP driver for reading/writing to ModTCP PLC . For a while comm is OK , after some time randomly I get

" com fail " exception 20 at Read function at this line
   
Else
            Throw New MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException("Com Fail - " & result)
        End If
 
What could be the reason & way to solve this issue ?

Shriram Pendse

Title: Re: AdvHMI V361 ModTCP error 20
Post by: hakan turkmen on February 22, 2014, 04:54:45 AM
Hello,
My problem is same too, but still have not found the solution  :)

http://advancedhmi.com/forum/index.php?topic=283.0
Title: Re: AdvHMI V361 ModTCP error 20
Post by: ShriramPendse on February 22, 2014, 05:33:52 AM
Hi,
Most of the errors are due to communication , network , Received data in incorrect format .
Very strong exception handling is required to overcome these and make application robust .
Some of the experts may give guidelines how the application would continue even after exceptions
(handled or unhandled ) .