使用TCP/IP连接西门子PLC的C#库

luo 0f9df99649 上传代码 1 년 전
ConsoleApp1 0f9df99649 上传代码 1 년 전
Documentation 0f9df99649 上传代码 1 년 전
S7.Net 0f9df99649 上传代码 1 년 전
S7.Net.UnitTest 0f9df99649 上传代码 1 년 전
rich-demos 0f9df99649 上传代码 1 년 전
.gitignore 0f9df99649 上传代码 1 년 전
License.txt 0f9df99649 上传代码 1 년 전
README.md 0f9df99649 上传代码 1 년 전
S7.sln 0f9df99649 上传代码 1 년 전

README.md

s7netplus

A .NET Library for Siemens S7 Connectivity

Overview

S7.Net Plus is a continuation of the work done on the S7.Net project by Juergen1969. I found the library simple and effective, but the project has languished unchanged since late 2009.

I was doing some automation work already and saw a few places where the code base could be improved. Because Juergen did not respond to my request for committing code, I decided to pick up where he left off here on GitHub.

Documentation

Check the Wiki and feel free to edit it: https://github.com/killnine/s7netplus/wiki

Supported PLC

  • Compatible S7 PLC (S7-200, S7-300, S7-400, S7-1200, S7-1500)

Supported frameworks

  • .NET Framework 4.5.2 and higher
  • .NET Standard 1.3 (.NET Core 1.0, UWP 10.0, Xamarin, ...)
  • .NET Standard 2.0 (.NET Core 2.0, .NET Framework 4.6.1)

Compile

You need at least Visual Studio 2017 (you can download the Community Edition for free).

Nuget

PM> Install-Package S7netplus

Latest build (Appveyor)

Build status https://ci.appveyor.com/project/mesta1/s7netplus

Running the tests

Unit tests use Snap7 server. On Windows, the DLL is included with the test project. On other platforms, Snap7 must be installed manually before running tests.