Decoding Error Output QGR_ERR on Legacy Siemens Motor Block FB66 (MOTOR_LS)
On the legacy SIMATIC PCS 7 Standard Library motor block FB66 (MOTOR_LS / MOTOR 'Motor with control signals'), output QGR_ERR represents a latched Group Error (Gruppenfehler). It activates (QGR_ERR = 1) whenever any monitoring or operational fault occurs, including runtime monitoring timeout (QMON_ERR), motor protection switch trip (MSS = 0), interlock trip (L_STOP = 0), or external error (EXT_ERR = 1). To clear QGR_ERR, verify that field feedback (ERM_ON), motor protection (MSS), and interlock signals are healthy, and apply a rising-edge pulse to the RESET input (RESET = 1) to clear the internal fault flip-flop.
Table of Contents
- Functional Overview of Legacy Standard Library Motor Block FB66
- Root Causes Triggering Group Error Output QGR_ERR
- Detailed Analysis of Input Parameters Affecting QGR_ERR
- Reset and Fault Clearance Procedure in CFC and Faceplates
- Comparison: Classic FB66 MOTOR_LS vs Modern APL MotL
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Functional Overview of Legacy Standard Library Motor Block FB66
In legacy SIMATIC PCS 7 installations (PCS 7 V6.x, V7.x, and legacy migrations in V8.x/V9.x), FB 66 represents the technological function block MOTOR_LS (Motor with control signals / Motor mit Steuersignal), derived from the classic PCS 7 Standard Library.
FB 66 coordinates unidirectional motor actuation, processing manual/automatic commands, feedback monitoring, interlocks, and alarm generation via Alarm_8P. The output pin QGR_ERR serves as the primary summary fault flag for plant interlocks and HMI group displays.
Root Causes Triggering Group Error Output QGR_ERR
The group error output QGR_ERR is the internal logical OR combination of four distinct operational faults:
$$\text{QGR_ERR} = \text{QMON_ERR} \lor \lnot \text{MSS} \lor \lnot \text{L_STOP} \lor \text{EXT_ERR}$$
- Runtime Monitoring Fault (
QMON_ERR = 1): When a start command (QSTART) is issued, the feedback signal (ERM_ON) must arrive within the monitoring time parameter (TIME_MON, e.g. 5.0 s). If feedback fails or drops while running,QMON_ERRtrips and latches. - Motor Protection Switch Trip (
MSS = 0): The motor circuit breaker or thermal overload contact is wired toMSS. BecauseMSSis active-high for healthy operation, an open contact (MSS = 0) triggers an immediate trip. - Interlock Trip (
L_STOP = 0): Interlock input for process stops. An active-low state (0) stops the motor and assertsQGR_ERR. - External Fault (
EXT_ERR = 1): A generic error input for third-party alarms or drive ready faults.
Detailed Analysis of Input Parameters Affecting QGR_ERR
To diagnose which input is tripping FB 66, monitor the block online in CFC and inspect these pins:
MSS(Motor Protection Switch): Must be1(healthy). If0, check the field thermal overload relay.ERM_ON(Feedback Run): Must transition to1followingQSTART = 1. IfERM_ONis delayed pastTIME_MON, increaseTIME_MON.L_STOP/L_OFF(Interlock Stop): Must be1. If0, trace upstream interlocking logic in the CFC chart.EXT_ERR(External Error): Must be0. If1, check external trip signals connected to this terminal.RESET(Reset Fault): Input used to unlatch the error flip-flop after healthy conditions are restored.
Reset and Fault Clearance Procedure in CFC and Faceplates
Because FB 66 contains an internal latched SR flip-flop, simply restoring healthy field inputs will NOT clear QGR_ERR:
- Verify that
MSS = 1,L_STOP = 1, andEXT_ERR = 0online in CFC. - In WinCC OS Runtime, open the motor faceplate and click the Reset button.
- If operating without an OS faceplate (e.g. testing in CFC), right-click the
RESETinput in CFC, toggle value to1, execute a CPU cycle, and toggle back to0. - Confirm that
QGR_ERRtransitions to0andQMON_ERRtransitions to0.
Comparison: Classic FB66 MOTOR_LS vs Modern APL MotL
The table below contrasts the legacy FB66 block with the modern APL equivalent:
| Block Parameter | Classic FB66 (MOTOR_LS) | Modern APL MotL (FB 1850) |
|---|---|---|---|
| Group Error Output | QGR_ERR (Boolean) | GrErr (Structure: Value + Status) |
| Feedback Input | ERM_ON (Single bit) | FbkRun (Structure: Value + Status) |
| Motor Protection | MSS (Active-high bit) | Trip (Active-low bit) |
| Monitoring Time | TIME_MON (Seconds) | MonTiDynamic (Seconds) |
| Fault Reset | RESET (Pulse input) | RstOp (Faceplate) / RstLi (Logic) |
| Faceplate Template | @PG_MOTOR.pdl | @PG_MotL.pdl |
Verification
Verify fault clearance and motor operation in CFC:
- Open the CFC chart online with
FB 66in test mode (Test > Watch). - Confirm that
MSS = 1,L_STOP = 1, andEXT_ERR = 0. - Apply a pulse to
RESET = 1then0. - Verify that
QGR_ERRchanges from1to0. - Issue a start command (
AUT_ON = 1or manual start); confirmQSTART = 1and ensureERM_ON = 1arrives withinTIME_MONwithout re-triggeringQGR_ERR.
Limitations and Operational Precautions
Review the following legacy library precautions:
- Migration Planning: The PCS 7 Standard Library (
FB 66) is legacy software. For new projects or plant expansions, Siemens strongly recommends migrating to the PCS 7 Advanced Process Library (MotLFB 1850). - Inverted Logic Checks: Pay close attention to active-low pins (
MSS,L_STOP); a disconnected or uninitialized pin evaluates as0, immediately tripping the block. - Monitoring Time Margin: Ensure
TIME_MONaccounts for physical contactor pull-in times and auxiliary contact bounce (typically 2 to 5 seconds).
Engineer FAQ
What does QGR_ERR stand for on FB 66?
QGR_ERR stands for 'Quittierbarer Gruppenfehler' (Acknowledgeable Group Error). It indicates a latched summary fault on the motor block.
Why doesn't QGR_ERR clear when the motor protection switch (MSS) is closed?
Because FB 66 latches fault states into an internal flip-flop. Even after MSS returns to 1, an explicit rising edge on the RESET input is required to clear the error.
Which monitoring timer controls the feedback check on FB 66?
The parameter TIME_MON (in seconds) defines the maximum allowable time between issuing QSTART and receiving the ERM_ON feedback contact.
Technical References
- SIMATIC PCS 7 Standard Library Function Blocks Reference Manual: https://support.industry.siemens.com/cs/ww/en/view/109780765
- SIMATIC PCS 7 Migration from Standard Library to APL Guide: https://support.industry.siemens.com/cs/ww/en/view/102601737
- SIMATIC S7-300/400 System Software and Standard Functions: https://support.industry.siemens.com/cs/ww/en/view/109756486
Related Articles
- Operating Principle of WarnAct and Pre-Warning Times in APL MotorL
- Resolving Initial LockAct State and Protect Interlock Latching After CFC Download in APL Drives
- Preserving Motor Command States and Operating Modes After Fault Reset in APL MotSpdCl
Related Tags
- FB 66
- MOTOR_LS
- QGR_ERR
- Standard Library
- Feedback Monitoring
- CFC Diagnostics