PmpConfiguration (FB)

FUNCTION_BLOCK PmpConfiguration EXTENDS AbbETrig3

The function block PmpConfiguration configures the pump station. The function block receives the pumping station details (e.g., station name, station number) and stores in the structure PmpStationType.

InOut:

Scope

Name

Type

Initial

Comment

Input

StationNumber

BYTE

1

2: To enter the Station Number. Range-[1 to 255]

StationName

STRING(20)

‘Station1’

3: To enter the Station name. Range-Max 20 Character

NoOfPumps

INT

1

4: Number of pumps in the pumping station. Range-[1 to 4]

ProcessMode

INT

1

5: To select the process mode. Range-[1 to 3]
  • 1= Pressure control

  • 2= Flow control

  • 3= Level control

PumpComb

INT

1

6: Pump station type: Range-[1 to 3]
  • 1= Multimode (All VFD Pumps)

  • 2= Traditional Mode (Only one pump fed by VFD and other fed by DOL Pumps)

  • 3= DOL Mode (All DOL Pumps)

NominalSpeed

ARRAY [1..4] OF INT

[4(1500)]

7: Nominal speed of pumps in rpm. The input NominalSpeed defines the rated pump speed in rpm. This input is an array where the first index is meant for PmpID = 1 in the interface function blocks PmpInterfaceDol and PmpInterfaceVfd. Range-[0 to 1500]

Output

ErrorID

ERROR_ID

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

PmpStationParameters

PmpStationType

4: The structure PmpStationType contains information of pump station configuration parameters.
  • All Function blocks will receive some data, process it and write it back to the structure PmpStationType.

Methods:

A_StartAction

B_CyclicAction

C_CleaningAction

D_ResetAction

Structure: