Output Description

../_images/45a1de260c6256fe0a331390002e73c5

Function Block PUMP_PID

DONE

Data_Type Default_Value Range Unit
BOOL - - -

Output indicates the processing state of the function 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 Default_Value Range Unit
WORD 0 ³ 0 -

Output 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 (see, error messages): Error Messages of the Function Block Libraries

PID_OUT (pid output value)

Data type: REAL, default value: 0, range: -100 to +100, unit: %

Output PID_OUT after the manipulation.

PID_DEVIATION (deviation of set value from actual value)

Data type: REAL, default value: 0, range: -100 to +100, unit: %

Deviation of set value from actual value. It is also known as PID error.

PID_SPEED_REF (pid speed reference)

Data type: INT, default value: 0, range: -20000 to +20000

Speed reference as a correction to the main speed reference, calculated by the PID. This variable is meant for the user. The PID_SPEED_REF is also internally attached with the PUMP_BOOST_CTRL Function Block to process the start/stop of the pumps.

MAXIMUM_LIMIT_REACHED (maximum limit reached)

Data type: BOOL

Indicates that the PID output reached the MAXIMUM limit.

MINIMUM_LIMIT_REACHED (minimum limit reached)

Data type: BOOL

Indicates that the PID output reached the MINIMUM limit.