Reading a Siemens S7 PLC over the network is possible without changing the PLC program. On an S7-1200 or S7-1500, however, two settings must be right. This article explains which ones, and why.
1. Allow PUT/GET access
Newer Siemens PLCs block other devices from reading or writing values over the network by default. You enable that access in the PLC’s engineering software:
- Open the properties of the CPU.
- Go to Protection & Security.
- Enable Permit access with PUT/GET communication from remote partner.
- Download the configuration to the PLC again.
If this is disabled, the connection fails, even if the IP address is correct.
2. Turn off optimised block access
A data block with optimised access has no fixed addresses: the PLC decides itself where a variable is stored. An external reader, however, needs to know the address, for example data block 100, byte 4. So for each data block you want to read, turn off the Optimized block access option. You will then see in the Offset column where each variable is located.
3. Rack and slot
On an S7-1200 and S7-1500 this is usually rack 0, slot 1. On an S7-300 usually rack 0, slot 2.
Common mistakes
- Connection fails on an S7-1200/1500: PUT/GET is disabled.
- Connected, but a read error on a data block: optimised block access is enabled.
- Values are wrong: wrong offset or data type. A REAL starts on an even byte.
- Everything works at first, then stops: too many variables at too high a frequency. Lower the interval or bundle the variables.
Tip: read what you need
You may want a temperature every second, an order number once a minute. Make two groups for them, each with its own read rate. That way you don’t load the PLC more than necessary.
In FactoryNebula you add an S7 PLC with its IP address, rack and slot, and you can import variables in one go from an export of the PLC software. Read more about the Siemens S7 connector.



