Troubleshooting
Why a TP177micro alarm acknowledges only via its own ACK button
Short answer
A WinCC flexible discrete alarm runs on three separate bit handshakes: the trigger, the PLC acknowledgment request and the panel's acknowledgment feedback. The TP177micro acknowledges only through its own ACK control or a fresh transition of the configured request bit while the alarm is pending; writing the feedback bit does nothing. The panel also has no alarm archive, so logging stays disabled.

On this page
The ACK control inside the alarm view works and your own writes do not because acknowledgment is not one bit you flip: it is a handshake with a different owner on each side. WinCC flexible 2008 runs a discrete alarm on three separate bit handshakes — the trigger that reports the fault, the acknowledgment request the PLC sends to the panel, and the acknowledgment feedback the panel sends back. The panel acknowledges when its own ACK control is used or when the configured request bit makes a fresh 0-to-1 transition while the alarm is pending; a feedback bit set or reset from the PLC acknowledges nothing, and a request bit parked at 1 carries no request at all. The logging question has a shorter answer: the TP177micro has no alarm archive, so its alarm view offers only the simple mode and the Logging option stays grayed out.
Three bits behind one alarm #
Each role is configured separately, and mixing them up is what makes a working ACK control look broken.
| Handshake | Direction | Who writes it | Job |
|---|---|---|---|
| Trigger bit | PLC to panel | the fault logic | makes the message appear |
| Acknowledgment request bit | PLC to panel | your acknowledgment routine | acknowledges a pending alarm |
| Acknowledgment feedback bit | panel to PLC | the panel | reports an acknowledgment made at the panel |
Only alarms in a class that requires acknowledgment take part in this, the errors class; warnings leave the view when their trigger ends and never need an ACK. The assignments live in the discrete alarms editor. Siemens support entry 19439876 gives the procedure for acknowledging from the PLC: once the messages are configured, the same tag used in the "Trigger Tag" field is entered in the "Write acknowledge tag" field — its example runs 32 messages on one tag, which takes one 32-bit tag at a bit per message. The bit assigned to each message is shown in the editor row, and that is the bit your PLC routine writes. Discrete alarms are addressed strictly bit by bit, which is also why numeric message codes do not map to discrete alarm bits.
The panel writes back too. Chapter 2.4.2 of the WinCC flexible 2008 Communication Part 1 manual documents that the panel resets the acknowledgment bit assigned to an error alarm, a reset that covers all alarm bits acknowledged since the last Runtime restart. Two consequences follow: a request bit still held at 1 from an earlier attempt is stale, and your PLC logic must accept the panel clearing the bit it just set.
Acknowledged is not gone. Acknowledgment clears the unacknowledged state only; while the fault condition persists, the message stays in the view as acknowledged and leaves when the trigger ends. An alarm that is acknowledged yet still displayed is exactly what an active fault produces.
Why your writes acknowledged nothing #
- You set and reset the feedback bit. That bit is the panel's own output; the PLC can read it, but writing it changes nothing at the panel.
- You gave the request no fresh transition. The panel clears acknowledgment bits on its own, so a bit parked at 1 is stale — and a set-and-reset completed inside one panel update cycle never appears as a transition at all. Raise the request, hold it until the panel has acted, then release it.
- You wrote while nothing was pending. A request for an alarm that is not pending acknowledges nothing and leaves a stale 1 behind for the next attempt.
- You expected the message to disappear. Acknowledgment clears the unacknowledged state; an active fault keeps the acknowledged message in the view.
One acknowledgment routine for both buttons #
Route both a screen button and a physical pushbutton into one PLC rung that drives the request bit.
- The pushbutton arrives on its PLC input. The screen button cannot write that input — physical inputs are reserved for the wiring, as explained in why an HMI toggle switch cannot write a physical PLC input — so its press and release events set and reset a command memory bit instead, using the bit-edit functions in the button's Events list.
- One rung owns the request: if the pushbutton input or the command bit is 1, set the alarm's request bit; if both are 0, reset it. The press holds the request up where the panel can see it, and the release re-arms the next transition.
- Do not copy an HMI-side acknowledgment function from another panel family. The view's built-in ACK acts on the message selected in that view, and a standalone button has no selected-message context; check the Functions list offered for the TP177micro target before relying on any such function. The PLC route works on every target.
- Keep the routine out of the fault logic: test with a maintained switch in the fault rung, never by clearing a live fault to tidy the display, and let the acknowledgment rung write only the request bit.
Worked example: acknowledging one fault alarm from an S7-200 pushbutton #
Inputs #
- The fault alarm already triggers correctly from S7-200 logic (your case: CPU 224XP, TP177micro on version v1.6.1, project in WinCC flexible 2008).
- The messages sit on one tag named in both the "Trigger Tag" and "Write acknowledge tag" fields, following the Siemens procedure; the example alarm is assigned bit 8 in its editor row (example value — read yours from that row).
- That tag is mapped to VD200 in the PLC (example value from the tag table; a 32-bit tag needs a double-word address).
- Pushbutton on input I0.4, screen-button command bit at M0.4 (example values). The request bit starts at 0.
Rule #
While the alarm is pending unacknowledged, a fresh 0-to-1 transition on its acknowledgment bit acknowledges it, and the panel then resets that bit itself (Communication Part 1, chapter 2.4.2). The request must be raised after the alarm is pending and released after use. The rung that implements it: I0.4 or M0.4 at 1 sets V202.0; both at 0 resets it; the fault logic keeps exclusive ownership of the trigger bit.
Arithmetic #
Bit budget: 32 messages at one bit each fill 32 bits, numbered 0 to 31; bit 8 is the ninth bit counting from zero.
Byte mapping in the S7-200: a 32-bit tag at VD200 spans VB200 to VB203 with the most significant byte at the lowest address — VB200 holds bits 24 to 31, VB201 bits 16 to 23, VB202 bits 8 to 15, VB203 bits 0 to 7.
Byte holding bit 8: 203 − (8 ÷ 8) = 203 − 1 = 202, so VB202. Position inside that byte: 8 mod 8 = 0.
The request bit the PLC must raise is V202.0.
Result #
Pressing either button holds V202.0 at 1 across panel update cycles; the panel acknowledges the pending alarm and resets V202.0 itself; the release writes 0 again — harmless if the panel was faster — and re-arms a fresh 0-to-1 for the next press. While the button is held, the rung may raise the request once more after the panel's reset; that second request meets an already-acknowledged alarm and does nothing. The message stays in the view as acknowledged while the fault persists.
Decision #
Keep every writer behind that one rung. If the message state does not change while the request is held up across several panel update cycles, the write is landing on the wrong bit or the wrong tag — re-check the address arithmetic against the editor row before editing logic. If the request bit still reads 1 after release, a second writer exists: find it first, because until that bit rests at 0 no new press can produce a transition.
Alarm logging on the TP177micro #
Not available — the grayed-out radio button is the device saying so. This panel's alarm view offers only the simple mode and its Logging option is disabled because the TP177micro has no alarm logging. An alarm view displays messages; an alarm archive stores events for later retrieval, and this device does not have one.
Decision for a required event record, in order. First, keep the record in the S7-200 program: latch each fault bit and count occurrences in retentive memory so the history survives a power cycle. Second, if operators must retrieve past messages at the station, move the visualization to a runtime that supports alarm logging — a PC-based HMI runtime on an industrial panel PC — which also frees you from the simple view. On panels that do support logging, the log brings its own traps; see why a WinCC flexible data log trigger bit writes zero values.
The decision for each case #
- Custom on-screen ACK button: its press and release events drive a command bit into the PLC rung above; never the feedback bit.
- Physical pushbutton on the S7-200: its input feeds the same rung; one press gives one held request, and the release re-arms it.
- Alarm acknowledged but still displayed: correct and expected while the fault is active; it leaves the view when the trigger ends.
- Alarm logging on the TP177micro: impossible on this device; record in the PLC or move to a logging-capable runtime.
Questions asked
What is the HMI acknowledgment feedback bit actually for?
It lets the PLC react to an acknowledgment made at the panel. A typical use is a horn or beacon circuit: the PLC sounds the horn while an alarm is unacknowledged and silences it when that alarm's feedback bit goes to 1. It is an output from the panel's side, so the PLC program should read it and never write it.
Does the operator have to open the alarm view for the PLC request to work?
No. Alarm processing runs in the panel's runtime regardless of which screen is open; the alarm view only displays the pending messages and hosts the built-in ACK control. A request bit transition therefore acknowledges from any screen, which is exactly what makes a dedicated ACK button on the operator's normal working screen possible.
What happens when the same fault recurs after it was acknowledged?
Each new occurrence is a new event and arrives unacknowledged, so the operator must acknowledge again. The panel's reset of the acknowledgment bit after each use is what re-arms this: because the bit rests at 0 between events, the PLC's next request is a fresh 0-to-1 transition the panel will accept.
How do I bench-test the handshake before trusting it on the machine?
Wire a maintained switch into the fault rung as a test input and force the alarm pending, then work the pushbutton while watching the request bit online. It should go to 1 on the press and return to 0 by the panel's own action, with the message changing to acknowledged. Remove the test path before returning the program to service.

