wrap7 is a Snap7 wrapper for golang. In comparison to snap7-go ( https://pkg.go.dev/github.com/avikki/snap7-go ) it is possible to implement a virtual S7-315 server.
Licence is identical to https://snap7.sourceforge.net/licensing.html
helper.go | ||
LICENSE | ||
Makefile | ||
README.md | ||
snap7a.go | ||
snap7b.h | ||
tools.go | ||
wrap7.go |
wrap7
Go-Wrapper for Snap7
When using as go module it is necessary to first enter vendor directory
"cd vendor/git.archium.org/archium_public/wrap7"
and execute Makefile as root:
"sudo make"
to download and install snap7-full-1.4.2.
Be aware to edit Makefile to your system requirements! And consider better to install Snap7 in the /usr/lib tree!