Skip to content

Siemens S7

Talks to Siemens S7-300/400/1200/1500 over S7comm with absolute addresses. PLCSIM Advanced can be reached over this route too.

ParameterExample
IP address192.168.1.50
Rack / Slot0 / 1
Connection timeout10000 ms (default)
Symbol tableC:\Projects\Line1\Tags.sdf (optional)

Addresses are absolute, DB-style: DB1.DBX0.0 for a bit, DB1.DBW2 for a word, DB1.DBD4 for a real. Values are read big-endian, once per update cycle.

With a symbol table set — a TIA Portal .sdf export on the gateway PC — Browse lists its symbols with address, type and a direction derived from the area (I/E is written by the viewer; Q/A, M and data blocks are read), so signals can be selected instead of typed. Without it, signals are entered manually.

On the PLC side, the CPU must allow PUT/GET communication access, as required by any third-party S7 client. The addressed data blocks must have optimized block access disabled. S7 communication cannot address optimized blocks by absolute offset.

  • Manually. Enter absolute addresses: DB1.DBX0.0 (bit), DB1.DBW2 (word), DB1.DBD4 (real). The dialog prefills the direction from the area letter.
  • Browse. Only with a symbol table. Set a TIA Portal .sdf export on the gateway PC in the interface settings; Browse then lists its symbols with address, type and a direction derived from the area. The controller itself is not browsed. Without a symbol table, enter signals by hand or import a tag table.
  • File import. Import tag table… in the ⋮ menu of the S7 card imports a Siemens tag export in the browser and pushes it to the gateway. This is the usual path for controllers with hundreds of tags.
  • From the model. When the model already has its PLC signals, Addresses → Fill from controller… in the signal-mapping section of the CONNECT panel previews matches by exact name against what Browse finds in the symbol table and then writes the addresses. Addresses → Import address table… takes a CSV or TSV with name;address[;dataType[;topic]] rows. New signals take direction and type from the same-named model signal; signals that already exist keep their configured type. See Configuring interfaces.

How direction, data types and write access are decided is explained in Common concepts and Configuring interfaces.