Configuring Analog Control Valve Block VlvAnL and Resolving End Position and Control Errors in SIMATIC PCS 7 APL

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

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, Rbk floats at $0.0\%$. To test without hardware, draw an interconnection line in CFC from VlvAnL.MV directly back to VlvAnL.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 MonTiDynamic to exceed the maximum physical stroke time (e.g., set to $15.0\text{ s}$).
  • Positioner Deadband Tuning: If the valve hunts, increase parameter PosHyst from $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:

  1. In SIMATIC Manager, navigate to the Master Data Library: Templates > Valves > ValveAnalog.
  2. Copy the standardized template CFC into your target Plant Hierarchy folder.
  3. Interconnect VlvAnL.MV to Pcs7AnOu.PV_In (mapped to analog output address QW 512).
  4. Interconnect Pcs7AnIn.PV_Out (mapped to analog input address IW 512) to VlvAnL.Rbk.
  5. If digital limit switches are wired, connect Pcs7DiIn drivers to FbkOpen and FbkClose. If switches are absent, assert NoFbkOpen = 1 and NoFbkClose = 1.

VlvAnL Monitoring and Configuration Parameter Matrix

The following matrix details the critical parameters governing VlvAnL positioning and diagnostics:

Parameter NameData TypeDefault ValueOperational FunctionMVSTRUCT (Real+Byte)0.0 %Continuous manipulated variable driving positioner via Pcs7AnOuRbkSTRUCT (Real+Byte)0.0 %Actual position feedback acquired from positioner via Pcs7AnInFbkOpen / FbkCloseSTRUCT (Bool+Byte)0 (FALSE)Physical limit switch feedback inputs for end position confirmationNoFbkOpen / NoFbkCloseBOOL0 (FALSE)Set to 1 when physical limit switches do not exist on the valvePosDiOpenREAL95.0 %Threshold above which valve evaluates the open end-positionPosDiCloseREAL5.0 %Threshold below which valve evaluates the closed end-positionMonTiDynamicREAL3.0 sMaximum allowable time for Rbk to reach MV within PosHyst bandPosHystREAL2.0 %Allowable tolerance band between target MV and actual RbkCtrlErrSTRUCT (Bool+Byte)0 (FALSE)Control error flag asserted when Rbk fails to follow MVPosErrSTRUCT (Bool+Byte)0 (FALSE)End position error flag asserted when end switches fail to confirm

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

Related Articles

Related Tags

  • VlvAnL
  • APL
  • Control Valves
  • SIPART PS2
  • Positioner
  • CFC
  • SIMATIC PCS 7
6 respuestas