Siemens S7

One row per PLC. Each PLC uses one of two kinds of Access:
- Absolute (any S7 CPU): S7comm over ISO-on-TCP, port 102, with addresses like
DB1.DBW4(see Tags). Needs PUT/GET and non-optimized blocks on S7-1200/1500. - Symbolic (S7-1200 firmware 4.0+ and S7-1500 only): S7CommPlus, the protocol TIA Portal uses, with names like
"DataDB".Motor.Speed(see Tags). Works with optimized blocks, does not need PUT/GET, and is encrypted (TLS) on current firmware. You can browse the PLC's variables instead of typing them. Rack, slot, connection type and PDU do not apply.
| Field | Meaning | Default |
|---|---|---|
| Name | How tags refer to this PLC, e.g. line2 | |
| IP address | IP address or host name of the CPU, or of the CP / communication module | 192.168.0.1 |
| Port | ISO-on-TCP port | 102 |
| CPU | S7-1500, S7-1200, S7-300, S7-400, S7-200 or LOGO!. Picking one fills in the usual slot (or TSAPs) and PDU size | S7-1500 |
| Type | Standalone: one CPU. Redundant: an S7-400H or S7-1500R/H system with a primary and a secondary CPU (see below) | Standalone |
| Access | Absolute or Symbolic (S7-1200/1500 only; always port 102) | Absolute |
| Rack, slot | Where the CPU sits: S7-1200/1500 rack 0, slot 1 (slot 0 also works on most); S7-300 rack 0, slot 2; S7-400 see the hardware configuration (often slot 2 or 3) | 0, 1 |
| TSAPs | S7-200 and LOGO! only, instead of rack and slot: local and remote TSAP as set in the PLC's Ethernet connection. LOGO! 8 / 0BA7 default 01.00 and 02.00; S7-200 with CP 243-1 often 10.00 and 10.01 | |
| Connection | PG (programming device), OP (panel) or S7 basic. Keep PG unless the CPU runs out of PG connections | PG |
| PDU | Largest message to ask for; the PLC may agree to less (S7-300 240, S7-1200 240 or 480, S7-1500 960). The agreed size is in the log | 960 |
| Timeout ms | How long to wait for an answer | 2000 |
S7-200 SMART: choose S7-1200, rack 0, slot 1.
Redundant PLCs (S7-400H, S7-1500R/H)

Set Type to Redundant and a row for the secondary CPU appears under the PLC:
| Field | Meaning | Default |
|---|---|---|
| IP address | The secondary CPU (or its CP). The PLC row's IP address is the primary | |
| Rack / slot | Absolute access: the secondary CPU's rack and slot. S7-400H: the second CPU is in rack 1, same slot | primary's (rack 1 for S7-400) |
| Return to the primary | When it answers: go back to the primary once it is up again. No, stay: stay on the secondary until it fails | When it answers |
| Check every (s) | How often the primary is checked while the secondary is in use (5 to 3600) | 60 |
- WiConnector reads from the primary CPU. When it stops answering, WiConnector connects to the secondary at once, and the tags keep their last values during the switch. They turn bad only when neither CPU answers; WiConnector then tries the primary first again after the reconnect delay.
- While on the secondary it checks the primary (a connection test, every Check every seconds) and goes back when it answers. Writes go to the CPU in use; the system keeps both CPUs in step.
- Port, CPU type, access, connection type, password and PDU are the same for both CPUs. Browse (symbolic) uses the secondary when the primary does not answer.
- S7-1500R/H also has a system IP address that always belongs to the primary CPU. Using it as a Standalone PLC works too (WiConnector reconnects to it after a switchover); Redundant with the CPUs' own addresses switches faster and keeps working while the system IP moves.
- Every switch is in the Logs (Connector.name): "lost the primary CPU …; switching to the secondary CPU …", "using the secondary CPU …", "the primary CPU … answers again; going back to it".
Preparing an S7-1200 or S7-1500
With Symbolic access there is nothing to change in the PLC: just download the program. If the CPU's access level
(CPU properties → Protection & Security → Access level) asks for a password, enter it in the PLC row's
Password field; with user management (S7-1500 firmware 3.1+) also enter the User. With Read access, reads
work without a password and only writes need it; with No access (complete protection) everything needs it. The
password is stored encrypted and never shown again (the field shows ********; leave it as is to keep it, or clear
it to remove it). A missing or wrong password is logged as "the CPU's protection level needs a password" or
"the PLC refused the password". Other connection failures say "Symbolic connection to … failed" with the reason.
For Absolute access, which is off by default on these CPUs, in TIA Portal:
- CPU properties → Protection & Security → Connection mechanisms: tick Permit access with PUT/GET communication from remote partner.
- For every data block WiConnector reads: right-click the DB → Properties → Attributes: untick
Optimized block access, then compile. The DB's Offset column now shows the byte offsets you use in
addresses (
DB1.DBD4is the value at offset 4.0). - Download the hardware and the changed blocks.
Markers, inputs and outputs need only step 1.
When something is wrong, the Logs page (Communication) says which step: "tick Permit access with PUT/GET" when PUT/GET is off, "Address out of range … optimized block access" for an optimized or too short DB, "The object does not exist" for a missing DB, and "check rack and slot" when the CPU refuses the connection. Only the tags with a bad address turn Bad; the others keep reading.
WiConnector reads tags that are close together in one range and puts up to 20 ranges in one request, so a few hundred tags in a handful of DBs usually take one or two requests per poll.
Switching a PLC from absolute to symbolic
Set its Access to Symbolic and press Save and restart. WiConnector reads the PLC's variables and offers to
change each tag's absolute address to the name of the same variable, for example DB2.DBD0 to "DataDB2".D1, in the
same save. A tag that cannot be matched (a block with optimized access, a string or a structure) keeps its address
and turns Bad; enter its name or pick it with Browse. Tags you do not convert keep working: an absolute
address on a symbolic PLC is read through the variable at that address, and the log suggests the name.
Adding tags from a PLC (symbolic)
Open a tag group and press Add from PLC. Pick the PLC (any S7 PLC set to Symbolic) and the poll group; the
PLC's variables appear as a tree: one branch per data block, and PLC tags for markers, inputs and outputs. Find a
variable by name, tick variables or whole blocks, and press Add. Each becomes a read-only tag in the group,
named after the variable (array brackets become parentheses: Values(3)), with the tag type that fits the PLC
type. Make a tag writable in its properties. Variables without a tag type (structures, some date types) are greyed
out. In a single tag's properties, Browse beside the address picks one variable the same way.
Keep structures as templates (on by default) keeps the PLC's structures as they are. Each structure in a data
block with two or more ticked members (for example "DataDB".Motor1, or an element of an array of structures such
as Motors[1]) becomes a group bound to a template made from it, so its tags are kept in line by the template:
- One template per kind of structure: structures with the same ticked members and types share one (Motor1 and
Motor2 give one
Motortemplate). Its tag addresses read{base}.Speed,{base}.Current, and so on. - Each group remembers its Structure (
"DataDB".Motor1), which{base}becomes. Change it in the group's binding to point the group at another structure. - If a template with the same tags already exists, it is reused; otherwise the name gets a number (
Motor 2). - Variables outside a structure, and structures with only one ticked member, become plain tags.
The button shows how many structures will become groups. Nothing is added if any of the tags already exists.
DTL (date and time): Browse lists a DTL with its members (YEAR, MONTH, DAY, WEEKDAY, HOUR, MINUTE, SECOND,
NANOSECOND) and one more entry, DateTime, that reads the whole DTL as one String tag, like
2026-11-27 12:21:05.123. Tick the DTL to get both (the date and time plus each part as its own tag), or tick only
the entries you need. With Keep structures as templates, DTLs become groups bound to a template named DTL.
Other date and time types are read and written as text: DATE_AND_TIME as 2026-11-27 12:50:46.751, DATE as
2026-11-27, TIME_OF_DAY as 12:30:05.250 (or milliseconds with a UInt32 tag). S5TIME and TIME are milliseconds
(UInt32 and Int32 tags).
Symbolic reads are fast: about 30 ms for a few dozen variables in one request.