Explainer
Which alarm service an S7-400H and Comfort Panel support
Short answer
With an S7-400H controller and a TP1500 Comfort panel engineered in WinCC Advanced V16, ALARM_S is the PLC alarm service to use, generating messages without an instance data block. ALARM_8P requires an instance data block and WinCC Professional. First-out capture is separate latched logic in CFC, because the alarm service only reports the retained result to the panel.

On this page
- Which PLC alarm service does an S7-400H with a Comfort Panel support?
- Why is ALARM_8P not the answer for a Comfort Panel?
- What does ALARM_S send to the panel?
- How do you capture the first-out cause in the PLC?
- What happens when two trips land in the same PLC scan?
- Can discrete panel alarms replace PLC alarms?
- How do you test the first-out chain before trusting it?
- How do acknowledgment and first-out reset differ?
- What do you commit to for this station?
- Questions asked
Use ALARM_S. For an S7-412H with redundant ET200M I/O and a TP1500 Comfort panel engineered in WinCC Advanced V16, ALARM_S is the PLC alarm service that pairing supports, and it generates its message without an instance data block. ALARM_8P is not available to that panel: it works with an instance data block and its messages are received in WinCC Professional. No alarm service decides which alarm came first, either — the first-out cause must be captured by latched logic in the controller program, and the alarm service only reports the retained result to the panel.
Which PLC alarm service does an S7-400H with a Comfort Panel support? #
ALARM_S is the service to use: it generates PLC alarms on S7-300 and S7-400 controllers without an instance data block, and a Comfort Panel engineered in WinCC Advanced receives them.
The station in question pairs an S7-412H CPU with redundant ET200M I/O, failsafe digital inputs and outputs included, programmed in SIMATIC Manager V5.6 with CFC V9 and F-Systems V6.2. The TP1500 is engineered separately in WinCC Advanced V16, and the PLC proxy between the two exists for redundant communication switchover. These are separate engineering environments: a working process-value connection through the proxy proves that tags move, not that PLC alarms, their message texts and their acknowledgments are integrated.
A PLC alarm originates in the controller program and an alarm service delivers it. A discrete HMI alarm instead depends on the panel reading a trigger bit on its own cycle. That difference decides what happens when a shutdown produces several changes faster than the panel acquires them.
Why is ALARM_8P not the answer for a Comfort Panel? #
ALARM_8P creates PLC alarms for eight signals with an instance data block, and its messages are received as controller alarms in WinCC Professional runtime, which a Comfort Panel does not run.
The instruction extends the ALARM instruction to eight signals, and the alarm number you assign it must be unique within your user program. On the receiving side, the required parameters of the ALARM_8P message belong to WinCC Professional, where an alarm group contains several tags. Whatever receives controller alarms, the configured project has to be compiled and loaded into both the controller and the HMI device before anything appears at runtime.
So stop designing this station around ALARM_8P: it is the right tool only if the operator station later becomes a WinCC Professional PC runtime, which is a different architecture — the redundant-controller version of that move is covered in connecting an S7-400H to WinCC Professional with a device proxy.
What does ALARM_S send to the panel? #
Every call of ALARM_S generates an alarm message carrying the state of the signal it watches, and the panel files it under user-defined alarms, the ones that exist to monitor the plant.
The panel's alarm log divides into system-defined alarms, which report the HMI's own states, and user-defined alarms, which serve to monitor the plant; PLC alarms land in the second group. The message number and text association belongs to the panel project's alarm configuration, and acknowledgment behavior follows the alarm class assigned there.
Because the message carries a signal state rather than an event history, one call reports one condition. Several first-out candidates therefore mean several calls, or one call whose text is driven by a retained cause code from the capture logic described next. That is the asynchronous messaging this pairing supports: events generated in the controller, not states the panel has to catch by polling.
How do you capture the first-out cause in the PLC? #
Build the capture as latched logic in the CFC program: with the shutdown group armed and no record present, the first scan in which a qualified candidate is active latches it as the cause and blocks further capture until reset.
Define one first-out group for each independently diagnosed shutdown boundary, and list every signal that can actually request that shutdown beside the action it initiates. Each candidate must be the same qualified signal the trip decision uses — same polarity, same qualification, same operating-state applicability. Capturing an unfiltered field input while the shutdown acts on a qualified condition reports events that never requested a trip.
CFC execution order then becomes the priority rule unless you control it. Evaluate the candidates upstream of the capture block so the capture sees a coherent set of values; independent latches scattered through a chart make chart order an accidental priority. On the first qualifying observation, store the selected cause, and where implemented the snapshot of all candidates present plus the controller event time, then inhibit further capture until the defined reset.
First-out means the first qualifying condition observed initiating one shutdown episode — not necessarily the first message displayed, and not proof of the physical root cause: an instrument fault can create the process condition that trips the machine, and both need investigation. Drive ALARM_S from the latched cause, and keep the ordinary equipment alarms running; suppressing everything after the first event deletes the sequence the operator needs.
One boundary on all of this: first-out capture is diagnostics, so it must not delay the safety response or become a permissive for it, and anything inside the safety program goes through the applicable safety engineering and validation — keep the capture in the standard program, reading the same signals the trip logic qualifies.
What happens when two trips land in the same PLC scan? #
When several candidates turn active between two capture executions, their Boolean states alone carry no arrival order, so you need an explicit simultaneous-event policy instead of relying on chart position.
Take an example scan cycle of 80 ms, with the capture executed once per scan. Candidate A turns active at the start of a cycle and candidate B 30 ms later. The capture runs 80 ms − 0 ms = 80 ms after A and 80 ms − 30 ms = 50 ms after B, so both are already active at the same evaluation and the logic cannot tell which came first. Without a policy the winner is simply whichever block CFC evaluates first — chart order dressed up as plant order.
Two policies work. The snapshot policy latches every candidate active at first capture, so the operator sees several conditions observed together instead of a manufactured single cause; choose it whenever an unambiguous single cause must be distinguishable from a cluster. The priority policy selects one candidate by a documented order and records that others were present. Commit to the snapshot with the controller event time; it costs a few bytes per group and never presents a cluster as a single cause.
Can discrete panel alarms replace PLC alarms? #
Yes, as a fallback or complement: discrete alarms triggered by retained PLC bits can display the first-out result, as long as the record stays latched in the controller.
The mechanism decides it. A discrete alarm needs the panel to read its trigger bit while the bit is active. With an acquisition cycle of 1 s, for example, a 200 ms pulse falls between two reads: 200 ms is less than 1000 ms, and the bit is inactive again 1000 ms − 200 ms = 800 ms before the next read, so the alarm never appears. A retained record has no such window: it is readable at the next successful read, however late that read comes. Use ALARM_S as the primary route, and discrete alarms on latched bits when a message integration cannot be configured for the actual target, or beside it for at-a-glance status.
The panel's own connection monitoring is a third, separate mechanism again: if the indication you are missing is the connection itself dropping, that is covered in showing a PLC connection fault on a Comfort Panel alarm display.
How do you test the first-out chain before trusting it? #
Prove the chain on the bench with the real controller and the real panel: compile the project, load it into the controller and the HMI device, then push controlled test alarms through capture, message and display.
Run the checks as timestamped observations, on an isolated bench with verified test tags:
- One
ALARM_Stest message: it reaches the panel with its configured text and follows its incoming and outgoing states. - Two candidates activated inside one scan: the stored record follows the documented simultaneous-event policy, not chart order.
- A second candidate activated after capture: its ordinary alarm appears, and the first-out indication still shows the first cause.
- Panel communication interrupted and restored under controlled conditions: the current retained record reads back after reconnection, whatever order the queued messages arrive in.
- Reset, then a fresh trip: a new episode captures a new cause and the old record does not leak into it.
How do acknowledgment and first-out reset differ? #
Acknowledgment records that the operator has seen an alarm; first-out reset clears the latched cause so the next shutdown episode can be recorded, and they must remain separate operations.
Acknowledgment lives in the panel's alarm system and follows the alarm class; reset is a momentary command written to the controller that clears the capture. Wire reset as a deliberate operator action, never as an automatic companion of acknowledgment, or the evidence disappears before anyone has diagnosed the shutdown. System diagnostics are yet another separate mechanism: if Report System Error messages are missing from the panel altogether, that is a different fault, covered in why Report System Error alarms are missing on Comfort Panels.
What do you commit to for this station? #
Commit to ALARM_S driven by latched first-out logic in CFC, with a snapshot of every candidate present at first capture, and leave ALARM_8P for a future WinCC Professional migration.
| Case | Decision | Basis |
|---|---|---|
| S7-400H with a TP1500 Comfort panel on WinCC Advanced V16 | ALARM_S, one call per reported condition |
Supported for S7-300 and S7-400 controllers, no instance data block needed |
| A WinCC Professional PC station | ALARM_8P |
Eight signals per call with an instance data block, alarm groups of several tags, controller alarms received in Professional runtime |
| Which condition initiated the shutdown | Latched capture in CFC with a candidate snapshot | The alarm service only transports the retained result |
| A field pulse shorter than the panel's acquisition cycle | A retained record, never a raw trigger bit | A 200 ms pulse inside a 1 s acquisition is never read |
These decisions hold for the stated pairing — S7-400 controller family, Comfort Panel runtime, controller-side alarm generation — and the same reasoning selects the service for any other pairing you are offered.
Questions asked
Does the PLC proxy change which alarm service the Comfort Panel can receive?
No. The proxy only gives the panel a connection path that follows the redundant controller switchover; it does not add alarm services the panel runtime does not support. Keep the proxy as configured and generate the alarms in the controller with ALARM_S. Because both connection partners run the same controller program, alarm and diagnostic values stay coherent across a switchover.
Where should the first-out record live so a panel restart cannot lose it?
In controller memory, inside the latched capture logic, never only in the panel's alarm list. The panel is a display: after a restart it reads the current retained cause at the next successful acquisition. Treat the controller record as the authority and the message list as a view of it, and keep reset in the hands of the operator so the evidence survives until the shutdown is diagnosed.
Do system diagnostic alarms count as first-out alarms?
No. Report System Error diagnostics report module and channel faults in categories such as Error and Maintenance, and for each category you define whether the alarm is output and whether it requires acknowledgment. They describe equipment health, not which process condition initiated the shutdown. First-out stays a user-program capture; both streams can run side by side in the same panel alarm log.

