项目

一般

简介

SM4719.def

李 凯健, 2024-04-19 16:04

 
1
;UPS, ???:4719 , ??Ŀ: #4873???ϰ???Ѹ
2
[comm]
3
;?򿪵????????Ϣ, 0-??????, 1-????
4
debug=1
5
;????
6
note=UPSMODBUSЭ??
7
;???ݶ?ȡʱ????(??????ָ???, ?ӳٶ?ȡ????ʱ????), ??λ: ????(ms)??Ĭ??10ms
8
delay=50
9
;????
10
mask=0
11
;?ͺ?????֧????????
12
model=OM-MDBS4719
13
;?? %x%Ϊij?ֶ?ֵ, %xst%Ϊ?ֶ?״̬, ???в??ܴ??ֺ?";"
14
brief=?????ѹR??: %6%V %6st%, ???????R??: %9%A  %9st% 
15
;?Ƿ????CRCУ?飿0-??У?飬1-У??
16
;crc=0
17
;???ݰ??ֽڽ?????0-????׼UINT16??????1-???ֽڽ???
18
;DataByte=0
19

    
20

    
21

    
22

    
23
;03??????
24
[regs3]
25
;ָ????ַ???ȡ?????ݸ???, ??ʽ?????ݵ?ַ=??ȡ??????. ??: ?ӵ?ַ40001??ȡ2?????ݣ???д??: 0=2. 
26
;???ݵ?ַΪ10???Ʊ?ʾ????Э??????16???Ƶ?ַ????ת??Ϊ10???ƺ???д??
27

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

    
31
8=52
32
64=1
33
64bit=2
34
64HLB=1
35

    
36
;?ж??ֶζ???, ??ʽ: ?ֶκ?(Fld)=???ݵ?ַ. ?????ݲ??????жϼ??, ????????
37
;???ݵ?ַ??Ӧ????ַ: 01??????: 00000, 02??????: 10000, 03??????: 40000, 04??????: 30000
38
[flds]
39
;?ֶ?????
40
cnt=46
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=40009;????ܵ?ѹV
55
2=40011;UPS???????%
56
3=40014;UPS?¶ȡ?
57
4=40015;????¶ȡ?
58
5=40017;????Ƶ??Hz
59
6=40018;?????ѹR??V
60
7=40019;?????ѹS??
61
8=40020;?????ѹT??
62
9=40021;???????R??A
63
10=40022;???????S??
64
11=40023;???????T??
65
12=40024;???????ڹ???R??VA
66
13=40025;???????ڹ???S??
67
14=40026;???????ڹ???T??
68
15=40028;???Ƶ??Hz
69
16=40029;?????ѹR??
70
17=40030;?????ѹS??
71
18=40031;?????ѹT??
72
19=40032;???????R??
73
20=40033;???????S??
74
21=40034;???????T??
75
22=40035;??????ڹ???R??VA
76
23=40036;??????ڹ???S??
77
24=40037;??????ڹ???T??
78
25=40039;?????Ч????R??
79
26=40040;?????Ч????S??
80
27=40041;?????Ч????T??
81
28=40046;??????ذٷֱ?R??%
82
29=40047;??????ذٷֱ?S??
83
30=40048;??????ذٷֱ?T??
84
31=40050;??·Ƶ??
85
32=40051;??·??ѹR??
86
33=40052;??·??ѹS??
87
34=40053;??·??ѹT??
88
35=40054;??·????R??
89
36=40055;??·????S??
90
37=40056;??·????T??
91
38=40057;??·???ڹ???R??
92
39=40058;??·???ڹ???S??
93
40=40059;??·???ڹ???T??
94
41=40065-7;?е?״̬
95
42=40065-6;??ص?ѹ
96
43=40065-5;????״̬
97
44=40065-LLB;UPS״̬
98
45=40013;??س?ŵ????
99
46=40065-4;
100

    
101

    
102

    
103
;???ݱ???????
104
[flds.def]
105
;??ʽ: ?ֶκ?(Fld)='????',??????,'????',??ֵ????,ϵ??,?ж?ģʽ,??Сֵ,'??Сֵ????',???ֵ,'???ֵ????'
106
;      x=FldName,FldDept,Note,vkind,vfactor,vmode,vref,vtip,vref2,vtip2
107
;      ???ֶκ?(x)?ĵ?1???ַ?Ϊ0, ???ʾ??????Ϊ????????
108
;????: ?ֶκ?(Fld)??[flds]?е??ֶκ?һһ??Ӧ
109
;	   ??ֵ????: ????, Ĭ??Ϊ0
110
;	   ϵ??: ʵ??ֵ???ȡֵ?ı?????ϵ, ??ϵ??=10, ??: ʵ??ֵ=??ȡֵ / 10
111
;	   ?ж?ģʽ: 0-?????, 1-????(v = vref), 2-??????(v != vref), 3-????(v > vref), 4-С??(v < vref), 
112
;				 10-?????, 11-??Χ??(vref <= v <= vref2), 12-??Χ??(v < vref or vref2 < v)
113
;				 Ĭ??????Ϊ?????(0 ???? 10)
114
1='Fld',1,'????ܵ?ѹ',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
115
2='Fld',1,'UPS???????',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
116
3='Fld',1,'UPS?¶?',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
117
4='Fld',1,'????¶?',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
118
5='Fld',1,'????Ƶ??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
119
6='Fld',1,'?????ѹR??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
120
7='Fld',1,'?????ѹS??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
121
8='Fld',1,'?????ѹT??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
122
9='Fld',1,'???????R??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
123
10='Fld',1,'???????S??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
124
11='Fld',1,'???????T??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
125
12='Fld',1,'???????ڹ???R??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
126
13='Fld',1,'???????ڹ???S??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
127
14='Fld',1,'???????ڹ???T??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
128
15='Fld',1,'???Ƶ??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
129
16='Fld',1,'?????ѹR??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
130
17='Fld',1,'?????ѹS??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
131
18='Fld',1,'?????ѹT??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
132
19='Fld',1,'???????R??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
133
20='Fld',1,'???????S??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
134
21='Fld',1,'???????T??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
135
22='Fld',1,'??????ڹ???R??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
136
23='Fld',1,'??????ڹ???S??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
137
24='Fld',1,'??????ڹ???T??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
138
25='Fld',1,'?????Ч????R??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
139
26='Fld',1,'?????Ч????S??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
140
27='Fld',1,'?????Ч????T??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
141
28='Fld',1,'??????ذٷֱ?R??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
142
29='Fld',1,'??????ذٷֱ?S??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
143
30='Fld',1,'??????ذٷֱ?T??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
144
31='Fld',1,'??·Ƶ??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
145
32='Fld',1,'??·??ѹR??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
146
33='Fld',1,'??·??ѹS??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
147
34='Fld',1,'??·??ѹT??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
148
35='Fld',1,'??·????R??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
149
36='Fld',1,'??·????S??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
150
37='Fld',1,'??·????T??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
151
38='Fld',1,'??·???ڹ???R??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
152
39='Fld',1,'??·???ڹ???S??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
153
40='Fld',1,'??·???ڹ???T??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
154
41='Fld',1,'?е?״̬',0,1,0,0,'0:??????1:???أ?2:????',0,''
155
42='Fld',1,'??ص?ѹ',0,1,0,0,'0:??????1:???أ?2:????',0,''
156
43='Fld',1,'????״̬',0,1,0,0,'0:??????1:???أ?2:????',0,''
157
44='Fld',1,'UPS״̬',0,1,0,0,'0:??????1:???أ?2:????',0,''
158
[flds.val]
159

    
160
[vals]
161

    
162

    
163