KLINGENBURG_OJ_DRHX

KLINGENBURG_OJ_DRHX (FB)

FUNCTION_BLOCK KLINGENBURG_OJ_DRHX

Representation

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable of communication ( TRUE = enabled )

Input

byUnitId

BYTE

1

Address of the device ( 1… 247, default = factory setting )

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

xResError

BOOL

FALSE

Reinitialization of the outputs ‘eErrorCodeCom’ and/or ‘stErrorCodeDv’ to the error-free state ( on each rising edge )

Input

xEnMotor

BOOL

FALSE

Enable / disable of the motor ( TRUE = enabled )

Input

rSetpRotSpeed

REAL

0.0

Setpoint - rotational speed in % ( 0.0 - 100.0 % ) ( rMotorSpMin - rMotorSpMax )

Input

xResAlarmsDev

BOOL

FALSE

Reset of all device alarms ( on each rising edge )

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

xEnMotorFb

BOOL

Feedback - enable / disable of the motor ( TRUE = enabled )

Output

rSetpRotSpeedFb

REAL

Feedback - setpoint - rotational speed in % ( 0.0 - 100.0 % ) ( rMotorSpeed_Min - rMotorSpeed_Max )

Output

rPercentOut

REAL

Control signal for the stepper motor in %

Output

xRotation

BOOL

Indication of rotation ( TRUE = rotation )

Output

rMotorSpeed

REAL

Rotational speed of the motor in 1/min

Output

rRotorSpeed

REAL

Rotational speed of the rotor in 1/min

Output

rMotorSpMin_Fb

REAL

Feedback - minimum value - rotational speed of the motor in 1/min

Output

rMotorSpMax_Fb

REAL

Feedback - maximum value - rotational speed of the motor in 1/min

Output

rTorque

REAL

Torque of the motor in Nm

Output

rIntTemp

REAL

Internal temperature

Output

eControlModeFb

OJ_DRHX_CONTROL_MODE

Feedback - type of control ( 0 = MODBUS, 1 = 0-10V )

Output

eRotDirectFb

OJ_DRHX_ROTATION_DIRECT

Feedback - direction of rotation of the rotor ( 0 = clockwise, 1 = counterclockwise )

Output

eAltCommSetFb

OJ_DRHX_ALT_COMM_SET

Feedback - status of the alternative Modbus connection ( FALSE = factory default, TRUE = alternative connection ( Holding Register 13 - 16 ))

Output

xDI1

BOOL

State of digital input 1 ( FALSE = LOW )

Output

xDI2

BOOL

State of digital input 2 ( FALSE = LOW )

Output

xDI3

BOOL

State of digital input 3 ( FALSE = LOW )

Output

xDI4

BOOL

State of digital input 4 ( FALSE = LOW )

Output

eDI1Config_Fb

OJ_DRHX_DIX_CONFIG

Feedback - configuration of digital input 1

Output

eDI2Config_Fb

OJ_DRHX_DIX_CONFIG

Feedback - configuration of digital input 2

Output

eDI3Config_Fb

OJ_DRHX_DIX_CONFIG

Feedback - configuration of digital input 3

Output

eDI4Config_Fb

OJ_DRHX_DIX_CONFIG

Feedback - configuration of digital input 4

Output

rInputPower

REAL

Power consumption [ W ]

Output

rExtSetp

REAL

Voltage at analog input 1 - setpoint rotational speed ( 0.0 - 10000 mV )

Output

eType

OJ_DRHX_TYPE

Type of control

Output

eRelay1Config_Fb

OJ_DRHX_RELAYX_CONFIG

Feedback - configuration of relay 1

Output

eRelay2Config_Fb

OJ_DRHX_RELAYX_CONFIG

Feedback - configuration of relay 2

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

stErrorCodeDev

STRING

String with the numbers of active device errors

Output

xBusy

BOOL

Communication indicator ( TRUE = Communication )

Input Const

rPercentOutMult

REAL

1.0

Multiplier for the output ‘rPercentOut’ ( rPercentOut = transmitted value * 0.01 * rPercentOutMult )

Input Const

rSetpRotSpeedMult

REAL

1.0

Multiplier for the input ‘rSetpRotSpeed’ ( transmitted value = rSetpRotSpeed * 100 * rSetpRotSpeedMult )

Input Const

eDI4Config

OJ_DRHX_DIX_CONFIG

OJ_DRHX_DIX_CONFIG.DISABLED

Input Const

eDI3Config

OJ_DRHX_DIX_CONFIG

OJ_DRHX_DIX_CONFIG.EXT_ROTOR_GUARD_SIGNAL

Configuration of digital input 4

Input Const

eDI2Config

OJ_DRHX_DIX_CONFIG

OJ_DRHX_DIX_CONFIG.ENABLE_EXT_ROTOR_GUARD

Configuration of digital input 3

Input Const

eDI1Config

OJ_DRHX_DIX_CONFIG

OJ_DRHX_DIX_CONFIG.ALARM_RESET

Configuration of digital input 2

Input Const

rKFactor

REAL

100.0

Factor influencing the control signal characteristic in 0-10V operation, k = 10000: linear characteristic 1.1V - 9.5V = rMotorSpMin - rMotorSpMax )

Input Const

rRotorSize

REAL

0.0

Diameter of the rotor in mm ( relevant for the variable ‘rRotorSpeed’, 0 mm = rRotorSpeed = rMotorSpeed )

Input Const

rPulleySize

REAL

0.0

Diameter of the motor pulley in mm ( relevant for the variable ‘rRotorSpeed’, 0 mm = rRotorSpeed = rMotorSpeed )

Input Const

rPurgeCtrlSignal

REAL

10.0

Purge operation: control signal during purge operation in %

Input Const

tPurgeTime

TIME

TIME#10s0ms

Purge operation: duration of the purge operation

Input Const

tPurgeIntervall

TIME

TIME#10m0s0ms

Purge operation: time interval between two purge cycles ( T#0s: disable cyclic purge operation )

Input Const

tPurgeDetect

TIME

TIME#10m0s0ms

Purge operation: minimum inactive time of the heat wheel before triggering the purge operation

Input Const

rMotorSpMax

REAL

250.0

Maximum value - rotational speed of the motor in 1/min

Input Const

rMotorSpMin

REAL

1.0

Minimum value - rotational speed of the motor in 1/min

Input Const

xAutoDetectCtrlMode

BOOL

TRUE

Enable / disable of automatic detection of the operating mode ( FALSE = no automatic detection )

Input Const

eControlMode

OJ_DRHX_CONTROL_MODE

OJ_DRHX_CONTROL_MODE.MODBUS

Input Const

eRotDirect

OJ_DRHX_ROTATION_DIRECT

OJ_DRHX_ROTATION_DIRECT.CLOCK_WISE

Type of control ( 0 = MODBUS, 1 = 0-10V )

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