Visualizing Signal Quality and Bad Value Status on APL MonAnL Block Icons
To display the bad signal quality of a field transmitter on an APL MonAnL block icon in SIMATIC PCS 7, interconnect the Bad output of the channel driver block Pcs7AnIn to the CSF (Control System Fault) input of MonAnL in the CFC chart. Alternatively, when using structured variable interconnections, connect Pcs7AnIn.PV_Out directly to MonAnL.PV. The APL block icon automatically evaluates the Signal Status byte (ST = 16#00 or 16#28) and renders the standardized yellow warning triangle or maintenance wrench badge without requiring custom scripting.
Table of Contents
- Executive Summary
- APL Signal Status Architecture and Quality Evaluation
- CFC Interconnection Methods: CSF vs Structured Signal Status
- WinCC Block Icon Representation of Bad Quality
- Diagnostic and Signal Flow Comparison
- Step-by-Step Implementation Procedure
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Executive Summary
In industrial process automation, prompt visual identification of failed instrumentation is critical for plant safety and alarm management. In SIMATIC PCS 7 Advanced Process Library (APL), engineers often search for an explicit 'Bad' output pin on monitoring blocks like MonAnL to drive visual indications on WinCC graphic screens. However, APL avoids discrete alarm tags by utilizing structured variables containing IEEE 754 floating-point values paired with NAMUR NE107 signal status bytes. This article details how bad transmitter quality is propagated through channel drivers into technological blocks and explains the standard mechanisms to trigger automatic maintenance badges on SCADA block icons.
APL Signal Status Architecture and Quality Evaluation
Every analog process value in PCS 7 APL is packaged as a structured data type (STRUCT) consisting of Value (REAL) and ST (BYTE). The Signal Status byte adheres to the international PA profile standard:
16#80: Good (Value valid, normal operation).16#60: Simulated (Value generated via software simulation).16#28/16#00: Bad (Process value invalid due to channel failure, wire break, or hardware fault).
When Pcs7AnIn detects a channel fault, it updates PV_Out.ST = 16#00 and asserts Bad = 1. If MonAnL receives this structured signal at its PV input, its internal logic evaluates the status byte, inhibits normal limit alarm generation, and sets internal maintenance status bits.
CFC Interconnection Methods: CSF vs Structured Signal Status
Engineers can choose between two standard methods to convey transmitter failure to MonAnL:
- Structured Direct Interconnection (Recommended): Connect
Pcs7AnIn.PV_OuttoMonAnL.PV.MonAnLextracts the signal status automatically, suppresses nuisance process alarms, and triggers the APL quality code badge. - Control System Fault (
CSF) Interconnection: ConnectPcs7AnIn.BadtoMonAnL.CSF. TheCSFinput is specifically intended for external hardware and process faults. ActivatingCSFgenerates an explicit 'Control System Fault' process alarm in WinCC Alarm Logging and displays the flashing yellow fault indicator on the block icon.
WinCC Block Icon Representation of Bad Quality
The standard APL block icon for MonAnL (@MonAnL/1, @MonAnL/2, etc.) incorporates built-in visual layers managed by the APL_BLOCK_ICON dynamic scripts. When CSF = 1 or ST < 16#80, WinCC displays:
* Maintenance Badge: A yellow wrench or hand symbol in the upper right quadrant of the icon.
* Quality Code Indicator: A warning triangle indicating degraded process measurement.
* Alarm Line Generation: A high-priority operational alarm logged in the sequence of events archive.
Diagnostic and Signal Flow Comparison
The following table compares the behavior of direct structured interconnections versus CSF interconnections:
Pcs7AnIn.PV_OutMonAnL.PVPcs7AnIn.BadMonAnL.CSFMonAnL.MS_ExtPcs7AnIn.SimOnStep-by-Step Implementation Procedure
Step 1: Establish Signal Connection in CFC
- Open the CFC chart containing the analog measurement in SIMATIC Manager.
- Verify that
Pcs7AnIn(FB1869) andMonAnL(FB1845) are instantiated in the chart. - Interconnect
Pcs7AnIn.PV_Outdirectly toMonAnL.PV(ensuring structured connection). - If an audible control system alarm is required upon sensor failure, interconnect
Pcs7AnIn.BadtoMonAnL.CSF.
Step 2: Compile and Download
- Execute an AS compilation with 'Generate module drivers' enabled.
- Download changes to the Automation Station.
- Perform an OS compile to ensure tag structures and alarm archives reflect the
CSFinterconnection.
Verification
To verify quality signal visualization:
- In S7-PLCSIM or online in CFC, open
Pcs7AnInand toggleSimOn = 1, then setSimPV_In = 16#7FFFor setBad = 1. - Verify online that
MonAnL.PV.STdrops to16#00orMonAnL.CSFswitches toTRUE. - In WinCC Runtime, inspect the
@MonAnLblock icon. Confirm that the yellow wrench icon appears automatically. - Open the WinCC Alarm List and confirm the entry:
@1%s@ Control System Faultappears with the correct tag timestamp.
Limitations and Operational Precautions
- Alarm Flooding Risk: Connecting
Baddirectly toCSFon hundreds of transmitters will generate massive alarm bursts during plant power outages or remote I/O link drops; use structuredSTevaluation where alarm suppression is preferred. - Legacy Library Incompatibility: Legacy standard library blocks (
MEAS_MON, FB65) do not evaluate structured APL signal status bytes and require explicit discrete wiring.
Engineer FAQ
Why does MonAnL not have a Bad output pin like Pcs7AnIn?
MonAnL is a technological monitoring block rather than an I/O driver; it outputs structured variables (PV_Out.Value and PV_Out.ST) that propagate quality status downstream to interlocks and controllers.
Can the wrench symbol be suppressed on the block icon during maintenance?
Yes, by putting the channel driver into Maintenance or Out-of-Service mode (OOS), the block icon displays the Out-of-Service badge, preventing nuisance operator calls.
Does bad quality automatically trigger an interlock trip in APL?
By default, APL interlock blocks (Intlk02, Intlk04, Intlk08) evaluate signal status; if an input has bad quality, the interlock can be parameterized via feature bits to trip or bypass.
Technical References
- Siemens Industry Online Support Entry ID 109760968: SIMATIC Process Control System PCS 7 Advanced Process Library (APL) V8.1/V8.2 Manual
- NAMUR Recommendation NE 107: Self-Monitoring and Diagnosis of Field Devices
- Siemens AG: SIMATIC PCS 7 CFC for S7 / PCS 7 Manual (Doc No. A5E03415129)
Related Articles
- https://industrialautomation.net/search?query=pcs7+apl+monanl+csf+bad+quality
- https://industrialautomation.net/search?query=pcs7anin+signal+status+byte+st
- https://industrialautomation.net/search?query=namur+ne107+pcs7+block+icons
Related Tags
- https://industrialautomation.net/search?query=simatic-pcs7
- https://industrialautomation.net/search?query=signal-quality
- https://industrialautomation.net/search?query=advanced-process-library
- https://industrialautomation.net/search?query=wincc-scada