DAIKIN_EKMBDXB7V1_IDU_FC04_2000_2383
DAIKIN_EKMBDXB7V1_IDU_FC04_2000_2383 (FB)
DAIKIN_EKMBDXB7V1_IDU_FC04_2000_2383 (FB)FUNCTION_BLOCK DAIKIN_EKMBDXB7V1_IDU_FC04_2000_2383
Representation

Short description
Recording of actual values - 1 of a maximum of 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 transfer rates are supported: 9600 and 19200 bit/s For addressing, use the address values, not the register addresses ( address = register - 1 ) The 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 one request telegram ( deviating from the Modbus standard ) In FC04 a maximum of 32 registers may be requested in one request telegram ( deviating from the Modbus standard ) In FC16 a maximum of 30 registers may be written in one request telegram ( deviating from the Modbus standard ) The following transmission parameters were tested: 19200 Baud, 8-N-1 The interface supports the following exception codes: 0x81, 0x82 and 0x83 The number of control commands per indoor unit is limited to 7000 / year !!! Considering the tested transmission parameters, the time interval 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 up to date All registers read with FC03 are available up to date only once during each restart of the gateway &#xNAN;************** &#xNAN;* Functions * &#xNAN;************** In this FB the relevant actual values of all up to 64 indoor units are recorded and evaluated (FC04: addresses 2000 - 2383 ) They are available in the array ‘arstIndoorUnits_ActualValues_1’ separated for each indoor unit as a structure element. The structure element of an indoor unit is only updated if the corresponding read/write permission is present ( input ‘arxIndoorUnits_ReadWriteState’ ). Measured values - synchronization: Class 4 \
InOut:
Input
xEn
BOOL
TRUE
Enable / disable of communication ( TRUE = enabled )
Input
byUnitId
BYTE
0
Device address ( interface ) ( 1 .. 15 )
Input
xUpdateActual
BOOL
FALSE
Update of actual values ( on every rising edge )
Input
xResError
BOOL
FALSE
Reinitialization of the output 'eErrorCodeCom' ( on each rising edge )
Input
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: indoor unit number Array element = FALSE: no read / write permission Array element = TRUE: read / write permission
Inout
ModbusClient
ModbusClientBase
Client of the device
Output
arstIndoorUnits_ActualValues_1
ARRAY [1..4, 0..15] OF EKMBDXB7V1_CURRENT_VALUES_1
Array with the actual values - 1 of the indoor units of all groups ( 1-00 … 4-15 ) 1st dimension: group, 2nd dimension: indoor unit number Array element = structure with the individual actual values
Output
xSensorOffsetInDevice
BOOL
Indicates whether the calibration of the sensors of the indoor units must be performed in the indoor unit ( TRUE = calibration required in the device, FALSE = calibration required in the FB )
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
tTimeUpdateActual
TIME
TIME#5s0ms
Update interval for the operations influenced by the input ‘xUpdateActual’
Last updated

