Skip to content

Visualization Documentation - PID_ET Block

Usage of PID_ET Block in Visualization

PID_ET is an essential methodology utilized across a range of applications that necessitate the adjustment of PID controllers from an external interface. In these contexts, the PID_ET block is instrumental in enabling precise modifications and enhancements, thereby ensuring optimal system performance and adherence to specified operational standards.


Integrating the PID_ET Block into Visualization steps are given below:

1. Open the Visualization Page

  • Open your CODESYS project.
  • Navigate to your target visualization page (e.g., PID_Control) where the PID icon will be reused.

2. Insert the PID_ET Block Icon from Scada_test Visu Page

  • Open the Visualization Toolbox Go to Current Project.
  • Drag or drop the PID_ET Block icon to your Visualization page.
  • Or Just Copy the PID_ET Block Icon from the Scada_test visu page and Paste into your Visualization page.

This method promotes reuse and ensures visual consistency across pages.


3. Set Referencing Properties

Once the PID block icon is placed on your custom page, link it to the logic block by following these steps:

Step-by-Step Instructions

  • Select the PID_ET block icon.
  • click on the block icon Properties tab open automatically → Properties.
  • Go to the References and Expand the references.
  • you will see bl_PID_ET Expand that also.
  • set the path in front of the tagPID by Double clicking on empty space and select the required tag.
  • Build and run the project.
  • During runtime, verify that live values like PV,SV and MV functioning.

PID_ET Block Icon – Visualization Behavior

Block Icon

Clicking on the Tagname of the PID_ET block icon opens its faceplate, allowing for real-time operation and tuning.


PID_ET Faceplate Overview

The faceplate is divided into two main tabs for different user levels:

  1. Basic Tab
  2. Advanced Tab

Basic Tab

Block Icon

Provides a quick overview of key process parameters and allows mode selection.
This tab is visible to all users, including operators.


PID_ET Parameter Details: Basic Tab

Section Parameter Description
Process Values PV Real-time process variable value from the sensor.
SV Setpoint value defining the target for control.
MV Manipulated variable – controller output signal to actuator.
Output Limits MVLO Minimum limit for the manipulated value (MV).
MVHI Maximum limit for the manipulated value (MV).
Setpoint Settings L_SP Lower engineering limit for setpoint adjustment.
C_SP Central (default) setpoint reference used in auto/manual transitions.
SPLO Runtime low override limit for setpoint value.
SPHI Runtime high override limit for setpoint value.
PV Bar PV On the left side there is PV bar which show the PV value in visual form.
SV Bar SV On the left side there is PV bar which show the SV value in visual form.
MV Bar MV On the left side there is PV bar which show the MV value in visual form.
Mode Selector Mode Select the mode of the PID By clicking on the dropdown arrow.

Advanced Tab

Block Icon

Used for advanced tuning and alarm settings. This tab is typically restricted to Operators.


PID_ET Parameter Details: Advanced Tab

Section Parameter Description
Process Value PV Real-time process variable input.
Process Value Limit PV_LO Low alarm limit for process variable.
PV_HI High alarm limit for process variable.
Alarming Limits PVLL Critical low alarm (very low limit).
PVLO Warning-level low limit.
PV HI Warning-level high limit.
PVHH Critical high alarm (very high limit).
PID Tuning P Proportional Gain – responds to current error.
I Integral Time – eliminates accumulated error over time.
D Derivative Time – predicts future error by rate of change.
External MV EXT_MV External Value
Control Type IN_Type Input type for PID: Linear (LIN) or Square Root (SQRT).
Controller Behavior OP_AT Output Action – Direct (DIR) or Reverse (REV) controller response.
CT_AT Control Action – Internal logic set to Direct (DIR) or Reverse (REV).
Setpoint Tracking SP_TR Enables (EN) or disables (DIS) tracking setpoint during mode change.
External MV EXT_MV Enables (EN) or disables (DIS) using value External OR original process value.

Used for tuning the controller behavior, and adjust these values carefully based on process tuning recommendations.


Notes

  • Ensure the PID_ET function block is correctly declared in your logic before referencing in visualization.
  • Use user access control if tuning parameters should be restricted by role. As it is not accessible by Operator.
  • You can also set visibility conditions or animations to dynamically show PID status.

Training or Demo Video

Demonstration video is available, embed in the link below:

👉 Block Demo - TPW HMI Setup


Summary

The PID_ET block in the TPW HMI enables intuitive real-time monitoring and control of closed-loop systems.
Using its configurable faceplate, users can visualize process variables, manipulate control values, and perform advanced tuning all from within the HMI environment.

This makes the PID block ideal for both operators and engineers looking for a seamless process control interface.