Free SCADA for Siemens S7-1200 and S7-1500
OptiZeus SCADA has a native Siemens S7 driver (ISO-on-TCP, port 102). It reads data blocks, memory, inputs and outputs directly, with no OPC server in between. Here is how to connect an S7-1200 or S7-1500 to the free edition.
Step 1: prepare the CPU
OptiZeus uses absolute addresses. In TIA Portal, make two settings and download the project to the CPU:
- In the CPU protection settings, enable Permit access with PUT/GET communication from remote partner.
- For every data block that OptiZeus reads or writes, clear Optimized block access. Then the absolute offsets (
DBX,DBW,DBD) exist.
Cannot change the PLC program? An S7-1500, or an S7-1200 with firmware 4.4 or later, has an OPC UA server. Use an OPC UA connection in OptiZeus instead.
Step 2: add the connection
- Open Config → PLC Connections and click + Add PLC Connection.
- Brand Siemens, model S7-1200 or S7-1500, protocol Siemens S7 (ISO-on-TCP).
- Enter the IP address, port
102, Rack0and Slot1. Check the slot in the hardware configuration of the CPU. - Click Test Connection. It makes a full S7 connection with your rack and slot. Then click Add Connection.
Step 3: create the tags
Addresses are not case-sensitive. You can paste them from the TIA Portal tag table, with or without the leading %.
| Address | Meaning |
|---|---|
DB10.DBX4.0 | Bit in a data block |
DB10.DBW6 | Word, read as a signed 16-bit INT |
DB10.DBD8 | Double word, read as a 32-bit REAL |
M20.1, MW100 | Memory bit and word |
I0.3, Q4.0 | Input and output bits |
For another data type, add it after a colon: DB1.DBD4:DINT reads a DINT counter, DB2.DBW6:WORD an unsigned word. Timers, counters and strings are not supported; copy them to a data block in the PLC.
How OptiZeus reads an S7
OptiZeus does not read tags one by one. In every scan it groups the tags by data block, reads the smallest byte range that covers them in one request, and takes each value from the buffer. Large ranges are split to fit the PDU size of the CPU: 222 bytes for an S7-1200, 880 for an S7-1500. On an S7-1200 it waits 15 ms between requests, so the small CPU is not overloaded.
Tip: keep the tags of one data block close together. One tag at byte 2000 of a block whose other tags are at bytes 0 to 40 makes OptiZeus read 2 KB every scan.
A single failed read does not drop the connection. OptiZeus closes it only after five failed reads in a row, and opens it again by itself.
Step 4: build the screen
The default scan is once per second. Draw the machine in the synoptic editor, bind the objects to your tags, add alarm limits and open a trend. With 50 tags, the free edition covers a typical small machine with one S7-1200.
Try it free
OptiZeus SCADA Free Edition: 50 tags, 1 PLC, 5 screens, alarms and trends. Free for commercial use on one machine.