CloseComm for EthernetIPforSLCMicroComm

  • Josh Bickford

    Josh Bickford - 2013-02-06

    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 = ""
    Dim _response() = _conn.ReadAny("F8:0", 3)

    Great work on the project! Thanks for all the effort!

  • Archie

    Archie - 2013-02-11

    I added a CloseConnection method to the driver. It will be available on the next release.

  • Josh Bickford

    Josh Bickford - 2013-02-11

    Thank you for the quick response!

  • Archie

    Archie - 2013-05-13

    Version 3.27 has been released that now has the close connection methods.

  • Josh Bickford

    Josh Bickford - 2013-05-13

    Already have it downloaded. Thanks for the quick turnaround.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks