项目

一般

简介

SM5128.YDN23-UPS-模板.def

韦 士飞, 2018-11-24 17:17

 
1
;UPS Hipulse Uͨ??Э??V150, ???: 5128, Hipulse Uͨ??Э??V150  ??Ŀ: 
2
[comm]
3
;?򿪵????????Ϣ, 0-??????, 1-????
4
debug=0
5
;????
6
note=UPS Hipulse Uϵ??ͨѶЭ??
7
;???ݶ?ȡʱ????(??????ָ???, ?ӳٶ?ȡ????ʱ????), ??λ: ????(ms)??Ĭ??10ms
8
delay=10
9
;???ݳ?ʱʱ??, ??λ: ????(ms)??Ĭ??300ms
10
timeout=300
11
;????
12
mask=0
13
;?ͺ?????֧????????
14
model=OM-YD5128
15
;?? %x%Ϊij?ֶ?ֵ, %xst%Ϊ?ֶ?״̬, ???в??ܴ??ֺ?";"
16
brief=?¶?: %1%?? %1st%, ʪ??: %2% % %2st% 
17
;????Э??汾??, ?汾??Ϊ?ձ?ʾ?Զ???ȡ?汾
18
ver=11
19
;????Э?? CID1 ??????
20
cid1=2A
21
;????Э?? CID2 ??????, ??xxHyyH...??ʽ??CID2??????????д??. ?統ǰ֧?ֶ?ȡ??????CID2????????: 42H, 43H, 44H. ????д??ʽ????.
22
cid2=41HE1HE3H43H
23
;ң?ع???, ??ʽ:Ykxx=Cmd. ң?? xx??ӦiFunc Cmd??ʽ:cmd[,dat]
24
;??Ҫ????ң?ع???, Э??汾?Ų???Ϊ??
25
;Yk00=04
26

    
27
;ָ??????????ر?־?ֶ???Ϣ, ??Ŀ??????[comm]cid2??Ӧ
28
[41H]
29
;?????????Ƿ???? DATAFLAG ?ֶ?, 1??ʾ???????ݰ??? DATAFLAG ?ֶ?, 0??ʾ??????
30
dflag=1
31
;????????????, I(i)??ʾDATAI(??????), F(f)??ʾDATAF(??????), S(s)??ʾRUNSTATE(״̬)
32
dinfo=I
33
;????????ϵ??, ??????ֵ???ȡֵ?ı?????ϵ, ??ϵ??=10, ??: ??????ֵ=??ȡֵ * 10
34
dfac=1
35
;????ָ?? Command info ??Ϣ
36
dcmd=
37
;??ȡ???ݴ?С
38
dmax=
39
;???????ݶ?Ӧ??????ݵ????ݴ?С, "-"??ʾ??ʹ?ò?????(-??????????ݳ???, Ϊ????Ĭ?ϳ???),
40
;???ݳ??ȱ?ʾ: I(i)-INT16(2B), L(l)-INT32(4B), F(f)-FLOAT(4B), S(s)-STATE(1B)
41
;Ĭ??ΪS(s)-STATE(1B)
42
;?????Ϊ1??????ΪFLOAT??????????, ?????ݱ?ʾΪ
43
1=F	;?????????ߵ?ѹAB
44
2=F	;?????????ߵ?ѹBC
45
3=F	;?????????ߵ?ѹCA
46
4=F	;?????????ѹA
47
5=F	;?????????ѹB
48
6=F	;?????????ѹC
49
7=F	;???????????A
50
8=F	;???????????B
51
9=F	;???????????C
52
10=F	;??ص?ѹ
53
11=F	;???Ƶ??
54
;?????Ϊ12?????ݲ?????(???ɼ?), ???ݳ???ΪINT8(2B). INT8??STATE?ơ??????ݱ?ʾΪ??
55
12=-S
56
13=-S
57
14=-S
58
;??λ??չ??ʶ, 1=8λ 2=16λ 4=32λ. ???±?ʾ???Ϊ3??????Ϊ8λ????״̬??
59
;3bit=1
60

    
61
[E1H]
62
dflag=1
63
dinfo=S
64
dfac=1
65
dcmd=
66
1=-S	;ģ??????????13
67
2=-F	;?????????ߵ?ѹAB
68
3=-F	;?????????ߵ?ѹBC
69
4=-F	;?????????ߵ?ѹCA
70
5=F		;A?????????
71
6=F		;B?????????
72
7=F		;C?????????
73
8=F		;????Ƶ?ʣ?????һ?£?
74
9=-F	;?????빦??????
75
10=F	;A????·??ѹ
76
11=F	;B????·??ѹ
77
12=F	;C????·??ѹ
78
13=F	;??·Ƶ?ʣ?????һ?£?
79
14=-F	;??ص???
80

    
81
[E3H]
82
dflag=1
83
dinfo=S
84
dfac=1
85
dcmd=
86
1=-S  ;ģ??????????16
87
2=-  ;????A??????޹?????
88
3=-  ;????B??????޹?????
89
4=-  ;????C??????޹?????
90
5=-  ;ϵͳA??????й?????
91
6=-  ;ϵͳB??????й?????
92
7=-  ;ϵͳC??????й?????
93
8=-  ;ϵͳA????????ڹ???
94
9=-  ;ϵͳB????????ڹ???
95
10=-  ;ϵͳC????????ڹ???
96
11=-  ;ϵͳA??????޹?????
97
12=-  ;ϵͳB??????޹?????
98
13=-  ;ϵͳC??????޹?????
99
14=F  ;??غ?ʱ??
100
15=F  ;????¶?
101
16=-  ;?????¶?
102
17=-  ;????ϻ?ϵ??
103

    
104
[43H]
105
dflag=1
106
dinfo=S
107
dfac=1
108
dcmd=
109
1=S	;???緽ʽ
110
2=-	;?û??Զ???
111
3=S	;????Լ???
112
4=S	;????/???䣨???飩
113
5=S	;????/?ػ?
114
6=S	;UPS????
115
7=S	;?????????
116
8=S	;???뿪??״̬
117
9=S	;ά????·????״̬
118
10=S	;??·????״̬
119
11=S	;???????״̬
120
12=S	;????ϵͳ????״̬
121
13=S	;??ת????״̬(????,Ԥ??)
122
14=S	;?˲???״̬
123
15=S	;????״̬
124
16=S	;??????????״̬
125
17=S	;ECOģʽ״̬
126

    
127
;?ж??ֶζ???, ??ʽ: ?ֶκ?(Fld)=???ݵ?ַ. ?????ݲ??????жϼ??, ????????
128
[flds]
129
;?ֶ?????
130
cnt=61
131
;?ֶ???????š???ʽ: ?ֶκ?(Fld)=???ݵ?ַ?????ݵ?ַ??CID2+IDX??ʽ??ʾ, IDX??ʾ??Ӧ?????????
132
;1=42H02
133
;??λ??չ??ʶ, 1=8λ 2=16λ 4=32λ. ???±?ʾ???Ϊ1??????Ϊ16λ????״̬??
134
;1bit=2
135
;??λ??չ???ֶ?????, ???±?ʾ?ֶ?3????Ϊ???ݵ?ַ40003(??Ӧ[regs3]?ĵ?ַ2)???ݵ?BIT0
136
;3=42H02-0
137
1=41H01	;?????ѹA
138
2=41H02	;?????ѹB
139
3=41H03	;?????ѹC
140
4=41H04	;?????ѹA
141
5=41H05	;?????ѹB
142
6=41H06	;?????ѹC
143
7=E1H05	;???????A
144
8=E1H06	;???????B
145
9=E1H07	;???????C
146
10=41H07	;???????A
147
11=41H08	;???????B
148
12=41H09	;???????C
149
13=E1H08	;????Ƶ??
150
16=41H11	;???Ƶ??
151
;19=	;?й?????A
152
;20=	;?й?????B
153
;21=	;?й?????C
154
22=E3H15	;????¶?
155
24=43H01	;???緽ʽ
156
25=43H03	;????Լ???
157
26=43H04	;????/???䣨???飩
158
27=43H05	;????/?ػ?
159
28=43H06	;UPS????
160
29=43H07	;?????????
161
30=43H08	;???뿪??״̬
162
31=43H09	;ά????·????״̬
163
32=43H10	;??·????״̬
164
33=43H11	;???????״̬
165
34=43H12	;????ϵͳ????״̬
166
35=43H13	;??ת????״̬(????,Ԥ??)
167
36=43H14	;?˲???״̬
168
37=43H15	;????״̬
169
38=43H16	;??????????״̬
170
39=43H17	;ECOģʽ״̬
171
40=41H10	;??ص?ѹ
172
;41=	;???????
173
42=E3H14	;???ʣ??ʱ??
174
;48=	;????ģʽ
175
55=E1H10	;??·??ѹA
176
56=E1H11	;??·??ѹB
177
57=E1H12	;??·??ѹC
178
;58=	;??·????A
179
;59=	;??·????B
180
;60=	;??·????C
181
61=E1H13	;??·Ƶ??
182

    
183

    
184

    
185
;???ݱ???????
186
[flds.def]
187
;??ʽ: ?ֶκ?(Fld)='????',??????,'????',??ֵ????,ϵ??,?ж?ģʽ,??Сֵ,'??Сֵ????',???ֵ,'???ֵ????'
188
;      x=FldName,FldDept,Note,vkind,vfactor,vmode,vref,vtip,vref2,vtip2
189
;      ???ֶκ?(x)?ĵ?1???ַ?Ϊ0, ???ʾ??????Ϊ????????
190
;????: ?ֶκ?(Fld)??[flds]?е??ֶκ?һһ??Ӧ
191
;	   ??ֵ????: ????, Ĭ??Ϊ0
192
;	   ϵ??: ʵ??ֵ???ȡֵ?ı?????ϵ, ??ϵ??=10, ??: ʵ??ֵ=??ȡֵ / 10
193
;	   ?ж?ģʽ: 0-?????, 1-????(v = vref), 2-??????(v != vref), 3-????(v > vref), 4-С??(v < vref), 
194
;				 10-?????, 11-??Χ??(vref <= v <= vref2), 12-??Χ??(v < vref or vref2 < v)
195
;				 Ĭ??????Ϊ?????(0 ???? 10)
196
1='Vin1',1,'?????ѹA',0,10,10,2000,'??Сֵ|????????????ѹ,???ڴ?ֵ?澯',2350,'???ֵ|????????????ѹ,??????ֵ?澯'
197
2='Vin2',1,'?????ѹB',0,10,10,2000,'??Сֵ|????????????ѹ,???ڴ?ֵ?澯',2350,'???ֵ|????????????ѹ,??????ֵ?澯'
198
3='Vin3',1,'?????ѹC',0,10,10,2000,'??Сֵ|????????????ѹ,???ڴ?ֵ?澯',2350,'???ֵ|????????????ѹ,??????ֵ?澯'
199
4='Vout1',1,'?????ѹA',0,10,10,2000,'??Сֵ|????????????ѹ,???ڴ?ֵ?澯',2350,'???ֵ|????????????ѹ,??????ֵ?澯'
200
5='Vout2',1,'?????ѹB',0,10,10,2000,'??Сֵ|????????????ѹ,???ڴ?ֵ?澯',2350,'???ֵ|????????????ѹ,??????ֵ?澯'
201
6='Vout3',1,'?????ѹC',0,10,10,2000,'??Сֵ|????????????ѹ,???ڴ?ֵ?澯',2350,'???ֵ|????????????ѹ,??????ֵ?澯'
202
7='Iin1',1,'???????A',0,10,10,0,'??Сֵ|??????????????,???ڴ?ֵ?澯',150,'???ֵ|??????????????,??????ֵ?澯'
203
8='Iin2',1,'???????B',0,10,10,0,'??Сֵ|??????????????,???ڴ?ֵ?澯',150,'???ֵ|??????????????,??????ֵ?澯'
204
9='Iin3',1,'???????C',0,10,10,0,'??Сֵ|??????????????,???ڴ?ֵ?澯',150,'???ֵ|??????????????,??????ֵ?澯'
205
10='Iout1',1,'???????A',0,10,10,0,'??Сֵ|??????????????,???ڴ?ֵ?澯',150,'???ֵ|??????????????,??????ֵ?澯'
206
11='Iout2',1,'???????B',0,10,10,0,'??Сֵ|??????????????,???ڴ?ֵ?澯',150,'???ֵ|??????????????,??????ֵ?澯'
207
12='Iout3',1,'???????C',0,10,10,0,'??Сֵ|??????????????,???ڴ?ֵ?澯',150,'???ֵ|??????????????,??????ֵ?澯'
208
13='Fin1',1,'????Ƶ??',0,10,10,490,'??Сֵ|???????????Ƶ??,???ڴ?ֵ?澯',510,'???ֵ|???????????Ƶ??,??????ֵ?澯'
209
;14='Fin2',1,'????Ƶ??B',0,10,10,490,'??Сֵ|???????????Ƶ??,???ڴ?ֵ?澯',510,'???ֵ|???????????Ƶ??,??????ֵ?澯'
210
;15='Fin3',1,'????Ƶ??C',0,10,10,490,'??Сֵ|???????????Ƶ??,???ڴ?ֵ?澯',510,'???ֵ|???????????Ƶ??,??????ֵ?澯'
211
16='Fout1',1,'???Ƶ??',0,10,10,490,'??Сֵ|??????????Ƶ??,???ڴ?ֵ?澯',510,'???ֵ|??????????Ƶ??,??????ֵ?澯'
212
;17='Fout2',1,'???Ƶ??B',0,10,10,490,'??Сֵ|??????????Ƶ??,???ڴ?ֵ?澯',510,'???ֵ|??????????Ƶ??,??????ֵ?澯'
213
;18='Fout3',1,'???Ƶ??C',0,10,10,490,'??Сֵ|??????????Ƶ??,???ڴ?ֵ?澯',510,'???ֵ|??????????Ƶ??,??????ֵ?澯'
214
;19='Pout1',1,'?й?????A',0,10,10,0,'??Сֵ|??????????????,???ڴ?ֵ?澯',5000,'???ֵ|??????????????,??????ֵ?澯'
215
;20='Pout2',1,'?й?????B',0,10,10,0,'??Сֵ|??????????????,???ڴ?ֵ?澯',5000,'???ֵ|??????????????,??????ֵ?澯'
216
;21='Pout3',1,'?й?????C',0,10,10,0,'??Сֵ|??????????????,???ڴ?ֵ?澯',5000,'???ֵ|??????????????,??????ֵ?澯'
217
22='Tem',1,'????¶?',0,10,10,200,'??Сֵ|????????¶?,???ڴ?ֵ?澯',650,'???ֵ|????????¶?,??????ֵ?澯'
218
24='b15',1,'???緽ʽ',0,1,0,0,'01H??UPS???? 02H????·???? E9H??????????',0,''
219
25='b14',1,'????Լ???',0,1,0,0,'E0H???Լ??? E1H??û???Լ?',0,''
220
26='b13',1,'????/???䣨???飩',0,1,0,0,'E0H?????? E1H?????? E2H???dz??״̬',0,''
221
27='b12',1,'????/?ػ?',0,1,0,0,'E0H???ػ? E1H??????',0,''
222
28='b11',1,'UPS????',0,1,0,0,'E0H????·??乩?? E1H???????乩?? E2H????????乩?? E3H:  ??????ؾ???????',0,''
223
29='b10',1,'?????????',0,1,0,0,'E0H??????????? E1H???????û????',0,'0'
224
30='b9', 1,'???뿪??״̬',0,1,0,0,'E0H???Ͽ?״̬ E1H???պ?״̬',0,''
225
31='b8', 1,'ά????·????״̬',0,1,0,0,'E0H???Ͽ?״̬ E1H???պ?״̬',0,'0'
226
32='b7', 1,'??·????״̬',0,1,0,0,'E0H???Ͽ?״̬ E1H???պ?״̬',0,''
227
33='b6', 1,'???????״̬',0,1,0,0,'E0H???Ͽ?״̬ E1H???պ?״̬',0,''
228
34='b5', 1,'????ϵͳ????״̬',0,1,0,0,'E0H????·??乩?? E1H???????乩?? E2H????·???? E3H:  ????????',0,''
229
35='b4', 1,'??ת????״̬(????,Ԥ??)',0,1,0,0,'E0H???ر?״̬ E1H??????״̬????????ģʽ?? E2H??????״̬ E3H????·״̬ E4H??ά??״̬ E5H????䲽??????ģʽ',0,''
230
36='b3', 1,'?˲???״̬',0,1,0,0,'E0H??δ???? E1H??????',0,''
231
37='b2', 1,'????״̬',0,1,0,0,'E0H??δ???? E1H??????????',0,'0'
232
38='b1', 1,'??????????״̬',0,1,0,0,'E0H??????????״̬ E1H??PFC????״̬',0,''
233
39='b0', 1,'ECOģʽ״̬',0,1,0,0,'E0H??????ģʽ E1H??ECOģʽ',0,'0'
234
40='Vbatt',1,'??ص?ѹ',0,10,10,2000,'??Сֵ|??????͵?ص?ѹ,???ڴ?ֵ?澯',2350,'???ֵ|??????ߵ?ص?ѹ,??????ֵ?澯'
235
;41='Pbatt',1,'???????',0,10,10,2000,'??Сֵ|??????͵??????,???ڴ?ֵ?澯',2350,'???ֵ|??????ߵ??????,??????ֵ?澯'
236
42='Mbatt',1,'???ʣ??ʱ??',0,10,10,2000,'??Сֵ|??????͵??ʣ??ʱ??,???ڴ?ֵ?澯',2350,'???ֵ|??????ߵ??ʣ??ʱ??,??????ֵ?澯'
237
;48='v1',1,'????ģʽ',0,1,0,0,'1??????ģʽ 2????·ģʽ 3???е?ģʽ 4?????ģʽ 5??????Լ? 6??????ģʽ 7????Ƶģʽ 8???????ػ?ģʽ 9???ػ?ģʽ',0,''
238
55='VB1',1,'??·??ѹA',0,10,10,2000,'??Сֵ|????????????ѹ,???ڴ?ֵ?澯',2350,'???ֵ|????????????ѹ,??????ֵ?澯'
239
56='VB2',1,'??·??ѹB',0,10,10,2000,'??Сֵ|????????????ѹ,???ڴ?ֵ?澯',2350,'???ֵ|????????????ѹ,??????ֵ?澯'
240
57='VB3',1,'??·??ѹC',0,10,10,2000,'??Сֵ|????????????ѹ,???ڴ?ֵ?澯',2350,'???ֵ|????????????ѹ,??????ֵ?澯'
241
;58='IB1',1,'??·????A',0,10,10,0,'??Сֵ|??????????????,???ڴ?ֵ?澯',150,'???ֵ|??????????????,??????ֵ?澯'
242
;59='IB2',1,'??·????B',0,10,10,0,'??Сֵ|??????????????,???ڴ?ֵ?澯',150,'???ֵ|??????????????,??????ֵ?澯'
243
;60='IB3',1,'??·????C',0,10,10,0,'??Сֵ|??????????????,???ڴ?ֵ?澯',150,'???ֵ|??????????????,??????ֵ?澯'
244
61='FB1',1,'??·Ƶ??',0,10,10,490,'??Сֵ|??????????Ƶ??,???ڴ?ֵ?澯',510,'???ֵ|??????????Ƶ??,??????ֵ?澯'
245
;62='FB2',1,'??·Ƶ??B',0,10,10,490,'??Сֵ|??????????Ƶ??,???ڴ?ֵ?澯',510,'???ֵ|??????????Ƶ??,??????ֵ?澯'
246
;63='FB3',1,'??·Ƶ??C',0,10,10,490,'??Сֵ|??????????Ƶ??,???ڴ?ֵ?澯',510,'???ֵ|??????????Ƶ??,??????ֵ?澯'
247

    
248

    
249
[flds.val]
250

    
251
[vals]
252