NULL
This commit is contained in:
713
user/Protocol/InternalModbusDefine.h
Executable file → Normal file
713
user/Protocol/InternalModbusDefine.h
Executable file → Normal file
@@ -2,32 +2,29 @@
|
||||
#define __InternalModbusDefine_h__
|
||||
|
||||
/******************************************************************************/
|
||||
#define INT_METER_INFO 0x8000 // <20>DZ<EFBFBD><C7B1><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD>̶<EFBFBD><CCB6><EFBFBD>ַ<EFBFBD><D6B7>
|
||||
#define INT_METER_OPERATE 0x8200 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4><EFBFBD><EFBFBD>
|
||||
#define INT_METER_PARA 0x8210 // <20>ڲ<EFBFBD>16bit<69><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0x8220-0x827F
|
||||
#define INT_METER_DWORD_PARA 0x8280 // <20>ڲ<EFBFBD>32bit<69><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0x8280-0x82FF
|
||||
#define INT_METER_CODE 0x8300 // ʵʱ<CAB5><CAB1><EFBFBD>ݶ<EFBFBD>ȡ
|
||||
#define INT_METER_SYS 0x8400 // ϵͳ״̬<D7B4><CCAC>ȡ
|
||||
#define INT_METER_INFO 0x8000
|
||||
#define INT_METER_CODE 0x8300
|
||||
#define INT_METER_PARA 0x8200
|
||||
#define INT_METER_SYS 0x8400
|
||||
|
||||
#define INT_METER_BASIC 0x8600 // <20>ڲ<EFBFBD><DAB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݱ<EFBFBD><DDB1><EFBFBD><EFBFBD><EFBFBD>
|
||||
#define INT_METER_BASIC_MASK 0xFF00
|
||||
#define INT_METER_BASIC 0x8500
|
||||
#define INT_METER_BASIC_MASK 0xff00
|
||||
#define INT_METER_BASIC_MAX (INT_METER_BASIC + BASIC_DATA_MAX)
|
||||
|
||||
#define INT_METER_9000 0x9000
|
||||
#define INT_METER_A000 0xA000
|
||||
#define INT_METER_D000 0xD000
|
||||
#define INT_METER_E000 0xE000 // У<D0A3><D7BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
#define INT_METER_E000 0xE000
|
||||
#define INT_METER_F000 0xF000
|
||||
#define INT_MASK 0xFF00
|
||||
|
||||
/******************************************************************************/
|
||||
#define INT_METER_INFO_MAX 0x80FF // <20>DZ<EFBFBD><C7B1><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD>̶<EFBFBD><CCB6><EFBFBD>ַ<EFBFBD><D6B7>
|
||||
#define INT_METER_OPERATE_MAX 0x820F // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4><EFBFBD><EFBFBD>
|
||||
#define INT_METER_PARA_MAX 0x827F // <20>ڲ<EFBFBD>16bit<69><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0x8220-0x827F
|
||||
#define INT_METER_DWORD_PARA_MAX 0x82FF // <20>ڲ<EFBFBD>32bit<69><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0x8290-0x82FF
|
||||
#define INT_METER_OPERATE_MAX 0x82FF
|
||||
#define INT_METER_CODE_MAX 0x8330 // ʵʱ<CAB5><CAB1><EFBFBD>ݶ<EFBFBD>ȡ
|
||||
#define INT_METER_SYS_MAX 0x84FF // ϵͳ״̬<D7B4><CCAC>ȡ
|
||||
#define INT_METER_INFO_MAX (INT_METER_INFO+0x00ff)
|
||||
#define INT_METER_PARA_MAX (INT_METER_PARA+0x00ff)
|
||||
#define INT_METER_CODE_MAX (INT_METER_CODE+0x00ff)
|
||||
#define INT_METER_SYS_MAX (INT_METER_SYS+0x00ff)
|
||||
//#define INT_METER_85FF +0x00ff)
|
||||
//#define INT_METER_86FF +0x00ff)
|
||||
|
||||
/******************************************************************************/
|
||||
// for factory control
|
||||
@@ -85,37 +82,6 @@
|
||||
#define INT_CURVE_NODE36 (INT_CURVE_BASE+105)
|
||||
#define INT_CURVE_MAX (INT_CURVE_NODE1 + CURVE_DATA_MAX*3)
|
||||
|
||||
/*******************************************************************************/
|
||||
// Variable Address 0x8100 // flowrate
|
||||
// system complier infomation
|
||||
// For System work state
|
||||
#define INT_SYS_STATE 0x8400
|
||||
#define INT_SYS_MODE 0x8401
|
||||
#define INT_HARD_STATE 0x8402
|
||||
#define INT_SWTICH_STATE 0x8403
|
||||
#define INT_SYSTEM_VOLTAGE 0x8404
|
||||
#define INT_PRODUCT_MODEL 0x8405 // 06 07 08 09 0a // 0b 0c 0d 0e 0f
|
||||
#define INT_BUILD_DATE 0x840B // 0x840B 840C 840D 840E 840F
|
||||
|
||||
#define INT_NC_8411 0x8411 // <20><><EFBFBD>߱궨ʱ<EAB6A8>Ļ<EFBFBD><C4BB><EFBFBD><EFBFBD>¶<EFBFBD>
|
||||
#define INT_FR_PPM 0x8412 // PPM
|
||||
#define INT_STD_TA 0x8413 // <20><><EFBFBD>¶<EFBFBD> STD
|
||||
#define INT_CODE_COEFF 0x8414 // TR<54>¶<EFBFBD>ϵ<EFBFBD><CFB5> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>ϵ<EFBFBD><CFB5>
|
||||
#define INT_TA_DELTA 0x8415 // MCU<43>¶<EFBFBD><C2B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ
|
||||
#define INT_BL_FLOW 0x8416
|
||||
#define INT_DOP_VALUE 0x8417 // <20><><EFBFBD>ֵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
#define INT_BPS 0x8419 // УʱBPS
|
||||
|
||||
#define INT_DAC_ADJUST_OUT1 0x841A //
|
||||
#define INT_DAC_ADJUST_OUT2 0x841B //
|
||||
#define INT_DAC_ADJUST_OUT3 0x841C //
|
||||
#define INT_DAC_ADJUST_OVER 0x841D //
|
||||
#define INT_ZERO_CALIB_COUNTER 0x841E //
|
||||
|
||||
/*******************************************************************************/
|
||||
// FIX Address 0x8400 // flowrate
|
||||
// system complier infomation
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
#define INT_FIX_INFO_MAX 0x8200
|
||||
#define INT_REG_BASE 0x8200
|
||||
// fixed Read Address
|
||||
@@ -132,16 +98,84 @@
|
||||
#define INT_CALIB_DEPTH 0x820B // 2Byte [Disable Write]
|
||||
#define INT_CALIB_WIDTH 0x820C // 2Byte [Disable Write]
|
||||
// Variable Address
|
||||
#define INT_COMMAND 0x820D // internal control start address [Disable Read]
|
||||
#define INT_COMMAND 0x820D //internal control start address [Disable Read]
|
||||
#define INT_CONTROL 0x820D // mode control:9d 45, 9D 00, 55 [Disable Read]
|
||||
#define INT_CLEAR_RECORD 0x820E // clear data record: [Disable Read]
|
||||
#define INT_TEST_OFFSET 0x820F // [Disable Read]
|
||||
|
||||
// parameter Address [16 bit] 0x8210 - 0x827F
|
||||
// parameter Address
|
||||
#define INT_PARAMETER 0x8210 // internal parameter write and read address start
|
||||
#define INT_PROTOCOL 0x8210 // MODBUS Slaver Addr
|
||||
#define INT_SLAVER_ADDR 0x8211 // MODBUS Slaver Addr
|
||||
#define INT_METER_FACTOR 0x8212
|
||||
#define INT_GDCF 0x8213
|
||||
#define INT_MAX_FLOW 0x8214
|
||||
#define INT_OFFSET_GAS 0x8216
|
||||
#define INT_OFFSET_AIR 0x8217
|
||||
#define INT_SAMPLE_PERIOD 0x8218
|
||||
#define INT_HISTORY_PERIOD 0x8219
|
||||
#define INT_PULSE_UNIT 0x821A
|
||||
//#define INT_MAX_LOOP_FR 0x821B
|
||||
#define INT_SENSOR_SN 0x821D // 0x821D/0x821E/0x821F
|
||||
|
||||
// parameter Address [32 bit] 0x8290
|
||||
#define INT_TOTAL_ACC 0x8220 // 0x8220-0x8225
|
||||
#define INT_CALIB_TA 0x8226 // 0x8226
|
||||
#define INT_OFFSET_A_GAS 0x8227
|
||||
#define INT_OFFSET_A_AIR 0x8228
|
||||
#define INT_ATYPE_INDEX_GAIN 0x8229
|
||||
#define INT_GDCF_ATYPE 0x822A
|
||||
#define INT_GDCF_CTYPE 0x822B
|
||||
#define INT_CALIB_PIPE 0x822C
|
||||
#define INT_WORK_PIPE 0x822D
|
||||
#define INT_WORK_UNIT 0x822E
|
||||
#define INT_DIS_LANGUAGE 0x822F
|
||||
#define INT_ACC_OUT_BIT 0x8230
|
||||
#define INT_REVERSE_SCALE 0x8231
|
||||
#define INT_VHH_HIGH 0x8232
|
||||
#define INT_VHH_ROOM 0x8233
|
||||
#define INT_VHH_LOW 0x8234
|
||||
#define INT_NRH_HIGH 0x8235
|
||||
#define INT_NRH_ROOM 0x8236
|
||||
#define INT_NRH_LOW 0x8237
|
||||
#define INT_NRR_HIGH 0x8238
|
||||
#define INT_NRR_ROOM 0x8239
|
||||
#define INT_NRR_LOW 0x823A
|
||||
#define INT_GCF_A 0x823B
|
||||
#define INT_GCF_B 0x823D
|
||||
#define INT_GCF_C 0x823E
|
||||
#define INT_RH_GAINRES 0x8240
|
||||
#define INT_ZERO_SUPPRESSION 0x8244
|
||||
#define INT_STATIC_LOW_TA 0x8245
|
||||
#define INT_STATIC_HIGH_TA 0x8246
|
||||
#define INT_PULSE_COUNTER 0x8247 // byte = 4
|
||||
#define INT_ATYPE_RC 0x8249 //
|
||||
#define INT_ATYPE_WIPER 0x824A //
|
||||
#define INT_CTYPE_WIPER 0x824B //
|
||||
#define INT_CTYPE_ADC 0x824C //
|
||||
#define INT_OFFSET_HIGH 0x824D //
|
||||
#define INT_OFFSET_LOW 0x824E //
|
||||
#define INT_TRH_HIGH 0x824F //
|
||||
#define INT_TRH_LOW 0x8250 //
|
||||
#define INT_MEMS_RATIO 0x8251 //
|
||||
#define INT_SYS_LCD 0x8252 //
|
||||
#define INT_SYS_CHIP 0x8253 //
|
||||
#define INT_TEMP_CORR 0x8254 //
|
||||
#define INT_OFFSET_VDUGX_GAS 0x8255
|
||||
#define INT_OFFSET_VDUGX_AIR 0x8256
|
||||
#define INT_OFFSET_RGINX 0x8257
|
||||
#define INT_NRH_P50 0x8258
|
||||
#define INT_NRH_P0 0x8259
|
||||
#define INT_ADC_GAIN 0x825A
|
||||
#define INT_RES_FACTOR 0x825B
|
||||
#define INT_BATTEST_PERIOD 0x825C
|
||||
#define INT_FR_SWITCH_POINT 0x825D
|
||||
#define INT_CALIB_FR_GAIN 0x825F // У<D0A3><D7BC><EFBFBD><EFBFBD><EFBFBD>Ŵ<EFBFBD><C5B4><EFBFBD><EFBFBD><EFBFBD>
|
||||
#define INT_AUTO_CALIB_ATYPE 0x8260
|
||||
#define INT_USER_INIT_INDEX 0x8261
|
||||
#define INT_DIVHX_HIGH 0x8262
|
||||
#define INT_DIVHX_ROOM 0x8263
|
||||
#define INT_DIVHX_LOW 0x8264
|
||||
#define INT_VDUGX_HIGH 0x8265
|
||||
#define INT_VDUGX_ROOM 0x8266
|
||||
#define INT_VDUGX_LOW 0x8267
|
||||
|
||||
//==============================================================================
|
||||
// Variable Address(read:MAX 8 Line)
|
||||
@@ -202,6 +236,31 @@
|
||||
#define SAMPLING_MAX (INT_SAMPLING_MAX - INT_SAMPLING_DATA1)
|
||||
|
||||
/*******************************************************************************/
|
||||
// Variable Address 0x8400 // flowrate
|
||||
// system complier infomation
|
||||
// For System work state
|
||||
#define INT_SYS_STATE 0x8400
|
||||
#define INT_SYS_MODE 0x8401
|
||||
#define INT_HARD_STATE 0x8402
|
||||
#define INT_SWTICH_STATE 0x8403
|
||||
#define INT_SYSTEM_VOLTAGE 0x8404
|
||||
#define INT_PRODUCT_MODEL 0x8405// 06 07 08 09 0a // 0b 0c 0d 0e 0f
|
||||
#define INT_BUILD_DATE 0x840B
|
||||
#define INT_PGA_SCALE 0x8410 // PGA<47>Ŵ<EFBFBD><C5B4><EFBFBD><EFBFBD><EFBFBD>
|
||||
#define INT_NC_8411 0x8411 // <20><><EFBFBD>߱궨ʱ<EAB6A8>Ļ<EFBFBD><C4BB><EFBFBD><EFBFBD>¶<EFBFBD>
|
||||
#define INT_FR_PPM 0x8412 // PPM
|
||||
#define INT_STD_TA 0x8413 // <20><><EFBFBD>¶<EFBFBD> STD
|
||||
#define INT_CODE_COEFF 0x8414 // TR<54>¶<EFBFBD>ϵ<EFBFBD><CFB5> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>ϵ<EFBFBD><CFB5>
|
||||
#define INT_TA_DELTA 0x8415 // MCU<43>¶<EFBFBD><C2B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ
|
||||
#define INT_BL_FLOW 0x8416
|
||||
#define INT_DOP_VALUE 0x8417 // <20><><EFBFBD>ֵ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
#define INT_BPS 0x8419 // УʱBPS
|
||||
|
||||
#define INT_DAC_ADJUST_OUT1 0x841A //
|
||||
#define INT_DAC_ADJUST_OUT2 0x841B //
|
||||
#define INT_DAC_ADJUST_OUT3 0x841C //
|
||||
#define INT_DAC_ADJUST_OVER 0x841D //
|
||||
#define INT_ZERO_CALIB_COUNTER 0x841E //
|
||||
//==============================================================================
|
||||
// fixed Read Address
|
||||
#define INT_UPDATE_APP 0xDF00
|
||||
@@ -239,308 +298,278 @@
|
||||
#define INTCMD_PRESET_OFFSET_END (('P'<<8)+'D') //0x5044
|
||||
#define INTCMD_CALIB_HTEMP_END (('H'<<8)+'D') //0x4844
|
||||
#define INTCMD_CALIB_LTEMP_END (('L'<<8)+'D') //0x4C44
|
||||
#define INTCMD_CALIB_TEMP_END (('H'<<8)+'L') //
|
||||
|
||||
#define INTCMD_RECOGNITION_TABLE INTCMD_2ND_TABLE
|
||||
#define INTCMD_TA_TABLE INTCMD_1ST_TABLE
|
||||
|
||||
#define INTCMD_ZERO_CALIB_HEX 0xC1
|
||||
/***********************************************************************************************/
|
||||
/****************************************************************************************************************************************/
|
||||
|
||||
//To Flash
|
||||
#define INT_SN_BASE 0x8000 //6
|
||||
#define INT_ALARMSTATE 0x8006 //4
|
||||
#define INT_FLOWRATE 0x800A //2
|
||||
/***********************************************************************************************/
|
||||
// <20><><EFBFBD><EFBFBD>ָ<EFBFBD>붨<EFBFBD><EBB6A8>
|
||||
#define REG_WORD_START 0x8210
|
||||
#define REG_0X8210 (0x8210 - REG_WORD_START)
|
||||
#define REG_0X8211 (0x8211 - REG_WORD_START)
|
||||
#define REG_0X8212 (0x8212 - REG_WORD_START)
|
||||
#define REG_0X8213 (0x8213 - REG_WORD_START)
|
||||
#define REG_0X8214 (0x8214 - REG_WORD_START)
|
||||
#define REG_0X8215 (0x8215 - REG_WORD_START)
|
||||
#define REG_0X8216 (0x8216 - REG_WORD_START)
|
||||
#define REG_0X8217 (0x8217 - REG_WORD_START)
|
||||
#define REG_0X8218 (0x8218 - REG_WORD_START)
|
||||
#define REG_0X8219 (0x8219 - REG_WORD_START)
|
||||
#define REG_0X821A (0x821A - REG_WORD_START)
|
||||
#define REG_0X821B (0x821B - REG_WORD_START)
|
||||
#define REG_0X821C (0x821C - REG_WORD_START)
|
||||
#define REG_0X821D (0x821D - REG_WORD_START)
|
||||
#define REG_0X821E (0x821E - REG_WORD_START)
|
||||
#define REG_0X821F (0x821F - REG_WORD_START)
|
||||
#define REG_0X8220 (0x8220 - REG_WORD_START)
|
||||
#define REG_0X8221 (0x8221 - REG_WORD_START)
|
||||
#define REG_0X8222 (0x8222 - REG_WORD_START)
|
||||
#define REG_0X8223 (0x8223 - REG_WORD_START)
|
||||
#define REG_0X8224 (0x8224 - REG_WORD_START)
|
||||
#define REG_0X8225 (0x8225 - REG_WORD_START)
|
||||
#define REG_0X8226 (0x8226 - REG_WORD_START)
|
||||
#define REG_0X8227 (0x8227 - REG_WORD_START)
|
||||
#define REG_0X8228 (0x8228 - REG_WORD_START)
|
||||
#define REG_0X8229 (0x8229 - REG_WORD_START)
|
||||
#define REG_0X822A (0x822A - REG_WORD_START)
|
||||
#define REG_0X822B (0x822B - REG_WORD_START)
|
||||
#define REG_0X822C (0x822C - REG_WORD_START)
|
||||
#define REG_0X822D (0x822D - REG_WORD_START)
|
||||
#define REG_0X822E (0x822E - REG_WORD_START)
|
||||
#define REG_0X822F (0x822F - REG_WORD_START)
|
||||
#define REG_0X8230 (0x8230 - REG_WORD_START)
|
||||
#define REG_0X8231 (0x8231 - REG_WORD_START)
|
||||
#define REG_0X8232 (0x8232 - REG_WORD_START)
|
||||
#define REG_0X8233 (0x8233 - REG_WORD_START)
|
||||
#define REG_0X8234 (0x8234 - REG_WORD_START)
|
||||
#define REG_0X8235 (0x8235 - REG_WORD_START)
|
||||
#define REG_0X8236 (0x8236 - REG_WORD_START)
|
||||
#define REG_0X8237 (0x8237 - REG_WORD_START)
|
||||
#define REG_0X8238 (0x8238 - REG_WORD_START)
|
||||
#define REG_0X8239 (0x8239 - REG_WORD_START)
|
||||
#define REG_0X823A (0x823A - REG_WORD_START)
|
||||
#define REG_0X823B (0x823B - REG_WORD_START)
|
||||
#define REG_0X823C (0x823C - REG_WORD_START)
|
||||
#define REG_0X823D (0x823D - REG_WORD_START)
|
||||
#define REG_0X823E (0x823E - REG_WORD_START)
|
||||
#define REG_0X823F (0x823F - REG_WORD_START)
|
||||
#define REG_0X8240 (0x8240 - REG_WORD_START)
|
||||
#define REG_0X8241 (0x8241 - REG_WORD_START)
|
||||
#define REG_0X8242 (0x8242 - REG_WORD_START)
|
||||
#define REG_0X8243 (0x8243 - REG_WORD_START)
|
||||
#define REG_0X8244 (0x8244 - REG_WORD_START)
|
||||
#define REG_0X8245 (0x8245 - REG_WORD_START)
|
||||
#define REG_0X8246 (0x8246 - REG_WORD_START)
|
||||
#define REG_0X8247 (0x8247 - REG_WORD_START)
|
||||
#define REG_0X8248 (0x8248 - REG_WORD_START)
|
||||
#define REG_0X8249 (0x8249 - REG_WORD_START)
|
||||
#define REG_0X824A (0x824A - REG_WORD_START)
|
||||
#define REG_0X824B (0x824B - REG_WORD_START)
|
||||
#define REG_0X824C (0x824C - REG_WORD_START)
|
||||
#define REG_0X824D (0x824D - REG_WORD_START)
|
||||
#define REG_0X824E (0x824E - REG_WORD_START)
|
||||
#define REG_0X824F (0x824F - REG_WORD_START)
|
||||
#define REG_0X8250 (0x8250 - REG_WORD_START)
|
||||
#define REG_0X8251 (0x8251 - REG_WORD_START)
|
||||
#define REG_0X8252 (0x8252 - REG_WORD_START)
|
||||
#define REG_0X8253 (0x8253 - REG_WORD_START)
|
||||
#define REG_0X8254 (0x8254 - REG_WORD_START)
|
||||
#define REG_0X8255 (0x8255 - REG_WORD_START)
|
||||
#define REG_0X8256 (0x8256 - REG_WORD_START)
|
||||
#define REG_0X8257 (0x8257 - REG_WORD_START)
|
||||
#define REG_0X8258 (0x8258 - REG_WORD_START)
|
||||
#define REG_0X8259 (0x8259 - REG_WORD_START)
|
||||
#define REG_0X825A (0x825A - REG_WORD_START)
|
||||
#define REG_0X825B (0x825B - REG_WORD_START)
|
||||
#define REG_0X825C (0x825C - REG_WORD_START)
|
||||
#define REG_0X825D (0x825D - REG_WORD_START)
|
||||
#define REG_0X825E (0x825E - REG_WORD_START)
|
||||
#define REG_0X825F (0x825F - REG_WORD_START)
|
||||
#define REG_0X8260 (0x8260 - REG_WORD_START)
|
||||
#define REG_0X8261 (0x8261 - REG_WORD_START)
|
||||
#define REG_0X8262 (0x8262 - REG_WORD_START)
|
||||
#define REG_0X8263 (0x8263 - REG_WORD_START)
|
||||
#define REG_0X8264 (0x8264 - REG_WORD_START)
|
||||
#define REG_0X8265 (0x8265 - REG_WORD_START)
|
||||
#define REG_0X8266 (0x8266 - REG_WORD_START)
|
||||
#define REG_0X8267 (0x8267 - REG_WORD_START)
|
||||
#define REG_0X8268 (0x8268 - REG_WORD_START)
|
||||
#define REG_0X8269 (0x8269 - REG_WORD_START)
|
||||
#define REG_0X826A (0x826A - REG_WORD_START)
|
||||
#define REG_0X826B (0x826B - REG_WORD_START)
|
||||
#define REG_0X826C (0x826C - REG_WORD_START)
|
||||
#define REG_0X826D (0x826D - REG_WORD_START)
|
||||
#define REG_0X826E (0x826E - REG_WORD_START)
|
||||
#define REG_0X826F (0x826F - REG_WORD_START)
|
||||
#define REG_0X8270 (0x8270 - REG_WORD_START)
|
||||
#define REG_0X8271 (0x8271 - REG_WORD_START)
|
||||
#define REG_0X8272 (0x8272 - REG_WORD_START)
|
||||
#define REG_0X8273 (0x8273 - REG_WORD_START)
|
||||
#define REG_0X8274 (0x8274 - REG_WORD_START)
|
||||
#define REG_0X8275 (0x8275 - REG_WORD_START)
|
||||
#define REG_0X8276 (0x8276 - REG_WORD_START)
|
||||
#define REG_0X8277 (0x8277 - REG_WORD_START)
|
||||
#define REG_0X8278 (0x8278 - REG_WORD_START)
|
||||
#define REG_0X8279 (0x8279 - REG_WORD_START)
|
||||
#define REG_0X827A (0x827A - REG_WORD_START)
|
||||
#define REG_0X827B (0x827B - REG_WORD_START)
|
||||
#define REG_0X827C (0x827C - REG_WORD_START)
|
||||
#define REG_0X827D (0x827D - REG_WORD_START)
|
||||
#define REG_0X827E (0x827E - REG_WORD_START)
|
||||
#define REG_0X827F (0x827F - REG_WORD_START)
|
||||
#define WORD_INX_MAX (REG_0X827F + 1)
|
||||
#define INT_SN_BASE 0x8000 //6
|
||||
#define INT_ALARMSTATE 0x8006 //4
|
||||
#define INT_FLOWRATE 0x800A //2
|
||||
|
||||
#define REG_DWORD_START 0X8280
|
||||
#define REG_0X8280 (0X8280 - REG_DWORD_START)
|
||||
#define REG_0X8282 (0X8282 - REG_DWORD_START)
|
||||
#define REG_0X8284 (0X8284 - REG_DWORD_START)
|
||||
#define REG_0X8286 (0X8286 - REG_DWORD_START)
|
||||
#define REG_0X8288 (0X8288 - REG_DWORD_START)
|
||||
#define REG_0X828A (0X828A - REG_DWORD_START)
|
||||
#define REG_0X828C (0X828C - REG_DWORD_START)
|
||||
#define REG_0X828E (0X828E - REG_DWORD_START)
|
||||
#define REG_0X8290 (0X8290 - REG_DWORD_START)
|
||||
#define REG_0X8292 (0X8292 - REG_DWORD_START)
|
||||
#define REG_0X8294 (0X8294 - REG_DWORD_START)
|
||||
#define REG_0X8296 (0X8296 - REG_DWORD_START)
|
||||
#define REG_0X8298 (0X8298 - REG_DWORD_START)
|
||||
#define REG_0X829A (0X829A - REG_DWORD_START)
|
||||
#define REG_0X829C (0X828C - REG_DWORD_START)
|
||||
#define REG_0X829E (0X828E - REG_DWORD_START)
|
||||
#define DWORD_INX_MAX (REG_0X829E+1)
|
||||
|
||||
//MAX MIN DEFAULT
|
||||
#define INT_WORD_REG_MAX 112
|
||||
#define REG_0X8200_VALUE {65535,0,0}
|
||||
#define REG_0X8201_VALUE {65535,0,0}
|
||||
#define REG_0X8202_VALUE {65535,0,0}
|
||||
#define REG_0X8203_VALUE {65535,0,0}
|
||||
#define REG_0X8204_VALUE {65535,0,0}
|
||||
#define REG_0X8205_VALUE {65535,0,0}
|
||||
#define REG_0X8206_VALUE {65535,0,0}
|
||||
#define REG_0X8207_VALUE {65535,0,0}
|
||||
#define REG_0X8208_VALUE {65535,0,0}
|
||||
#define REG_0X8209_VALUE {65535,0,0}
|
||||
#define REG_0X820A_VALUE {65535,0,0}
|
||||
#define REG_0X820B_VALUE {65535,0,0}
|
||||
#define REG_0X820C_VALUE {65535,0,0}
|
||||
#define REG_0X820D_VALUE {65535,0,0}
|
||||
#define REG_0X820E_VALUE {65535,0,0}
|
||||
#define REG_0X820F_VALUE {65535,0,0}
|
||||
//#define meterSN1 0x8000
|
||||
//#define meterSN2 0x8001
|
||||
//#define meterSN3 0x8002
|
||||
//#define meterSN4 0x8003
|
||||
//#define meterSN5 0x8004
|
||||
//#define meterSN6 0x8005
|
||||
//#define alarmState 0x8006
|
||||
//#define alarmState1 0x8007
|
||||
//#define alarmState2 0x8008
|
||||
//#define alarmState3 0x8009
|
||||
//#define flowRateH 0x800A
|
||||
//#define flowRateL 0x800B
|
||||
//#define flowAccumulationIntegerH 0x800C
|
||||
//#define flowAccumulationIntegerL 0x800D
|
||||
//#define flowAccumulationDecimal 0x800E
|
||||
//#define PCBTemperature 0x800F
|
||||
//#define GasTemperature 0x8010
|
||||
////#define 0x8011
|
||||
////#define 0x8012
|
||||
////#define 0x8013
|
||||
////#define 0x8014
|
||||
//#define GASPressureH 0x8015
|
||||
//#define GASPressureL 0x8016
|
||||
//#define density 0x8017
|
||||
//#define batteryCY 0x8018
|
||||
//#define batteryVoltage 0x8019
|
||||
//#define batteryDay 0x801A
|
||||
//#define batteryRDay 0x801B
|
||||
//#define ComBatteryCY 0x801C
|
||||
//#define ComBatteryVoltage 0x801D
|
||||
//#define ComBatteryDay 0x801E
|
||||
//#define ComBatteryRDay 0x801F
|
||||
//#define useMinte 0x8020
|
||||
//#define useHourH 0x8021
|
||||
//#define useHourL 0x8022
|
||||
//#define VHHParameter 0x8023
|
||||
////#define 0x8024
|
||||
////#define 0x8025
|
||||
//#define flowAccumulationHexH 0x8026
|
||||
//#define flowAccumulationHexHM 0x8027
|
||||
//#define flowAccumulationHexLM 0x8028
|
||||
//#define flowAccumulationHexL 0x8029
|
||||
////#define 0x802A
|
||||
////#define 0x802B
|
||||
////#define 0x802C
|
||||
////#define 0x802D
|
||||
////#define 0x802E
|
||||
//#define densityFSParameter 0x802F
|
||||
////#define 0x8030
|
||||
////#define 0x8031
|
||||
////#define 0x8032
|
||||
////#define 0x8033
|
||||
////#define 0x8034
|
||||
////#define 0x8035
|
||||
////#define 0x8036
|
||||
////#define 0x8037
|
||||
////#define 0x8038
|
||||
////#define 0x8039
|
||||
////#define 0x803A
|
||||
////#define 0x803B
|
||||
////#define 0x803C
|
||||
////#define 0x803D
|
||||
////#define 0x803E
|
||||
////#define 0x803F
|
||||
////#define 0x8040
|
||||
////#define 0x8041
|
||||
////#define 0x8042
|
||||
////#define 0x8043
|
||||
////#define 0x8044
|
||||
////#define 0x8045
|
||||
////#define 0x8046
|
||||
////#define 0x8047
|
||||
////#define 0x8048
|
||||
////#define 0x8049
|
||||
////#define 0x804A
|
||||
////#define 0x804B
|
||||
////#define 0x804C
|
||||
////#define 0x804D
|
||||
//#define softCRCCode 0x804E
|
||||
//#define softVersion 0x804F
|
||||
//#define protocol 0x8050
|
||||
//#define localAddress 0x8051
|
||||
//#define baudRate 0x8052
|
||||
//#define minFlowRateH 0x8053
|
||||
//#define minFlowRateL 0x8054
|
||||
//#define maxFlowRateH 0x8055
|
||||
//#define maxFlowRateL 0x8056
|
||||
//#define minAnalogOutputH 0x8057
|
||||
//#define minAnalogOutputL 0x8058
|
||||
//#define maxAnalogOutputH 0x8059
|
||||
//#define maxAnalogOutputL 0x805A
|
||||
//#define GDCFactor 0x805B
|
||||
//#define filterTime 0x805C
|
||||
//#define responseTime 0x805D
|
||||
//#define offsetGas 0x805E
|
||||
//#define offsetGasA 0x805F
|
||||
//#define flowUnit 0x8060
|
||||
//#define VHHParameterAir 0x8061
|
||||
//#define VHHParameterScale 0x8062
|
||||
//#define factoryUnitPerPulse 0x8063
|
||||
//#define PulseLevel 0x8064
|
||||
//#define samplingTiming 0x8065
|
||||
//#define alarmAccH 0x8066
|
||||
//#define alarmAccL 0x8067
|
||||
//#define alarmUpperFlowRateH 0x8068
|
||||
//#define alarmUpperFlowRateL 0x8069
|
||||
//#define alarmLowerFlowRateH 0x806A
|
||||
//#define alarmLowerFlowRateL 0x806B
|
||||
//#define alarmFunction 0x806C
|
||||
//#define alarmOutDelay 0x806D
|
||||
//#define uartDecimalPoint 0x806E
|
||||
//#define historyPeriod 0x806F
|
||||
//#define reverseFlowRateMinH 0x8070
|
||||
//#define reverseFlowRateMinL 0x8071
|
||||
//#define reverseFlowRateMaxH 0x8072
|
||||
//#define reverseFlowRateMaxL 0x8073
|
||||
//#define I2CAddr 0x8074
|
||||
//#define I2CCrcMod 0x8075
|
||||
//#define timingTxdStart 0x8076
|
||||
//#define timingTxdLen 0x8077
|
||||
//#define timingTxdTime 0x8078
|
||||
//#define pressureOffset 0x8079
|
||||
////#define 0x807A
|
||||
////#define 0x807B
|
||||
////#define 0x807C
|
||||
////#define 0x807D
|
||||
//#define keyPassWordH 0x807E
|
||||
//#define keyPassWordL 0x807F
|
||||
////#define 0x8080
|
||||
////#define 0x8081
|
||||
////#define 0x8082
|
||||
////#define 0x8083
|
||||
////#define 0x8084
|
||||
////#define 0x8085
|
||||
////#define 0x8086
|
||||
////#define 0x8088
|
||||
////#define 0x8088
|
||||
////#define 0x8089
|
||||
////#define 0x808A
|
||||
////#define 0x808B
|
||||
////#define 0x808C
|
||||
////#define 0x808D
|
||||
////#define 0x808E
|
||||
////#define 0x808F
|
||||
////#define 0x8090
|
||||
////#define 0x8091
|
||||
////#define 0x8092
|
||||
////#define 0x8093
|
||||
////#define 0x8094
|
||||
////#define 0x8095
|
||||
////#define 0x8099
|
||||
////#define 0x8097
|
||||
////#define 0x8098
|
||||
////#define 0x8099
|
||||
////#define 0x809A
|
||||
////#define 0x809B
|
||||
////#define 0x809C
|
||||
////#define 0x809D
|
||||
////#define 0x809E
|
||||
////#define 0x809F
|
||||
////#define 0x80A0
|
||||
////#define 0x80A1
|
||||
////#define 0x80A2
|
||||
////#define 0x80A3
|
||||
////#define 0x80A4
|
||||
////#define 0x80A5
|
||||
////#define 0x80A6
|
||||
////#define 0x80A7
|
||||
////#define 0x80A8
|
||||
////#define 0x80A9
|
||||
//#define minLeakFlowRate 0x80AA
|
||||
//#define maxLeakFlowRate 0x80AB
|
||||
//#define leakDetectTime 0x80AC
|
||||
////#define 0x80AD
|
||||
//#define GDCFactorAType 0x80AE
|
||||
////#define 0x80AF
|
||||
////#define 0x80B0
|
||||
////#define 0x80B1
|
||||
////#define 0x80B2
|
||||
////#define 0x80B3
|
||||
////#define 0x80B4
|
||||
////#define 0x80B5
|
||||
////#define 0x80B6
|
||||
////#define 0x80BB
|
||||
////#define 0x80B8
|
||||
////#define 0x80B9
|
||||
////#define 0x80BA
|
||||
////#define 0x80BB
|
||||
////#define 0x80BC
|
||||
////#define 0x80BD
|
||||
////#define 0x80BE
|
||||
////#define 0x80BF
|
||||
//#define CMDCalOffset 0x80C0
|
||||
//#define CMDClrRecord 0x80C1
|
||||
////#define 0x80C2
|
||||
////#define 0x80C3
|
||||
////#define 0x80C4
|
||||
////#define 0x80C5
|
||||
////#define 0x80C6
|
||||
////#define 0x80C7
|
||||
////#define 0x80C8
|
||||
////#define 0x80C9
|
||||
////#define 0x80CA
|
||||
////#define 0x80CB
|
||||
////#define 0x80CC
|
||||
////#define 0x80CD
|
||||
////#define 0x80CE
|
||||
//#define CMDComPassword 0x80CF
|
||||
//#define MAPPoint1 0x80D0
|
||||
//#define MAPPoint2 0x80D1
|
||||
//#define MAPPoint3 0x80D2
|
||||
//#define MAPPoint4 0x80D3
|
||||
//#define MAPPoint5 0x80D4
|
||||
//#define MAPPoint6 0x80D5
|
||||
//#define MAPPoint7 0x80D6
|
||||
//#define MAPPoint8 0x80D7
|
||||
//#define MAPPoint9 0x80D8
|
||||
//#define MAPPoint10 0x80D9
|
||||
//#define MAPPoint11 0x80DA
|
||||
//#define MAPPoint12 0x80DB
|
||||
//#define MAPPoint13 0x80DC
|
||||
//#define MAPPoint14 0x80DD
|
||||
//#define MAPPoint15 0x80DE
|
||||
//#define MAPPoint16 0x80DF
|
||||
//#define MAPPoint17 0x80E0
|
||||
//#define MAPPoint18 0x80E1
|
||||
//#define MAPPoint19 0x80E2
|
||||
//#define MAPPoint20 0x80E3
|
||||
//#define MAPPoint21 0x80E4
|
||||
//#define MAPPoint22 0x80E5
|
||||
//#define MAPPoint23 0x80E6
|
||||
//#define MAPPoint24 0x80E7
|
||||
//#define MAPPoint25 0x80E8
|
||||
//#define MAPPoint26 0x80E9
|
||||
//#define MAPPoint27 0x80EA
|
||||
//#define MAPPoint28 0x80EB
|
||||
//#define MAPPoint29 0x80EC
|
||||
//#define MAPPoint30 0x80ED
|
||||
//#define MAPPoint31 0x80EE
|
||||
//#define MAPPoint32 0x80EF
|
||||
//#define MAPPoint33 0x80F0
|
||||
//#define MAPPoint34 0x80F1
|
||||
//#define MAPPoint35 0x80F2
|
||||
//#define MAPPoint36 0x80F3
|
||||
//#define MAPPoint37 0x80F4
|
||||
//#define MAPPoint38 0x80F5
|
||||
//#define MAPPoint39 0x80F6
|
||||
//#define MAPPoint40 0x80F7
|
||||
//#define MAPPoint41 0x80F8
|
||||
//#define MAPPoint42 0x80F9
|
||||
//#define MAPPoint43 0x80FA
|
||||
//#define MAPPoint44 0x80FB
|
||||
//#define MAPPoint45 0x80FC
|
||||
//#define MAPPoint46 0x80FD
|
||||
//#define MAPPoint47 0x80FE
|
||||
//#define MAPPoint48 0x80FF
|
||||
|
||||
#define REG_0X8210_VALUE {65535,0,0}
|
||||
#define REG_0X8211_VALUE {65535,0,0}
|
||||
#define REG_0X8212_VALUE {65535,0,0}
|
||||
#define REG_0X8213_VALUE {65535,0,0}
|
||||
#define REG_0X8214_VALUE {65535,0,0}
|
||||
#define REG_0X8215_VALUE {65535,0,0}
|
||||
#define REG_0X8216_VALUE {65535,0,0}
|
||||
#define REG_0X8217_VALUE {65535,0,0}
|
||||
#define REG_0X8218_VALUE {65535,0,0}
|
||||
#define REG_0X8219_VALUE {65535,0,0}
|
||||
#define REG_0X821A_VALUE {65535,0,0}
|
||||
#define REG_0X821B_VALUE {65535,0,0}
|
||||
#define REG_0X821C_VALUE {65535,0,0}
|
||||
#define REG_0X821D_VALUE {65535,0,0}
|
||||
#define REG_0X821E_VALUE {65535,0,0}
|
||||
#define REG_0X821F_VALUE {65535,0,0}
|
||||
|
||||
#define REG_0X8220_VALUE {65535,0,0}
|
||||
#define REG_0X8221_VALUE {65535,0,0}
|
||||
#define REG_0X8222_VALUE {65535,0,0}
|
||||
#define REG_0X8223_VALUE {65535,0,0}
|
||||
#define REG_0X8224_VALUE {65535,0,0}
|
||||
#define REG_0X8225_VALUE {65535,0,0}
|
||||
#define REG_0X8226_VALUE {65535,0,0}
|
||||
#define REG_0X8227_VALUE {65535,0,0}
|
||||
#define REG_0X8228_VALUE {65535,0,0}
|
||||
#define REG_0X8229_VALUE {65535,0,0}
|
||||
#define REG_0X822A_VALUE {65535,0,0}
|
||||
#define REG_0X822B_VALUE {65535,0,0}
|
||||
#define REG_0X822C_VALUE {65535,0,0}
|
||||
#define REG_0X822D_VALUE {65535,0,0}
|
||||
#define REG_0X822E_VALUE {65535,0,0}
|
||||
#define REG_0X822F_VALUE {65535,0,0}
|
||||
|
||||
#define REG_0X8230_VALUE {65535,0,0}
|
||||
#define REG_0X8231_VALUE {65535,0,0}
|
||||
#define REG_0X8232_VALUE {65535,0,0}
|
||||
#define REG_0X8233_VALUE {65535,0,0}
|
||||
#define REG_0X8234_VALUE {65535,0,0}
|
||||
#define REG_0X8235_VALUE {65535,0,0}
|
||||
#define REG_0X8236_VALUE {65535,0,0}
|
||||
#define REG_0X8237_VALUE {65535,0,0}
|
||||
#define REG_0X8238_VALUE {65535,0,0}
|
||||
#define REG_0X8239_VALUE {65535,0,0}
|
||||
#define REG_0X823A_VALUE {65535,0,0}
|
||||
#define REG_0X823B_VALUE {65535,0,0}
|
||||
#define REG_0X823C_VALUE {65535,0,0}
|
||||
#define REG_0X823D_VALUE {65535,0,0}
|
||||
#define REG_0X823E_VALUE {65535,0,0}
|
||||
#define REG_0X823F_VALUE {65535,0,0}
|
||||
|
||||
#define REG_0X8240_VALUE {65535,0,0}
|
||||
#define REG_0X8241_VALUE {65535,0,0}
|
||||
#define REG_0X8242_VALUE {65535,0,0}
|
||||
#define REG_0X8243_VALUE {65535,0,0}
|
||||
#define REG_0X8244_VALUE {65535,0,0}
|
||||
#define REG_0X8245_VALUE {65535,0,0}
|
||||
#define REG_0X8246_VALUE {65535,0,0}
|
||||
#define REG_0X8247_VALUE {65535,0,0}
|
||||
#define REG_0X8248_VALUE {65535,0,0}
|
||||
#define REG_0X8249_VALUE {65535,0,0}
|
||||
#define REG_0X824A_VALUE {65535,0,0}
|
||||
#define REG_0X824B_VALUE {65535,0,0}
|
||||
#define REG_0X824C_VALUE {65535,0,0}
|
||||
#define REG_0X824D_VALUE {65535,0,0}
|
||||
#define REG_0X824E_VALUE {65535,0,0}
|
||||
#define REG_0X824F_VALUE {65535,0,0}
|
||||
|
||||
#define REG_0X8250_VALUE {65535,0,0}
|
||||
#define REG_0X8251_VALUE {65535,0,0}
|
||||
#define REG_0X8252_VALUE {65535,0,0}
|
||||
#define REG_0X8253_VALUE {65535,0,0}
|
||||
#define REG_0X8254_VALUE {65535,0,0}
|
||||
#define REG_0X8255_VALUE {65535,0,0}
|
||||
#define REG_0X8256_VALUE {65535,0,0}
|
||||
#define REG_0X8257_VALUE {65535,0,0}
|
||||
#define REG_0X8258_VALUE {65535,0,0}
|
||||
#define REG_0X8259_VALUE {65535,0,0}
|
||||
#define REG_0X825A_VALUE {65535,0,0}
|
||||
#define REG_0X825B_VALUE {65535,0,0}
|
||||
#define REG_0X825C_VALUE {65535,0,0}
|
||||
#define REG_0X825D_VALUE {65535,0,0}
|
||||
#define REG_0X825E_VALUE {65535,0,0}
|
||||
#define REG_0X825F_VALUE {65535,0,0}
|
||||
|
||||
#define REG_0X8260_VALUE {65535,0,0}
|
||||
#define REG_0X8261_VALUE {65535,0,0}
|
||||
#define REG_0X8262_VALUE {65535,0,0}
|
||||
#define REG_0X8263_VALUE {65535,0,0}
|
||||
#define REG_0X8264_VALUE {65535,0,0}
|
||||
#define REG_0X8265_VALUE {65535,0,0}
|
||||
#define REG_0X8266_VALUE {65535,0,0}
|
||||
#define REG_0X8267_VALUE {65535,0,0}
|
||||
#define REG_0X8268_VALUE {65535,0,0}
|
||||
#define REG_0X8269_VALUE {65535,0,0}
|
||||
#define REG_0X826A_VALUE {65535,0,0}
|
||||
#define REG_0X826B_VALUE {65535,0,0}
|
||||
#define REG_0X826C_VALUE {65535,0,0}
|
||||
#define REG_0X826D_VALUE {65535,0,0}
|
||||
#define REG_0X826E_VALUE {65535,0,0}
|
||||
#define REG_0X826F_VALUE {65535,0,0}
|
||||
|
||||
#define REG_0X8270_VALUE {65535,0,0}
|
||||
#define REG_0X8271_VALUE {65535,0,0}
|
||||
#define REG_0X8272_VALUE {65535,0,0}
|
||||
#define REG_0X8273_VALUE {65535,0,0}
|
||||
#define REG_0X8274_VALUE {65535,0,0}
|
||||
#define REG_0X8275_VALUE {65535,0,0}
|
||||
#define REG_0X8276_VALUE {65535,0,0}
|
||||
#define REG_0X8277_VALUE {65535,0,0}
|
||||
#define REG_0X8278_VALUE {65535,0,0}
|
||||
#define REG_0X8279_VALUE {65535,0,0}
|
||||
#define REG_0X827A_VALUE {65535,0,0}
|
||||
#define REG_0X827B_VALUE {65535,0,0}
|
||||
#define REG_0X827C_VALUE {65535,0,0}
|
||||
#define REG_0X827D_VALUE {65535,0,0}
|
||||
#define REG_0X827E_VALUE {65535,0,0}
|
||||
#define REG_0X827F_VALUE {65535,0,0}
|
||||
|
||||
#define INT_DWORD_REG_MAX 16
|
||||
#define REG_0X8280_VALUE {65535,0,0}
|
||||
#define REG_0X8282_VALUE {65535,0,0}
|
||||
#define REG_0X8284_VALUE {65535,0,0}
|
||||
#define REG_0X8286_VALUE {65535,0,0}
|
||||
#define REG_0X8288_VALUE {65535,0,0}
|
||||
#define REG_0X828A_VALUE {65535,0,0}
|
||||
#define REG_0X828C_VALUE {65535,0,0}
|
||||
#define REG_0X828E_VALUE {65535,0,0}
|
||||
#define REG_0X8290_VALUE {65535,0,0}
|
||||
#define REG_0X8292_VALUE {65535,0,0}
|
||||
#define REG_0X8294_VALUE {65535,0,0}
|
||||
#define REG_0X8296_VALUE {65535,0,0}
|
||||
#define REG_0X8298_VALUE {65535,0,0}
|
||||
#define REG_0X829A_VALUE {65535,0,0}
|
||||
#define REG_0X829C_VALUE {65535,0,0}
|
||||
#define REG_0X829E_VALUE {65535,0,0}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user