OPPERMANN_KRM_X_2_MOD

OPPERMANN_KRM_X_2_MOD (FB)

FUNCTION_BLOCK OPPERMANN_KRM_X_2_MOD

Representation

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable communication (TRUE = enable)

Input

byUnitId

BYTE

0

Device address

Input

xUpdateActual

BOOL

FALSE

Update of actual values (on every rising edge )

Input

xResError

BOOL

FALSE

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

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

eState

OPPERMANN_STATE_CODE

Current state of the channel smoke detector (1 = normal operation)

Output

wSensor

WORD

Internal measured value of the smoke detector (<255 = no alarm)

Output

wPollution

WORD

Current contamination level of the sensor in XXX percent

Output

xAirflow

BOOL

Current display of the air flow (0 = no air flow)

Output

xSmokeAlarm

BOOL

FALSE

Smoke alarm - device (TRUE = alarm)

Output

xPollutionAlarm

BOOL

FALSE

Alarm - contamination > wSetpPollutionAlarm (TRUE = alarm)

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

wErrorCodeDev

WORD

0

Error code - device (0 = no error)

Output

xBusy

BOOL

Communication indicator (TRUE = communication)

Input Const

wSetpPollutionAlarm

WORD

50

Threshold - contamination level in percent

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for the processes influenced by the input xUpdateActual influenced

Last updated