Configuring Analog Control Valve Block VlvAnL and Resolving End Position and Control Errors in SIMATIC PCS 7 APL
In SIMATIC PCS 7 Advanced Process Library (APL), the analog control valve block VlvAnL (FB1896) controls continuous modulating valves by driving an analog output (MV, 0-100%) to a positioner while monitoring analog readback (Rbk) and optional digital limit switches (FbkOpen, FbkClose). Recurring 'End Position Errors' (PosErr = 1) occur when the valve reaches its open limit (MV >= PosDiOpen) or closed limit (MV <= PosDiClose) without receiving digital limit switch confirmation; if physical limit switches are absent, set NoFbkOpen = 1 and NoFbkClose = 1. Recurring 'Control Errors' (CtrlErr = 1) occur when the difference between commanded position MV and actual readback Rbk exceeds the hysteresis band (PosHyst) after the dynamic monitoring timer (MonTiDynamic) expires; for testing without physical positioners, loop output MV directly back to input Rbk.
Table of Contents
- Operational Architecture of the VlvAnL (FB1896) Function Block
- Root Causes and Resolution of End Position Errors (PosErr)
- Root Causes and Resolution of Control Errors (CtrlErr)
- Complete Modulating Valve CFC Interconnection Workflow
- VlvAnL Monitoring and Configuration Parameter Matrix
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Operational Architecture of the VlvAnL (FB1896) Function Block
In process automation facilities, modulating control valves regulate flow, temperature, and pressure by positioning a valve plug between fully closed ($0.0\%$) and fully open ($100.0\%$). Within the SIMATIC PCS 7 Advanced Process Library, VlvAnL (FB1896) is the comprehensive analog valve control block.
VlvAnL manages three coordinated operational interfaces:
1. Manipulated Variable (MV): The continuous positioning output ($0.0 - 100.0\%$) routed to an I/P converter or smart positioner (e.g., SIPART PS2) via analog output driver Pcs7AnOu.
2. Position Readback (Rbk): The analog stem feedback ($0.0 - 100.0\%$) acquired from the positioner via analog input driver Pcs7AnIn.
3. Discrete End Position Feedbacks: Binary inputs (FbkOpen and FbkClose) wired to physical inductive or mechanical limit switches indicating fully seated or wide-open states.
4. Auxiliary Shutoff Valve Control: Optional binary outputs (Open / Close) to coordinate an isolation block valve mounted in series with the modulating valve.
Root Causes and Resolution of End Position Errors (PosErr)
During commissioning, engineers frequently encounter the alarm:
$$\text{Alarm List: } \textbf{End Position Error } (PosErr = 1)$$
This error occurs when the valve reaches its defined end position thresholds, but the corresponding discrete limit switch fails to confirm:
- Open Threshold Violation: When commanded output $MV \ge PosDiOpen$ (default $95.0\%$), the block expects digital input FbkOpen.Value = TRUE.
- Closed Threshold Violation: When commanded output $MV \le PosDiClose$ (default $5.0\%$), the block expects digital input FbkClose.Value = TRUE.
- If the configured feedback does not arrive within MonTiDynamic ($3.0\text{ s}$), PosErr trips to 1.
Resolution:
Many modern control valves utilize only analog position readback (Rbk) without physical digital limit switches. If digital limit switches are not installed:
1. In CFC, open VlvAnL properties.
2. Set parameter NoFbkOpen = 1 (TRUE).
3. Set parameter NoFbkClose = 1 (TRUE).
4. VlvAnL will now derive end-position states purely from analog position thresholds, completely eliminating the 'End Position Error'.
Root Causes and Resolution of Control Errors (CtrlErr)
The second frequent error observed during valve commissioning is:
$$\text{Alarm List: } \textbf{Control Error } (CtrlErr = 1)$$
A Control Error indicates dynamic tracking failure between the commanded position and the physical valve stem position:
$$|MV - Rbk.Value| > PosHyst$$
The error triggers when:
1. An operator or PID controller commands a setpoint change (e.g., from $20\%$ to $60\%$).
2. The dynamic monitoring timer MonTiDynamic (default $3.0\text{ s}$) counts down.
3. If after $3.0\text{ s}$, the actual position Rbk is not within $\pm PosHyst$ (default $2.0\%$) of the target $MV$, the block concludes that the actuator is jammed, air pressure was lost, or the positioner linkage failed.
4. CtrlErr is asserted (1), generating an ALARM_8P message to WinCC.
Resolution:
- During Offline Simulation / Bench Testing: If field positioner hardware is not connected,
Rbkfloats at $0.0\%$. To test without hardware, draw an interconnection line in CFC fromVlvAnL.MVdirectly back toVlvAnL.Rbk. - On Real Valves with Slow Stroke Time: Large pneumatic actuators or motorized chokes may require $10\text{ s}$ to $30\text{ s}$ to traverse full stroke. Increase parameter
MonTiDynamicto exceed the maximum physical stroke time (e.g., set to $15.0\text{ s}$). - Positioner Deadband Tuning: If the valve hunts, increase parameter
PosHystfrom $2.0\%$ to $3.5\%$.
Complete Modulating Valve CFC Interconnection Workflow
To configure a production-ready modulating control valve in CFC:
flowchart LR
A["VlvAnL (FB1896)"] -- "MV (0-100%)" --> B["Pcs7AnOu Channel Driver"]
B -- "PQW Output" --> C["SIPART PS2 Positioner"]
C -. "Stem Movement" .-> D["Analog Feedback Sensor"]
D -- "PIW Input" --> E["Pcs7AnIn Channel Driver"]
E -- "PV_Out" --> A["VlvAnL.Rbk"]
Configuration Steps:
- In SIMATIC Manager, navigate to the Master Data Library:
Templates > Valves > ValveAnalog. - Copy the standardized template CFC into your target Plant Hierarchy folder.
- Interconnect
VlvAnL.MVtoPcs7AnOu.PV_In(mapped to analog output addressQW 512). - Interconnect
Pcs7AnIn.PV_Out(mapped to analog input addressIW 512) toVlvAnL.Rbk. - If digital limit switches are wired, connect
Pcs7DiIndrivers toFbkOpenandFbkClose. If switches are absent, assertNoFbkOpen = 1andNoFbkClose = 1.
VlvAnL Monitoring and Configuration Parameter Matrix
The following matrix details the critical parameters governing VlvAnL positioning and diagnostics:
MVSTRUCT (Real+Byte)0.0 %Pcs7AnOuRbkSTRUCT (Real+Byte)0.0 %Pcs7AnInFbkOpen / FbkCloseSTRUCT (Bool+Byte)0 (FALSE)NoFbkOpen / NoFbkCloseBOOL0 (FALSE)1 when physical limit switches do not exist on the valvePosDiOpenREAL95.0 %PosDiCloseREAL5.0 %MonTiDynamicREAL3.0 sRbk to reach MV within PosHyst bandPosHystREAL2.0 %MV and actual RbkCtrlErrSTRUCT (Bool+Byte)0 (FALSE)Rbk fails to follow MVPosErrSTRUCT (Bool+Byte)0 (FALSE)Verification
To confirm that VlvAnL operates smoothly without spurious errors:
1. In CFC, open VlvAnL in online monitoring mode.
2. Open the WinCC faceplate for the valve in runtime.
3. Switch to Manual mode and enter a setpoint of 50.0%.
4. Verify that MV transitions to 50.0% and Rbk tracks the movement.
5. Confirm that after the stroke settles, CtrlErr.Value remains FALSE.
6. Command the valve to 0.0% (Fully Closed):
- Verify that when MV drops below $5.0\%$, the faceplate indicates Closed without triggering 'End Position Error'.
7. Command the valve to 100.0% (Fully Open):
- Verify that when MV exceeds $95.0\%$, the faceplate indicates Open cleanly.
Limitations and Operational Precautions
Observe the following engineering constraints:
- Valve Slew Rate Limiting: If rapid setpoint transitions cause pneumatic actuator overshoot, enable setpoint ramping by configuring parameters UpRamp and DnRamp ($0.0 - 100.0\% / \text{min}$) to protect mechanical seals.
- Fail-Safe Position Mapping: For Air-to-Open (Fail-Closed) vs Air-to-Close (Fail-Open) actuators, configure parameter Feature.Bit0 (Invert MV output) or invert scaling on Pcs7AnOu to ensure $0\%$ on the HMI corresponds to the intended mechanical process state.
- Loopback Hazard: Never leave a software loopback (MV to Rbk) in a production facility. If a valve stem separates or air fails, a software loopback presents false positioning data to operators.
Engineer FAQ
Why does my valve report 'End Position Error' at 100% stroke even though it opened?
Because parameter NoFbkOpen is set to 0, which instructs the block to demand a digital limit switch confirmation (FbkOpen). If your valve has no digital switches, set NoFbkOpen = 1.
How do I stop the valve from tripping on 'Control Error' during long strokes?
Increase the dynamic monitoring time parameter (MonTiDynamic) to exceed the physical actuator transit time (e.g., change from default 3.0 s to 15.0 s or 30.0 s).
Can VlvAnL control an on/off valve in addition to the modulating valve?
Yes. VlvAnL provides outputs Open and Close designed to control an auxiliary automated shutoff or block valve mounted inline with the modulating valve.
Technical References
- SIMATIC Process Control System PCS 7 Advanced Process Library (APL) Function Manual (A5E39142569-AB)
- SIPART PS2 Electropneumatic Positioners Manual (A5E00074631-15)
- SIMATIC Process Control System PCS 7 Getting Started - Part 2 (A5E36988858-AB)
Related Articles
- Integrating SIPART PS2 Device Revision 5 in SIMATIC PDM
- Configuring Single-Speed Motor Block MotS (FB1910) and Resolving Motor Feedback Errors
- Calibrating Non-Standard 4-20 mA Analog Inputs on Pcs7AnIn Drivers in SIMATIC PCS 7 APL
- Resolving Bad Quality Faults on Pcs7DiIn Channel Drivers in SIMATIC PCS 7 APL
Related Tags
- VlvAnL
- APL
- Control Valves
- SIPART PS2
- Positioner
- CFC
- SIMATIC PCS 7