项目

一般

简介

SM4923.def

品信电表升级文件 - 李 凯健, 2024-07-01 14:27

 
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?????: %7% A %7st% 
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
;36=30
31
62=1;
32
79=50;
33

    
34

    
35
;04??????
36
[regs4]
37

    
38
;?ж??ֶζ???, ??ʽ: ?ֶκ?(Fld)=???ݵ?ַ. ?????ݲ??????жϼ??, ????????
39
;???ݵ?ַ??Ӧ????ַ: 01??????: 00000, 02??????: 10000, 03??????: 40000, 04??????: 30000
40
[flds]
41
;?ֶ?????
42
cnt=26
43
;?ֶ????ݵ?ַ????ʽ: ?ֶκ?(Fld)=???ݵ?ַ, ???±?ʾ: ?ֶ?1(Fld=1)?????ݵ?ַΪ40001, ??Ӧ[reg3]???????еĵ?ַ0
44

    
45

    
46
;???????ͼ?ϵ??, ??ʽ: ???ݵ?ַ=Xfac, 
47
;X??ʾ????????(L??ʾ32λ??????(??????ǰ?????ں?), l??ʾ32λ??????(LSBģʽ), I??ʾ32λ??????(MSBģʽ)
48
;f??ʾ?????ȸ?????),F??ʾ32λ˫???ȸ??㣬S??ʾ16λ?з?????????д??ʾ??λ??ǰ??Сд??ʾ??λ??ǰ??, U??ʾ16λ?޷?????????д??ʾ??λ??ǰ??Сд??ʾ??λ??ǰ??,b??ʾ8λ?з?????
49
;fac??ʾϵ??, ??ϵ??Ϊ0.1, ??fac=0.1. ???????ʾΪ: 
50
;40002=L0.1
51
;??λ??չ??ʶ, 1=8λ 2=16λ 4=32λ. ???±?ʾ???Ϊ2??????Ϊ16λ????״̬??
52
;2bit=2
53
;??λ??չ???ֶ?????, ???±?ʾ?ֶ?3????Ϊ???ݵ?ַ40003(??Ӧ[regs3]?ĵ?ַ2)???ݵ?BIT0
54
;3=40003-0
55

    
56
1=40080;A???ѹ
57
40080=Lf
58
2=40082;B???ѹ
59
40082=Lf
60
3=40084;C???ѹ
61
40084=Lf
62
4=40086;AB???ѹ
63
40086=Lf
64
5=40088;BC???ѹ
65
40088=Lf
66
6=40090;CA???ѹ
67
40090=Lf
68
7=40092;A?????
69
40092=Lf
70
8=40094;B?????
71
40094=Lf
72
9=40096;C?????
73
40096=Lf
74
10=40098;A???й?????
75
40098=Lf
76
11=40100;B???й?????
77
40100=Lf
78
12=40102;C???й?????
79
40102=Lf
80
13=40104;???й?????
81
40104=Lf
82
14=40106;A???޹?????
83
40106=Lf
84
15=40108;B???޹?????
85
40108=Lf
86
16=40110;C???޹?????
87
40110=Lf
88

    
89
17=40112;???޹?????
90
40112=Lf
91
18=40114;A?๦??????
92
40114=Lf
93
19=40116;B?๦??????
94
40116=Lf
95
20=40118;C?๦??????
96
40118=Lf
97
21=40120;?ܹ???????
98
40120=Lf
99
22=40122;A?????ڹ??? 
100
40122=Lf
101
23=40124;B?????ڹ???
102
40124=Lf
103
24=40126;C?????ڹ???
104
40126=Lf
105
25=40128;?????ڹ???
106
40128=Lf
107
26=40063;Ƶ??
108

    
109

    
110

    
111
;???ݱ???????
112
[flds.def]
113
;??ʽ: ?ֶκ?(Fld)='????',??????,'????',??ֵ????,ϵ??,?ж?ģʽ,??Сֵ,'??Сֵ????',???ֵ,'???ֵ????'
114
;      x=FldName,FldDept,Note,vkind,vfactor,vmode,vref,vtip,vref2,vtip2
115
;      ???ֶκ?(x)?ĵ?1???ַ?Ϊ0, ???ʾ??????Ϊ????????
116
;????: ?ֶκ?(Fld)??[flds]?е??ֶκ?һһ??Ӧ
117
;	   ??ֵ????: ????, Ĭ??Ϊ0
118
;	   ϵ??: ʵ??ֵ???ȡֵ?ı?????ϵ, ??ϵ??=10, ??: ʵ??ֵ=??ȡֵ / 10
119
;	   ?ж?ģʽ: 0-?????, 1-????(v = vref), 2-??????(v != vref), 3-????(v > vref), 4-С??(v < vref), 
120
;				 10-?????, 11-??Χ??(vref <= v <= vref2), 12-??Χ??(v < vref or vref2 < v)
121
;				 Ĭ??????Ϊ?????(0 ???? 10)
122
1='Fld',1,'A???ѹ',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
123
2='Fld',1,'B???ѹ',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
124
3='Fld',1,'C???ѹ',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
125
4='Fld',1,'AB?ߵ?ѹ',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
126
5='Fld',1,'BC?ߵ?ѹ',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
127
6='Fld',1,'CA?ߵ?ѹ',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
128
7='Fld',1,'A?????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
129
8='Fld',1,'B?????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
130
9='Fld',1,'C?????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
131
10='Fld',1,'A???й?????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
132
11='Fld',1,'B???й?????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
133
12='Fld',1,'C???й?????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
134
13='Fld',1,'???й?????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
135
14='Fld',1,'A???޹?????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
136
15='Fld',1,'B???޹?????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
137
16='Fld',1,'C???޹?????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
138
17='Fld',1,'???޹?????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
139
18='Fld',1,'A?๦??????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
140
19='Fld',1,'B?๦??????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
141
20='Fld',1,'C?๦??????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
142
21='Fld',1,'?ܹ???????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
143
22='Fld',1,'A?????ڹ???',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
144
23='Fld',1,'B?????ڹ???',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
145
24='Fld',1,'C?????ڹ???',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
146
25='Fld',1,'?????ڹ???',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
147
26='Fld',1,'Ƶ??',0,100,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
148

    
149
[flds.val]
150

    
151
[vals]
152

    
153

    
154