PmpProtectionAnalog (FB)

FUNCTION_BLOCK PmpProtectionAnalog EXTENDS AbbLConC3

The function block PmpProtectionAnalog monitors analog inputs and generates signals to shut down or to block the starting of pump or the process. The function block sends the signals to shut down or to block the starting of pump through inputs ProtectionShutdown or StartBlocker of these distributor and pump interface function blocks: PmpLevelDistributor, PmpFlowDistributor, PmpPressureDistributor, PmpInterfaceVFD, and PmpInterfaceDOL.

InOut:

Scope

Name

Type

Initial

Comment

Input

AnalogIn

INT

10

2: The input AnalogIn receives analog input from the process. The process input is compared with the limits to perform the protection function. Range-Value>=0

MinRange

INT

0

3: Min range of the input signal e.g. 0. Range- Value>=0

MaxRange

INT

27648

4: Max range of the input signal e.g 27648. Range- MaxRange> MinRange

MinScale

REAL

0.0

5: Min scale of the input signal in physical unit e.g. 0 PSI. Range- Value>=0.0

MaxScale

REAL

100.0

6: Max scale of the input signal in physical unit e.g. 100 PSI. Range- MaxScale>MinScale

AnalogSignalDescription

STRING(60)

7: Analog input description. Description has to be defined by user. It will be used to generate Status output.

AnalogSignalUnit

STRING(10)

8: Analog input unit declaration. Declaration has to be defined by user.

LimitActive

WORD

2#1111

9: Selection of active Limit.

Note

The selected limit only will be compared with the actual process values to generate the ProtectionShutdown or StartBlocker signal.

  • bit 0 : Low limit active.

  • bit 1 : High limit active.

  • bit 2 : Low low limit active.

  • bit 3 : High high limit active.

LimHys

REAL

0.0

10: Limit hysteres is declaration for analog input. This value is in percentage of input HighHighLim or HighLim or LowLim or LowLowLim. Range-Value>=0.0

LowLim

REAL

10.0

11: Low limit declaration for AnalogSignalValue. It is defined in physical unit e.g 10 PSI. Range-Value>0.0

HighLim

REAL

80.0

12: High limit declaration for AnalogSignalValue. It is defined in physical unit e.g 80 PSI. Range-Value>0.0

LowLowLim

REAL

5.0

13: Very low limit declaration for AnalogSignalValue. It is defined in physical unit e.g 5 PSI. Range-Value>0.0

HighHighLim

REAL

90.0

14: Very High limit declaration for AnalogSignalValue. It is defined in physical unit e.g 90 PSI. Range-Value>0.0

Reset

BOOL

FALSE

15: The input Reset resets any active alarm/fault and alarm messages generated by analog or binary input signal.
  • When output is TRUE, alarm/fault and alarm message are reset.

  • When output is FALSE, no reset.

Output

ErrorID

ERROR_ID

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

AnalogSignalValue

REAL

0.0

4: The output AnalogSignalValue indicates the actual value of the analog input signal in physical units, e.g., bar. Range- Value>=0.0

OutOfRange

BOOL

FALSE

5: The output OutOfRange indicates that the analog input is out of range.
  • When output is TRUE, analog input is out of range.

  • When output is FALSE, analog input is within the range.

Shutdown

BOOL

FALSE

6: Shutdown output. User needs to connect this to ProtectionShutdown input of either distributor or pump interface depending upon analog input Function. The output Shutdown indicates pump shutdown depending on the analog or binary input signal.

Note

The output is generated when actual process value is compared with the limits in the input HighHighLim and/or LowLowLim.

  • If the requirement is to stop the complete process, then the output must be connected to the input ProtectionShutdown of the distributor function blocks.

  • If the requirement is stop only a particular pump, then the output must be connected to the input ProtectionShutdown of the interface function blocks.

  • When output is TRUE, pump station or pump is shutdown.

  • When output is FALSE, pump station or pump’s operation continues.

StartBlocker

BOOL

FALSE

7: The output StartBlocker of the protection function blocks PmpProtectionAnalog and/or PmpProtectionBinary stops the pump from starting depending on the analog or binary input signal.
  • If the requirement is to block starting of the complete process, then the output must be connected to the input StartBlocker of the distributor function blocks.

  • If the requirement is block the starting of only a particular pump, then the output must be connected to the input StartBlocker of the interface function blocks.

  • When input is TRUE, pump start is not allowed.

  • When input is FALSE, pump start is allowed.

Note

The output is generated when actual process value is compared with the limits in the input HighLim and/or LowLim.

Note

The input StartBlocker will not stop the already running pump.

Status

STRING(90)

8: The output Status indicates the status of fault/alarm messages generated by this function block.

Methods:

A_StartAction

B_CyclicAction

C_CleaningAction

D_AbortAction

E_ResetAction

Structure: