Skip to content

stellentus/go-plc

Repository files navigation

go-plc

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.

Instructions

Try running example/toggle-bool/main.go:

  • Install the libplctag dynamic library wherever your OS expects it. (Just follow the libplctag instructions to make install.)
  • go run example/toggle-bool/main.go (or use go build)

Running with the Stub

  • Install the stub version of the libplctag dynamic library.
  • Build or run the code using the stub tag. e.g. go run -tags stub example/toggle-bool/main.go

About

A project for testing communication with a PLC.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages