1
|
;???ܿյ????, ???:4888 , ??Ŀ: #4898?½??????ϵ??ӿƼ?????˾
|
2
|
[comm]
|
3
|
;?????????
|
4
|
cnt=0
|
5
|
;?????????Ϣ, 0-??????, 1-????
|
6
|
debug=2
|
7
|
;????
|
8
|
note=???ܿյ?MODBUSЭ??
|
9
|
;???ݶ?ȡʱ????(??????ָ???, ?ӳٶ?ȡ????ʱ????), ??λ: ????(ms)??Ĭ??10ms
|
10
|
delay=100
|
11
|
;??????ʱ??Ҫ????????????????Ӧ, ??λ: ????(ms)??Ĭ??10ms
|
12
|
delayv=0
|
13
|
;???ݳ?ʱʱ??, ??λ: ????(ms)??Ĭ??300ms
|
14
|
timeout=300
|
15
|
;????
|
16
|
mask=0
|
17
|
;?ͺ?????֧????????
|
18
|
model=OM-MDBS4608
|
19
|
;?? %x%Ϊij?ֶ?ֵ, %xst%Ϊ?ֶ?״̬, ???в??ܴ??ֺ?";"
|
20
|
brief=?ط??¶?: %16%?? %1st%
|
21
|
;?Ƿ????CRCУ?飿0-??У?飬1-У??
|
22
|
crc=1
|
23
|
;???ݰ??ֽڽ?????0-????UINT16??????1-???ֽڽ???
|
24
|
DataByte=0
|
25
|
|
26
|
;ң?ع???, ??ʽ:Ykxx=Cmd. ң?? xx??ӦiFunc Cmd??ʽ:cmd[,dat] ??Modbus?????ʽ??????ַ??CRC֮??????????ݣ?
|
27
|
;??Ҫ????ң?ع???, Э??汾?Ų???Ϊ??
|
28
|
Yk00=0503E7FF00 ;????յ?????
|
29
|
Yk01=0503E70000 ;????յ??ػ?
|
30
|
|
31
|
;[RegEx]??չ??????֧??
|
32
|
;ʮ?????Ʊ?ʾ,????:
|
33
|
[RegEx]
|
34
|
;0x42
|
35
|
0x43
|
36
|
;0x44
|
37
|
|
38
|
|
39
|
|
40
|
|
41
|
|
42
|
;regsX??ʾʹ?ù?????X (??֧??01??02??03??04??????)
|
43
|
[regs43]
|
44
|
0=4
|
45
|
0bit=2
|
46
|
1bit=2
|
47
|
2bit=2
|
48
|
3bit=2
|
49
|
9=2
|
50
|
13=7
|
51
|
31=1
|
52
|
45=9
|
53
|
110=1
|
54
|
|
55
|
|
56
|
|
57
|
;01??????
|
58
|
[regs1]
|
59
|
|
60
|
;02??????
|
61
|
[regs2]
|
62
|
|
63
|
;03??????
|
64
|
[regs3]
|
65
|
;ָ????ַ???ȡ?????ݸ???, ??ʽ?????ݵ?ַ=??ȡ??????. ??: ?ӵ?ַ40001??ȡ2?????ݣ???д??: 0=2.
|
66
|
;???ݵ?ַΪ10???Ʊ?ʾ????Э??????16???Ƶ?ַ????ת??Ϊ10???ƺ???д??
|
67
|
|
68
|
;???ݰ?λ??չ??ʶ, ???±?ʾ??ַΪ2?????ݰ?8λ??չ, ??[flds]??Ŀ?е??ֶκŰ?40003-x??ʽ
|
69
|
;2bit=1
|
70
|
;???ߵ??ֽ???չ??ʶ?????±?ʾΪ4??ַ?????ݰ??ߵ??ֽ???չ????[flds]??Ŀ?е??ֶκŰ?[40005-H 40005-L]??ʽ
|
71
|
;4HL=1
|
72
|
;???ߵ??ֽ?(4Bits)??????չ??ʶ?????±?ʾΪ4??ַ?????ݰ?Byte/2??չ????[flds]??Ŀ?е??ֶκŰ?[40005-HHB,40005-HLB,40005-LHB,40005-LLB]??ʽ
|
73
|
;4HLB=1
|
74
|
|
75
|
;04??????
|
76
|
[regs4]
|
77
|
|
78
|
;?ж??ֶζ???, ??ʽ: ?ֶκ?(Fld)=???ݵ?ַ. ?????ݲ??????жϼ??, ????????
|
79
|
;???ݵ?ַ??Ӧ????ַ: 01??????: 00000, 02??????: 10000, 03??????: 40000, 04??????: 30000
|
80
|
[flds]
|
81
|
;?ֶ?????
|
82
|
cnt=25
|
83
|
;?ֶ????ݵ?ַ????ʽ: ?ֶκ?(Fld)=???ݵ?ַ, ???±?ʾ: ?ֶ?1(Fld=1)?????ݵ?ַΪ40001, ??Ӧ[reg3]???????еĵ?ַ0
|
84
|
1=430001-0;??Դ??ʧ????
|
85
|
2=430001-8;???ά??????
|
86
|
3=430001-9;??ʪ??ά??????
|
87
|
4=430001-10;????ά??????
|
88
|
5=430001-11;??????ʧ????
|
89
|
|
90
|
6=430002-2;?ط???±???
|
91
|
7=430002-3;?ط???±???
|
92
|
8=430002-4;?ط??ʪ????
|
93
|
9=430002-5;?ط??ʪ????
|
94
|
|
95
|
10=430004-0;?ط??¶ȴ?????????
|
96
|
11=430004-1;?ط?ʪ?ȴ?????????
|
97
|
12=430004-2;?????¶ȴ?????????
|
98
|
13=430004-3;????ѹ????????????
|
99
|
|
100
|
|
101
|
14=430010;?ط??¶??趨
|
102
|
15=430011;?ط?ʪ???趨
|
103
|
16=430018;?ط??¶?
|
104
|
17=430019;?ط?ʪ??
|
105
|
18=430032;?յ?????״̬
|
106
|
|
107
|
|
108
|
19=430046;???
|
109
|
20=430047;ѹ????
|
110
|
21=430048;??????
|
111
|
22=430049;?????
|
112
|
23=430050;??ʪ??
|
113
|
24=430054;??ʪ
|
114
|
25=430111;ϵͳģʽ
|
115
|
|
116
|
|
117
|
|
118
|
|
119
|
|
120
|
|
121
|
;???????ͼ?ϵ??, ??ʽ: ???ݵ?ַ=Xfac,
|
122
|
;X??ʾ????????(L??ʾ32λ??????(??????ǰ?????ں?), l??ʾ32λ??????(LSBģʽ), I??ʾ32λ??????(MSBģʽ)
|
123
|
;f??ʾ?????ȸ?????), S??ʾ16λ?з?????????д??ʾ??λ??ǰ??Сд??ʾ??λ??ǰ??, U??ʾ16λ??????????д??ʾ??λ??ǰ??Сд??ʾ??λ??ǰ??,b??ʾ8λ?з?????
|
124
|
;LF??ʾ32λ?????ȸ???????MSBģʽ????????ǰ?????ں?Lf??ʾ32λ?????ȸ???????LSBģʽ????????ǰ?????ں?fl??ʾ32λ?????ȸ???????LSBģʽ????16λ ??16λ??????,
|
125
|
;fL??ʾ32λ?????ȸ???????MSBģʽ????16λ ??16λ??????
|
126
|
;fac??ʾϵ??, ??ϵ??Ϊ0.1, ??fac=0.1. ???????ʾΪ:
|
127
|
;40002=L0.1
|
128
|
;??λ??չ??ʶ, 1=8λ 2=16λ 4=32λ. ???±?ʾ???Ϊ2??????Ϊ16λ????״̬??
|
129
|
;2bit=2
|
130
|
;??λ??չ???ֶ?????, ???±?ʾ?ֶ?3????Ϊ???ݵ?ַ40003(??Ӧ[regs3]?ĵ?ַ2)???ݵ?BIT0
|
131
|
;3=40003-0
|
132
|
|
133
|
|
134
|
|
135
|
;???ݱ???????
|
136
|
[flds.def]
|
137
|
;??ʽ: ?ֶκ?(Fld)='????',??????,'????',??ֵ????,ϵ??,?ж?ģʽ,??Сֵ,'??Сֵ????',???ֵ,'???ֵ????'
|
138
|
; x=FldName,FldDept,Note,vkind,vfactor,vmode,vref,vtip,vref2,vtip2
|
139
|
; ???ֶκ?(x)?ĵ?1???ַ?Ϊ0, ???ʾ??????Ϊ????????
|
140
|
;????: ?ֶκ?(Fld)??[flds]?е??ֶκ?һһ??Ӧ
|
141
|
; ??ֵ????: ????, Ĭ??Ϊ0
|
142
|
; ϵ??: ʵ??ֵ???ȡֵ?ı?????ϵ, ??ϵ??=10, ??: ʵ??ֵ=??ȡֵ / 10
|
143
|
; ?ж?ģʽ: 0-?????, 1-????(v = vref), 2-??????(v != vref), 3-????(v > vref), 4-С??(v < vref),
|
144
|
; 10-?????, 11-??Χ??(vref <= v <= vref2), 12-??Χ??(v < vref or vref2 < v)
|
145
|
; Ĭ??????Ϊ?????(0 ???? 10)
|
146
|
16='Tem',1,'?ط??¶?',0,10,11,200,'??Сֵ|????????¶?',350,'???ֵ|????????¶?'
|
147
|
|
148
|
|
149
|
[flds.val]
|
150
|
|
151
|
[vals]
|
152
|
|
153
|
|
154
|
|