Returns Modbus mode (MODBUS_MODE_NONE, MODBUS_MODE_RTU or MODBUS_MODE_TCP).
MODBUS_MODE_NONE
MODBUS_MODE_RTU
MODBUS_MODE_TCP
Modbus type.