项目

一般

简介

SM6145.def

陆 志毅, 2024-10-15 15:07

 
1
;UPS??????[Giant Elite 33 10-40K Э??-20181224.xlsx], ???:6145[6144~6655] , ??Ŀ: #5720
2
;???ݱ???tbAscii,tbAsciiDat.???ݽṹ????tbModbus??tbModbusDat
3
[comm]
4
;?򿪵????????Ϣ, 0-??????, 1-????
5
debug=1
6
;????
7
note=UPS????ͨѶЭ??
8
;???ݶ?ȡʱ????(??????ָ???, ?ӳٶ?ȡ????ʱ????), ??λ: ????(ms)??Ĭ??10ms
9
delay=500
10
;??????ʱ??Ҫ????????????????Ӧ, ??λ: ????(ms)??Ĭ??10ms
11
delayv=0
12
;???ݳ?ʱʱ??, ??λ: ????(ms)??Ĭ??300ms
13
timeout=300
14
;????
15
mask=0
16
;?ͺ?????֧????????(XXXX??ʾЭ???ʶ????ʵ?ʶ???)
17
model=OM-UPS-GiantElite
18
;?? %x%Ϊij?ֶ?ֵ, %xst%Ϊ?ֶ?״̬, ???в??ܴ??ֺ?";"
19
brief=?????ѹ??R,S,T??: %1%V %1st%,%2%V %2st%,%3%V %3st%, ????Ƶ??: %4%A %4st% 
20

    
21

    
22
;ָ???б?
23
[CMDL]
24
;ָ??????
25
Cnt=3
26
;ָ??ID=ָ??
27
1=P007QGS1
28
2=P007QGS2
29
3=P008PEPD
30

    
31

    
32
;
33
;P007QGS1 ָ??
34
[P007QGS1]
35
;ָ?ʼ??ǣ?Ĭ????
36
SCmd=^
37
;ָ???????ǣ?Ĭ?ϻس?<cr>("0x"??ͷ??ʾ16???????ݣ??ո?ֿ?ÿ???ֽ????ݡ??????ַ???ͷ???ַ?????ʽ)
38
ECmd=0x4F 23 0D
39
;???ݿ?ʼ??ǣ?Ĭ??"("
40
SData=^D130
41
;ָ???????ǣ?Ĭ?ϻس?<cr>
42
;EData=
43
;?ָ??ַ???Ĭ?Ͽո?
44
delim=,
45
;??ȡ??????,(?ֽ???)
46
LenDat=135
47

    
48
;???????ͼ?ϵ??, ??ʽ: ????ID=Xfac,
49
;X??ʾ???????ͣ?['-'-?????ݲ???ȡ??'F'-?????ȸ???????'I'-??????...??Ĭ????????ϵ??Ϊ1??]
50
;fac??ʾϵ??
51
1=F10
52
2=F10
53
3=F10
54
4=F10
55
5=F10
56
6=F10
57
7=F10
58
8=F10
59
9=F10
60
10=F10
61
11=F10
62
12=F10
63
13=F10
64
14=F10
65
15=F10
66
16=F10
67
17=F10
68
18=F10
69
19=F10
70
20=F10
71
21=F10
72
22=F10
73

    
74

    
75

    
76
;???????ݣ??????ã?ʵ?ʽ???ɾ??
77
;
78

    
79

    
80
;P007QGS2 ָ??
81
[P007QGS2]
82
;ָ?ʼ??ǣ?Ĭ????
83
SCmd=^
84
;ָ???????ǣ?Ĭ?ϻس?<cr>("0x"??ͷ??ʾ16???????ݣ??ո?ֿ?ÿ???ֽ????ݡ??????ַ???ͷ???ַ?????ʽ)
85
ECmd=0x7F 40 0D
86
;???ݿ?ʼ??ǣ?Ĭ??"("
87
SData=^D123
88
;ָ???????ǣ?Ĭ?ϻس?<cr>
89
;EData=
90
;?ָ??ַ???Ĭ?Ͽո?
91
delim=,
92
;??ȡ??????,(?ֽ???)
93
LenDat=128
94

    
95
;???????ͼ?ϵ??, ??ʽ: ????ID=Xfac,
96
;X??ʾ???????ͣ?['-'-?????ݲ???ȡ??'F'-?????ȸ???????'I'-??????...??Ĭ????????ϵ??Ϊ1??]
97
;fac??ʾϵ??
98
1=I
99
2=F10
100
3=F10
101
4=F10
102
5=F10
103
6=F10
104
7=F10
105
8=I
106
9=I
107
10=I
108
11=I
109
12=I
110
13=I
111
14=I
112
15=I
113
16=I
114
17=I
115
18=F10
116
19=F10
117
20=F10
118
21=F10
119
22=F10
120

    
121

    
122

    
123
;???????ݣ??????ã?ʵ?ʽ???ɾ??
124
;
125

    
126

    
127

    
128
;P008PEPD ָ??
129
[P008PEPD]
130
;ָ?ʼ??ǣ?Ĭ????
131
SCmd=^
132
;ָ???????ǣ?Ĭ?ϻس?<cr>("0x"??ͷ??ʾ16???????ݣ??ո?ֿ?ÿ???ֽ????ݡ??????ַ???ͷ???ַ?????ʽ)
133
ECmd=0x3F 71 51 0D
134
;???ݿ?ʼ??ǣ?Ĭ??"("
135
SData=^D023A
136
;ָ???????ǣ?Ĭ?ϻس?<cr>
137
;EData=
138
;?ָ??ַ???Ĭ?Ͽո?
139
delim=,
140
;??ȡ??????,(?ֽ???)
141
LenDat=28
142

    
143

    
144

    
145
;???????ͼ?ϵ??, ??ʽ: ????ID=Xfac,
146
;X??ʾ???????ͣ?['-'-?????ݲ???ȡ??'F'-?????ȸ???????'I'-??????...??Ĭ????????ϵ??Ϊ1??]
147
;fac??ʾϵ??
148
1=I
149
2bit=2
150
3bit=2
151
4bit=2
152
5bit=2
153
6bit=2
154
7bit=2
155

    
156

    
157

    
158

    
159
;???????ݣ??????ã?ʵ?ʽ???ɾ??
160
;
161

    
162
;?ж??ֶζ???, ??ʽ: ?ֶκ?(Fld)=???ݵ?ַ. ?????ݲ??????жϼ??, ????????
163
;???ݵ?ַ??Ӧ????ַ: ָ??ID+001??????1001??1002...
164
[flds]
165
;?ֶ?????
166
cnt=44
167
;?ֶ????ݵ?ַ????ʽ: ?ֶκ?(Fld)=???ݵ?ַ[ָ??ID+00x], ???±?ʾ: ?ֶ?1(Fld=1)?????ݵ?ַΪ1001, ??Ӧ[Q1]ָ???һ?????????.
168
1=1001              ;Grid voltage(R)	A: 0~9, unit: 1V
169
2=1002              ;Grid voltage(S)	B: 0~9, unit: 1V
170
3=1003              ;Grid voltage(T)	C: 0~9, unit: 1V
171
4=1004              ;Grid frequency	D: 0~9, unit: 1Hz
172
5=1005              ;Inverter voltage(R)	E: 0~9, unit: 1V
173
6=1006              ;Inverter voltage(S)	F: 0~9, unit: 1V
174
7=1007              ;Inverter voltage(T)	G: 0~9, unit: 1V
175
8=1008              ;Inverter current(R)	H: 0~9, unit: 1A
176
9=1009              ;Inverter current(S)	I: 0~9, unit: 1A
177
10=1010             ;Inverter current(T)	J: 0~9, unit: 1A
178
11=1011             ;Inverter frequency	K: 0~9, unit: 1Hz
179
12=1012             ;Output voltage(R)	L: 0~9, unit: 1V
180
13=1013             ;Output voltage(S)	M: 0~9, unit: 1V
181
14=1014             ;Output voltage(T)	N: 0~9, unit: 1V
182
15=1015             ;Output frequency	O: 0~9, unit: 1Hz
183
16=1016             ;Output current(R)	P: 0~9, unit: 1A
184
17=1017             ;Output current(S)	Q: 0~9, unit: 1A
185
18=1018             ;Output current(T)	R: 0~9, unit: 1A
186
19=1019             ;Bypass voltage(R)	S: 0~9, unit: 1V
187
20=1021             ;Bypass voltage(S)	U: 0~9, unit: 1V
188
21=1022             ;Bypass voltage(T)	V: 0~9, unit: 1V
189
22=1020             ;Bypass frequency	T: 0~9, unit: 1Hz
190

    
191
23=2001             ;AA	Working mode	A:0~9, 01[Poweron mode];02[Standby mode];03[Grid mode];04[Bypass mode];05[Battery mode];06[ECO mode];07[Fault mode];08[Shutdown mode];09[Test mode]
192
24=2002             ;BBB.B	Grid voltage(RS)			B: 0~9, unit: 1V
193
25=2003             ;CCC.C	Grid voltage(ST)			C: 0~9, unit: 1V
194
26=2004             ;DDD.D	Grid voltage(TR)			D: 0~9, unit: 1V
195
27=2005             ;EEE.E	Inverter voltage(RS)		E: 0~9, unit: 1V
196
28=2006             ;FFF.F	Inverter voltage(ST)		F: 0~9, unit: 1V
197
29=2007             ;GGG.G	Inverter voltage(TR)		G: 0~9, unit: 1V
198
30=2008             ;HHHHH	AC output active power(R)	H: 0~9, unit:  W
199
31=2009             ;IIIII	AC output active power(S)	I: 0~9, unit:  W
200
32=2010             ;JJJJJ	AC output active power(T)	J: 0~9, unit:  W
201
33=2011             ;KKKKK	AC output apparent power?	K: 0~9, unit:  VA
202
34=2012             ;LLLLL	AC output apparent power(S)	L: 0~9, unit:  VA
203
35=2013             ;MMMMM	AC output apparent power(T)	M: 0~9, unit:  VA
204
36=2014             ;NNN	Output load percent(R)			N: 0~9, unit:  %
205
37=2015             ;OOO	Output load percent(S)			O: 0~9, unit:  %
206
38=2016             ;PPP	Output load percent(T)			P: 0~9, unit:  %
207
39=2017             ;QQQ	The max Output load percent		Q: 0~9, unit:  %
208
40=2018             ;RRR.R	Bus voltage					R: 0~9, unit: 1V
209
41=2019             ;SSS.S	battery voltage				S: 0~9, unit: 1V
210
42=2020             ;TT.T	Inverter DC component(R)	T: 0~9, unit: 1V
211
43=2021             ;UU.U	Inverter DC component(S)	U: 0~9, unit: 1V
212
44=2022             ;VV.V	Inverter DC component(T)	V: 0~9, unit: 1V
213

    
214

    
215

    
216

    
217

    
218

    
219

    
220

    
221

    
222
;???ݱ???????
223
;??ʽ: ?ֶκ?(Fld)='????',??????,'????',??ֵ????,ϵ??,?ж?ģʽ,??Сֵ,'??Сֵ????',???ֵ,'???ֵ????'
224
;      x=FldName,FldDept,Note,vkind,vfactor,vmode,vref,vtip,vref2,vtip2
225
;      ???ֶκ?(x)?ĵ?1???ַ?Ϊ0, ???ʾ??????Ϊ????????
226
;????: ?ֶκ?(Fld)??[flds]?е??ֶκ?һһ??Ӧ
227
;	   ??ֵ????: ????, Ĭ??Ϊ0
228
;	   ϵ??: ʵ??ֵ???ȡֵ?ı?????ϵ, ??ϵ??=10, ??: ʵ??ֵ=??ȡֵ / 10
229
;	   ?ж?ģʽ: 0-?????, 1-????(v = vref), 2-??????(v != vref), 3-????(v > vref), 4-С??(v < vref), 
230
;				 10-?????, 11-??Χ??(vref <= v <= vref2), 12-??Χ??(v < vref or vref2 < v)
231
;				 Ĭ??????Ϊ?????(0 ???? 10)
232
[flds.def]
233
1='VinR',1,'?????ѹR',0,10,11,2000,'??Сֵ|???????ֵ',2400,'???ֵ|???????ֵ'
234
2='VinS',1,'?????ѹS',0,10,11,2000,'??Сֵ|???????ֵ',2400,'???ֵ|???????ֵ'
235
3='VinT',1,'?????ѹT',0,10,11,2000,'??Сֵ|???????ֵ',2400,'???ֵ|???????ֵ'
236
4='Hzin',1,'????Ƶ??',0,10,11,450,'??Сֵ|???????ֵ',550,'???ֵ|???????ֵ'
237
5='VInverterR',1,'????ѹR',0,10,11,2000,'??Сֵ|???????ֵ',2400,'???ֵ|???????ֵ'
238
6='VInverterS',1,'????ѹS',0,10,11,2000,'??Сֵ|???????ֵ',2400,'???ֵ|???????ֵ'
239
7='VInverterT',1,'????ѹT',0,10,11,2000,'??Сֵ|???????ֵ',2400,'???ֵ|???????ֵ'
240
8='AInverterR',1,'??????R',0,10,11,0,'??Сֵ|???????ֵ',150,'???ֵ|???????ֵ'
241
9='AInverterS',1,'??????S',0,10,11,0,'??Сֵ|???????ֵ',150,'???ֵ|???????ֵ'
242
10='AInverterT',1,'??????T',0,10,11,0,'??Сֵ|???????ֵ',150,'???ֵ|???????ֵ'
243
11='HzInverter',1,'???Ƶ??',0,10,11,450,'??Сֵ|???????ֵ',550,'???ֵ|???????ֵ'
244
12='VOutR',1,'?????ѹR',0,10,11,2000,'??Сֵ|???????ֵ',2400,'???ֵ|???????ֵ'
245
13='VOutS',1,'?????ѹS',0,10,11,2000,'??Сֵ|???????ֵ',2400,'???ֵ|???????ֵ'
246
14='VOutT',1,'?????ѹT',0,10,11,2000,'??Сֵ|???????ֵ',2400,'???ֵ|???????ֵ'
247
15='HzOut',1,'???Ƶ??',0,10,11,450,'??Сֵ|???????ֵ',550,'???ֵ|???????ֵ'
248
16='AOutR',1,'???????R',0,10,11,0,'??Сֵ|???????ֵ',150,'???ֵ|???????ֵ'
249
17='AOutS',1,'???????S',0,10,11,0,'??Сֵ|???????ֵ',150,'???ֵ|???????ֵ'
250
18='AOutT',1,'???????T',0,10,11,0,'??Сֵ|???????ֵ',150,'???ֵ|???????ֵ'
251
19='VByPassR',1,'??·??ѹR',0,10,11,2000,'??Сֵ|???????ֵ',2400,'???ֵ|???????ֵ'
252
20='VByPassS',1,'??·??ѹS',0,10,11,2000,'??Сֵ|???????ֵ',2400,'???ֵ|???????ֵ'
253
21='VByPassT',1,'??·????T',0,10,11,2000,'??Сֵ|???????ֵ',2400,'???ֵ|???????ֵ'
254
22='HzByPass',1,'??·Ƶ??',0,10,11,450,'??Сֵ|???????ֵ',550,'???ֵ|???????ֵ'
255
23='Work Mode',1,'????ģʽ',0,1,0,0,'1-????ģʽ,2-??ģʽ,3-????ģʽ,4-??·ģʽ,5-???ģʽ,6-ECO ģʽ,7-????ģʽ,8-?ػ?ģʽ,9-????ģʽ',9,'???ֵ|???????ֵ'
256
24='VinRS',1,'?????ѹRS',0,10,11,3500,'??Сֵ|???????ֵ',4000,'???ֵ|???????ֵ'
257
25='VinST',1,'?????ѹST',0,10,11,3500,'??Сֵ|???????ֵ',4000,'???ֵ|???????ֵ'
258
26='VinTR',1,'?????ѹTR',0,10,11,3500,'??Сֵ|???????ֵ',4000,'???ֵ|???????ֵ'
259
27='VInverterRS',1,'????ѹRS',0,10,11,3500,'??Сֵ|???????ֵ',4000,'???ֵ|???????ֵ'
260
28='VInverterST',1,'????ѹST',0,10,11,3500,'??Сֵ|???????ֵ',4000,'???ֵ|???????ֵ'
261
29='VInverterTR',1,'????ѹTR',0,10,11,3500,'??Сֵ|???????ֵ',4000,'???ֵ|???????ֵ'
262
30='OutActivePowerS',1,'????????й?????-R',0,1,11,0,'??Сֵ|???????ֵ',3000,'???ֵ|???????ֵ'
263
31='OutActivePowerT',1,'????????й?????-S',0,1,11,0,'??Сֵ|???????ֵ',3000,'???ֵ|???????ֵ'
264
32='OutActivePowerR',1,'????????й?????-T',0,1,11,0,'??Сֵ|???????ֵ',3000,'???ֵ|???????ֵ'
265
33='OutApparentPowerS',1,'??????????ڹ???-R',0,1,11,0,'??Сֵ|???????ֵ',3000,'???ֵ|???????ֵ'
266
34='OutApparentPowerT',1,'??????????ڹ???-S',0,1,11,0,'??Сֵ|???????ֵ',3000,'???ֵ|???????ֵ'
267
35='OutApparentPowerR',1,'??????????ڹ???-T',0,1,11,0,'??Сֵ|???????ֵ',3000,'???ֵ|???????ֵ'
268
36='OutLoadS',1,'??????ذٷֱ?-R',0,1,11,0,'??Сֵ|???????ֵ',100,'???ֵ|???????ֵ'
269
37='OutLoadT',1,'??????ذٷֱ?-S',0,1,11,0,'??Сֵ|???????ֵ',100,'???ֵ|???????ֵ'
270
38='OutLoadR',1,'??????ذٷֱ?-T',0,1,11,0,'??Сֵ|???????ֵ',100,'???ֵ|???????ֵ'
271
39='maxOutLoadS',1,'?????????ذٷֱ?',0,1,11,0,'??Сֵ|???????ֵ',100,'???ֵ|???????ֵ'
272
40='VBus',1,'bus??ѹ',0,10,11,0,'??Сֵ|???????ֵ',4500,'???ֵ|???????ֵ'
273
41='VBattery',1,'??ص?ѹ',0,10,11,0,'??Сֵ|???????ֵ',4500,'???ֵ|???????ֵ'
274
42='VDCInverterR',1,'ֱ??????ѹ-R',0,10,11,0,'??Сֵ|???????ֵ',120,'???ֵ|???????ֵ'
275
43='VDCInverterS',1,'ֱ??????ѹ-S',0,10,11,0,'??Сֵ|???????ֵ',120,'???ֵ|???????ֵ'
276
44='VDCInverterT',1,'ֱ??????ѹ-T',0,10,11,0,'??Сֵ|???????ֵ',120,'???ֵ|???????ֵ'
277
     
278
[flds.val]
279

    
280
[vals]
281

    
282

    
283