PmpSoftFilling (FB)
FUNCTION_BLOCK PmpSoftFilling EXTENDS AbbLConC3
The function block PmpSoftFilling enables slow filling operation in pipes in the beginning of the process to avoid damages. If this operation is selected, it is executed before the actual process control takes over.
Note
This function block cannot run when the PumpComb = 3, DOL mode in PmpConfiguration. Soft filling needs the VFD drive to run and execute gradual filling of water.
Softfill will only be performed for the master pump when there are no pumps running and the process is started for the first time.
- InOut:
Scope
Name
Type
Initial
Comment
Input
StartBOOLFALSE
- 2: The input Start receives the soft filling start command from the output SoftfillStart of the function blocks PmpLevelDistributor,PmpFlowDistributor,PmpPressureDistributor.
When input is TRUE, the soft filling starts.
When input is FALSE, the soft filling stops if running.
SoftfillRefINT100
3: Speed reference in rpm. Range- 0 … 20 % of master pump nominal speed.
RequiredPressureChgREAL0.0
4: The input RequiredPressureChg defines the percentage change in the actual pressure during soft filling operation. Range-[0.0 to 100.0]
MasterPumpINT1
5: The input MasterPump receives the identification number of the master pump in the sequence. The input comes from the output MasterPump of the function block PmpSequenceGen. Range-[1 to 8]
MinPressureREAL0.0
6: The input MinPressure defines the Minimum pressure above which the soft fill would get disabled. Range-Value>=0
SoftfillTimeOutUINT10000
7: The input SoftfillTimeOut defines the time limit in miliseconds after which the soft filling operation is stopped, regardless of the minimum pressure limit in input MinimumPressure. Range-Value>0
SoftfillTimeOutCtrlINT1
- 8: The input SoftfillTimeOutCtrl selects the pump behavior when softfill operation stopped because of input SoftfillTimeOut. The function will stop the process if already running. This indicates a leakage in the pipe and due to which the minimum pressure is not established. Range-[1 to 2]
1 = Keep running normal PID operation.
2 = Fault trips the station.
ResetBOOLFALSE
- 9: The input Reset resets the output SoftfillFault.
When output is TRUE, softfill fault is reset.
When output is FALSE, no reset.
ActualPressureREAL0.0
10: Actual pressure measured from the sensor in physical units, eg bar. Range- Value>=0.0
ReadyForAutomationARRAY [1..8] OF BOOL
- 11: The input ReadyForAutomation receives an array of pumps ready for automatic operation. The input comes from the output ReadyForAutomation of the function block PmpInterfaceVFD or PmpInterfaceDol.
Note
The ReadyForAutomation[1] connects to the PumpID = 1. This pattern must be followed for all pump IDs.
When input is TRUE, pump is ready for operation in automatic mode.
When input is FALSE, pump is not ready for operation in automatic mode.
DistributorRunningBOOLFALSE
- 12: The input DistributorRunning indicates the running status of the distributor. This input is connected to the output DistributorRunning of any of the the distributor function blocks PmpLevelDistributor, PmpFlowDistributor or PmpPressureDistributor.
When output is TRUE, distributor is running.
When output is FALSE, distributor is not running.
PmpStationParameters13: Pump Station structure which stores pumping station data.
NoOfPumpsRunningINT0
14: No of running pumps. This input must come from NoOfPumpsRunning output of the PumpSequenceGen function block. Range-[1 to 8].
Output
ErrorID3: Error code in case of error in the function block execution.
SoftfillStatusINT0
- 4: The input SoftfillStatus indicates the status of softfilling function. Range-[0 to 4]
0 = Disable the softfill (Softfill operation is disabled)
1 = Ready to start (Softfill operation is ready to start)
2 = Softfill in progress (Softfill operation has started)
3 = Softfill completed (Softfill operation is completed)
4 = Softfill with fault (Softfill operation stopped due to a fault)
SoftfillStartBOOLFALSE
- 5: The output SoftfillStart of the used pump distributor starts the soft filling operation. This function is effective only when this output is connected to the input Start of the function block PmpSoftfilling.
When input is TRUE, softfill function starts.
When input is FALSE, softfill function stops if running.
SoftfillSpeedINT0
6: The output SoftfillSpeed of the function block PmpSoftfilling indicates the speed reference for soft filling function. The output must be connected to the input SoftfillSpeed of the interface function block PmpInterfaceVFD. Range-Value>0
SoftFillFaultBOOLFALSE
- 7: The output SoftfillFault indicates a fault in the soft filling function. The fault occurs when actual pressure in input ActPressure has not reached PidEnablePressure in the time limit defined in the input SoftfillTimeOut.
When output is TRUE, SoftfillFault occurred.
When input is FALSE, no Fault occurred.
Methods:
A_StartAction
B_CyclicAction
C_CleaningAction
D_AbortAction
E_ResetAction
Structure: