Iec 60870 Save Abandoned

.NET implementation of IEC-60870 104

Project README

IEC-60870

IEC-60870 is C# version of OpenMUC IEC-60870 library

Installation

A nuget package is available for the library. To install IEC60870 Library, run the following command in the Package Manager Console:

PM> Install-Package IEC60870

Examples (updated for version 1.2)

Client

Write your simple client application (master) like this

 var client = new ClientSAP("127.0.0.1", 2404);
 client.NewASdu += asdu => {
      // process received Asdu
      
      client.SendASdu(asdu);
  };

  client.ConnectionClosed += e =>
  {
      Console.WriteLine(e);      
  };

  client.Connect();

Server

and if you want to create server application (slave), you must use ServerSAP instead of ClientSAP

  var server = new ServerSAP("127.0.0.1", 2405); 
  server.StartListen(10);
  server.SendASdu(asdu);  
  
  server.NewASdu += asdu =>
  {
     Console.WriteLine(asdu);      
  };   
Open Source Agenda is not affiliated with "Iec 60870" Project. README Source: minhdtb/iec-60870
Stars
45
Open Issues
4
Last Commit
4 years ago
License

Open Source Agenda Badge

Open Source Agenda Rating