A wrapper for PLC communication in golang. Examples are provided in the example directory. They expect to be run against the stub version of libplctag.
Try running example/toggle-bool/main.go:
- Install the
libplctagdynamic library wherever your OS expects it. (Just follow thelibplctaginstructions tomake install.) go run example/toggle-bool/main.go(or usego build)
- Install the stub version of the
libplctagdynamic library. - Build or run the code using the
stubtag. e.g.go run -tags stub example/toggle-bool/main.go