Input Description¶
Function Block PUMP_LEVEL_CTRL
Note
The inputs marked with a triangle are of the class VAR_IN_OUT (input and output variable). These inputs must be connected to a variable.
EN (enable)
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | - | - |
In order to enable the function block processing, input EN has to be continuously set to TRUE. The function block is not processed if input EN = FALSE. While input is set to TRUE, the inputs are continuously checked for validity and plausibility. If this is not the case, processing is aborted and an error is displayed.
START (start block)
Data type: BOOL
To start the level controller.
MODE (mode)
Data type: INT, default value: 1, range: 0-2
To select the mode of operation.
Mode | Short description | Description |
---|---|---|
0 | Off | Level control disabled. |
1 | Emptying | Pump station is used for emptying a container. |
2 | Filling | Pump station is used for filling a container. |
STOP_MODE (stop mode)
Data type: INT, default value: 0, range: 0-1
Mode | Description |
---|---|
0 | Stable stop. Stops the pump at individual defined stop levels. For example in the fill mode if the START_LEVEL_1 is defined 60%. Now if the actual level reaches on or above 60%, the pump 1 would stop. |
1 | Common stop. Stops all the pumps together at defined level STOP_LEVEL. Which means, both in the emptying and filling mode, the pumps start at their respective start levels, but they stop when they reach the STOP_LEVEL. |
LOW_SWITCH (low switch)
Data type: BOOL, default value: FALSE
Digital input with TRUE indicates that the low level has reached.
STOP_LEVEL (stop level)
Data type: REAL, default value: 10.0, range: >0, unit: %
Stop level defines the level at which all the pumps would stop, when the STOP_MODE = 1. This can occur while filling when the actual level is more than the stop level. In emptying mode all pumps stop when the actual level reaches below the stop level.
START_LEVEL_1 (start level 1)
Data type: REAL, default value: 70, range: > 0, unit: %
Defines the start level for pump 1 in terms of full tank capacity. The same level is used to stop the pump when actual level comes back at this level. Refer the picture in the above section.
START_LEVEL_2 (start level 2)
Data type: REAL, default value: 50, range: > 0, unit: %
Defines the start level for pump 2 in terms of full tank capacity. The same level is used to stop the pump when actual level comes back at this level. Refer the picture in the above section.
START_LEVEL_3 (start level 3)
Data type: REAL, default value: 30, range: > 0, unit: %
Defines the start level for pump 3 in terms of full tank capacity. The same level is used to stop the pump when actual level comes back at this level. Refer the picture in the above section.
START_STOP_DELAY (start stop delay)
Data type: TIME, default value: 10, range: ³ 0, unit: s
Defines the time delay for pump to start and stop when respective level is reached.
HIGH_LEVEL (high level)
Data type: REAL, default value: 95, range: > 0, unit: %
Defines the high level in terms of full tank capacity.
HIGH_SWITCH (high switch)
Data type: BOOL
Digital input which with TRUE indicates that the high level has reached.
ACT_LEVEL (actual level)
Data type: REAL, default value: 0, range: ³ 0, unit: %
Actual level read from the analog input of level sensor.
NORMAL_SPEED_1 (normal speed for pump 1)
Data type: INT, default value: 1100, range: ³ 0, unit: rpm
Normal operating speed of the pump 1 while Filling/Emptying.
NORMAL_SPEED_2 (normal speed for pump 2)
Data type: INT, default value: 1100, range: ³ 0, unit: rpm
Normal operating speed of the pump 2 while Filling/Emptying.
NORMAL_SPEED_3 (normal speed for pump 3)
Data type: INT, default value: 1100, range: ³ 0, unit: rpm
Normal operating speed of the pump 3 while Filling/Emptying.
HIGH_SPEED_1 (high speed for pump 1)
Data type: REAL, default value: 1500, range: ³ 0, unit: rpm
Defines the speed of the pump 1 for:
- Filling pump level falls below LOW_LEVEL,
- Emptying pump level rises above the HIGH_LEVEL.
HIGH_SPEED_2 (high speed for pump 2)
Data type: REAL, default value: 1500, range: ³ 0, unit: rpm
Defines the speed of the pump 2 for:
- Filling pump level falls below LOW_LEVEL,
- Emptying pump level rises above the HIGH_LEVEL.
HIGH_SPEED_3 (high speed for pump 3)
Data type: REAL, default value: 1500, range: ³ 0, unit: rpm
Defines the speed of the pump 3 for:
- Filling pump level falls below LOW_LEVEL,
- Emptying pump level rises above the HIGH_LEVEL.
RAND_COEF (random coefficient)
Data type: REAL, default value: 0, range: ³ -10 to +10, unit: %
Random coefficient randomizes the start levels to avoid cake formation.
STATION_DATA (station data structure)
Data type: PUMP_STATION_TYPE
This structure contains pumping station data. All the Functions Blocks receive some data, process it and write it back to the structure.