Skip to content
02.12.2026 09:41:40 Siemens S7 symbolic
TR EN
Sign in Try it free

Connectivity

Siemens S7-1200 / 1500 symbolic addressing

This driver connects to S7-1200 and S7-1500 CPUs by the variable’s name in the PLC program. PUT/GET need not be enabled, and optimized blocks are read and written. Variables are picked from a list, online from the PLC or from the TIA Portal project.

Overview

The driver uses the secure protocol that Siemens panels use. A tag’s address is the variable’s name in the PLC program: Dolum_DB.Hiz, Start_Butonu. Compared with the absolute address driver:

  • PUT/GET access does not have to be allowed on the CPU.
  • Data blocks with optimized block access are read and written too.
  • A tag keeps working when the block layout changes, as long as the variable’s name stays the same.
  • The connection is TLS-encrypted; on a PLC with access protection, it logs in with a password or a PLC user.
Row in the driver list (Siemens) When
S7-1200 / 1500, symbolic address An S7-1200 / 1500 with recent firmware; PUT/GET cannot be enabled or the blocks are optimized.
S7-1200 / 1500, absolute address (PUT/GET) Absolute addresses (DB1.DBW4), older firmware, a standby PLC.
S7-300 / 400 S7-300 and S7-400 CPUs.

What the PLC needs

  1. Firmware

    2.9 or later on S7-1500 and 4.5 or later on S7-1200; the project must be downloaded with TIA Portal V17 or later. For older CPUs use the absolute address driver or OPC UA.

  2. HMI access

    The variable’s Accessible from HMI/OPC UA/Web API flag in TIA Portal must be on. The program must be downloaded to the PLC: the driver looks the names up in the program on the PLC.

  3. Network

    TCP 102 must be open from the Live computer to the PLC. Rack and slot are not needed.

  4. Access protection

    With access levels on the PLC, the password of HMI access or a higher level is needed; with user management on (TIA Portal V19 and later), a PLC user with the HMI access right.

Setting up the connection in Studio

In Connections, choose the symbolic address row from the Siemens group of the driver list; port 102 is filled in. Enter the CPU’s IP address. On the parameter card in the inspector choose PLC access protection: None, Access password or User name and password. The password is typed twice with Set… and kept obfuscated in the project file; Live connects without asking. Values can be read from Studio with Online values; nothing is written.

A symbolic S7 connection to an access-protected PLC with user name and password; the Target card lists the supported types.
A PLC connection with user name and password: the password is set, and the Target card shows the address and the supported types.

Address format

 Dolum_DB.Hiz // data block member (optimized or standard block)   Dolum_DB.Motor.Akim // structure (UDT) member   Dolum_DB.Nozullar[3] // array element   Recete_DB.Tablo[1,2] // two-dimensional array element   Start_Butonu // tag from a PLC tag table (M, I, Q area)   T_Bekleme // S5 timer  

TIA Portal’s quoted notation is accepted; the quotes are dropped. Upper and lower case do not matter; the driver finds the spelling used in the PLC. Absolute addresses (DB1.DBD4, %MW10) are not accepted by this driver.

Tags of a symbolic S7 connection: the address is the name of a block member, an array element or a PLC tag.
Tags of a symbolic connection: the address is the name of a block member, an array element or a PLC tag.

Picking tags from the PLC program

Clicking a tag’s Address cell opens the data blocks and PLC tag tables under the cell. The list comes from the TIA Portal project if one is linked to the connection, or online from the PLC if not. Typing in the cell searches the whole program. Picking a variable writes the address, the data type and the string length together; a tag whose name was never changed takes the variable’s name.

The TIA Portal project is linked from the PLC program column of the Connections table. The project is only read; TIA Portal V17 – V20 and FabyaVision Convert must be installed on the same computer. With the absolute address driver the same list writes absolute addresses (DB5.DBW2, MW102).

The PLC program column of the Connections table: a linked TIA Portal project, a prompt to choose one and the online reading note.
The PLC program column: PLC and project name on a linked connection, a prompt on an unlinked one, and the online reading note on a symbolic connection.

Data types

Type in the PLC Tag type
Bool Bool
Byte, USInt, SInt, Int, UInt, Word, DInt, UDInt, DWord The same name; Word → UInt, DWord → UDInt, USInt → Byte
Real, LReal Real, LReal
LInt, ULInt, LWord, LTime LReal (the last digits of very large numbers are rounded)
Time, S5Time DInt, milliseconds
Time_Of_Day UDInt, milliseconds since midnight
Date, Date_And_Time, DTL, LDT DateTime
String, WString, Char, WChar String, WString
S5 timer, S5 counter (PLC tag) DInt (remaining time, ms), Int (0 – 999); writable

A PLC tag of a structure (UDT) type and types that carry no value, such as Variant, are not read; the members of a structure in a data block are. A whole array or structure is not read as one tag; pick an element or a member. The members of IEC timers and counters (ET, Q) are read as separate tags.

Running in Live

  • On connecting, the PLC’s variable list is read once; the connection shows as connected only if the variables can be read.
  • Tags are read in batches by their read cycle. A written value is converted to the type in the PLC; a write outside the range or the string length is refused.
  • After a new program is downloaded to the PLC, variables whose names stay the same keep being read. For a tag that cannot be found, the variable list is read again at 30, 60, 120 and 300 second intervals.
  • If the PLC refuses the password, the driver does not ask the PLC again for 60 seconds; every failed attempt is written to the PLC’s security log.

Limits

  • Automatic switchover to a standby PLC is only in the absolute address driver.
  • S7-300 / 400 and CPUs with older firmware do not connect with this driver.
  • The same PLC on the same IP address cannot be connected through this driver and the absolute address driver at once: both use port 102.
  • The list from the PLC has no Writable from HMI information. For objects bound to variables marked not writable from HMI in TIA Portal, turn off operator input or protect them with a permission.

Frequently asked

Do I have to re-enter tags when moving from the absolute driver to the symbolic one?

Yes. On a symbolic connection the address is the variable’s name and absolute addresses are not accepted. Picking from the list in the Address cell writes the address and the data type together.

Where is the PLC password kept?

In the connection’s Password field in Studio; it is kept obfuscated in the project file and Live connects without asking. If the field is left empty, the password is entered once on the Live computer.

Related pages

Try it free

Download the trial, open the sample project and see this feature on your own screen.

09:41:40 HomeConnectivitySiemens S7 symbolic FabyaVision 1.7.0