Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 1003 Bytes

README.md

File metadata and controls

39 lines (34 loc) · 1003 Bytes

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