Troubleshooting QBAD=1 and Simulation Lock (Yellow Hand) on Analog Channel Drivers in SIMATIC PCS 7
In SIMATIC PCS 7, an analog channel driver displaying QBAD = 1 and a yellow hand simulation icon indicates bad signal quality and active simulation. QBAD = 1 occurs when the MODE parameter is uninitialized (16#00000000) due to omitted module driver generation, when field current drops below 3.6 mA (wire break/NAMUR underflow), or when scaling mismatches occur. Clear QBAD by compiling module drivers, restoring healthy 4-20 mA current, and deactivating SimOn.
Table of Contents
- Diagnostic Overview and Faceplate Visual Indicators
- Root Cause Analysis: Why Channel Drivers Assert QBAD=1
- The Interplay Between QBAD and Simulation Mode (Yellow Hand)
- Step-by-Step Diagnostic and Troubleshooting Workflow
- Channel Driver Signal Quality and QBAD Status Matrix
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Diagnostic Overview and Faceplate Visual Indicators
During plant operation or commissioning of an analog measurement loop (such as a vessel weighing scale, flowmeter, or pressure transmitter) in SIMATIC PCS 7:
* On the WinCC Operator Station screen, the process value (PV) for the instrument is greyed out and fails to display dynamic field values.
* An icon depicting a yellow hand (or simulation indicator) is superimposed on the block icon and faceplate.
* The automation engineer inspects the Continuous Function Chart (CFC) and observes that the channel driver block (Pcs7AnIn or Classic CH_AI) has its digital output asserted: QBAD = 1 (or Bad = 1).
* The engineer verifies that the physical I/O card in the cabinet shows healthy green status LEDs and field cable wiring appears intact.
Because physical cabinet hardware appears functional, engineers struggle to identify why the channel driver continues asserting QBAD = 1 and why the block is locked in simulation mode.
Root Cause Analysis: Why Channel Drivers Assert QBAD=1
In SIMATIC PCS 7 channel blocks, QBAD = 1 is the master quality assertion indicating that the raw signal cannot be validated for process control. It is triggered by four distinct conditions:
-
Uninitialized or Unlinked
MODEParameter:
* The channel driver does not read raw hardware directly; it interprets peripheral counts based on itsMODEinput word.
* If CFC charts were compiled without checking 'Generate module drivers', or if the I/O card was integrated via an unmapped GSD file, theMODEparameter remains default16#00000000.
* An uninitializedMODEtells the driver that the hardware subsystem has not validated the channel, forcingQBAD = 1immediately. -
NAMUR NE 43 Measuring Range Violations (Wire Break / Overflow):
* For standard 4-20 mA analog inputs, peripheral counts range from0to27648.
* Standard industrial transmitters adhere to NAMUR NE 43:- Normal Range: 3.8 mA to 20.5 mA (
-345to28512counts). - Undershoot: 3.6 mA to 3.8 mA.
- Wire Break / Failure: Current drops below 3.6 mA (counts <
-691or-4864). - Short Circuit / Overflow: Current exceeds 21.0 mA (counts >
29376). - If a field transmitter is unpowered, if a terminal wire is loose, or if instrument calibration outputs 3.2 mA, the channel driver detects a wire break and asserts
QBAD = 1.
- Normal Range: 3.8 mA to 20.5 mA (
-
Missing Load Power to Analog Module:
* If external 24V DC auxiliary load voltage to the analog module front connector (e.g. terminals 1 and 20 on SM 331) is disconnected, the module ADCs shut down, forcing raw counts to16#7FFF(Overflow) and assertingQBAD = 1.
The Interplay Between QBAD and Simulation Mode (Yellow Hand)
The appearance of the yellow hand represents a secondary condition:
- Simulation Mode (
SimOn = 1): - In PCS 7 APL, when
QBAD = 1disrupts plant operation during commissioning, engineers frequently enable Simulation Mode on the faceplate or force input parameterSimOn = 1in CFC. - In simulation mode, the channel driver bypasses the bad field input and accepts a manually entered simulation value (
SimPV_In), allowing downstream technological blocks (MonAnL,PIDConL) to continue operating. - The yellow hand is an explicit operator alert warning that the displayed value is synthetic and does not reflect physical field conditions.
- Simulation mode does not clear
QBAD; it merely decouples downstream logic from the fault.
Step-by-Step Diagnostic and Troubleshooting Workflow
1. Inspect Raw Peripheral Counts in CFC Test Mode
- Open the CFC chart containing
Pcs7AnIn(orCH_AI). - Activate Test Mode (glasses icon).
- Inspect input pin
PV_In:
* IfPV_In = 16#7FFF(+32767): Hardware detects overflow, short circuit, or missing load power.
* IfPV_In = 16#8000(-32768): Hardware detects underflow, wire break, or open loop.
* IfPV_Inis between0and27648: The raw signal is physically healthy.
2. Verify and Re-link the MODE Parameter
- In CFC Test Mode, inspect input pin
MODE:
* IfMODE = 16#00000000, module driver generation has failed. - Select Chart > Compile > Charts as Program.
- CHECK the box: Generate module drivers, select Scope: Entire program, and compile.
- After compilation, verify
MODEevaluates to16#80000203(for 4-20 mA 2-wire) or16#80000204(for 4-wire).
3. Measure Field Current with a Multimeter
- Insert a calibrated digital multimeter in series with the 4-20 mA current loop at the cabinet terminal strip.
- Measure the physical current:
* Current must measure strictly between 4.0 mA and 20.0 mA.
* If current is below 3.6 mA, inspect the field transmitter power supply, check loop isolators, or re-zero the weighing scale transmitter.
4. Deactivate Simulation Mode
- In CFC, locate input pin
SimOnonPcs7AnIn. - Ensure
SimOn = 0(FALSE). - If simulation was locked from WinCC: open the WinCC faceplate, navigate to the Parameter View, and uncheck the Simulation box.
- Once field current is valid and simulation is off:
*QBADtransitions from1to0.
* Signal statusSTupdates to16#80(Good).
* The yellow hand icon disappears from the WinCC faceplate.
Channel Driver Signal Quality and QBAD Status Matrix
PV_In)Bad / QBADST)0 (FALSE)16#80 (Good)16#80001 (TRUE)16#00 (Bad)0 (FALSE)16#68 (Uncertain)SimPV_In16#60 (Simulated)MODE = 01 (TRUE)16#00 (Bad)Verification
- Measure 12.0 mA at the field terminal strip.
- In CFC, confirm
Pcs7AnIn.PV_Inreads approximately 13824 counts. - Confirm parameter
MODEevaluates to16#80000203. - Confirm
Pcs7AnIn.SimOn = 0. - Observe block outputs: verify
Bad = 0(orQBAD = 0) andPV_Out.ST = 16#80. - In WinCC Runtime, confirm the scale weight displays live decimal units with zero yellow hand or warning icons.
Limitations and Operational Precautions
- Never Leave Production Loops in Simulation: Operating plant processes with simulation mode active masks physical sensor failures and can lead to tank overflows or equipment overpressurization. Always clear simulation flags before production handover.
- Transmitter Fault Current Settings: Ensure field transmitters are configured to drive NAMUR NE 43 fault currents (typically 3.6 mA on low fault or 21.5 mA on high fault) matching PCS 7 driver thresholds.
- Scale Calibration Coordination: Zero-point calibration of load cells must be coordinated with the channel driver's
Scale.LowandScale.Highparameters to maintain measurement linearity.
Engineer FAQ
What is the difference between QBAD and Bad?
QBAD is the parameter name on Classic driver blocks (CH_AI, CH_DI). Bad is the parameter name on modern Advanced Process Library blocks (Pcs7AnIn, Pcs7DiIn). Both represent the identical signal quality failure.
Why did the yellow hand appear without an operator turning simulation on?
If an engineer set SimOn = 1 in the CFC chart during earlier testing and downloaded changes, the simulation setting remains permanently latched in CPU memory until explicitly reset to 0.
Can I force QBAD to 0 while the field loop is disconnected?
You can force QBAD = 0 by activating simulation mode (SimOn = 1) and entering a simulated value. You cannot force QBAD = 0 in normal mode if the physical counts violate measuring range limits.
Technical References
- SIMATIC Process Control System PCS 7 Advanced Process Library (APL) Function Manual
- NAMUR NE 43: Standardization of the Signal Level for Failure Information of Digital Transmitters
- SIMATIC S7-300 / S7-400 Module Data Specifications
- Siemens Industry Online Support: Signal Quality and Driver Diagnostics in PCS 7 (SIOS Entry ID 109780813)
Related Articles
- Understanding 'Generate Module Drivers' in SIMATIC PCS 7
- Bypassing Driver Generation Errors: Why Direct I/O Wiring Fails
- APL Signal Status Propagation and Quality Code Architecture
Related Tags
- QBAD
- Bad=1
- Pcs7AnIn
- Simulation Mode
- Yellow Hand
- MODE Parameter