Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mansan

Pages: [1]
1
Open Discussion / Unhandled Exception - Unknown error 1450 on .NET side?
« on: October 25, 2017, 09:01:37 AM »
Hello
Currently, I have an application that communicates to an Allen Bradley PLC through EthernetIPforCLX. The app has multiple timer that are querying the values of some determined tags every 250ms. Everything works well but, ocasionally (it appears to be at some random point), the library throws an exception at some point with a message "Unknown error 1450".

In the code, everything is wrapped inside a try-catch block except the declaration of the EthernetIPforCLX object (set IP, port and slot).

The detail of the exception is:

at System.Threading.EventWaitHandle..ctor(Boolean initialState, EventResetMode)
at MfgControl.AdvancedHMI.Drivers.EthernetIPforCLX..ctor()
at AdvancedHMIDrivers.EthernetIPforCLXCom..ctor()

Is there something I may be missing? Or is it due to a timeout by the PLC?
Thanks in advance. Great library btw.

2
I am trying to know if a packet I send via IP was received by the PLC and I see that the Write() function returns an int. Does this number gives me a clue of an ACK? Or what does the return value mean? Thank You

Pages: [1]