KSB_PUMP_DRIVE_2_MOD

KSB_PUMP_DRIVE_2_MOD (FB)

FUNCTION_BLOCK KSB_PUMP_DRIVE_2_MOD

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable of communication ( TRUE = enabled )

Input

byUnitId

BYTE

0

Device address ( 1 .. 247 )

Input

xUpdateActual

BOOL

FALSE

Update of actual values ( on each rising edge )

Input

xUpdateSetp

BOOL

FALSE

Update of setpoints ( on each rising edge )

Input

xEnDevice

BOOL

FALSE

Enable / disable the unit ( FALSE = Off )

Input

eMode_P1

KSB_PUMP_DRIVE_2_MOD_PUMP_MODE

KSB_PUMP_DRIVE_2_MOD_PUMP_MODE.AUTO

Operating mode of pump 1

Input

rSetp_PERC_Auto

REAL

0.0

Setpoint for the pump(s) in percent ( 0.0% = parameter 3-2-2-1 to 100.0% = parameter 3-2-2-2) in automatic mode

Input

rSetp_PERC_Man

REAL

0.0

Setpoint for the pump(s) in percent ( 0.0% = parameter 3-2-2-1 to 100.0% = parameter 3-2-2-2) in manual mode

Input

xResMessages

BOOL

FALSE

Reset all messages ( on each rising edge )

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

xEnDeviceFb

BOOL

FALSE

Enable / disable the unit ( FALSE = Off ) — feedback

Output

rSetp_RPM_Fb

REAL

0.0

Setpoint for the pump as speed in 1/min — feedback

Output

rSetp_PERC_Fb

REAL

0.0

Setpoint for the pump in percent — feedback

Output

eControlStationFb

KSB_PUMP_DRIVE_2_MOD_CONTROL_STATION_MODE

KSB_PUMP_DRIVE_2_MOD_CONTROL_STATION_MODE.LOCAL

Type of control station — feedback

Output

eActValueSourceFb

KSB_PUMP_DRIVE_2_MOD_ACTUAL_VALUE_SOURCE

KSB_PUMP_DRIVE_2_MOD_ACTUAL_VALUE_SOURCE.LOCAL

Source for the actual value — feedback

Output

eState_P1

KSB_PUMP_DRIVE_2_MOD_PUMP_STATE

KSB_PUMP_DRIVE_2_MOD_PUMP_STATE.STOPPED

Operating condition of pump 1

Output

xFb_P1

BOOL

FALSE

Operating indication of pump 1 ( FALSE = Off, TRUE = On )

Output

eMode_P1_Fb

KSB_PUMP_DRIVE_2_MOD_PUMP_MODE

KSB_PUMP_DRIVE_2_MOD_PUMP_MODE.AUTO

Operating mode of pump 1 — feedback

Output

rRPM_P1

REAL

0.0

Current speed of pump 1 in 1/min

Output

rPowerMot_P1

REAL

0.0

Current power consumption of the motor of pump 1

Output

rPowerPump_P1

REAL

0.0

Current power consumption of pump 1

Output

rElecCurrent_P1

REAL

0.0

Motor current of pump 1 in amperes

Output

rElecVoltage_P1

REAL

0.0

Motor voltage of pump 1 in volts

Output

rOutputFreq_P1

REAL

0.0

Output frequency for pump 1 in Hz

Output

rInterCirVolt_P1

REAL

0.0

DC-link voltage of pump 1 in volts

Output

rHeatsinkTemp_P1

REAL

0.0

Heatsink temperature of pump 1 in base unit - temperature

Output

rTorque_P1

REAL

0.0

Torque of the motor of pump 1 in Nm

Output

rEfficiency_P1

REAL

0.0

Efficiency of pump 1 in percent

Output

rElecEnergyTota_P1

REAL

Total electrical energy of pump 1 in kWh

Output

rOperatingHours_P1

REAL

Operating hours of pump 1 in h

Output

rCountSwitchOn_P1

REAL

Number of starts of pump 1

Output

xAlarm

BOOL

FALSE

Collective fault ( TRUE = fault )

Output

xAlarmCom

BOOL

FALSE

Collective fault - communication ( TRUE = fault )

Output

eErrorCodeCom

ModbusErrorCode

Error code - communication ( 0 = no error )

Output

xAlarmDevice

BOOL

FALSE

Collective fault - unit ( TRUE = Fault )

Output

xAlarm_Pump1

BOOL

FALSE

Collective fault - pump 1 ( TRUE = Fault )

Output

sErrorCode1_Pump1

STRING

String with the numbers of active device errors 0 - 15 of pump 1 ( bit 0 = number 1, bit 1 = number 2, etc. )

Output

sErrorCode2_Pump1

STRING

String with the numbers of active device errors 16 - 31 of pump 1 ( bit 0 = number 16, bit 1 = number 17, etc. )

Output

xWarning_Pump1

BOOL

FALSE

Collective warning - pump 1 ( TRUE = Warning )

Output

sWarningCode1_Pump1

STRING

String with the numbers of active device warnings 0 - 15 of pump 1 ( bit 0 = number 1, bit 1 = number 2, etc. )

Output

sWarningCode2_Pump1

STRING

String with the numbers of active device warnings 16 - 31 of pump 1 ( bit 0 = number 16, bit 1 = number 17, etc. )

Output

xBusy

BOOL

Communication indicator ( TRUE = communication )

Input Const

rSetp_Max_P1

REAL

3000.0

Absolute maximum speed of pump 1 in 1/min ( parameter 3-2-2-2 )

Input Const

rSetp_Min_P1

REAL

500.0

Absolute minimum speed of pump 1 in 1/min ( parameter 3-2-2-1 )

Input Const

eControlMode

KSB_PUMP_DRIVE_2_MOD_CONTROL_MODE

KSB_PUMP_DRIVE_2_MOD_CONTROL_MODE.OFF

Type of control

Input Const

eActValueSource

KSB_PUMP_DRIVE_2_MOD_ACTUAL_VALUE_SOURCE

KSB_PUMP_DRIVE_2_MOD_ACTUAL_VALUE_SOURCE.FIELDBUS

Source for the actual value

Input Const

eControlStation

KSB_PUMP_DRIVE_2_MOD_CONTROL_STATION_MODE

KSB_PUMP_DRIVE_2_MOD_CONTROL_STATION_MODE.FIELDBUS

Type of control station

Input Const

diAdrOffset

DINT

0

Offset for calculating Modbus addresses ( from the Modbus registers ) ( Permissible range: -1, 0, +1 )

Input Const

tTimeUpdateSetp

TIME

TIME#10s0ms

Update interval for the processes affected by the input ‘xUpdateSetp’

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for the processes affected by the input ‘xUpdateActual’

Last updated