mirror of
https://github.com/fbarresi/Sharp7.git
synced 2026-02-04 08:42:51 +00:00
56 lines
2.2 KiB
Markdown
56 lines
2.2 KiB
Markdown
# 
|
|
|
|
[](https://ci.appveyor.com/project/fbarresi/sharp7)
|
|
[](https://www.codacy.com/manual/fbarresi/Sharp7?utm_source=github.com&utm_medium=referral&utm_content=fbarresi/Sharp7&utm_campaign=Badge_Grade)
|
|
[](https://codecov.io/gh/fbarresi/Sharp7)
|
|

|
|
[](https://www.nuget.org/packages/Sharp7/)
|
|
|
|
Nuget package for Sharp7 - The multi-platform Ethernet S7 PLC communication suite
|
|
|
|
Sharp7 is a C# port of [Snap7](http://snap7.sourceforge.net) library
|
|
|
|
For usage and documentation you can visit the [official page](http://snap7.sourceforge.net)
|
|
or read the [Wiki](https://github.com/fbarresi/Sharp7/wiki).
|
|
|
|
# How to install
|
|
|
|
## Package Manager or dotnet CLI
|
|
```
|
|
PM> Install-Package Sharp7
|
|
```
|
|
or
|
|
```
|
|
> dotnet add package Sharp7
|
|
```
|
|
|
|
# Do you need more power?
|
|
|
|
Try [Sharp7Reactive](https://github.com/evopro-ag/Sharp7Reactive)
|
|
|
|
# Get Started
|
|
|
|
## Supported Targets
|
|
- S7 300/400/WinAC CPU (fully supported)
|
|
- S7 1200/1500 CPU
|
|
- CP (Communication processor - 343/443/IE)
|
|
|
|
## S7 1200/1500 Notes
|
|
|
|
An external equipment can access to S71200/1500 CPU using the S7 'base' protocol, only working as an HMI, i.e. only basic data transfer are allowed.
|
|
|
|
All other PG operations (control/directory/etc..) must follow the extended protocol, not implemented yet.
|
|
|
|
Particularly **to access a DB in S71500 some additional setting plc-side are needed**.
|
|
|
|
- Only global DBs can be accessed.
|
|
|
|
- The optimized block access must be turned off.
|
|
|
|

|
|
|
|
- The access level must be “full” and the “connection mechanism” must allow GET/PUT.
|
|
|
|

|
|
|
|
# See the change log [here](https://github.com/fbarresi/Sharp7/blob/master/CHANGELOG.md) |