Modbus introduction

The ECOLITE controller has a built-in Modbus RTU interface (11), which is in general dedicated for BEST.

Nevertheless, it is also possible to use this interface for fieldbus purposes. It allows to monitor the condensing unit as well as to perform parameter changes via a superior controller or a building management system. But as the ECOLITE controller can´t detect whether the BEST converter or any other device is connected, the communication with BEST isn´t possible anymore when the Modbus communication parameters have been changed from the default settings.

Terminals of the Modbus interface socket of the ECOLITE controller.
A cable with MOLEX plug can be ordered with part no. 344 117 10.

Configuration of the Modbus communication parameters

Default settings:

The Modbus communication parameters can be changed via the keypad of the controller:

When the communication parameters are changed from default, the communication with the BEST Software is not possible any more!

Used data types and scaling

Data types:

Scaling of the values:

Reading and writing 32-bit values

32-bit values must be read and written as two consecutive Modbus registers (register count = 2).
While Modbus.org has specified that 16-bit values are transmitted with the most significant byte first (or "big endian byte order"), there is no standard for the order of the words that come into play with 32-bit values or character strings with 2 or more registers.

This device transmits 32-bit values with the least significant word first (or "little endian word order").

The following table shows an example of this procedure for the number 123456789, which corresponds to the hexadecimal number 75BCD15.

Register X

Register X+1

Word 0

Word 1

Byte 1

Byte 0

Byte 3

Byte 2

Bit 16 .. 9

Bit 8 .. 0

Bit 32 .. 25

Bit 24 .. 17

Binary

11001101

00010101

00000111

01011011

Hexadecimal

CD

15

07

5B

Modbus function codes

The following function codes have been implemented from the standard Modbus protocol:

Function

Code (hexadecimal)

Code (decimal)

Read holding registers (H)

03

03

Read input register (I)

04

04

Write single register (H)

06

06

Write multiple registers (H)

10

16

Read/write multiple registers (H)

17

23

All input registers (I) can also be read as holding registers (H).

Defect of the controller!

Defect of the controller!

Continuous writing of parameters may lead to a wear out of the EEPROM as a lot of the parameters will be directly written into the EEPROM, even when they don´t change their value. Cyclic writing of parameters must be avoided.

Modbus exception codes

The following exception codes have been implemented from the standard Modbus protocol:

Code

Name

Meaning

01

Illegal function

The function code is not valid.

02

Illegal data address

The specified register is not valid.

03

Illegal data value

The value is not allowed.

04

Server device failure

Unrecoverable error in server device.

Wiring recommendations

See wiring examples below.

Devices sharing the same ground potential
Devices sharing the same ground potential
Client device with different ground potential or isolated interface
Client device with different ground potential or isolated interface
Devices with different ground potentials separated by an isolated RS485 repeater
Devices with different ground potentials separated by an isolated RS485 repeater