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

Input

byUnitId

BYTE

0

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

Input

xUpdateActual

BOOL

FALSE

Update of actual values (on every rising edge )

Input

xUpdateInfo

BOOL

FALSE

Update of the information (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 sErrorCodeDev to the fault-free state (on every 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 drive — feedback

Output

eOpModeFb

KP_MD15_MOD_N_HE_OP_MODE

Current operating mode of the drive — 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 the 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 = Close 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 the event of a bus error (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 the event of a bus error 0 = no monitoring 1 = Close 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 drive 0 = normal operation 1 = adaptation / initialization 2 = test run = manual flushing function (one-time complete opening) 3 = synchronization = manual synchronization of the end position 4 = reset errors = reset all errors in register 318 5 = baud rate change = transfer the parameters in registers 105 - 107

Input Const

tTimeUpdateSetp

TIME

TIME#45s0ms

Update interval for the processes influenced by the input xUpdateSetp influenced

Input Const

tTimeUpdateInfo

TIME

TIME#0ms

Update interval for the processes influenced by the input xUpdateInfo influenced

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for the processes influenced by the input xUpdateActual influenced

Last updated