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
StationNumberBYTE1
2: To enter the Station Number. Range-[1 to 255]
StationNameSTRING(20)‘Station1’
3: To enter the Station name. Range-Max 20 Character
NoOfPumpsINT1
4: Number of pumps in the pumping station. Range-[1 to 4]
ProcessModeINT1
- 5: To select the process mode. Range-[1 to 3]
1= Pressure control
2= Flow control
3= Level control
PumpCombINT1
- 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)
NominalSpeedARRAY [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
ErrorID3: Error code in case of error in the function block execution.
PmpStationParameters- 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: