Greetings! I'm racking my brain trying to solve this issue.
I'm using the HMI Drivers in an ASP.Net application to execute a 'ReadAny' to our PLC. Seems to work fine, however, the connection is not closed after the call, so it's only allowing 1 sesson to access the controller until that connection times out.
I've tried "Dispose" but it doesn't seem to call the Dispose override in the driver code.
I noticed in another driver (DF1) you implement a 'CloseComms' command - is there any way to do that with the EthernetIP for Micrologix?
Am I overlooking something simple?
Dim _conn As New EthernetIPforPLCSLCMicroComm()
_conn.IPAddress = "192.168.1.50"
Dim _response() = _conn.ReadAny("F8:0", 3)
Great work on the project! Thanks for all the effort!
I added a CloseConnection method to the driver. It will be available on the next release.
Thank you for the quick response!
Version 3.27 has been released that now has the close connection methods.
Already have it downloaded. Thanks for the quick turnaround.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.