Input DescriptionΒΆ

../_images/1c13d2fd07d03c5a0a33139000bc9370

Function Block PUMP_STATION_CFG

Note

The inputs marked with a triangle aec3508f07b96dcb0a331390016091a2_78f228175b765b440a33139001315693 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.

STATION_NUMBER (station number)

Data type: BYTE, default value: 1, range: > 0

Number assigned to the station.

STATION_NAME (station name)

Data type: STRING

This input stores the station number, which is used as a unique identification number when there are more than one stations configured in a single PLC .

NUMBER_OF_PUMPS (number of pumps)

Data type: INT, default value: 1, range: 1-3

Total number of pumps used in the application.

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.