1
|
;#5579?½?????????Ƽ?????˾ ???
|
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-MDBS4971
|
13
|
;?? %x%Ϊij?ֶ?ֵ, %xst%Ϊ?ֶ?״̬, ???в??ܴ??ֺ?";"
|
14
|
brief=A???ѹ: %1%V %1st%, B???ѹ: %2% V %2st% , C???ѹ: %3% V %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=43;
|
31
|
|
32
|
|
33
|
;04??????
|
34
|
[regs4]
|
35
|
|
36
|
;?ж??ֶζ???, ??ʽ: ?ֶκ?(Fld)=???ݵ?ַ. ?????ݲ??????жϼ??, ????????
|
37
|
;???ݵ?ַ??Ӧ????ַ: 01??????: 00000, 02??????: 10000, 03??????: 40000, 04??????: 30000
|
38
|
[flds]
|
39
|
;?ֶ?????
|
40
|
cnt=29
|
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;???ѹua
|
55
|
2=40002;???ѹub
|
56
|
3=40003;???ѹuc
|
57
|
|
58
|
4=40004;?????Ia
|
59
|
5=40005;?????Ib
|
60
|
6=40006;?????Ic
|
61
|
7=40007;?????In
|
62
|
|
63
|
8=40008;???й?????
|
64
|
9=40009;A???й?????
|
65
|
10=40010;B???й?????
|
66
|
11=40011;C???й?????
|
67
|
|
68
|
12=40012;????????
|
69
|
40012=S
|
70
|
13=40013;A????????
|
71
|
40013=S
|
72
|
14=40014;B????????
|
73
|
40014=S
|
74
|
15=40015;C????????
|
75
|
40015=S
|
76
|
|
77
|
16=40016;?????ڹ???
|
78
|
17=40017;A?????ڹ???
|
79
|
18=40018;B?????ڹ???
|
80
|
19=40019;C?????ڹ???
|
81
|
|
82
|
20=40020;?ܹ???????
|
83
|
21=40021;A???????
|
84
|
22=40022;B???????
|
85
|
23=40023;C???????
|
86
|
|
87
|
24=40024;?ߵ?ѹUab
|
88
|
25=40025;?ߵ?ѹUbc
|
89
|
26=40026;?ߵ?ѹUca
|
90
|
|
91
|
27=40027;A??Ƶ??
|
92
|
28=40028;B??Ƶ??
|
93
|
29=40029;C??Ƶ??
|
94
|
|
95
|
|
96
|
|
97
|
;???ݱ???????
|
98
|
[flds.def]
|
99
|
;??ʽ: ?ֶκ?(Fld)='????',??????,'????',??ֵ????,ϵ??,?ж?ģʽ,??Сֵ,'??Сֵ????',???ֵ,'???ֵ????'
|
100
|
; x=FldName,FldDept,Note,vkind,vfactor,vmode,vref,vtip,vref2,vtip2
|
101
|
; ???ֶκ?(x)?ĵ?1???ַ?Ϊ0, ???ʾ??????Ϊ????????
|
102
|
;????: ?ֶκ?(Fld)??[flds]?е??ֶκ?һһ??Ӧ
|
103
|
; ??ֵ????: ????, Ĭ??Ϊ0
|
104
|
; ϵ??: ʵ??ֵ???ȡֵ?ı?????ϵ, ??ϵ??=10, ??: ʵ??ֵ=??ȡֵ / 10
|
105
|
; ?ж?ģʽ: 0-?????, 1-????(v = vref), 2-??????(v != vref), 3-????(v > vref), 4-С??(v < vref),
|
106
|
; 10-?????, 11-??Χ??(vref <= v <= vref2), 12-??Χ??(v < vref or vref2 < v)
|
107
|
; Ĭ??????Ϊ?????(0 ???? 10)
|
108
|
1='Fld',1,'???ѹua',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
109
|
2='Fld',1,'???ѹub',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
110
|
3='Fld',1,'???ѹuc',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
111
|
4='Fld',1,'?????Ia',0,1000,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
112
|
5='Fld',1,'?????Ib',0,1000,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
113
|
6='Fld',1,'?????Ic',0,1000,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
114
|
7='Fld',1,'?????In',0,1000,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
115
|
8='Fld',1,'???й?????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
116
|
9='Fld',1,'A???й?????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
117
|
10='Fld',1,'B???й?????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
118
|
11='Fld',1,'C???й?????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
119
|
12='Fld',1,'????????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
120
|
13='Fld',1,'A????????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
121
|
14='Fld',1,'B????????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
122
|
15='Fld',1,'C????????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
123
|
16='Fld',1,'?????ڹ???',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
124
|
17='Fld',1,'A?????ڹ???',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
125
|
18='Fld',1,'B?????ڹ???',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
126
|
19='Fld',1,'C?????ڹ???',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
127
|
20='Fld',1,'?ܹ???????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
128
|
21='Fld',1,'A???????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
129
|
22='Fld',1,'B???????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
130
|
23='Fld',1,'C???????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
131
|
24='Fld',1,'?ߵ?ѹUab',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
132
|
25='Fld',1,'?ߵ?ѹUbc',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
133
|
26='Fld',1,'?ߵ?ѹUca',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
134
|
27='Fld',1,'A??Ƶ??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
135
|
28='Fld',1,'B??Ƶ??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
136
|
29='Fld',1,'C??Ƶ??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
137
|
|
138
|
[flds.val]
|
139
|
|
140
|
[vals]
|
141
|
|
142
|
|
143
|
|