1
|
;#5336?????????????ӿƼ?????˾ ???
|
2
|
[comm]
|
3
|
;?????????Ϣ, 0-??????, 1-????
|
4
|
debug=1
|
5
|
;????
|
6
|
note=???MODBUSЭ??
|
7
|
;???ݶ?ȡʱ????(??????ָ???, ?ӳٶ?ȡ????ʱ????), ??λ: ????(ms)??Ĭ??10ms
|
8
|
delay=50
|
9
|
;????
|
10
|
mask=0
|
11
|
;?ͺ?????֧????????
|
12
|
model=OM-MDBS4923
|
13
|
;?? %x%Ϊij?ֶ?ֵ, %xst%Ϊ?ֶ?״̬, ???в??ܴ??ֺ?";"
|
14
|
brief=A???ѹ: %1%V %1st%, A?????: %3% A %3st%
|
15
|
;?Ƿ????CRCУ?飿0-??У?飬1-У??
|
16
|
;crc=0
|
17
|
;???ݰ??ֽڽ?????0-????UINT16??????1-???ֽڽ???
|
18
|
;DataByte=0
|
19
|
|
20
|
|
21
|
|
22
|
;03??????
|
23
|
[regs3]
|
24
|
;ָ????ַ???ȡ?????ݸ???, ??ʽ?????ݵ?ַ=??ȡ??????. ??: ?ӵ?ַ40001??ȡ2?????ݣ???д??: 0=2.
|
25
|
;???ݵ?ַΪ10???Ʊ?ʾ????Э??????16???Ƶ?ַ????ת??Ϊ10???ƺ???д??
|
26
|
|
27
|
;???ݰ?λ??չ??ʶ, ???±?ʾ??ַΪ2?????ݰ?8λ??չ, ??[flds]??Ŀ?е??ֶκŰ?40003-x??ʽ
|
28
|
;2bit=1
|
29
|
|
30
|
0=41;
|
31
|
|
32
|
|
33
|
;04??????
|
34
|
[regs4]
|
35
|
|
36
|
;?ж??ֶζ???, ??ʽ: ?ֶκ?(Fld)=???ݵ?ַ. ?????ݲ??????жϼ??, ????????
|
37
|
;???ݵ?ַ??Ӧ????ַ: 01??????: 00000, 02??????: 10000, 03??????: 40000, 04??????: 30000
|
38
|
[flds]
|
39
|
;?ֶ?????
|
40
|
cnt=21
|
41
|
;?ֶ????ݵ?ַ????ʽ: ?ֶκ?(Fld)=???ݵ?ַ, ???±?ʾ: ?ֶ?1(Fld=1)?????ݵ?ַΪ40001, ??Ӧ[reg3]???????еĵ?ַ0
|
42
|
|
43
|
|
44
|
;???????ͼ?ϵ??, ??ʽ: ???ݵ?ַ=Xfac,
|
45
|
;X??ʾ????????(L??ʾ32λ??????(??????ǰ?????ں?), l??ʾ32λ??????(LSBģʽ), I??ʾ32λ??????(MSBģʽ)
|
46
|
;f??ʾ?????ȸ?????),F??ʾ32λ˫???ȸ??㣬S??ʾ16λ?з?????????д??ʾ??λ??ǰ??Сд??ʾ??λ??ǰ??, U??ʾ16λ??????????д??ʾ??λ??ǰ??Сд??ʾ??λ??ǰ??,b??ʾ8λ?з?????
|
47
|
;fac??ʾϵ??, ??ϵ??Ϊ0.1, ??fac=0.1. ???????ʾΪ:
|
48
|
;40002=L0.1
|
49
|
;??λ??չ??ʶ, 1=8λ 2=16λ 4=32λ. ???±?ʾ???Ϊ2??????Ϊ16λ????״̬??
|
50
|
;2bit=2
|
51
|
;??λ??չ???ֶ?????, ???±?ʾ?ֶ?3????Ϊ???ݵ?ַ40003(??Ӧ[regs3]?ĵ?ַ2)???ݵ?BIT0
|
52
|
;3=40003-0
|
53
|
|
54
|
1=40001;A???ѹ
|
55
|
2=40002;AB?ߵ?ѹ
|
56
|
3=40003;A?????
|
57
|
40003=S300
|
58
|
4=40005;A???й?????
|
59
|
40005_MUL=0.4
|
60
|
5=40006;A???????
|
61
|
6=40007;A????????
|
62
|
40007_MUL=0.4
|
63
|
7=40008;A?????ڹ???
|
64
|
40008_MUL=0.2
|
65
|
|
66
|
8=40009;B???ѹ
|
67
|
9=40010;BC?ߵ?ѹ
|
68
|
10=40011;B?????
|
69
|
40011=S300
|
70
|
11=40013;B???й?????
|
71
|
40013_MUL=0.4
|
72
|
12=40014;B???????
|
73
|
13=40015;B????????
|
74
|
40015_MUL=0.4
|
75
|
14=40016;B?????ڹ???
|
76
|
40016_MUL=0.2
|
77
|
|
78
|
15=40017;C???ѹ
|
79
|
16=40018;CA?ߵ?ѹ
|
80
|
17=40019;C?????
|
81
|
40019=S300
|
82
|
18=40021;C???й?????
|
83
|
40021_MUL=0.4
|
84
|
19=40022;C???????
|
85
|
20=40023;C????????
|
86
|
40023_MUL=0.4
|
87
|
21=40024;C?????ڹ???
|
88
|
40024_MUL=0.2
|
89
|
|
90
|
;22=40034;???й?????
|
91
|
;40034=LF
|
92
|
;23=40036;???й?????
|
93
|
;40036=LF
|
94
|
;24=40038;????????
|
95
|
;40038=LF
|
96
|
;25=40040;????????
|
97
|
;40040=LF
|
98
|
;26=40028;Ƶ??
|
99
|
|
100
|
|
101
|
|
102
|
;???ݱ???????
|
103
|
[flds.def]
|
104
|
;??ʽ: ?ֶκ?(Fld)='????',??????,'????',??ֵ????,ϵ??,?ж?ģʽ,??Сֵ,'??Сֵ????',???ֵ,'???ֵ????'
|
105
|
; x=FldName,FldDept,Note,vkind,vfactor,vmode,vref,vtip,vref2,vtip2
|
106
|
; ???ֶκ?(x)?ĵ?1???ַ?Ϊ0, ???ʾ??????Ϊ????????
|
107
|
;????: ?ֶκ?(Fld)??[flds]?е??ֶκ?һһ??Ӧ
|
108
|
; ??ֵ????: ????, Ĭ??Ϊ0
|
109
|
; ϵ??: ʵ??ֵ???ȡֵ?ı?????ϵ, ??ϵ??=10, ??: ʵ??ֵ=??ȡֵ / 10
|
110
|
; ?ж?ģʽ: 0-?????, 1-????(v = vref), 2-??????(v != vref), 3-????(v > vref), 4-С??(v < vref),
|
111
|
; 10-?????, 11-??Χ??(vref <= v <= vref2), 12-??Χ??(v < vref or vref2 < v)
|
112
|
; Ĭ??????Ϊ?????(0 ???? 10)
|
113
|
1='Fld',1,'A???ѹ',0,100,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
114
|
2='Fld',1,'AB?ߵ?ѹ',0,100,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
115
|
3='Fld',1,'A?????',0,10000,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
116
|
4='Fld',1,'A???й?????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
117
|
5='Fld',1,'A???????',0,10000,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
118
|
6='Fld',1,'A????????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
119
|
7='Fld',1,'A?????ڹ???',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
120
|
|
121
|
8='Fld',1,'B???ѹ',0,100,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
122
|
9='Fld',1,'BC?ߵ?ѹ',0,100,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
123
|
10='Fld',1,'B?????',0,10000,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
124
|
11='Fld',1,'B???й?????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
125
|
12='Fld',1,'B???????',0,10000,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
126
|
13='Fld',1,'B????????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
127
|
14='Fld',1,'B?????ڹ???',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
128
|
|
129
|
15='Fld',1,'C???ѹ',0,100,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
130
|
16='Fld',1,'CA?ߵ?ѹ',0,100,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
131
|
17='Fld',1,'C?????',0,10000,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
132
|
18='Fld',1,'C???й?????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
133
|
19='Fld',1,'C???????',0,10000,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
134
|
20='Fld',1,'C????????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
135
|
21='Fld',1,'C?????ڹ???',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
136
|
|
137
|
;22='Fld',1,'???й?????',0,1000,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
138
|
;23='Fld',1,'???й?????',0,1000,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
139
|
;24='Fld',1,'????????',0,1000,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
140
|
;25='Fld',1,'????????',0,1000,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
141
|
;26='Fld',1,'Ƶ??',0,100,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
142
|
|
143
|
[flds.val]
|
144
|
|
145
|
[vals]
|
146
|
|
147
|
|
148
|
|