Preserving Motor Command States and Operating Modes After Fault Reset in APL Block MotSpdCl
In SIMATIC PCS 7 Advanced Process Library (APL), the motor speed control block MotSpdCl (FB1856) resets its operating commands and setpoints to zero following a trip or interlock fault by default to ensure industrial safety. To configure the block so that resetting or acknowledging a fault retains the last valid operating parameters and direction without requiring manual re-entry on the faceplate, set Feature.Bit0 ('Startup characteristics / start via last valid position') to 1 (TRUE). Additionally, configuring Feature.Bit22 to 1 updates and saves the operating mode across stop conditions. Automatic restart behavior must be evaluated against plant safety standards before deployment.
Table of Contents
- Default Safety Trip Logic in APL Drive Blocks
- Feature Bit Configuration for Retaining Operating Parameters
- Step-by-Step Parameterization Workflow on MotSpdCl
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Default Safety Trip Logic in APL Drive Blocks
In industrial automation, unexpected motor restarts following an emergency stop, overload trip, or field interlock violation present severe hazards to personnel and machinery. By default, Siemens Advanced Process Library (APL) drive blocks—including MotL (single speed), MotRevL (reversing motor), and MotSpdCl (motor with speed control)—enforce a strict fail-safe reset policy.
When a fault occurs (such as dynamic monitoring error MonDynErr, motor protection trip Trip, or interlock LockAct = 1):
1. The controller immediately drives output commands (Fwd, Rev, SP_Out) to zero.
2. Internal command latches are cleared.
3. When the fault is cleared and acknowledged (AckOp or AckProt), the block remains in a safe stopped state.
In continuous production environments where trips are caused by transient process interlocks (e.g., brief downstream tank high-level warnings), plant operators often prefer the drive to resume its previous setpoint and direction immediately upon acknowledgment, avoiding cumbersome manual re-parameterization on the WinCC faceplate.
Feature Bit Configuration for Retaining Operating Parameters
The Advanced Process Library utilizes 32-bit Feature control words to customize block behavior without altering internal SCL algorithm code. For MotSpdCl, two primary Feature bits govern state retention:
0 (False)1 (True)0 (False)1 (True)0 (False)1 (True)0 (False)1 (True)When Feature.Bit0 = 1, MotSpdCl stores the pre-fault speed setpoint (SP_Ext or SP_Int) and directional command in internal static memory, restoring them immediately when the interlock resets and the operator acknowledges the fault.
Step-by-Step Parameterization Workflow on MotSpdCl
To configure MotSpdCl to retain direction and speed setpoint following a fault reset, execute the following engineering steps:
-
Locate Target MotSpdCl Instance in CFC: Open the Continuous Function Chart containing the motor control module.
-
Open Block Properties: Double-click the
MotSpdClblock to open its Properties dialog, or navigate to theFeatureinput pin. -
Configure Feature Bit 0: Expand the
Featurestructure. SetFeature.Bit0 = TRUE(Start with last valid position / startup characteristics). -
Configure Feature Bit 22: Set
Feature.Bit22 = TRUEto ensure that if the motor stopped during Manual mode, it remains in Manual mode with its previous direction selection upon reset. -
Review Reset Behavior (RstOp / RstLi): If reset commands originate from the WinCC faceplate, ensure
Feature.Bit30 = FALSEor configure the appropriate reset interconnection toRstLifor automated reset sequences. -
Compile and Download Changes: Execute
Chart -> Compile -> Chart as Program -> Scope: Changes Only. Download changes to the AS controller in RUN mode.
Verification
Verify motor command preservation through controlled operational testing:
- Baseline Operation: Start the motor in Manual mode at 75% speed setpoint in Forward direction. Confirm
Fwd = 1andSP_Out = 75.0%. - Simulate Process Fault: Trigger a test fault by opening an interlock input (
Intlock = 0). Verify that the motor stops immediately (Fwd = 0,SP_Out = 0.0%) and the faceplate displays the red interlock icon. - Clear and Acknowledge: Restore the interlock signal (
Intlock = 1) and clickReseton the WinCC faceplate. Verify thatMotSpdClautomatically restoresFwd = 1and resumes output atSP_Out = 75.0%without requiring re-entry.
Limitations and Operational Precautions
When configuring automatic command retention on industrial machinery, observe these critical safety guardrails:
- Machine Safety Compliance (ISO 13849-1 / IEC 60204-1): International safety standards strictly prohibit automatic restarting of machinery following an emergency stop or safety trip if restarting can create a hazard to human operators. Retaining commands must only be enabled where risk assessments confirm no mechanical entrapment hazards exist.
- Distinction Between Process Interlocks and Safety Trips: Hardwired safety emergency stops must actuate safety contactors or Safety Integrated drives (STO) independently of the standard PCS 7 APL software logic.
- Master Data Library Consistency: Update the
Featurebit default on the Control Module Type (CMT) in your Master Data Library rather than altering individual chart instances, ensuring uniform plant-wide behavior.
Engineer FAQ
Does Feature.Bit0 cause the motor to restart immediately when power is restored to the CPU?
Yes. If the AS CPU experiences a power failure and restarts, Feature.Bit0 instructs the block to resume the last operating state prior to shutdown, provided start interlocks are satisfied.
Why does the faceplate still require clicking Reset after an interlock clears?
Clearing an interlock removes the stop condition, but APL blocks require an explicit reset (via faceplate RstOp or program RstLi) to acknowledge that the operator is aware the trip condition has cleared.
Can I retain speed setpoint but force the start command to require a new click?
Yes. By leaving Feature.Bit0 as 0 and setting SP_TrkExt or utilizing internal setpoint tracking, the setpoint remains at 75%, but the operator must press the Start button to re-energize the drive.
Technical References
- SIMATIC Process Control System PCS 7 Advanced Process Library (APL) Manual (A5E39140304)
- IEC 60204-1: Safety of Machinery - Electrical Equipment of Machines - Part 1: General Requirements
- ISO 13849-1: Safety of Machinery - Safety-Related Parts of Control Systems
Related Articles
- Restricting PID Parameter Tuning in SIMATIC PCS 7 APL Faceplates - Operator Authorization Levels and User Administrator.md
- Interpreting APL ErrorNum = -1 in SIMATIC PCS 7 - Default Unexecuted State and Interrupt OB Assignment.md
- Renaming Control Module Types (CMT) in Master Data Library - Synchronizing Renamed CMTs with Instances in SIMATIC PCS 7.md
Related Tags
- MotSpdCl
- APL
- Feature Bits
- Motor Control
- Machine Safety
- PCS 7 V9.0