KP_MD15_MOD_N_HE_EASY
KP_MD15_MOD_N_HE_EASY (FB)
KP_MD15_MOD_N_HE_EASY (FB)FUNCTION_BLOCK KP_MD15_MOD_N_HE_EASY
InOut:
Input
xEn
BOOL
TRUE
Enable / disable communication ( TRUE = enabled )
Input
byUnitId
BYTE
0
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 setpoint values (on every rising edge )
Input
xResError
BOOL
FALSE
Reinitialization of the outputs ‘eErrorCodeCom’ and ‘sErrorCodeDev’ to the error-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
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
xAlarm
BOOL
FALSE
General fault ( TRUE = fault )
Output
xAlarmCom
BOOL
FALSE
General 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
eOpMode
KP_MD15_MOD_N_HE_OP_MODE
KP_MD15_MOD_N_HE_OP_MODE.SETPOINT
Current operating mode 0 = Control by 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
tTimeUpdateSetp
TIME
TIME#45s0ms
Update interval for operations influenced by the input 'xUpdateSetp'
Input Const
tTimeUpdateActual
TIME
TIME#3s0ms
Update interval for operations influenced by the input 'xUpdateActual'
Last updated

