PmpPid (FB)

FUNCTION_BLOCK PmpPid EXTENDS AbbLConC3

The function block PmpPid is used for closed loop control of pressure or flow in the network. The function block receives the set value and actual value from the process and does the closed loop control. The function block is used to control pressure or flow when the input ProcessMode of function block PmpConfiguration is selected as either pressure control (1) or flow control (2) in the multi pumping and traditional pumping station.

Note

This function is not used on DOL pumping stations.

ABB - AC500/Use Cases/Pumping/ABB_PumpEco_AC500_Library/POUs/PUMPING/Pumping-Functions/Process-Controls/**Unknownfilereference:'@(img_PID)'**
  • Overview of PmpPid is explained in the above image.

InOut:

Scope

Name

Type

Initial

Comment

Input

SetValue

REAL

1.0

2: Set value of the process variable in terms of real values, e.g. bar for pressure, m3 per hour for flow. Range- Value>0.0

ActualValue

REAL

0.0

3: Actual value of the process variable in terms real values, the unit must be same as SetValue. Range-Value>=0.0

Kp

REAL

0.1

4: Proportional gain of the Pid. Range-Value>0.0

Tintegral

REAL

1.0

5: Integral time of the Pid in terms of seconds. Range- Value>0.0

Tderivative

REAL

0.0

6: Derivative time of the Pid in terms of seconds. Range- Value>=0.0

Reset

BOOL

FALSE

7: Resets the I output of the Pid, works as AntiWindUp.

YOffset

REAL

0.0

8: Adds the Offset to the Pid output. Range-[0.0 to 200.0]

PidMaxLimit

REAL

100.0

9: Limit for the maximum Pid Output. Range-[0.0 to 200.0]

PidMinLimit

REAL

0.0

10: Limit for the minimum Pid Output. Range-[0.0 to 200.0]

MasterPump

INT

1

11: The master pump in sequence - The output of the PmpSequenceGen control function. Range-[1 to 4]

SleepBoostRef

REAL

0.0

12: Input SleepBoostRef need to be connected to the output of the PmpSleep FB. Range-Value>=0.0

SleepStatus

INT

0

13: The Input SleepStatus value: Range-[0 to 3]
  • 0- iNumberOfPumpActive.

  • 1- Boost Activated.

  • 2- Sleep mode active.

  • 3- Wakeup function active.

ProtectionShutdown

BOOL

FALSE

14: Digital signal from the protection function block to shutdown the pump station.

AntijamStatus

ARRAY [1..4] OF INT

[4(0)]

15: Status of the Antijam proces. This input must be connected to the output of PmpAntijam FB. Range-[0 to 2]
  • 0- Not started.

  • 1- Busy.

  • 2- Done.

SoftfillStatus

INT

0

16: Output of the SoftfillStatus shows: Range-[0 to 4]
  • 0- Disable the soft fill.

  • 1- Ready to Start.

  • 2- SoftFill in progress.

  • 3- SoftFill completed.

  • 4- SoftFill with Fault.

TradMasterTrip

BOOL

FALSE

17: Input to define the trip status of master pump in the Traditional pump combination. To attach this input with the TradMasterTrip output of PmpSequenceGen FB.

PmpStationParameters

PmpStationType

18: Pump Station structure which stores pumping station data.

Output

ErrorID

ERROR_ID

3: Error code in case of error in the function block execution.

PidOut

REAL

0.0

4: Pid output after the manipulation in terms of percentage. Range-Value>=0.0

PidDeviation

REAL

0.0

5: Deviation of Set value from actual value. It is also known as Pid error. Range-Value>=0.0

MaxLimitReached

BOOL

FALSE

6: Indicates if the Pid output touches the PidMaximumLimit.

MinLimitReached

BOOL

FALSE

7: Indicates if the Pid output touches the PidMinimumLimit.

Methods:

A_StartAction

B_CyclicAction

C_CleaningAction

D_AbortAction

E_ResetAction

Structure: