OPPERMANN_KRM_2_DZ_MOD

OPPERMANN_KRM_2_DZ_MOD (FB)

FUNCTION_BLOCK OPPERMANN_KRM_2_DZ_MOD

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable communication ( TRUE = enabled )

Input

byUnitId

BYTE

0

Device address (1 - 99)

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 indication of the airflow (0 = no airflow)

Output

xSmokeAlarm

BOOL

FALSE

Smoke alarm - device (TRUE = alarm)

Output

xPollutionAlarm

BOOL

FALSE

Alarm - contamination > wSetpPollutionAlarm (TRUE = alarm)

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

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 operations influenced by the input 'xUpdateActual'

Last updated