CloseComm for EthernetIPforSLCMicroComm

Help
2013-02-06
2013-05-30
  • 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 = "192.168.1.50"
    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.