HA_CS31_PID_FIXCYCLE_DV500 - HA PID Controller for DigiVis

../_images/0d7de568ff1ca0d60a33139000fe4ce1

Function block HA_CS31_PID_FIXCYCLE_DV500

General Information
Available as of PLC runtime system V2.3 and above
Included in library HA_CS31_AC500_V23.lib (V2.4) and above
Type Function Block with historical values.

This function block is a standard PID controller with automatic data synchronization in a High Availability application.

Note

Only internal variables and outputs are synchronized. Input variables and parameters are not synchronized. If needed, use HA_CS31_DATA_SYNC to achieve the same.

In terms of functionality this function block is similar to HA_CS31_PID_FIXCYCLE, though, users can only access the ACTUAL parameter. Users get the complete configuration faceplate on the DigiVis, which is identical to the faceplate of HA_CS31_PID.

Parameter Description

  • The parameters Y_OFFSET, Y_MIN and Y_MAX serve for transformation of the manipulated variable within a prescribed range.
  • MANUAL parameter can be used to switch to manual operation.
  • RESET parameter can be used to re-initialize the controller.
  • In normal operation (MANUAL = RESET = LIMITS_ACTIVE = FALSE) the controller calculates the controller error as difference from SET_POINT parameter – ACTUAL parameter, generates the derivation with respect to time de/dt and stores these values internally.
  • The output, i.e. the manipulated variable Y unlike the PD controller contains an additional integral part and is calculated as follows: Y = KP × (D + 1/TN ∫edt + TV dD/dt) + Y_OFFSET. So besides the P-part also the current change of the controller error (D-part) and the history of the controller error (I-part) influence the manipulated variable. The PID controller can be easily converted to a PI controller by setting TV=0. Because of the additional integral part, an overflow can come about by incorrect parametrization of the controller if the integral of error D becomes too great. Therefore for the sake of safety a BOOLEAN output called OVERFLOW is present, which in this case would have the value TRUE. This only will happen if the control system is instable due to incorrect parametrization. At the same time, the controller will be suspended and will only be activated again by re-initialization.