PmpInterfaceDol (FB)
FUNCTION_BLOCK PmpInterfaceDol EXTENDS AbbLConC3
The function block PmpInterfaceDol is used to communicate with all pumps in the field that are run by direct online (DOL) motor. The function block configures pump settings and gives the status of pump operation. This function block is effective only for pumps fed by DOL motors.
- InOut:
Scope
Name
Type
Initial
Comment
Input
PumpIDINT1
2: To enter the ID of the pump. PumpID Defines the pump identification number. Range- [1 to 8]
DOLLocalRemoteBOOLFALSE
- 3: The input DOLLocalRemote connects the local or remote mode status of the DOL system. The function block uses this information to decide whether the pump is ready for automation.
When input is TRUE, pump operates in Local mode.
When input is FALSE, pump operates in Remote mode.
DOLOperatingBOOLFALSE
- 4: The input DOLOperating connects the operating status of the DOL system. The function block uses this information to decide whether the pump is ready for automation.
When input is TRUE, pump is operating.
When input is FALSE, pump operates in Remote mode.
DOLTrippedBOOLFALSE
- 5: The input DOLTripped connects the faulty/healthy status of the DOL system. The function block uses this information to decide whether the pump is ready for automation.
When input is TRUE, pump has tripped due to fault.
When input is FALSE, pump operation is healthy.
RuntimeResetBOOLFALSE
- 6: The input RuntimeReset resets the actual run time in the output ActualRuntime with value in the input OffsetRuntime for the pump.
When input is TRUE, output ActualRuntime is reset to value in input OffsetRuntime.
When input is FALSE, pump continues operation in current run time.
OffsetRuntimeREAL1.0
7: The input OffsetRuntime defines offset run time of the pump that overwrites actual run time in the output ActualRuntime when input RuntimeReset = TRUE. Range>0.0
MasterPumpINT1
8: ID of master pump in the sequence. This input must come from MasterPump output of the PmpSequenceGen function block. Range-[1 to 8]
ProtectionShutdownBOOLFALSE
- 9: The input ProtectionShutdown receives a digital signal to shut down the pump station for protection. The input comes from the output ProtectionShutdown of the protection function blocks PmpProtectionAnalog and PmpProtectionBinary.
When input is TRUE, pump station is shutdown.
When input is FALSE, pump station operation continues.
StartBlockerBOOLFALSE
- 10: The input StartBlocker receives a digital signal to prevent the starting of pump station for protection. The input comes from the output StartBlocker of the protection function blocks PmpProtectionAnalog and PmpProtectionBinary.
Note
The input StartBlocker will not stop the already running pump.
When input is TRUE, pump start is not allowed.
When input is FALSE, pump start is allowed.
AutoManualBOOLFALSE
- 11: To select the auto or manual operations.
When Input is TRUE= AutoMode
When Input is FALSE= ManualMode
PulseCommandsBOOLFALSE
- 12: The input PulseCommands selects the Start/Stop command type of the pump run by DOL motor.
If Input is TRUE, pump starts with the pulse input of start command.
If Input is FALSE, pump starts with the continuous start command.
AutoStartCmdBOOLFALSE
- 13: The input AutoStartCmd receives the start command of the pump to start in automatic mode. The input comes from the output AutoStartCmd of function block PmpFlowDistributor or PmpPressureDistributor. Automatic start works only when input AutoManual = TRUE.
When input is TRUE, pump starts in automatic mode.
When input is FALSE, pump stops if running in automatic mode.
ManualStartBOOLFALSE
- 14: The input ManualStart receives the start command to start the pump in manual mode. This manual start function applies only for a pump fed by DOL motor. The function works only when input AutoManual = FALSE. The function also depends on the input PulseCommands:
If Input is TRUE = Motor start/stop by pulsed start / stop command
If Input is FALSE = continued command.
ManualStopBOOLFALSE
- 15: This input ManualStop stops the pump under following conditions:
Note
This manual stop function applies only for a pump fed by DOL motor.
Input PulseCommands = TRUE i.e. pulse mode is selected.
Inputs AutoManual = FALSE and ManualStop = TRUE.
AllowManualAntijamBOOLFALSE
- 16: The input AllowManualAntijam allows antijam operation of the pump in manual mode. The input is effective only when the input AutoManual = FALSE and AntijamMode = Manual mode.
When input is TRUE, antijam operation is allowed.
When input is FALSE, antijam operation is not allowed.
AntijamModeINT0
- 17: The input AntijamMode indicates the selected antijam mode. Range-[0 to 3]
0 = Disable antijam
1 = Master enabled
2 = At start
3 = Manual mode The input AntijamMode receives the antijam mode. The input comes from the output AntijamMode of the function block PmpAntijam
AntijamStatusINT0
- 18: The input AntijamStatus receives the antijam operation status of the pump. The input comes from the output AntijamStatus of the function block PmpAntijam. Range-[0 to 2]
0 = Not started (Antijam operation has not started)
1 = Busy (Antijam operation has started)
2 = Done (Antijam operation is completed)
AntijamStartBOOLFALSE
- 19: The output AntijamStart of the function block PmpAntijam starts the antijam operation. This output is connected with the input AntijamStart of the function blocks PmpInterfaceVFD and PmpInterfaceDol.
When output is TRUE, antijam operation starts.
When output is FALSE, antijam operation stops if running.
PmpStationParameters- 20: Pump Station structure which stores pumping station data.
Note
All function blocks will receive some data, process it and write it back to the structure.
Inout
PmpActRuntimeREAL21: Actual Runtime of pumps in hours.
Output
ErrorID3: Error code in case of error in the function block execution.
StartCmdBOOLFALSE
- 4: Start command for the DOL motor.
Output will remain TRUE or FALSE when PulseCommands= FALSE.
After ManualStart rising pulse,it Will generate a single pulse to start the motor when PulseCommands=TRUE.
And It will not be possible to monitor visually,try putting in trace to monitor.
StopCmdBOOLFALSE
- 5: Stop command to the DOL Motor.
Output will remain TRUE or FALSE when PulseCommands= FALSE.
After ManualStop rising pulse, it Will generate a single pulse to stop the motor when PulseCommand=TRUE.
And It will not be possible to monitor visually,try putting in trace to monitor.
FaultBOOLFALSE
6: TRUE value tells that - a) Pump has Fault due to protection block or b) DOL Fault.
LocalRemoteStatusBOOLFALSE
7: TRUE value indicates DOL in local mode. FALSE indicates DOL in remote mode.
AutoManualModeBOOLFALSE
8: TRUE value indicates pump in Auto mode. FALSE indicates pump in manual mode.
OperatingBOOLFALSE
9: TRUE value indicates DOL is running.
ReadyForAutomationBOOLFALSE
10: TRUE value Indicates: Pump available for automatic operation. It must be connected to ReadyForAutomation input of PmpSequenceGen and distributors FB.
StartAntijamBOOLFALSE
11: To start Antijam in manual mode. It must be connected to ManualStart input of PmpAntijam FB.
Methods:
A_StartAction
B_CyclicAction
C_CleaningAction
D_AbortAction
E_ResetAction
Structure: