Output Description

../_images/fcd29b98f486a93d0a33139000c4b750

Function Block TANK_SIMU

DONE (done)

Data type: BOOL

Output DONE indicates the processing state of the block. After completion or abortion of processing (due to an error), DONE is set to TRUE for one cycle. This output always has to be considered together with output ERR. If ERR is TRUE, an error occurred. In this case, the error number can be read at output ERNO.

ERR (error)

Data type: BOOL Output ERR indicates whether an error occurred during data reception. If ERR is TRUE, an error occurred. In this case, the error number can be read at output ERNO.

ERNO (error number)

Data type: WORD, default value: 0, range: ³ 0

Output ERNO provides an error identifier if an invalid value was applied to an input. ERNO always has to be considered together with the output ERR. The value output at ERNO is only valid if ERR is TRUE. The error messages encoding at output ERNO are explained at the table below.

WATER_LEVEL (water level)

Data type: REAL, unit: m

Level of the water tank.

WATER_LEVEL_PERCENT (water level percent)

Data type: REAL, unit: %, range: 0-100

Level of the water tank in percentage.

WATER_VOLUME (water volume)

Data type: REAL, unit: m:sup:3

Actual volume of water in the tank .

TANK_VOLUME (tank volume)

Data type: REAL, unit: m:sup:3

Total volume of the tank.

TANK_PRESSURE_PERCENTAGE (tank pressure percentage)

Data type: REAL, unit: %, range: 0-100

Total pressure in the tank in percentage.

TANK_PRESSURE_PASCAL (tank pressure Pascal)

Data type: REAL, unit: Pa

Pressure at the bottom of tank.

TANK_PRESSURE_PSI (tank pressure psi)

Data type: REAL, unit: PSI

Pressure at the bottom of the tank.

OUTLET_PRESSURE_PASCAL (outlet pressure pascal)

Data type: REAL, unit: PSI

Pressure at the outlet pipe.

OUTLET_PRESSURE_PSI (outlet pressure psi)

Data type: REAL, unit: PSI

Pressure at the outlet pipe.