2026-03-20 21:16:58 +08:00
|
|
|
|
#ifndef __UserModbusDefine_h__
|
|
|
|
|
|
#define __UserModbusDefine_h__
|
|
|
|
|
|
|
|
|
|
|
|
//******************************************************************************
|
2026-03-20 21:19:04 +08:00
|
|
|
|
#define INX_030 0x000
|
|
|
|
|
|
#define INX_031 0x001
|
|
|
|
|
|
#define INX_032 0x002
|
|
|
|
|
|
#define INX_033 0x003
|
2026-03-20 21:16:58 +08:00
|
|
|
|
#define INX_034 0x004
|
|
|
|
|
|
#define INX_035 0x005
|
|
|
|
|
|
#define INX_036 0x006
|
|
|
|
|
|
#define INX_037 0x007
|
|
|
|
|
|
#define INX_038 0x008
|
|
|
|
|
|
#define INX_039 0x009
|
|
|
|
|
|
#define INX_03A 0x00A
|
|
|
|
|
|
#define INX_03B 0x00B
|
|
|
|
|
|
#define INX_03C 0x00C
|
|
|
|
|
|
#define INX_03D 0x00D
|
|
|
|
|
|
#define INX_03E 0x00E
|
|
|
|
|
|
#define INX_03F 0x00F
|
|
|
|
|
|
#define INX_040 0x010
|
|
|
|
|
|
#define INX_041 0x011
|
|
|
|
|
|
#define INX_042 0x012
|
|
|
|
|
|
#define INX_043 0x013
|
|
|
|
|
|
#define INX_044 0x014
|
|
|
|
|
|
#define INX_045 0x015
|
|
|
|
|
|
#define INX_046 0x016
|
|
|
|
|
|
#define INX_047 0x017
|
|
|
|
|
|
#define INX_048 0x018
|
|
|
|
|
|
#define INX_049 0x019
|
|
|
|
|
|
#define INX_04A 0x01A
|
|
|
|
|
|
#define INX_04B 0x01B
|
|
|
|
|
|
#define INX_04C 0x01C
|
|
|
|
|
|
#define INX_04D 0x01D
|
|
|
|
|
|
#define INX_04E 0x01E
|
|
|
|
|
|
#define INX_04F 0x01F
|
|
|
|
|
|
#define INX_050 0x020
|
|
|
|
|
|
#define INX_051 0x021
|
|
|
|
|
|
#define INX_052 0x022
|
|
|
|
|
|
#define INX_053 0x023
|
|
|
|
|
|
#define INX_054 0x024
|
|
|
|
|
|
#define INX_055 0x025
|
|
|
|
|
|
#define INX_056 0x026
|
|
|
|
|
|
#define INX_057 0x027
|
|
|
|
|
|
#define INX_058 0x028
|
|
|
|
|
|
#define INX_059 0x029
|
|
|
|
|
|
#define INX_05A 0x02A
|
|
|
|
|
|
#define INX_05B 0x02B
|
|
|
|
|
|
#define INX_05C 0x02C
|
|
|
|
|
|
#define INX_05D 0x02D
|
|
|
|
|
|
#define INX_05E 0x02E
|
|
|
|
|
|
#define INX_05F 0x02F
|
|
|
|
|
|
#define INX_060 0x030
|
|
|
|
|
|
#define INX_061 0x031
|
|
|
|
|
|
#define INX_062 0x032
|
|
|
|
|
|
#define INX_063 0x033
|
|
|
|
|
|
#define INX_064 0x034
|
|
|
|
|
|
#define INX_065 0x035
|
|
|
|
|
|
#define INX_066 0x036
|
|
|
|
|
|
#define INX_067 0x037
|
|
|
|
|
|
#define INX_068 0x038
|
|
|
|
|
|
#define INX_069 0x039
|
|
|
|
|
|
#define INX_06A 0x03A
|
|
|
|
|
|
#define INX_06B 0x03B
|
|
|
|
|
|
#define INX_06C 0x03C
|
|
|
|
|
|
#define INX_06D 0x03D
|
|
|
|
|
|
#define INX_06E 0x03E
|
|
|
|
|
|
#define INX_06F 0x03F
|
|
|
|
|
|
#define INX_070 0x040
|
|
|
|
|
|
#define INX_071 0x041
|
|
|
|
|
|
#define INX_072 0x042
|
|
|
|
|
|
#define INX_073 0x043
|
|
|
|
|
|
#define INX_074 0x044
|
|
|
|
|
|
#define INX_075 0x045
|
|
|
|
|
|
#define INX_076 0x046
|
|
|
|
|
|
#define INX_077 0x047
|
|
|
|
|
|
#define INX_078 0x048
|
|
|
|
|
|
#define INX_079 0x049
|
|
|
|
|
|
#define INX_07A 0x04A
|
|
|
|
|
|
#define INX_07B 0x04B
|
|
|
|
|
|
#define INX_07C 0x04C
|
|
|
|
|
|
#define INX_07D 0x04D
|
|
|
|
|
|
#define INX_07E 0x04E
|
|
|
|
|
|
#define INX_07F 0x04F
|
|
|
|
|
|
#define INX_080 0x050
|
|
|
|
|
|
#define INX_081 0x051
|
|
|
|
|
|
#define INX_082 0x052
|
|
|
|
|
|
#define INX_083 0x053
|
|
|
|
|
|
#define INX_084 0x054
|
|
|
|
|
|
#define INX_085 0x055
|
|
|
|
|
|
#define INX_086 0x056
|
|
|
|
|
|
#define INX_087 0x057
|
|
|
|
|
|
#define INX_088 0x058
|
|
|
|
|
|
#define INX_089 0x059
|
|
|
|
|
|
#define INX_08A 0x05A
|
|
|
|
|
|
#define INX_08B 0x05B
|
|
|
|
|
|
#define INX_08C 0x05C
|
|
|
|
|
|
#define INX_08D 0x05D
|
|
|
|
|
|
#define INX_08E 0x05E
|
|
|
|
|
|
#define INX_08F 0x05F
|
|
|
|
|
|
#define INX_090 0x060
|
|
|
|
|
|
#define INX_091 0x061
|
|
|
|
|
|
#define INX_092 0x062
|
|
|
|
|
|
#define INX_093 0x063
|
|
|
|
|
|
#define INX_094 0x064
|
|
|
|
|
|
#define INX_095 0x065
|
|
|
|
|
|
#define INX_096 0x066
|
|
|
|
|
|
#define INX_097 0x067
|
|
|
|
|
|
#define INX_098 0x068
|
|
|
|
|
|
#define INX_099 0x069
|
|
|
|
|
|
#define INX_09A 0x06A
|
|
|
|
|
|
#define INX_09B 0x06B
|
|
|
|
|
|
#define INX_09C 0x06C
|
|
|
|
|
|
#define INX_09D 0x06D
|
|
|
|
|
|
#define INX_09E 0x06E
|
|
|
|
|
|
#define INX_09F 0x06F
|
|
|
|
|
|
#define INX_0A0 0x070
|
|
|
|
|
|
#define INX_0A1 0x071
|
|
|
|
|
|
#define INX_0A2 0x072
|
|
|
|
|
|
#define INX_0A3 0x073
|
|
|
|
|
|
#define INX_0A4 0x074
|
|
|
|
|
|
#define INX_0A5 0x075
|
|
|
|
|
|
#define INX_0A6 0x076
|
|
|
|
|
|
#define INX_0A7 0x077
|
|
|
|
|
|
#define INX_0A8 0x078
|
|
|
|
|
|
#define INX_0A9 0x079
|
|
|
|
|
|
#define INX_0AA 0x07A
|
|
|
|
|
|
#define INX_0AB 0x07B
|
|
|
|
|
|
#define INX_0AC 0x07C
|
|
|
|
|
|
#define INX_0AD 0x07D
|
|
|
|
|
|
#define INX_0AE 0x07E
|
|
|
|
|
|
#define INX_0AF 0x07F
|
|
|
|
|
|
#define INX_0B0 0x080
|
|
|
|
|
|
#define INX_0B1 0x081
|
|
|
|
|
|
#define INX_0B2 0x082
|
|
|
|
|
|
#define INX_0B3 0x083
|
|
|
|
|
|
#define INX_0B4 0x084
|
|
|
|
|
|
#define INX_0B5 0x085
|
|
|
|
|
|
#define INX_0B6 0x086
|
|
|
|
|
|
#define INX_0B7 0x087
|
|
|
|
|
|
#define INX_0B8 0x088
|
|
|
|
|
|
#define INX_0B9 0x089
|
|
|
|
|
|
#define INX_0BA 0x08A
|
|
|
|
|
|
#define INX_0BB 0x08B
|
|
|
|
|
|
#define INX_0BC 0x08C
|
|
|
|
|
|
#define INX_0BD 0x08D
|
|
|
|
|
|
#define INX_0BE 0x08E
|
|
|
|
|
|
#define INX_0BF 0x08F
|
|
|
|
|
|
#define INX_0C0 0x090
|
|
|
|
|
|
#define INX_0C1 0x091
|
|
|
|
|
|
#define INX_0C2 0x092
|
|
|
|
|
|
#define INX_0C3 0x093
|
|
|
|
|
|
#define INX_0C4 0x094
|
|
|
|
|
|
#define INX_0C5 0x095
|
|
|
|
|
|
#define INX_0C6 0x096
|
|
|
|
|
|
#define INX_0C7 0x097
|
|
|
|
|
|
#define INX_0C8 0x098
|
|
|
|
|
|
#define INX_0C9 0x099
|
|
|
|
|
|
#define INX_0CA 0x09A
|
|
|
|
|
|
#define INX_0CB 0x09B
|
|
|
|
|
|
#define INX_0CC 0x09C
|
|
|
|
|
|
#define INX_0CD 0x09D
|
|
|
|
|
|
#define INX_0CE 0x09E
|
|
|
|
|
|
#define INX_0CF 0x09F
|
|
|
|
|
|
#define INX_0D0 0x0A0
|
|
|
|
|
|
#define INX_0D1 0x0A1
|
|
|
|
|
|
#define INX_0D2 0x0A2
|
|
|
|
|
|
#define INX_0D3 0x0A3
|
|
|
|
|
|
#define INX_0D4 0x0A4
|
|
|
|
|
|
#define INX_0D5 0x0A5
|
|
|
|
|
|
#define INX_0D6 0x0A6
|
|
|
|
|
|
#define INX_0D7 0x0A7
|
|
|
|
|
|
#define INX_0D8 0x0A8
|
|
|
|
|
|
#define INX_0D9 0x0A9
|
|
|
|
|
|
#define INX_0DA 0x0AA
|
|
|
|
|
|
#define INX_0DB 0x0AB
|
|
|
|
|
|
#define INX_0DC 0x0AC
|
|
|
|
|
|
#define INX_0DD 0x0AD
|
|
|
|
|
|
#define INX_0DE 0x0AE
|
|
|
|
|
|
#define INX_0DF 0x0AF
|
|
|
|
|
|
#define INX_0E0 0x0B0
|
|
|
|
|
|
#define INX_0E1 0x0B1
|
|
|
|
|
|
#define INX_0E2 0x0B2
|
|
|
|
|
|
#define INX_0E3 0x0B3
|
|
|
|
|
|
#define INX_0E4 0x0B4
|
|
|
|
|
|
#define INX_0E5 0x0B5
|
|
|
|
|
|
#define INX_0E6 0x0B6
|
|
|
|
|
|
#define INX_0E7 0x0B7
|
|
|
|
|
|
#define INX_0E8 0x0B8
|
|
|
|
|
|
#define INX_0E9 0x0B9
|
|
|
|
|
|
#define INX_0EA 0x0BA
|
|
|
|
|
|
#define INX_0EB 0x0BB
|
|
|
|
|
|
#define INX_0EC 0x0BC
|
|
|
|
|
|
#define INX_0ED 0x0BD
|
|
|
|
|
|
#define INX_0EE 0x0BE
|
|
|
|
|
|
#define INX_0EF 0x0BF
|
|
|
|
|
|
#define INX_0F0 0x0C0
|
|
|
|
|
|
#define INX_0F1 0x0C1
|
|
|
|
|
|
#define INX_0F2 0x0C2
|
|
|
|
|
|
#define INX_0F3 0x0C3
|
|
|
|
|
|
#define INX_0F4 0x0C4
|
|
|
|
|
|
#define INX_0F5 0x0C5
|
|
|
|
|
|
#define INX_0F6 0x0C6
|
|
|
|
|
|
#define INX_0F7 0x0C7
|
|
|
|
|
|
#define INX_0F8 0x0C8
|
|
|
|
|
|
#define INX_0F9 0x0C9
|
|
|
|
|
|
#define INX_0FA 0x0CA
|
|
|
|
|
|
#define INX_0FB 0x0CB
|
|
|
|
|
|
#define INX_0FC 0x0CC
|
|
|
|
|
|
#define INX_0FD 0x0CD
|
|
|
|
|
|
#define INX_0FE 0x0CE
|
|
|
|
|
|
#define INX_0FF 0x0CF
|
|
|
|
|
|
#define INX_100 0x0D0
|
|
|
|
|
|
#define INX_101 0x0D1
|
|
|
|
|
|
#define INX_102 0x0D2
|
|
|
|
|
|
#define INX_103 0x0D3
|
|
|
|
|
|
#define INX_104 0x0D4
|
|
|
|
|
|
#define INX_105 0x0D5
|
|
|
|
|
|
#define INX_106 0x0D6
|
|
|
|
|
|
#define INX_107 0x0D7
|
|
|
|
|
|
#define INX_108 0x0D8
|
|
|
|
|
|
#define INX_109 0x0D9
|
|
|
|
|
|
#define INX_10A 0x0DA
|
|
|
|
|
|
#define INX_10B 0x0DB
|
|
|
|
|
|
#define INX_10C 0x0DC
|
|
|
|
|
|
#define INX_10D 0x0DD
|
|
|
|
|
|
#define INX_10E 0x0DE
|
|
|
|
|
|
#define INX_10F 0x0DF
|
|
|
|
|
|
#define INX_110 0x0E0
|
|
|
|
|
|
#define INX_111 0x0E1
|
|
|
|
|
|
#define INX_112 0x0E2
|
|
|
|
|
|
#define INX_113 0x0E3
|
|
|
|
|
|
#define INX_114 0x0E4
|
|
|
|
|
|
#define INX_115 0x0E5
|
|
|
|
|
|
#define INX_116 0x0E6
|
|
|
|
|
|
#define INX_117 0x0E7
|
|
|
|
|
|
#define INX_118 0x0E8
|
|
|
|
|
|
#define INX_119 0x0E9
|
|
|
|
|
|
#define INX_11A 0x0EA
|
|
|
|
|
|
#define INX_11B 0x0EB
|
|
|
|
|
|
#define INX_11C 0x0EC
|
|
|
|
|
|
#define INX_11D 0x0ED
|
|
|
|
|
|
#define INX_11E 0x0EE
|
|
|
|
|
|
#define INX_11F 0x0EF
|
|
|
|
|
|
#define INX_120 0x0F0
|
|
|
|
|
|
#define INX_121 0x0F1
|
|
|
|
|
|
#define INX_122 0x0F2
|
|
|
|
|
|
#define INX_123 0x0F3
|
|
|
|
|
|
#define INX_124 0x0F4
|
|
|
|
|
|
#define INX_125 0x0F5
|
|
|
|
|
|
#define INX_126 0x0F6
|
|
|
|
|
|
#define INX_127 0x0F7
|
|
|
|
|
|
#define INX_128 0x0F8
|
|
|
|
|
|
#define INX_129 0x0F9
|
|
|
|
|
|
#define INX_12A 0x0FA
|
|
|
|
|
|
#define INX_12B 0x0FB
|
|
|
|
|
|
#define INX_12C 0x0FC
|
|
|
|
|
|
#define INX_12D 0x0FD
|
|
|
|
|
|
#define INX_12E 0x0FE
|
|
|
|
|
|
#define INX_12F 0x0FF
|
|
|
|
|
|
#define INX_130 0x100
|
|
|
|
|
|
|
2026-03-20 21:19:04 +08:00
|
|
|
|
#define USER_INX_MAX (INX_130+1)
|
2026-03-20 21:16:58 +08:00
|
|
|
|
//******************************************************************************
|
|
|
|
|
|
//<2F><><EFBFBD>û<EFBFBD>Э<EFBFBD>鶨<EFBFBD><E9B6A8>
|
|
|
|
|
|
//******************************************************************************
|
|
|
|
|
|
// 0~0X2F: MAP AREA
|
|
|
|
|
|
#define STD_MAP_START 0x00
|
|
|
|
|
|
#define STD_MAP_MAX 48
|
|
|
|
|
|
#define STD_MAP_1 STD_MAP_START
|
|
|
|
|
|
#define STD_MAP_2 (STD_MAP_1+1)
|
|
|
|
|
|
#define STD_MAP_3 (STD_MAP_2+1)
|
|
|
|
|
|
#define STD_MAP_4 (STD_MAP_3+1)
|
|
|
|
|
|
#define STD_MAP_5 (STD_MAP_4+1)
|
|
|
|
|
|
#define STD_MAP_6 (STD_MAP_5+1)
|
|
|
|
|
|
#define STD_MAP_7 (STD_MAP_6+1)
|
|
|
|
|
|
#define STD_MAP_8 (STD_MAP_7+1)
|
|
|
|
|
|
#define STD_MAP_9 (STD_MAP_8+1)
|
|
|
|
|
|
#define STD_MAP_10 (STD_MAP_9+1)
|
|
|
|
|
|
#define STD_MAP_11 (STD_MAP_10+1)
|
|
|
|
|
|
#define STD_MAP_12 (STD_MAP_11+1)
|
|
|
|
|
|
#define STD_MAP_13 (STD_MAP_12+1)
|
|
|
|
|
|
#define STD_MAP_14 (STD_MAP_13+1)
|
|
|
|
|
|
#define STD_MAP_15 (STD_MAP_14+1)
|
|
|
|
|
|
#define STD_MAP_16 (STD_MAP_15+1)
|
|
|
|
|
|
#define STD_MAP_17 (STD_MAP_16+1)
|
|
|
|
|
|
#define STD_MAP_18 (STD_MAP_17+1)
|
|
|
|
|
|
#define STD_MAP_19 (STD_MAP_18+1)
|
|
|
|
|
|
#define STD_MAP_20 (STD_MAP_19+1)
|
|
|
|
|
|
#define STD_MAP_21 (STD_MAP_20+1)
|
|
|
|
|
|
#define STD_MAP_22 (STD_MAP_21+1)
|
|
|
|
|
|
#define STD_MAP_23 (STD_MAP_22+1)
|
|
|
|
|
|
#define STD_MAP_24 (STD_MAP_23+1)
|
|
|
|
|
|
#define STD_MAP_25 (STD_MAP_24+1)
|
|
|
|
|
|
#define STD_MAP_26 (STD_MAP_25+1)
|
|
|
|
|
|
#define STD_MAP_27 (STD_MAP_26+1)
|
|
|
|
|
|
#define STD_MAP_28 (STD_MAP_27+1)
|
|
|
|
|
|
#define STD_MAP_29 (STD_MAP_28+1)
|
|
|
|
|
|
#define STD_MAP_30 (STD_MAP_29+1)
|
|
|
|
|
|
#define STD_MAP_31 (STD_MAP_30+1)
|
|
|
|
|
|
#define STD_MAP_32 (STD_MAP_31+1)
|
|
|
|
|
|
#define STD_MAP_33 (STD_MAP_32+1)
|
|
|
|
|
|
#define STD_MAP_34 (STD_MAP_33+1)
|
|
|
|
|
|
#define STD_MAP_35 (STD_MAP_34+1)
|
|
|
|
|
|
#define STD_MAP_36 (STD_MAP_35+1)
|
|
|
|
|
|
#define STD_MAP_37 (STD_MAP_36+1)
|
|
|
|
|
|
#define STD_MAP_38 (STD_MAP_37+1)
|
|
|
|
|
|
#define STD_MAP_39 (STD_MAP_38+1)
|
|
|
|
|
|
#define STD_MAP_40 (STD_MAP_39+1)
|
|
|
|
|
|
#define STD_MAP_41 (STD_MAP_40+1)
|
|
|
|
|
|
#define STD_MAP_42 (STD_MAP_41+1)
|
|
|
|
|
|
#define STD_MAP_43 (STD_MAP_42+1)
|
|
|
|
|
|
#define STD_MAP_44 (STD_MAP_43+1)
|
|
|
|
|
|
#define STD_MAP_45 (STD_MAP_44+1)
|
|
|
|
|
|
#define STD_MAP_46 (STD_MAP_45+1)
|
|
|
|
|
|
#define STD_MAP_47 (STD_MAP_46+1)
|
|
|
|
|
|
#define STD_MAP_48 (STD_MAP_47+1)
|
|
|
|
|
|
|
|
|
|
|
|
// 0x30~0x7f
|
|
|
|
|
|
#define STD_REG_START 0x30
|
|
|
|
|
|
#define STD_METER_SN 0x30
|
|
|
|
|
|
#define STD_METER_SN_L 0x35
|
|
|
|
|
|
#define STD_METER_SN_1 0x31
|
|
|
|
|
|
#define STD_METER_SN_2 0x32
|
|
|
|
|
|
#define STD_METER_SN_3 0x33
|
|
|
|
|
|
#define STD_METER_SN_4 0x34
|
|
|
|
|
|
#define STD_METER_SN_5 0x35
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_ALARM_1 0x36
|
|
|
|
|
|
#define STD_ALARM_2 0x37
|
|
|
|
|
|
#define STD_ALARM_3 0x38
|
|
|
|
|
|
#define STD_ALARM_4 0x39
|
|
|
|
|
|
#define STD_FLOWRATE 0x3A
|
|
|
|
|
|
#define STD_FLOWRATE_L 0x3B
|
|
|
|
|
|
#define STD_ACC_INT 0x3C
|
|
|
|
|
|
#define STD_ACC_INT_L 0x3D
|
|
|
|
|
|
#define STD_ACC_DOT 0x3E // 3λС<CEBB><D0A1>
|
|
|
|
|
|
#define STD_TA 0x3F // 2λС<CEBB><D0A1>
|
|
|
|
|
|
#define STD_TGAS 0x40 // 2λС<CEBB><D0A1>
|
|
|
|
|
|
#define STD_HA 0x41 // 2λС<CEBB><D0A1>
|
|
|
|
|
|
#define STD_HGAS 0x42 // 2λС<CEBB><D0A1>
|
|
|
|
|
|
#define STD_P_DELTA 0x43 // Ũ<><C5A8> 3λС<CEBB><D0A1>
|
|
|
|
|
|
#define STD_P_DELTA_L 0x44
|
|
|
|
|
|
#define STD_PGAS 0x45 // 3λС<CEBB><D0A1>
|
|
|
|
|
|
#define STD_PGAS_L 0x46
|
|
|
|
|
|
#define STD_DENSITY 0x47
|
|
|
|
|
|
#define STD_BAT1_CY 0x48 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2λС<CEBB><D0A1>
|
|
|
|
|
|
#define STD_BAT1_V 0x49 // <20><><EFBFBD>ص<EFBFBD>ѹ 2λС<CEBB><D0A1>
|
|
|
|
|
|
#define STD_BAT1_DAY 0x4A // <20><><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_BAT1_RDAY 0x4B // <20><><EFBFBD><EFBFBD>ʣ<EFBFBD><CAA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_BAT2_CY 0x4C // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2λС<CEBB><D0A1>
|
|
|
|
|
|
#define STD_BAT2_V 0x4D // <20><><EFBFBD>ص<EFBFBD>ѹ 2λС<CEBB><D0A1>
|
|
|
|
|
|
#define STD_BAT2_DAY 0x4E // <20><><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_BAT2_RDAY 0x4F // <20><><EFBFBD><EFBFBD>ʣ<EFBFBD><CAA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_USE_MINTE 0x50 // ʹ<><CAB9>ʱ<EFBFBD>䣨<EFBFBD><E4A3A8><EFBFBD>ӣ<EFBFBD>
|
|
|
|
|
|
#define STD_USE_HOUR 0x51 // ʹ<><CAB9>ʱ<EFBFBD>䣨Сʱ<D0A1><CAB1>
|
|
|
|
|
|
#define STD_USE_HOUR_L 0x52
|
|
|
|
|
|
#define STD_GAS_FACTOR 0x53 // ʵʱʶ<CAB1><CAB6>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD>ֵ
|
|
|
|
|
|
#define STD_BODY_SPO2 0x54 // Ѫ<><D1AA>Ũ<EFBFBD><C5A8> 54
|
|
|
|
|
|
#define STD_BODY_P 0x55 // <20><><EFBFBD><EFBFBD> 55
|
|
|
|
|
|
#define STD_HEX_ACC 0x56 // <20><><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_HEX_ACC_HM 0x57 // <20><><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_HEX_ACC_LM 0x58 // <20><><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_HEX_ACC_L 0x59 // <20><><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_5A 0x5A //
|
|
|
|
|
|
#define STD_5B 0x5B //
|
|
|
|
|
|
#define STD_5C 0x5C //
|
|
|
|
|
|
#define STD_5D 0x5D //
|
|
|
|
|
|
#define STD_5E 0x5E //
|
|
|
|
|
|
#define STD_DENSITY_FS_PARA 0x5F //
|
|
|
|
|
|
#define STD_60 0x60 //
|
|
|
|
|
|
#define STD_61 0x61 //
|
|
|
|
|
|
#define STD_62 0x62 //
|
|
|
|
|
|
#define STD_63 0x63 //
|
|
|
|
|
|
#define STD_64 0x64 //
|
|
|
|
|
|
#define STD_65 0x65 //
|
|
|
|
|
|
#define STD_66 0x66 //
|
|
|
|
|
|
#define STD_67 0x67 //
|
|
|
|
|
|
#define STD_68 0x68 //
|
|
|
|
|
|
#define STD_69 0x69 //
|
|
|
|
|
|
#define STD_6A 0x6A //
|
|
|
|
|
|
#define STD_6B 0x6B //
|
|
|
|
|
|
#define STD_6C 0x6C //
|
|
|
|
|
|
#define STD_6D 0x6D //
|
|
|
|
|
|
#define STD_6E 0x6E //
|
|
|
|
|
|
#define STD_6F 0x6F //
|
|
|
|
|
|
#define STD_70 0x70 //
|
|
|
|
|
|
#define STD_71 0x71 //
|
|
|
|
|
|
#define STD_72 0x72 //
|
|
|
|
|
|
#define STD_73 0x73 //
|
|
|
|
|
|
#define STD_74 0x74 //
|
|
|
|
|
|
#define STD_75 0x75 //
|
|
|
|
|
|
#define STD_76 0x76 //
|
|
|
|
|
|
#define STD_77 0x77 //
|
|
|
|
|
|
#define STD_78 0x78 //
|
|
|
|
|
|
#define STD_79 0x79 //
|
|
|
|
|
|
#define STD_7A 0x7A //
|
|
|
|
|
|
#define STD_7B 0x7B //
|
|
|
|
|
|
#define STD_7C 0x7C //
|
|
|
|
|
|
#define STD_7D 0x7D
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_SOFT_CRC 0x7E
|
|
|
|
|
|
#define STD_SOFT_VERSION 0x7F // <20><><EFBFBD><EFBFBD><EFBFBD>汾
|
|
|
|
|
|
//******************************************************************************
|
|
|
|
|
|
// 0x80~0xf0: read and write
|
|
|
|
|
|
#define STD_PROTOCOL 0x80 // 0x80 Э<><D0AD>
|
2026-03-20 21:19:04 +08:00
|
|
|
|
#define STD_SLAVER_ID 0x81 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ
|
2026-03-20 21:16:58 +08:00
|
|
|
|
#define STD_COM_BPS 0x82 // <20><><EFBFBD><EFBFBD><EFBFBD>ʣ<EFBFBD>0-4800<30><30>1-9600<30><30>2-19200<30><30>3-38400<30><30>4-57600<30><30>5-115200<30><30>
|
2026-03-20 21:19:04 +08:00
|
|
|
|
#define STD_OUT_FR_MIN 0x83 // <20><>С<EFBFBD><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>3λС<CEBB><D0A1><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_OUT_FR_MIN_L 0x84
|
|
|
|
|
|
#define STD_OUT_FR_MAX 0x85 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>3λС<CEBB><D0A1><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_OUT_FR_MAX_L 0x86
|
2026-03-20 21:16:58 +08:00
|
|
|
|
#define STD_OUT_ANALOG_MIN 0x87 // <20><>Сģ<D0A1><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>mv<6D><76>
|
|
|
|
|
|
#define STD_OUT_ANALOG_MIN_L 0x88
|
|
|
|
|
|
#define STD_OUT_ANALOG_MAX 0x89 // <20><><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>mv<6D><76>
|
|
|
|
|
|
#define STD_OUT_ANALOG_MAX_L 0x8A
|
|
|
|
|
|
#define STD_GCF 0x8B // GCF* (<28><><EFBFBD>Ȳ<EFBFBD><C8B2><EFBFBD>STD_PASSWORD 0XAA55)
|
|
|
|
|
|
#define STD_FILTER_DEPTH 0x8C // <20>˲<EFBFBD><CBB2><EFBFBD><EFBFBD><EFBFBD>
|
2026-03-20 21:19:04 +08:00
|
|
|
|
#define STD_REPONSE_TIME 0x8D // <20><>Ӧʱ<D3A6><CAB1>*
|
2026-03-20 21:16:58 +08:00
|
|
|
|
#define STD_GAS_OFFSET_C 0x8E // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>㣨C TYPE<50><45>
|
|
|
|
|
|
#define STD_GAS_OFFSET_A 0x8F // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>㣨A TYPE<50><45>
|
|
|
|
|
|
#define STD_UNIT 0x90 // <20><>λ
|
|
|
|
|
|
#define STD_AIR_FACTOR 0x91 // <20><><EFBFBD><EFBFBD>ʶ<EFBFBD><CAB6>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD>ֵ
|
|
|
|
|
|
#define STD_FACTOR_VTH 0x92 // ʶ<><CAB6><EFBFBD>Ƚ<EFBFBD><C8BD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_PULSE_UNIT 0x93 //
|
2026-03-20 21:19:04 +08:00
|
|
|
|
#define STD_IO_OUTPUT_LEVEL 0x94 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD>
|
2026-03-20 21:16:58 +08:00
|
|
|
|
#define STD_SAMPLE_PERIOD 0x95 //
|
|
|
|
|
|
#define STD_ALARM_ACC 0x96 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_ALARM_ACC_L 0x97
|
|
|
|
|
|
#define STD_ALARM_UPPER_FLOW 0x98 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_ALARM_UPPER_FLOW_L 0x99
|
|
|
|
|
|
#define STD_ALARM_LOWER_FLOW 0x9A // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_ALARM_LOWER_FLOW_L 0x9B
|
|
|
|
|
|
#define STD_ALARM_FUN 0x9C // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ر<EFBFBD><D8B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_ALARM_OUT_DELAY 0x9D // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ر<EFBFBD><D8B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ (<28><>λ<EFBFBD><CEBB>s)
|
|
|
|
|
|
#define STD_COM_DECIMAL 0x9E
|
|
|
|
|
|
#define STD_RECORD_TIME 0x9F // <20><>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>ʱ<EFBFBD>䣨<EFBFBD>֣<EFBFBD>max 720<32><30>
|
|
|
|
|
|
#define STD_REVERSE_FR_MIN 0xA0 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>3λС<CEBB><D0A1><EFBFBD><EFBFBD>*
|
|
|
|
|
|
#define STD_REVERSE_FR_MIN_L 0xA1
|
|
|
|
|
|
#define STD_REVERSE_FR_MAX 0xA2 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>3λС<CEBB><D0A1><EFBFBD><EFBFBD>*
|
|
|
|
|
|
#define STD_REVERSE_FR_MAX_L 0xA3
|
|
|
|
|
|
#define STD_I2C_ADDR 0xA4 // I2C<32><43>ַ
|
|
|
|
|
|
#define STD_I2C_CRC_MOD 0xA5 // I2C<32><43>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>crcģʽ(0Ϊ<30><CEAA>crcģʽ)<29><>λ<EFBFBD><CEBB>Ч
|
|
|
|
|
|
#define STD_TIMING_TXD_START 0xA6 // <20><>ʱ<EFBFBD><CAB1><EFBFBD>Ϳ<EFBFBD>ʼ<EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>
|
|
|
|
|
|
#define STD_TIMING_TXD_LEN 0xA7 // <20><>ʱ<EFBFBD><CAB1><EFBFBD>ͼĴ<CDBC><C4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_TIMING_TXD_TIME 0xA8 // <20><>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>
|
|
|
|
|
|
#define STD_PRESSURE_OFFSET 0xA9 // ѹ<><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_LORA_ADR 0xAA // LORA <20><>ַ
|
|
|
|
|
|
#define STD_LORA_NETID 0xAB // LORA<52><41>·id
|
|
|
|
|
|
#define STD_LORA_CH 0xAC // LORA<52>ŵ<EFBFBD>
|
|
|
|
|
|
#define STD_LORA_STATE 0xAD // LORAģ<41>鹤<EFBFBD><E9B9A4>״̬
|
|
|
|
|
|
#define STD_KEY_PASSWORD 0xAE // <20><><EFBFBD>ð<EFBFBD><C3B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_KEY_PASSWORD_L 0xAF // <20><><EFBFBD>ð<EFBFBD><C3B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_ALARM_UPPER_PRESS 0xB0 // ѹ<><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_ALARM_UPPER_PRESS_L 0xB1 //
|
|
|
|
|
|
#define STD_ALARM_LOWER_PRESS 0xB2 // ѹ<><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_ALARM_LOWER_PRESS_L 0xB3 //
|
|
|
|
|
|
#define STD_ALARM_UPPER_TEMP 0xB4 // <20>¶<EFBFBD><C2B6><EFBFBD><EFBFBD>ޱ<EFBFBD><DEB1><EFBFBD> B4
|
|
|
|
|
|
#define STD_ALARM_LOWER_TEMP 0xB5 // <20>¶<EFBFBD><C2B6><EFBFBD><EFBFBD>ޱ<EFBFBD><DEB1><EFBFBD> B5
|
|
|
|
|
|
#define STD_ALARM_UPPER_RH 0xB6 // ʪ<><CAAA><EFBFBD><EFBFBD><EFBFBD>ޱ<EFBFBD><DEB1><EFBFBD> B6
|
|
|
|
|
|
#define STD_ALARM_LOWER_RH 0xB7 // ʪ<><CAAA><EFBFBD><EFBFBD><EFBFBD>ޱ<EFBFBD><DEB1><EFBFBD> B7
|
|
|
|
|
|
#define STD_ALARM_UPPER_PPM 0xB8 // Ũ<><C5A8><EFBFBD><EFBFBD><EFBFBD>ޱ<EFBFBD><DEB1><EFBFBD> B8
|
|
|
|
|
|
#define STD_ALARM_LOWER_PPM 0xB9 // Ũ<><C5A8><EFBFBD><EFBFBD><EFBFBD>ޱ<EFBFBD><DEB1><EFBFBD> B9
|
|
|
|
|
|
#define STD_BA 0xBA //
|
|
|
|
|
|
#define STD_BB 0xBB //
|
|
|
|
|
|
#define STD_BC 0xBC //
|
|
|
|
|
|
#define STD_BD 0xBD //
|
|
|
|
|
|
#define STD_BE 0xBE //
|
|
|
|
|
|
#define STD_BF 0xBF //
|
|
|
|
|
|
#define STD_C0 0xC0 //
|
|
|
|
|
|
#define STD_C1 0xC1
|
|
|
|
|
|
#define STD_C2 0xC2 //
|
|
|
|
|
|
#define STD_C3 0xC3
|
|
|
|
|
|
#define STD_C4 0xC4 //
|
|
|
|
|
|
#define STD_C5 0xC5 //
|
|
|
|
|
|
#define STD_C6 0xC6 //
|
|
|
|
|
|
#define STD_C7 0xC7 //
|
|
|
|
|
|
#define STD_C8 0xC8 //
|
|
|
|
|
|
#define STD_C9 0xC9 //
|
|
|
|
|
|
#define STD_CA 0xCA //
|
|
|
|
|
|
#define STD_CB 0xCB //
|
|
|
|
|
|
#define STD_CC 0xCC //
|
|
|
|
|
|
#define STD_CD 0xCD //
|
|
|
|
|
|
#define STD_CE 0xCE //
|
|
|
|
|
|
#define STD_CF 0xCF //
|
|
|
|
|
|
#define STD_D0 0xD0 //
|
|
|
|
|
|
#define STD_D1 0xD1 //
|
|
|
|
|
|
#define STD_D2 0xD2 //
|
|
|
|
|
|
#define STD_D3 0xD3 //
|
|
|
|
|
|
#define STD_D4 0xD4 //
|
|
|
|
|
|
#define STD_D5 0xD5 //
|
|
|
|
|
|
#define STD_D6 0xD6 //
|
|
|
|
|
|
#define STD_D7 0xD7 //
|
|
|
|
|
|
#define STD_D8 0xD8 //
|
|
|
|
|
|
#define STD_D9 0xD9 //
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_LEAK_FR_MIN 0xDA
|
|
|
|
|
|
#define STD_LEAK_FR_MAX 0xDB
|
|
|
|
|
|
#define STD_LEAK_TIMING 0xDC
|
|
|
|
|
|
//
|
|
|
|
|
|
#define STD_DD 0xDD //
|
|
|
|
|
|
#define STD_GCF_A 0xDE //
|
|
|
|
|
|
#define STD_DF 0xDF //
|
|
|
|
|
|
#define STD_E0 0xE0 //
|
|
|
|
|
|
#define STD_E1 0xE1 //
|
|
|
|
|
|
#define STD_E2 0xE2 //
|
|
|
|
|
|
#define STD_E3 0xE3 //
|
|
|
|
|
|
#define STD_E4 0xE4 //
|
|
|
|
|
|
#define STD_E5 0xE5 //
|
|
|
|
|
|
#define STD_E6 0xE6 //
|
|
|
|
|
|
#define STD_E7 0xE7 //
|
|
|
|
|
|
#define STD_E8 0xE8 //
|
|
|
|
|
|
#define STD_E9 0xE9 //
|
|
|
|
|
|
#define STD_EA 0xEA //
|
|
|
|
|
|
#define STD_EB 0xEB //
|
|
|
|
|
|
#define STD_EC 0xEC //
|
|
|
|
|
|
#define STD_ED 0xED //
|
|
|
|
|
|
#define STD_EE 0xEE //
|
|
|
|
|
|
#define STD_EF 0xEF //
|
|
|
|
|
|
//******************************************************************************
|
|
|
|
|
|
// 0XF0~0XFF: write only (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
|
|
|
|
|
|
#define STD_WRITE_START 0xF0
|
|
|
|
|
|
#define STD_CAL_OFFSET_CMD 0xF0 // У<D0A3><D7BC><EFBFBD><EFBFBD>*
|
|
|
|
|
|
#define STD_CAL_PRESSURE_CMD 0xF1 // У<D0A3><D7BC><EFBFBD><EFBFBD>*
|
|
|
|
|
|
#define STD_CLR_RECORD 0xF2 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_RESET_DEFAULT 0xF3 // <20>ظ<EFBFBD><D8B8><EFBFBD><EFBFBD><EFBFBD>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_AUTO_CONTROL 0xF4 // <20><><EFBFBD><EFBFBD>ֹͣ<CDA3><D6B9>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD>
|
|
|
|
|
|
#define STD_CAL_FULL_RANGE_CMD 0XF5 // У<D0A3><D7BC><EFBFBD><EFBFBD><EFBFBD>̲<EFBFBD><CCB2><EFBFBD>
|
|
|
|
|
|
#define STD_F6 0XF6
|
|
|
|
|
|
#define STD_F7 0XF7
|
|
|
|
|
|
#define STD_F8 0XF8
|
|
|
|
|
|
#define STD_F9 0XF9
|
|
|
|
|
|
#define STD_FA 0XFA
|
|
|
|
|
|
#define STD_FB 0XFB
|
|
|
|
|
|
#define STD_FC 0XFC
|
|
|
|
|
|
#define STD_FD 0XFD
|
|
|
|
|
|
#define STD_FE 0XFE
|
|
|
|
|
|
#define STD_PASSWORD_CMD 0xFF // д<><D0B4><EFBFBD><EFBFBD><EFBFBD>루<EFBFBD><EBA3A8><EFBFBD>Ǻŵ<C7BA><C5B5><EFBFBD>Ҫ<EFBFBD>Ȳ<EFBFBD><C8B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
|
|
//******************************************************************************
|
|
|
|
|
|
// 0x100~0x130: write & READ (MAP SET)
|
|
|
|
|
|
#define STD_MAP_SET1 0x100
|
|
|
|
|
|
#define STD_MAP_SET2 (STD_MAP_SET1+1)
|
|
|
|
|
|
#define STD_MAP_SET3 (STD_MAP_SET2+1)
|
|
|
|
|
|
#define STD_MAP_SET4 (STD_MAP_SET3+1)
|
|
|
|
|
|
#define STD_MAP_SET5 (STD_MAP_SET4+1)
|
|
|
|
|
|
#define STD_MAP_SET6 (STD_MAP_SET5+1)
|
|
|
|
|
|
#define STD_MAP_SET7 (STD_MAP_SET6+1)
|
|
|
|
|
|
#define STD_MAP_SET8 (STD_MAP_SET7+1)
|
|
|
|
|
|
#define STD_MAP_SET9 (STD_MAP_SET8+1)
|
|
|
|
|
|
#define STD_MAP_SET10 (STD_MAP_SET9+1)
|
|
|
|
|
|
#define STD_MAP_SET11 (STD_MAP_SET10+1)
|
|
|
|
|
|
#define STD_MAP_SET12 (STD_MAP_SET11+1)
|
|
|
|
|
|
#define STD_MAP_SET13 (STD_MAP_SET12+1)
|
|
|
|
|
|
#define STD_MAP_SET14 (STD_MAP_SET13+1)
|
|
|
|
|
|
#define STD_MAP_SET15 (STD_MAP_SET14+1)
|
|
|
|
|
|
#define STD_MAP_SET16 (STD_MAP_SET15+1)
|
|
|
|
|
|
#define STD_MAP_SET17 (STD_MAP_SET16+1)
|
|
|
|
|
|
#define STD_MAP_SET18 (STD_MAP_SET17+1)
|
|
|
|
|
|
#define STD_MAP_SET19 (STD_MAP_SET18+1)
|
|
|
|
|
|
#define STD_MAP_SET20 (STD_MAP_SET19+1)
|
|
|
|
|
|
#define STD_MAP_SET21 (STD_MAP_SET20+1)
|
|
|
|
|
|
#define STD_MAP_SET22 (STD_MAP_SET21+1)
|
|
|
|
|
|
#define STD_MAP_SET23 (STD_MAP_SET22+1)
|
|
|
|
|
|
#define STD_MAP_SET24 (STD_MAP_SET23+1)
|
|
|
|
|
|
#define STD_MAP_SET25 (STD_MAP_SET24+1)
|
|
|
|
|
|
#define STD_MAP_SET26 (STD_MAP_SET25+1)
|
|
|
|
|
|
#define STD_MAP_SET27 (STD_MAP_SET26+1)
|
|
|
|
|
|
#define STD_MAP_SET28 (STD_MAP_SET27+1)
|
|
|
|
|
|
#define STD_MAP_SET29 (STD_MAP_SET28+1)
|
|
|
|
|
|
#define STD_MAP_SET30 (STD_MAP_SET29+1)
|
|
|
|
|
|
#define STD_MAP_SET31 (STD_MAP_SET30+1)
|
|
|
|
|
|
#define STD_MAP_SET32 (STD_MAP_SET31+1)
|
|
|
|
|
|
#define STD_MAP_SET33 (STD_MAP_SET32+1)
|
|
|
|
|
|
#define STD_MAP_SET34 (STD_MAP_SET33+1)
|
|
|
|
|
|
#define STD_MAP_SET35 (STD_MAP_SET34+1)
|
|
|
|
|
|
#define STD_MAP_SET36 (STD_MAP_SET35+1)
|
|
|
|
|
|
#define STD_MAP_SET37 (STD_MAP_SET36+1)
|
|
|
|
|
|
#define STD_MAP_SET38 (STD_MAP_SET37+1)
|
|
|
|
|
|
#define STD_MAP_SET39 (STD_MAP_SET38+1)
|
|
|
|
|
|
#define STD_MAP_SET40 (STD_MAP_SET39+1)
|
|
|
|
|
|
#define STD_MAP_SET41 (STD_MAP_SET40+1)
|
|
|
|
|
|
#define STD_MAP_SET42 (STD_MAP_SET41+1)
|
|
|
|
|
|
#define STD_MAP_SET43 (STD_MAP_SET42+1)
|
|
|
|
|
|
#define STD_MAP_SET44 (STD_MAP_SET43+1)
|
|
|
|
|
|
#define STD_MAP_SET45 (STD_MAP_SET44+1)
|
|
|
|
|
|
#define STD_MAP_SET46 (STD_MAP_SET45+1)
|
|
|
|
|
|
#define STD_MAP_SET47 (STD_MAP_SET46+1)
|
|
|
|
|
|
#define STD_MAP_SET48 (STD_MAP_SET47+1)
|
|
|
|
|
|
//******************************************************************************
|
|
|
|
|
|
#define STD_DCOEF_NUM 0x130
|
|
|
|
|
|
#define STD_DCOEF_NODE1 (STD_DCOEF_NUM+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE1 (STD_DCOEF_NODE1+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE2 (STD_DCOEF_VALUE1+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE2 (STD_DCOEF_NODE2+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE3 (STD_DCOEF_VALUE2+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE3 (STD_DCOEF_NODE3+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE4 (STD_DCOEF_VALUE3+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE4 (STD_DCOEF_NODE4+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE5 (STD_DCOEF_VALUE4+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE5 (STD_DCOEF_NODE5+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE6 (STD_DCOEF_VALUE5+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE6 (STD_DCOEF_NODE6+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE7 (STD_DCOEF_VALUE6+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE7 (STD_DCOEF_NODE7+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE8 (STD_DCOEF_VALUE7+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE8 (STD_DCOEF_NODE8+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE9 (STD_DCOEF_VALUE8+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE9 (STD_DCOEF_NODE9+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE10 (STD_DCOEF_VALUE9+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE10 (STD_DCOEF_NODE10+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE11 (STD_DCOEF_VALUE10+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE11 (STD_DCOEF_NODE11+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE12 (STD_DCOEF_VALUE11+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE12 (STD_DCOEF_NODE12+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE13 (STD_DCOEF_VALUE12+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE13 (STD_DCOEF_NODE13+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE14 (STD_DCOEF_VALUE13+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE14 (STD_DCOEF_NODE14+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE15 (STD_DCOEF_VALUE14+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE15 (STD_DCOEF_NODE15+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE16 (STD_DCOEF_VALUE15+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE16 (STD_DCOEF_NODE16+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE17 (STD_DCOEF_VALUE16+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE17 (STD_DCOEF_NODE17+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE18 (STD_DCOEF_VALUE17+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE18 (STD_DCOEF_NODE18+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE19 (STD_DCOEF_VALUE18+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE19 (STD_DCOEF_NODE19+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DCOEF_NODE20 (STD_DCOEF_VALUE19+1)
|
|
|
|
|
|
#define STD_DCOEF_VALUE20 (STD_DCOEF_NODE20+2)
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_DEFINE_MAX (STD_DCOEF_VALUE20+1)
|
|
|
|
|
|
//******************************************************************************
|
|
|
|
|
|
// history and alarm and date data read
|
|
|
|
|
|
#define STD_ALARM_DEPTH 0x0F00
|
|
|
|
|
|
#define STD_ALARM_WIDTH 0x0F01
|
|
|
|
|
|
#define STD_HISTORY_DEPTH 0x0F02
|
|
|
|
|
|
#define STD_HISTORY_WIDTH 0x0F03
|
|
|
|
|
|
#define STD_DATE_DEPTH 0x0F04
|
|
|
|
|
|
#define STD_DATE_WIDTH 0x0F05
|
|
|
|
|
|
#define STD_DATA_INFO_MAX 0x0F06
|
|
|
|
|
|
|
|
|
|
|
|
#define STD_ALARM 0x1000
|
|
|
|
|
|
#define STD_HISTORY 0x2000
|
|
|
|
|
|
#define STD_DATE_ACC 0x3000
|
|
|
|
|
|
|
|
|
|
|
|
//******************************************************************************
|
|
|
|
|
|
#define MAP_DEFAULT STD_PROTOCOL
|
|
|
|
|
|
|
|
|
|
|
|
//******************************************************************************
|
|
|
|
|
|
// for BPS
|
|
|
|
|
|
#define BPS_4800 0
|
|
|
|
|
|
#define BPS_9600 1
|
|
|
|
|
|
#define BPS_19200 2
|
|
|
|
|
|
#define BPS_38400 3
|
|
|
|
|
|
#define BPS_57600 4
|
|
|
|
|
|
#define BPS_115200 5
|
|
|
|
|
|
|
|
|
|
|
|
//******************************************************************************
|
|
|
|
|
|
#endif
|
|
|
|
|
|
//******************************************************************************
|