Logo
- class snap7.logo.Logo(**kwargs: object)[source]
A snap7 Siemens Logo client.
There are two main comfort functions available:
Logo.read()andLogo.write(). This function offers high-level access to the VM addresses of the Siemens Logo just use the form:Notes
V10.3 for bit values V10 for the complete byte VW12 for a word (used for analog values) For more information see examples for Siemens Logo 7 and 8
- __init__(**kwargs: object) None[source]
Initialize Logo client.
- Parameters:
**kwargs – Ignored. Kept for backwards compatibility.
- connect(ip_address: str, tsap_snap7: int, tsap_logo: int, tcp_port: int = 102) Logo[source]
Connect to a Siemens LOGO server.
Notes
Howto setup Logo communication configuration see: https://snap7.sourceforge.net/logo.html
- Parameters:
ip_address – IP ip_address of server
tsap_snap7 – TSAP SNAP7 Client (e.g. 10.00 = 0x1000)
tsap_logo – TSAP Logo Server (e.g. 20.00 = 0x2000)
tcp_port – TCP port of server
- Returns:
The snap7 Logo instance