The PID control component in AVEVA Edge/SCADA provides closed-loop process control for a wide range of industrial applications. It allows engineers to configure, tune, and monitor PID functions directly within the AVEVA development environment.
PID Control Algorithm:
The standard PID controller supports incremental and reverse-acting modes.
Display:
The process variable (PV) can be displayed with a numerical range of –999999.99 to 999999.99.
Percentage Display:
The setpoint (SP), process value (PV), and manual value (M) can also be represented as percentages.
Development Configuration:
Users can configure all control attributes—including presets and parameter settings—within the AVEVA development environment.
Operating Status:
Supports manual/automatic mode switching. PID parameters may be adjusted during operation.
To add a PID control element:
From the AVEVA screen editor, choose Insert → Control,
or select the insert-control button on the toolbar.
In the dialog, select PID Control and confirm.
Click and drag on the screen to define the display area.
Double-click the PID control or right-click and choose Animation/Tag Connection.
Control Name: Must follow naming conventions (e.g., PIDCtrl0).
Priority: Defines execution priority (1–999).
Safety Range: Select the appropriate safety limit option.
| Parameter | Type | Description |
|---|---|---|
| SP | FLOAT | Setpoint value |
| PV | FLOAT | Process variable |
| YOUT | FLOAT | Controller output |
| Type | LONG | PID type |
| CtrlPeriod | LONG | Control cycle |
| FeedbackFilter | BOOL | Enables feedback filtering |
| FilterTime | LONG | Filter constant |
| CtrlLimitHigh | FLOAT | Upper output limit |
| CtrlLimitLow | FLOAT | Lower output limit |
| InputHigh | FLOAT | SP upper limit |
| InputLow | FLOAT | SP lower limit |
| OutputHigh | FLOAT | PV upper limit |
| OutputLow | FLOAT | PV lower limit |
| Kp | FLOAT | Proportional gain |
| Ti | LONG | Integral time |
| Td | LONG | Derivative time |
| Tf | LONG | Filter time constant |
| ReverseEffect | BOOL | Reverse-acting option |
| IncrementOutput | BOOL | Incremental output |
| Status | BOOL | Manual/automatic indicator |
| M | FLOAT | Manual output value |
| PercentRange | FLOAT | Manual adjustment rate (default = 1) |
Associated variables operate only when the control resides on the active screen.
If the project uses multiple screens and the PID control is not always visible, command scripts must be used to maintain control operation.
To configure:
Open the screen containing the PID control.
Open the Command Language editor.
Assign values to SP, PV, and YOUT using script statements.
Execution Modes:
Display Time: Runs once when screen opens.
Saved Time: Runs repeatedly at a set interval while screen exists.
Implied Time: Runs once when screen is closed or hidden.
Project-level command language can be executed:
On project startup
During runtime at scheduled intervals
On project shutdown
Steps:
Open Project Browser
Select Application Command Language
Enter the control logic and compile
Right-click the PID control → Control Properties
Control Cycle: Must be an integer greater than 100 and longer than the sampling period.
Feedback Filter: Applies a low-pass filter to PV.
Output Limiter: Defines upper/lower limits for YOUT.
Defines actual high and low values for SP, PV, and YOUT (0–100% ranges).
PID Type: Standard
Kp: Typical 1–10
Ti: Typical 1000–5000 ms
Td: Typical 0
Reverse Effect: Enables reverse acting
Increase Output: Sets output direction
Operators can switch the controller between manual and automatic modes.
Manual Mode:
The output (YOUT) is adjusted manually using variable M.
Adjustment:
Up/down buttons adjust manual output in 1% increments.
Includes:
Proportional, integral, and differential constants
Reverse-acting option
Manual percentage adjustment
a. Incremental temporary object control is not implemented.
b. The control cycle cannot be shorter than the sampling period.