Interpreting Quality Codes and Resolving Shaded Attention Icons on WinCC I/O Fields in PCS 7 APL
In SIMATIC PCS 7 Advanced Process Library (APL), a shaded yellow 'Attention' (caution/wrench) icon appearing next to a valid value in a WinCC I/O field indicates that the connected tag has an abnormal Signal Status (Quality Code). Even though the process value updates correctly, a Quality Code of 16#60 (Simulated value active) or 16#78 (Substitute value active) triggers the icon via the 'Visualize Tag Status' property. To resolve it, disable simulation on the CFC block (SimOn = 0), restore healthy field I/O, or disable status visualization on the I/O field.
Table of Contents
- Architecture of Signal Status (Quality Code) in PCS 7 APL
- APL Signal Status (ST) Hexadecimal Quality Code Matrix
- Identifying the Cause of Quality Code 16#60 (Simulated Value)
- Configuring WinCC I/O Field 'Visualize Tag Status' Properties
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Architecture of Signal Status (Quality Code) in PCS 7 APL
In SIMATIC PCS 7 with the Advanced Process Library (APL), process variables are not passed as raw elementary data types (e.g., standard REAL or BOOL). Instead, they are encapsulated within structured data types:
* Struct_Analog: Contains Value (REAL) and ST (BYTE - Signal Status).
* Struct_Digital: Contains Value (BOOL) and ST (BYTE - Signal Status).
The Signal Status (ST) conforms to the international standard IEC 61158 and NAMUR NE 107. It continuously informs downstream technological blocks and the Operator Station of the validity, origin, and measurement health of the value.
In WinCC Graphics Designer, standard APL dynamic objects and customized I/O fields utilize the property Visualize Tag Status (under Miscellaneous / Properties). When this feature is active:
* If ST = 16#80 (Good), the I/O field renders cleanly with standard text.
* If ST = 16#60 (Simulated), the I/O field renders the value but overlays a shaded yellow attention/hand symbol, alerting operators that the value does not originate from a physical transmitter.
* If ST = 16#00 (Bad), the I/O field renders a red cross or warning indicator.
APL Signal Status (ST) Hexadecimal Quality Code Matrix
Understand how the byte value of ST drives the visual display in WinCC:
16#8016#6016#7816#0016#28Quality standard note: Quality codes propagate automatically through upstream channel drivers to technological blocks.
Identifying the Cause of Quality Code 16#60 (Simulated Value)
When an I/O field linked to MonAnL.PV_Out#Value displays the shaded attention icon:
- Inspect CFC Block in Online Test Mode:
* Open the CFC chart containing theMonAnLblock.
* Switch to Test > Watch On.
* Locate the input parameterSimOn.
* IfSimOn = TRUE, the block is currently ignoring field hardware and outputting the internal simulation value (SimPV_In), forcingPV_Out.ST = 16#60.
* ChangeSimOntoFALSEto restore live field processing. - Check Upstream Channel Driver (
Pcs7AnIn/FbAnIn):
* Trace the interconnection ofMonAnL.PV_In.
* If connected to an analog input driver block (e.g.,Pcs7AnInFB1869), check the driver'sSimOninput.
* If simulation is active on the driver block, it outputs16#60, which propagates transparently throughMonAnLto WinCC. - Verify Force / Maintenance Overrides in WinCC Faceplate:
* In WinCC Runtime, open the faceplate for the block.
* Open the Maintenance View or Simulation View.
* If an operator activated simulation from the faceplate, click Reset Simulation to return to live measurement.
Configuring WinCC I/O Field 'Visualize Tag Status' Properties
If the I/O field is connected to an internal calculation or non-APL tag where the quality code is unmanaged or irrelevant:
- Open Picture in Graphics Designer:
* Open the.pdlscreen in WinCC Graphics Designer.
* Select the affected I/O field. - Modify Miscellaneous Properties:
* Open the Object Properties window.
* Under Properties, select the Miscellaneous group.
* Locate the property: Visualize Tag Status (Tag status anzeigen).
* Change the value from Yes to No. - Save and Activate:
* Save the picture. In WinCC Runtime, the shaded attention icon will be suppressed, displaying only the numeric value.
Verification
Verify quality code resolution:
1. In CFC, confirm that SimOn = FALSE on both Pcs7AnIn and MonAnL.
2. Confirm that PV_Out.ST displays 16#80 (Good) in CFC test mode.
3. Open WinCC Runtime: Confirm that the numeric process value displays clearly in the I/O field with zero shaded attention icons.
4. Temporarily activate simulation via the faceplate: Confirm that the shaded attention icon immediately reappears, proving dynamic status tracking is healthy.
Limitations and Operational Precautions
- Never suppress 'Visualize Tag Status' on critical plant safety transmitters; operators must know whether a displayed value reflects live field conditions or simulated overrides.
- Simulating an analog input on a channel driver overrides wire-break alarms; ensure physical transmitters are inspected before returning loops to service.
- In redundant S7-400H systems, loss of one channel on a redundant analog input module drops the quality code to
16#68or16#78(Degraded / Maintenance required).
Engineer FAQ
Why does the attention icon appear if the value is changing normally?
A value can change normally while being simulated (e.g., driven by a simulation ramp or manual slider in CFC). WinCC evaluates the 'ST' (Signal Status) byte, which flags 16#60 regardless of value dynamics.
Can I customize the graphic icon used for Visualize Tag Status?
Yes. The icons are standard EMF files stored in the OS project's 'GraCS' folder (e.g., '@status_simulated.emf').
Does a simulated quality code trigger an alarm in Alarm Logging?
Yes. APL technological blocks generate an operator process message indicating 'Simulation active' when SimOn transitions to TRUE.
Technical References
- SIMATIC PCS 7 Advanced Process Library (APL) Manual (A5E32106040)
- SIMATIC HMI WinCC V7.3 WinCC: Working with WinCC Manual (A5E34775390)
- NAMUR Recommendation NE 107: Self-Monitoring and Diagnosis of Field Devices
Related Articles
- Configuring Interlock Input Identifiers and Extended Descriptions in PCS 7 APL Faceplates
- Customizing Alarm Logging Column Headers and Message Blocks in WinCC and PCS 7
- Troubleshooting Analog Input Channel Driver Faults in SIMATIC PCS 7
Related Tags
- Quality Code
- Signal Status
- ST Byte
- Attention Icon
- Simulated Value
- MonAnL
- Visualize Tag Status
- PCS 7 APL