Special Functions (LIDAR, Modbus Interface)

For OEM applications, we provide special commands and functions. Among those are the capability of communicating with Lidar Sensors, and Modbus Interface.

The MDB Ultra, for example, can connect with a LIDAR sensor on connector X10 and with a Modbus controllable thermostat (Beta RC31) on X9 with the command.

Lidar Communication

Lidar Communication is available through connector X10 on the board. To read the distance from Lidar Sensor, the following command must be issued:

Enable Sensor Operation
Copy

Modbus

Modbus functionality is available through connector X9. Specifically it allows to control a Modbus controllable thermostat (Beta RC31) with the Modbus available commands.

All Modbus access is done with function codes 03 and 16, one register only, address 1

Read Address

An address can be read with the command below. In this example X is the address in decimal format.

Bash
Copy

Write Address

An address can be written with the command below. In this example X is the address and Y is the value, in decimal format.

Bash
Copy

Read Last Operation Status

When a command to read or write to Modbus is issued, its result must be read with the following command:

This command should be issued every time after reading/writing from/to Modbus addresses.

Bash
Copy

Negative values are error values, returning the respective exception code!

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard