Siemens S7
S7 communication (PUT/GET) · TCP 102
The S7-1500, S7-1200 and S7-300 / 400 use the same protocol; tags are given by absolute address.
- Supported families
-
- Siemens S7-1500
- Siemens S7-1200
- Siemens S7-300 / 400
- Data types
-
- Bool
- Byte
- SInt
- Int
- UInt
- DInt
- UDInt
- Real
- LReal
- String
- WString
- DateTime
S7-300 / 400 has no SInt, LReal or WString.
- Default port
- TCP 102 (rack and slot are set)
- Security
- PLC passwords and S7 secure communication are not supported; PUT/GET is plain TCP.
DB1.DBX0.0// Bool DB1.DBB2// Byte, SInt DB1.DBW4// Int, UInt DB1.DBD12// DInt, UDInt, Real MW20// memory (M) area, word I0.0// input (I) Q4.1// output (Q) DB1.DBX16.0// LReal, String, WString, DateTime (start byte)
Limits
- Absolute addresses only: no symbolic addressing, optimized blocks, array or structure types; use the OPC UA driver for symbolic access
- PUT/GET access must be allowed in the CPU and “Optimized block access” switched off in the data block
- The CPU’s RUN / STOP state is not read; you only get connected or disconnected