Skip to content
/ s7 Public

Go implementation of Siemens proprietary S7 Communication protocol

License

Notifications You must be signed in to change notification settings

ZhangYaxu/s7

Repository files navigation

s7

Golang implementation of Siemens S7 communication protocol

Functions

AG:

  • Read/Write Data Block (DB)
  • Read/Write Merkers(MB)
  • Read/Write IPI (EB)
  • Read/Write IPU (AB)
  • Read/Write Timer (TM)
  • Read/Write Counter (CT)
  • Get Block Info

PG:

  • Hot start/Cold start / Stop PLC
  • Get CPU of PLC status
  • List available blocks in PLC
  • Set/Clear password for session
  • Get CPU protection and CPU Order code
  • Get CPU/CP Information
  • Read/Write clock for the PLC

Supported communication

  • TCP
  • Serial (PPI, MPI) (under construction)

References

Original implementation

https://github.com/robinson/gos7

About

Go implementation of Siemens proprietary S7 Communication protocol

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages