项目

一般

简介

SM4633.def

油机协议升级文件 - 李 凯健, 2024-06-11 17:49

 
1
;xxxx??????, ???: , ??Ŀ: 
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-MDBS4608
13
;?? %x%Ϊij?ֶ?ֵ, %xst%Ϊ?ֶ?״̬, ???в??ܴ??ֺ?";"
14
;brief=?¶?: %1%?? %1st%, ʪ??: %2% % %2st% 
15
;?Ƿ????CRCУ?飿0-??У?飬1-У??
16
;crc=0
17
;???ݰ??ֽڽ?????0-????׼UINT16??????1-???ֽڽ???
18
;DataByte=0
19

    
20

    
21
;regsX??ʾʹ?ù?????X (??֧??01??02??03??04??????)
22
;01??????
23
[regs1]
24

    
25
;02??????
26
[regs2]
27

    
28
;03??????
29
[regs3]
30
;ָ????ַ???ȡ?????ݸ???, ??ʽ?????ݵ?ַ=??ȡ??????. ??: ?ӵ?ַ40001??ȡ2?????ݣ???д??: 0=2. 
31
;???ݵ?ַΪ10???Ʊ?ʾ????Э??????16???Ƶ?ַ????ת??Ϊ10???ƺ???д??
32

    
33
;???ݰ?λ??չ??ʶ, ???±?ʾ??ַΪ2?????ݰ?8λ??չ, ??[flds]??Ŀ?е??ֶκŰ?40003-x??ʽ
34
;2bit=1
35

    
36
1030=32;
37
1536=20;
38
1800=10;
39

    
40
;04??????
41
[regs4]
42

    
43
;?ж??ֶζ???, ??ʽ: ?ֶκ?(Fld)=???ݵ?ַ. ?????ݲ??????жϼ??, ????????
44
;???ݵ?ַ??Ӧ????ַ: 01??????: 00000, 02??????: 10000, 03??????: 40000, 04??????: 30000
45
[flds]
46
;?ֶ?????
47
cnt=25
48
;?ֶ????ݵ?ַ????ʽ: ?ֶκ?(Fld)=???ݵ?ַ, ???±?ʾ: ?ֶ?1(Fld=1)?????ݵ?ַΪ40001, ??Ӧ[reg3]???????еĵ?ַ0
49

    
50

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

    
61
1=41032;?????Ƶ??
62

    
63
2=41033;L1-N???ѹ
64
41033=I
65
3=41035;L2-N???ѹ
66
41035=I
67
4=41037;L3-N???ѹ
68
41037=I
69
5=41039;L1-L2?ߵ?ѹ
70
41039=I
71
6=41041;L2-L3?ߵ?ѹ
72
41041=I
73
7=41043;L3-L1?ߵ?ѹ
74
41043=I
75
8=41045;L1?????
76
41045=I
77
9=41047;L2?????
78
41047=I
79
10=41049;L3?????
80
41049=I
81
11=41053;L1???й?????
82
41053=I
83
12=41055;L2???й?????
84
41055=I
85
13=41057;L3???й?????
86
41057=I
87
14=41537;?ܵ??й?????
88
41537=I
89
15=41539;L1?????ڹ???
90
41539=I
91
16=41541;L2?????ڹ???
92
41541=I
93
17=41543;L3?????ڹ???
94
41543=I
95
18=41545;?????ڹ???
96
41545=I
97
19=41547;L1???޹?????
98
41547=I
99
20=41549;L2???޹?????
100
41549=I
101
21=41551;L3???޹?????
102
41551=I
103
22=41553;???޹?????
104
41553=I
105
23=41802;????ǧ??ʱ
106

    
107
24=41806;????KVA/h
108

    
109
25=41808;????KVAr/h
110

    
111

    
112

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

    
150
[flds.val]
151

    
152
[vals]
153

    
154

    
155