Configuring Interlock, Protect, and Permit Inputs with Faceplate Reset on APL VlvL in SIMATIC PCS 7
In the SIMATIC PCS 7 Advanced Process Library (APL), configuring an automated shutdown valve (VlvL) to close on an alarm and remain locked until manually reset requires connecting the alarm logic to the Protect input (Protect / ProtAut), not the standard Interlock input. While an active Interlock forces the valve closed but permits automatic reopening the moment the interlock clears, an active Protect input forces the valve to its fail-safe position and latches the state. Even after the alarm condition vanishes, the valve cannot reopen until an operator clicks 'Reset' on the faceplate (RstOp) or a reset pulse is asserted via RstLi.
Table of Contents
- APL Interlock Architecture - Permit vs Interlock vs Protect
- Why Interlock Auto-Clears While Protect Demands Reset
- Comparison Table - APL Protection and Interlock Parameters
- Step-by-Step CFC Configuration for Emergency Shutdown Valves
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
APL Interlock Architecture - Permit vs Interlock vs Protect
In process automation plants, configuring emergency isolation valves (such as production separator shutdown valves or feed cutoff valves) requires absolute certainty regarding how interlocks engage, release, and require operator intervention.
Engineers migrating to the SIMATIC PCS 7 Advanced Process Library (APL) frequently encounter confusion when configuring the VlvL (Valve Lean, FB 1899 or FB 1870) block. A common design requirement is: The valve must close when an alarm occurs, and when the alarm returns to normal, the valve must stay closed until an operator deliberately acknowledges and resets the interlock.
Connecting the trip signal to the block's Interlock input fails to meet this requirement because the valve reopens automatically as soon as the alarm condition clears. To implement proper latching shutdown behavior, engineers must understand the distinct roles of the three APL interlock inputs: Permit, Interlock, and Protect.
Why Interlock Auto-Clears While Protect Demands Reset
The APL interlock architecture defines three distinct operational constraints:
1. Permit (Permit / PermAut)
- Function: Defines starting/opening permission.
- Behavior: If
Permit = 0, an idle valve cannot be opened. However, if the valve is already open andPermitdrops to0, the valve remains open. It provides permissive protection prior to actuation, but does not trip running equipment.
2. Interlock (Intlock / IntlAut)
- Function: Operational process interlocking without latching.
- Behavior: When
Intlock = 0, the valve is driven immediately to its fail-safe neutral position (typically closed). However, as soon as process conditions normalize andIntlockreturns to1, the block evaluates active control signals. If automatic opening (OpenAut = 1) is still high, the valve immediately reopens without operator intervention.
3. Protect (Protect / ProtAut)
- Function: Interlocking with mandatory reset (Safety/Equipment Protection).
- Behavior: When
Protect = 0, the valve is driven immediately to its fail-safe position. When process conditions normalize andProtectreturns to1, the block latches the trip state. The valve remains locked in the neutral position. The faceplate enables the Reset button. The valve will never reopen until an operator clicks Reset (RstOp) or logic assertsRstLi.
Comparison Table - APL Protection and Interlock Parameters
The following table details the functional characteristics and behavioral rules of APL interlock pins on VlvL and motor blocks.
PermitIntlockOpenAut = 1ProtectRstOp / RstLi)Step-by-Step CFC Configuration for Emergency Shutdown Valves
To configure an APL VlvL block for an emergency shutdown valve with mandatory operator reset, execute the following procedure:
-
Build Interlock Logic Using
Intlk02orIntlk04:
* Do not connect raw boolean trip signals directly to theVlvLblock. Use an APL interlock block such asIntlk02(FB 1824) orIntlk04(FB 1825).
* Connect process alarm contacts (e.g., High-High pressure, High level) toIn01.Value,In02.Value.
* Configure input inversion or direct logic so that a healthy state outputsOut.Value = 1, and a tripped state outputsOut.Value = 0. -
Connect Interlock Output to the Protect Pin:
* Interconnect the output of the interlock block (Intlk04.Out) to theProtectinput of theVlvLblock.
* Verify that the Signal Status propagates correctly (Out.STconnects toProtect.ST).
* LeaveIntlockandPermitset to constant1with Signal Status16#80(Good) if not used for other process interlocks. -
Configure APL Feature Bits for Reset Handling:
* Open the block properties ofVlvLand inspect theFeatureparameter (32-bit DWORD):- Feature Bit 19: Reset protection / errors via faceplate. Set
Feature.Bit19 = 1to ensure the Reset button appears in the standard faceplate view. - Feature Bit 30: Reset depending on operating mode. Set
Feature.Bit30 = 0to allow reset in any mode, or1if reset is restricted to Manual mode. - Feature Bit 31: Resetting interlock logic. Ensure proper reset synchronization between
Intlk04andVlvL.
- Feature Bit 19: Reset protection / errors via faceplate. Set
-
Verify Signal Status Byte (16#80):
* When testing logic with constants or unlinked inputs in CFC, ensure the input Signal Status (.ST) is explicitly configured to16#80(Good). An input withST = 16#00(Bad) will cause the block to interpret the input as faulted or ignored depending on feature settings. -
Compile and Download:
* Execute CFC compile (Scope: Changes only) and download to the CPU in RUN mode.
Verification
Verify shutdown and reset behavior in S7-PLCSIM or online controller:
- Verify Normal Valve Operation:
* With all interlocks healthy (Protect = 1), command the valve to open in Manual or Auto. Confirm valve opens (Ctrl = 1). - Trigger Trip Condition:
* Assert the alarm condition (Protect = 0).
* Verify thatCtrldrops immediately to0and the valve drives closed.
* Verify that the WinCC faceplate indicates Protection interlock active (padlock icon). - Clear Trip Condition:
* Clear the alarm condition so thatProtectreturns to1.
* Verify that the valve does not reopen, andCtrlremains0.
* Verify that the Reset button appears on the WinCC faceplate. - Execute Reset:
* Click Reset on the faceplate.
* Confirm that the padlock icon clears. In Manual mode, the valve remains closed until commanded; in Auto mode (withOpenAut = 1), the valve cleanly transitions to Open.
Limitations and Operational Precautions
- Signal Status Trap during Simulation: In PLCSIM, writing a boolean
0or1toProtect.Valuewithout updatingProtect.STto16#80causes the block to reject the signal as invalid. Always verify that.STis set to16#80. - External Reset Logic (
RstLi): If field pushbutton panels must also reset the shutdown valve, connect a positive-edge pulse toRstLi.Value(along withRstLi.ST = 16#80). - Intlk04 Bypass Tracking: If using an
Intlk04block with maintenance bypasses enabled, ensure safety protocols govern who has permission to set bypasses, as bypassed inputs will not tripProtect.
Engineer FAQ
Why did the Reset button only appear during feedback errors in my test?
By default, actuator runtime feedback errors (e.g., valve failed to close within dynamic monitoring time) automatically trigger a reset requirement. Interlocks only demand a reset if connected to the 'Protect' input, not the 'Intlock' input.
Can I use an external RS flip-flop block instead of the Protect input?
While an external RS flip-flop can latch an interlock, doing so bypasses the built-in APL faceplate diagnostics. The operator will not see the standard APL protection padlock icon or native Reset button on the faceplate.
What is the difference between VlvL and VlvS in APL?
VlvL (Valve Lean) is designed for standard 2-way open/close valves with full interlock support. VlvS (Valve Small) is a highly simplified block designed for tight memory constraints with reduced interlock and messaging features.
Does Protect work the same way on motor blocks like MotL and MotSpdCL?
Yes. The Permit, Intlock, and Protect architecture is standardized across all APL control modules, including MotL, MotRevL, MotSpdCL, and VlvMotl.
Technical References
- SIMATIC Process Control System PCS 7 Advanced Process Library (V8.1) Function Manual
- SIMATIC Process Control System PCS 7 APL Style Guide
- Siemens Industry Online Support Entry ID 109780813 (APL Control Blocks)
Related Articles
- Troubleshooting APL VlvMotl Block Icon State Inconsistencies During Local Field Operation
- Message Generation in SIMATIC PCS 7 APL - Selecting Event Blocks vs Legacy ALARM_8P
- Customizing APL MotSpdCL Faceplates and Block Icons with Additional Setpoint Fields
Related Tags
- APL
- VlvL
- Interlock
- Protect
- Faceplates
- Reset-Logic