KP_MD15_MOD_N_HE_FULL

KP_MD15_MOD_N_HE_FULL (FB)

FUNCTION_BLOCK KP_MD15_MOD_N_HE_FULL

Representation

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable of communication ( TRUE = enabled )

Input

byUnitId

BYTE

0

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

Input

xUpdateActual

BOOL

FALSE

Update of actual values ( on every rising edge )

Input

xUpdateInfo

BOOL

FALSE

Update of information (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 ‘sErrorCodeDev’ to the fault-free state (on each rising edge)

Input

rSetpPos

REAL

0.0

Setpoint - position in % (0.0 - 100.0 %) (0.0% = spindle extended)

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

sSerialNumber

STRING

Device serial number

Output

wFirmwareVer

WORD

Firmware version of the device

Output

wHardwareVer

WORD

Hardware version of the device

Output

rSetpPositionFb

REAL

Setpoint - position in % (0.0 - 100.0 %) (0.0% = spindle extended) — feedback

Output

rPosition

REAL

Current position in % (0.0 - 100.0 %) (0.0% = spindle extended)

Output

eCommandFb

KP_MD15_MOD_N_HE_COMMAND_MODE

Current status of the actuator — feedback

Output

eOpModeFb

KP_MD15_MOD_N_HE_OP_MODE

Current operating mode of the actuator — feedback

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

sErrorCodeDev

STRING

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

Output

xBusy

BOOL

Communication indicator ( TRUE = Communication )

Input Const

rMaxPos

REAL

100.0

Current absolute maximum position in % (0.0 - 100.0 %) (0.0% = spindle extended)

Input Const

rMinPos

REAL

0.0

Current absolute minimum position in % (0.0 - 100.0 %) (0.0% = spindle extended)

Input Const

eOpMode

KP_MD15_MOD_N_HE_OP_MODE

KP_MD15_MOD_N_HE_OP_MODE.SETPOINT

Current operating mode 0 = Control via setpoint 1 = Open 2 = Closed 3 = Parameter ‘rMinPos’ 5 = Parameter ‘rMaxPos’ 6 = Room temperature control loop

Input Const

rBusFailPos

REAL

100.0

Current position in % (0.0 - 100.0 %) (0.0% = spindle extended) in case of a bus failure (120 s)

Input Const

eBusFailMode

KP_MD15_MOD_N_HE_BUS_FAIL_MODE

KP_MD15_MOD_N_HE_BUS_FAIL_MODE.NO_DETECTION

Current operating mode in case of a bus failure 0 = no monitoring 1 = Closed after 120s without communication 2 = Open after 120s without communication 3 = Parameter ‘rBusFailPos’ after 120s without communication

Input Const

eCommand

KP_MD15_MOD_N_HE_COMMAND_MODE

KP_MD15_MOD_N_HE_COMMAND_MODE.NORMAL_MODE

Current status of the actuator 0 = Normal operation 1 = Adaptation / Initialization 2 = Test run = Manual flushing function (one-time full opening) 3 = Synchronization = Manual synchronization of end position 4 = Reset errors = Reset all errors in register 318 5 = Baud rate change = Transfer of parameters in registers 105 - 107

Input Const

tTimeUpdateSetp

TIME

TIME#45s0ms

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

Input Const

tTimeUpdateInfo

TIME

TIME#0ms

Update interval for operations affected by the input 'xUpdateInfo'

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

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

Last updated