Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 400 Bytes

File metadata and controls

22 lines (14 loc) · 400 Bytes

Server

The pure Python server implementation provides a simulated S7 server for testing.

To start a server programmatically:

from snap7.server import Server, mainloop

# Quick start with mainloop helper
mainloop(tcp_port=1102)

# Or create and configure manually
server = Server()
server.start(port=1102)

.. automodule:: snap7.server
   :members: