add
This commit is contained in:
@@ -26,11 +26,11 @@
|
||||
#define MODBUS_TIMEOUT 5000 ///< Таймаут в тиках таймера
|
||||
|
||||
// Строковые идентификаторы устройства
|
||||
#define MODBUS_VENDOR_NAME "NIO-12"
|
||||
#define MODBUS_PRODUCT_CODE ""
|
||||
#define MODBUS_REVISION ""
|
||||
#define MODBUS_VENDOR_NAME "super mega vendor"
|
||||
#define MODBUS_PRODUCT_CODE "Climate control"
|
||||
#define MODBUS_REVISION "1.0"
|
||||
#define MODBUS_VENDOR_URL ""
|
||||
#define MODBUS_PRODUCT_NAME ""
|
||||
#define MODBUS_PRODUCT_NAME "Climate control"
|
||||
#define MODBUS_MODEL_NAME ""
|
||||
#define MODBUS_USER_APPLICATION_NAME ""
|
||||
|
||||
|
||||
@@ -84,12 +84,13 @@
|
||||
|
||||
typedef __PACKED_STRUCT//MB_DataInRegsTypeDef
|
||||
{
|
||||
|
||||
uint16_t num_Tsens;
|
||||
uint16_t sens_Temp[MAX_SENSE];
|
||||
uint16_t reserve[mb_fill_rsv(1000, uint16_t[MAX_SENSE])];
|
||||
uint16_t reserve[mb_fill_rsv(1000, uint16_t[MAX_SENSE+1])];
|
||||
DS18B20_Drv_t ID;
|
||||
uint16_t reserve1[mb_fill_rsv(200, DS18B20_Drv_t)];
|
||||
uint16_t num_Tsens;
|
||||
uint16_t system[158];
|
||||
uint16_t reserve2[mb_fill_rsv(200, uint16_t [158])];
|
||||
|
||||
|
||||
} MB_DataInRegsTypeDef;
|
||||
|
||||
Reference in New Issue
Block a user