DANFOSS_VLT_HVAC_DRIVE

DANFOSS_VLT_HVAC_DRIVE (FB)

FUNCTION_BLOCK DANFOSS_VLT_HVAC_DRIVE

Representation

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 every rising edge )

Input

xUpdateSetp

BOOL

FALSE

Update of setpoint values ( on every rising edge )

Input

xUpdateConfig

BOOL

FALSE

Update of the configuration (on every rising edge)

Input

xEnDevice

BOOL

FALSE

Enable / disable of the frequency converter ( FALSE = Off )

Input

rSetp

REAL

0.0

Setpoint of the frequency converter ( speed setpoint ) ( -100.0 - +100.0% )

Input

xResetShutdown

BOOL

FALSE

Reset of the device after a shutdown ( on each rising edge )

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

xFb

BOOL

Operation indication ( FALSE = Off, TRUE = On )

Output

rSetpPercFb

REAL

Feedback - current setpoint in percent

Output

rOutputFreq

REAL

Current output frequency in Hz

Output

wControlWordFb

WORD

Feedback - current control word

Output

wStatusWord

WORD

Current status word

Output

dwOperatingHours

DWORD

Motor running hours

Output

dwElecEnergyTota

DWORD

Total electrical energy in kWh

Output

dwCountSwitchOn

DWORD

Number of switch-ons

Output

rElecVoltage

REAL

Output voltage in volts

Output

rElecCurrent

REAL

Output current in amperes

Output

rThermalProtect

REAL

Thermal motor protection in percent

Output

xBit0_Control

BOOL

Control state ( FALSE = not ready, TRUE = ready )

Output

xBit1_FreqConv

BOOL

Frequency converter state ( FALSE = not ready, TRUE = ready )

Output

xBit2_FreeRun

BOOL

Free run state ( FALSE = active, TRUE = motor in operation )

Output

xBit3_AlarmOff

BOOL

State of fault with shutdown ( FALSE = not active, TRUE = active )

Output

xBit4_Alarm

BOOL

State of fault without shutdown ( FALSE = not active, TRUE = active )

Output

xBit6_AlarmOffBl

BOOL

State of fault with shutdown and lockout ( FALSE = not active, TRUE = active )

Output

xBit7_Warn

BOOL

Warning state ( FALSE = not active, TRUE = active )

Output

xBit8_SetpActual

BOOL

Setpoint/actual speed state ( FALSE = different, TRUE = equal )

Output

xBit9_LocalBus

BOOL

Local operation / bus control state ( FALSE = local operation, TRUE = bus control )

Output

xBit10_FreqLimit

BOOL

Frequency limits state ( FALSE = frequency is outside, TRUE = frequency is inside )

Output

xBit12_OverTInv

BOOL

Overtemperature indication of the inverter ( FALSE = Off, TRUE = On )

Output

xBit13_OverVolt

BOOL

Overvoltage indication state ( FALSE = Off, TRUE = On )

Output

xBit14_OverMomen

BOOL

Overtorque indication state ( FALSE = Off, TRUE = On )

Output

xBit15_OverTherm

BOOL

State of thermal protection devices ( FALSE = no exceedance, TRUE = threshold exceeded )

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

dwErrorCode1Dev

DWORD

0

Alarm word 1 - device

Output

dwErrorCode2Dev

DWORD

0

Alarm word 2 - device

Output

dwWarnCode1Dev

DWORD

0

Warning word 1 - device

Output

dwWarnCode2Dev

DWORD

0

Warning word 2 - device

Output

dwStateCode1Dev

DWORD

0

Extended status word 1 - device

Output

dwStateCode2Dev

DWORD

0

Extended status word 2 - device

Output

xBusy

BOOL

Communication indicator ( TRUE = Communication )

Input Const

wControlMode

WORD

0

0 = Speed control, 3 = PID controller

Input Const

xCW_Bit15

BOOL

FALSE

FALSE = No reversal, TRUE = Reversal

Input Const

xCW_Bit14

BOOL

FALSE

Most Significant Bit - parameter set selection ( 00 = parameter set 1 )

Input Const

xCW_Bit13

BOOL

FALSE

Least Significant Bit - parameter set selection ( 00 = parameter set 1 )

Input Const

xCW_Bit12

BOOL

FALSE

FALSE = Relay 02 not activated, TRUE = Relay 02 activated

Input Const

xCW_Bit11

BOOL

FALSE

FALSE = Relay 01 not activated, TRUE = Relay 01 activated

Input Const

xCW_Bit10

BOOL

TRUE

FALSE = Data invalid 1, TRUE = Data valid

Input Const

xCW_Bit9

BOOL

FALSE

FALSE = Ramp 1, TRUE = Ramp 2

Input Const

xCW_Bit8

BOOL

FALSE

FALSE = No function, TRUE = Fixed speed JOG

Input Const

xCW_Bit5

BOOL

TRUE

FALSE = Hold frequency output, TRUE = use ramp

Input Const

xCW_Bit1

BOOL

FALSE

Most Significant Bit - fixed setpoint selection ( 00 = setpoint 0 )

Input Const

xCW_Bit0

BOOL

FALSE

Least Significant Bit - fixed setpoint selection ( 00 = setpoint 0 )

Input Const

eDisableMode

VLT_HVAC_DRIVE_DISABLE_MODE

VLT_HVAC_DRIVE_DISABLE_MODE.FREE_RUN_STOP

Type of shutdown of the frequency converter

Input Const

eCWTimeoutMode

VLT_HVAC_DRIVE_CONTROL_WORD_TIMEOUT_MODE

VLT_HVAC_DRIVE_CONTROL_WORD_TIMEOUT_MODE.OFF

Function after a timeout of the control word

Input Const

tTimeUpdateCW

TIME

TIME#30s0ms

Update interval for transmission of the control word ( CW = Control word )

Input Const

tTimeUpdateConfig

TIME

TIME#0ms

Update interval for operations affected by the input 'xUpdateConfig'

Input Const

tTimeUpdateSetp

TIME

TIME#45s0ms

Update interval for the operations influenced by the input ‘xUpdateSetp’

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for the operations influenced by the input ‘xUpdateActual’

Last updated