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 communication (TRUE = enable)

Input

byUnitId

BYTE

1

Device address (1… 247, default = factory setting)

Input

xUpdateActual

BOOL

FALSE

Update of actual values (on every rising edge )

Input

xUpdateSetp

BOOL

FALSE

Update of setpoints (on every rising edge )

Input

xResError

BOOL

FALSE

Reinitialization of the outputs eErrorCodeCom or stErrorCodeDv to the fault-free state (on every rising edge)

Input

xEnMotor

BOOL

FALSE

Enable / lock the motor (TRUE = enable)

Input

rSetpRotSpeed

REAL

0.0

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

Input

xResAlarmsDev

BOOL

FALSE

Reset all device alarms (on every rising edge)

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

xEnMotorFb

BOOL

Feedback - enable / lock the motor (TRUE = enable)

Output

rSetpRotSpeedFb

REAL

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

Output

rPercentOut

REAL

Actuating signal for the stepper motor in %

Output

xRotation

BOOL

Display of rotation (TRUE = rotation)

Output

rMotorSpeed

REAL

Motor rotational speed in 1/min

Output

rRotorSpeed

REAL

Rotor rotational speed in 1/min

Output

rMotorSpMin_Fb

REAL

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

Output

rMotorSpMax_Fb

REAL

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

Output

rTorque

REAL

Motor torque 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 - rotor direction of rotation (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 the 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 for influencing the actuating 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: actuating 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 operations ( T#0s: deactivation of cyclic purge operation)

Input Const

tPurgeDetect

TIME

TIME#10m0s0ms

Purge operation: minimum duration of the inactive heat wheel before the purge operation is triggered

Input Const

rMotorSpMax

REAL

250.0

Maximum value - motor rotational speed in 1/min

Input Const

rMotorSpMin

REAL

1.0

Minimum value - motor rotational speed in 1/min

Input Const

xAutoDetectCtrlMode

BOOL

TRUE

Enable / lock 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 processes influenced by the input xUpdateSetp influenced

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for the processes influenced by the input xUpdateActual influenced

Last updated