How-to
WinCC Professional dynamic login via a controller tag
Short answer
No SIMATIC Logon is needed for a key-based login on WinCC Professional: dynamic logon in Runtime settings selects the user from the value of one integer tag that the controller writes, with a matching identifier enabled per user. Operator changes are recorded by enabling the operation log on each I/O field, and the records appear in runtime through a message display.

On this page
No, SIMATIC Logon is not required to log operators in from a key system on WinCC Professional. The feature to use is dynamic logon in Runtime settings > User administration: runtime watches one integer tag that the controller writes and logs on whichever configured user carries the matching identifier. Assign the tag once for the station, enable dynamic logon for each user, set each user's identifier to the value the reader hands the controller, and the login needs neither a dialog box nor a separate login service. The operation log is a second, independent task: you enable it on each I/O field under Properties > Security, and the records it produces are shown in runtime through a message display. Both parts are configured inside the project you already have.
Which login route handles the key system #
Dynamic logon works like this: you assign one variable, the login tag, to the HMI device, and one value of that variable is assigned to a user. When the tag holds that user's identifier in runtime, that user is logged on. A key-based identification system drops straight into this pattern, because a read request returns an integer to the controller, the controller passes it to the HMI, and the HMI's login tag carries exactly that value. The TIA Portal documentation describes this route for RT Professional, and it needs no login box and no SIMATIC Logon installation on the station.
Dynamic logon does not authorize. The user it selects holds only the permissions you gave that account, so identification and authorization stay separate: keep write permissions scoped per account, because a copied or borrowed key carries that account's rights with it. Dynamic logon also does not centralize. SIMATIC Logon is the alternative route, with one central user store serving several stations, and the two are alternatives: configure one, not both. If shared user management across stations is the actual requirement, centralizing WinCC user administration with SIMATIC Logon is the route that serves it.
If the reverse direction matters too, meaning the active user's name written back into the controller for its own records, that is a separate task, covered in sending the active HMI user to the PLC with login macros.
Configure dynamic logon in runtime settings #
The configuration lives in two places, and both are required: the runtime settings entry that assigns the tag, and the per-user activation with its identifier.
- Open Runtime settings > User administration in the project window.
- In the Dynamic logon area of the table, add an entry and assign the login tag: one integer tag per HMI device, read from the controller, carrying the identifier value.
- Open each user in the user editor, enable the Dynamic logon option for that user, and set the User ID to the identifier the controller writes for that person. Distinct accounts get distinct identifiers, because a shared identifier leaves the operation log unable to tell two people apart.
- Leave SIMATIC Logon switched off for this station, so the two login routes do not run against each other.
- Check each account's permissions before the first live test, so a successful logon is never mistaken for an authorized write.
- Load the project, present a key, and confirm the switch on screen: the @CurrentUser system tag follows a dynamic logon the same way it follows a manual login, as described in why WinCC Professional shows the current user via @CurrentUser.
Dynamic logon for two keys and a default user on TIA V13 SP1 Update 8 #
Inputs for the worked case:
- Runtime: WinCC Professional in TIA Portal V13 SP1 Update 8, the project behind this question.
- Identification: a key system whose read request returns one integer to the controller.
- Login tag: one integer tag per HMI device, read by the HMI from the controller.
- Users: DefaultUser plus two operator accounts, each with the Dynamic logon option enabled and its own User ID. The identifiers are project-specific; this example uses 11 and 12 for the two operators.
- No-key state: the default-user variant, in which DefaultUser is enabled for dynamic logon and given its own User ID, keeps the station identified after a restart.
The rule: runtime compares the current value of the login tag with every identifier configured for dynamic logon and logs on the user whose identifier equals that value. The tag holds its last value, so the user stays on until the controller writes a different identifier.
The arithmetic. Settings to make: one Dynamic logon table entry for the tag assignment plus one Dynamic-logon activation per user, so 1 + 3 = 4 settings for the three accounts. Mapping: identifier 11 selects the first operator, identifier 12 selects the second, and DefaultUser's User ID selects the default user. Three configured identifiers describe three possible active users, exactly one at a time: one tag value equals one active user, never two sessions.
The result: presenting the first key puts the identifier-11 account in control with no login dialog; swapping keys hands the station to the identifier-12 account; when the controller writes the default user's identifier, the default user holds the station, including right after a restart.
The decision: if the reader hands the controller an integer, dynamic logon covers the login and SIMATIC Logon stays out of the project. Program the no-key and invalid-key identifiers deliberately, because a value matching no configured user selects nobody and whoever was active stays active. Writing the default user's identifier is the clean no-key state.
Record operator changes on the I/O fields #
The setting sits on the field, not on the tag: open the I/O field's Properties, open the Security area, and enable the operation log option in the Archive group. Do it on every field whose changes belong in the record, including copies of the same field on other screens, because the setting applies per field. When an operator changes that field's value in runtime, the record pairs the change with the user active at that moment and with the time. That is the same user-plus-timestamp pairing that audit trails are built on, and the operation log gives it to you on exactly the fields you choose.
Order matters: the record names whoever is logged on when the change happens, so the dynamic logon comes first. The operation log is also not a process-value archive: a trend shows that a value moved, never who moved it. The operation log exists for that second question, and it is configured separately from any trend.
Show the operation records in runtime #
Enabling the field option produces records; it does not produce a view. The records arrive in runtime as messages, so the display for them is the runtime message display: place one on a diagnostics screen and it lists the operation records with the time, the user and the change that was made. Without a message display, the records exist and nobody sees them, so configure the display in the same project update as the field settings.
Two boundaries sit next to that answer. How long the records are kept follows the project's archive configuration, which is a separate task from showing them. And the diagnostics screen is worth restricting to the people who should read the records, using the same user permissions the login route already manages.
The two decisions, then: the login runs on dynamic logon, without SIMATIC Logon and without a login dialog; and the operation log becomes visible when each I/O field carries the Archive > operation log setting and a runtime message display on a diagnostics screen shows the records.
Questions asked
Does dynamic logon work on operator panels too?
The configuration in this article is the one documented for RT Professional, where runtime runs on a PC and reads the login tag over the controller connection. Operator panels run their own user administration, and their login options differ by model and firmware, so confirm the same key-based route against the installed help for the specific panel before planning it there.
What should the login tag hold when no key is presented?
Whatever the controller program writes, so decide it deliberately. The documented default-user route enables dynamic logon for DefaultUser and assigns it a User ID, which lets runtime log the default user on from the tag value, including automatically after a restart. Map the no-key state and the invalid-key state to explicit identifiers and test both before production.
Can two operators be logged on at the same time?
No. One value is assigned to one user, and the login tag holds a single integer at any moment, so runtime switches the active user rather than stacking sessions. A handover is a new value: present the next key or have the controller write the next identifier, and the previous user is replaced as soon as the tag changes.
What about the Anonymous user?
A new project creates an Anonymous user that can log on without a password, and the documentation recommends leaving that user deactivated for security reasons. A key-based login does not need it: identification comes from the key and its identifier, so deactivate Anonymous and give every state of the reader a named user with its own identifier and permissions.


