For the complete documentation index, see llms.txt. This page is also available as Markdown.

DAIKIN_EKMBDXB7V1_IDU_COM_STATES

DAIKIN_EKMBDXB7V1_IDU_COM_STATES (FB)

FUNCTION_BLOCK DAIKIN_EKMBDXB7V1_IDU_COM_STATES

Representation

Short description

Recording of the communication states of up to 64 Daikin indoor units

Typical application: Central control of Daikin indoor units via the Daikin Modbus interface EKMBDXB7V1

Guidelines - Software creation

The following function codes (FC) are supported: 3, 4, 6 and 16 The following transmission rates are supported: 9600 and 19200 bit/s For addressing, the address specifications are to be used, not the register addresses (address = register - 1) Modbus addresses 1 - 15 can be set directly on the DIP switches in the interface. In FC03, a maximum of 32 registers may be requested in a request telegram (deviating from the Modbus standard) In FC04, a maximum of 32 registers may be requested in a request telegram (deviating from the Modbus standard) In FC16, a maximum of 30 registers may be written in a request telegram (deviating from the Modbus standard) The following transmission parameters were tested: 19200 baud, 8-N-1 The following exception codes are supported by the interface: 0x81, 0x82 and 0x83 The number of control commands per indoor unit is limited to 7000 / year !!! Taking into account the tested transmission parameters, the time between the end of the response and the next request telegram must be at least 22.5 ms

All registers read with FC04 are always available with current data All registers read with FC03 are only updated once during each restart of the gateway

&#xNAN;************** &#xNAN;* Functions * &#xNAN;**************

In this FB, the messages Connected and Communication error of all up to 64 indoor units are recorded and evaluated. The current states are available in the arrays arxIndoorUnits_ConState (State Connected), arxIndoorUnits_ComState (State Communication error) and arxIndoorUnits_ReadWriteState (write and read permission) available separately for each indoor unit.

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable communication (TRUE = enable)

Input

byUnitId

BYTE

0

Address of the device (interface) (1 .. 15)

Input

xUpdateStates

BOOL

FALSE

State update (on every rising edge )

Input

xResError

BOOL

FALSE

Reinitialization of the output eErrorCodeCom (with every rising edge)

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

xInterfaceState

BOOL

FALSE

Interface state

Output

xOtherDIIIUnitPresent

BOOL

FALSE

Information whether another DIII unit (in addition to this interface) is present

Output

arxIndoorUnits_ConState

ARRAY [1 .. 4, 0 .. 15] OF BOOL

FALSE: No TRUE: Yes (default value) Array with the connection states of the indoor units of all groups (1-00 … 4-15) 1st dimension: group, 2nd dimension: indoor unit number Array element = FALSE: no connection to the indoor unit Array element = TRUE: connection to the indoor unit

Output

arxIndoorUnits_ComState

ARRAY [1 .. 4, 0 .. 15] OF BOOL

Array with the communication states of the indoor units of all groups (1-00 … 4-15) 1st dimension: group, 2nd dimension: indoor unit number Array element = FALSE: no communication error Array element = TRUE: with communication error

Output

arxIndoorUnits_ReadWriteState

ARRAY [1 .. 4, 0 .. 15] OF BOOL

Array with the read/write permissions of the indoor units of all groups (1-00 … 4-15) 1st dimension: group, 2nd dimension: number of the indoor unit Array element = FALSE: no read/write permission Array element = TRUE: read/write permission

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

xBusy

BOOL

Communication indicator (TRUE = communication)

Input Const

tTimeUpdateStates

TIME

TIME#3s0ms

Update interval for the operations that are influenced by the input xUpdateStates influenced

Last updated