项目

一般

简介

SM4917.def

水泵机组10bar - 李 凯健, 2024-09-27 19:11

 
1
;ˮ??, ???: 4909, ??Ŀ: #3845 ???????μѻ??Ƽ????޹?˾
2
[comm]
3
;?򿪵????????Ϣ, 0-??????, 1-????
4
debug=1
5
;????
6
note=ˮ??
7
;???ݶ?ȡʱ????(??????ָ???, ?ӳٶ?ȡ????ʱ????), ??λ: ????(ms)??Ĭ??10ms
8
delay=50
9
;????
10
mask=0
11
;?ͺ?????֧????????
12
model=OM-MDBS4910
13
;?? %x%Ϊij?ֶ?ֵ, %xst%Ϊ?ֶ?״̬, ???в??ܴ??ֺ?";"
14
;brief=???ѹ??: %31% Bar %31st% , ????ѹ??: I1: I3:%33% Bar %33st%
15
;?Ƿ????CRCУ?飿0-??У?飬1-У??
16
;crc=0
17
;???ݰ??ֽڽ?????0-????׼UINT16??????1-???ֽڽ???
18
;DataByte=0
19

    
20
;ң?ع???, ??ʽ:Ykxx=Cmd. ң?? xx??ӦiFunc Cmd??ʽ:cmd[,dat] ??Modbus?????ʽ??????ַ??CRC֮??????????ݣ?
21
;??Ҫ????ң?ع???, Э??汾?Ų???Ϊ??
22

    
23
Yk00=0600640001;?ر?
24

    
25
Yk01=0600640003;????
26

    
27
Yk02=0600650005;?ջ?
28

    
29
Yk03=0600650000;????
30

    
31

    
32

    
33

    
34
;03??????
35
[regs3]
36
;ָ????ַ???ȡ?????ݸ???, ??ʽ?????ݵ?ַ=??ȡ??????. ??: ?ӵ?ַ40001??ȡ2?????ݣ???д??: 
37
;???ݵ?ַΪ10???Ʊ?ʾ????Э??????16???Ƶ?ַ????ת??Ϊ10???ƺ???д??
38

    
39
200=3;
40
200bit=2;
41
307=1;
42
315=1;
43

    
44
400=5;
45
400bit=2;
46
410=5;
47
410bit=2;
48
420=5;
49
420bit=2;
50

    
51
430=5;
52
430bit=2;
53
440=5;
54
440bit=2;
55
450=5;
56
450bit=2;
57

    
58

    
59

    
60

    
61
;?ж??ֶζ???, ??ʽ: ?ֶκ?(Fld)=???ݵ?ַ. ?????ݲ??????жϼ??, ????????
62
;???ݵ?ַ??Ӧ????ַ: 01??????: 00000, 02??????: 10000, 03??????: 40000, 04??????: 30000
63
[flds]
64
;?ֶ?????
65
cnt=30
66
;?ֶ????ݵ?ַ????ʽ: ?ֶκ?(Fld)=???ݵ?ַ, ???±?ʾ: ?ֶ?1(Fld=1)?????ݵ?ַΪ40001, ??Ӧ[reg3]???????еĵ?ַ0
67

    
68

    
69

    
70
1=40201-9;ˮ??״̬        ֹͣ=0??????=1
71
2=40201-6;ˮ??????״̬    ??ˮ??????=0????ˮ??????=1
72
3=40308;?趨ֵ   100  %
73

    
74
4=40316;ʵ??ֵ   /1000
75

    
76

    
77
5=40401-1;ˮ??1??ͣ
78
6=40401-2;ˮ??1????״̬
79
7=40402;ˮ??1????????
80
8=40405;ˮ??1ת??
81

    
82
9=40411-1;ˮ??2??ͣ
83
10=40411-2;ˮ??2????״̬
84
11=40412;ˮ??2????????
85
12=40415;ˮ??2ת??
86

    
87
13=40421-1;ˮ??3??ͣ
88
14=40421-2;ˮ??3????״̬
89
15=40422;ˮ??3????????
90
16=40425;ˮ??3ת??
91

    
92
17=40201-8;????ģʽ
93
18=40203;????ģʽ
94

    
95
19=40401-1;ˮ??4??ͣ
96
20=40401-2;ˮ??4????״̬
97
21=40402;ˮ??4????????
98
22=40405;ˮ??4ת??
99

    
100
23=40411-1;ˮ??5??ͣ
101
24=40411-2;ˮ??5????״̬
102
25=40412;ˮ??5????????
103
26=40415;ˮ??5ת??
104

    
105
27=40421-1;ˮ??6??ͣ
106
28=40421-2;ˮ??6????״̬
107
29=40422;ˮ??6????????
108
30=40425;ˮ??6ת??
109

    
110

    
111

    
112

    
113

    
114
;???????ͼ?ϵ??, ??ʽ: ???ݵ?ַ=Xfac, 
115
;X??ʾ????????(L??ʾ32λ??????(??????ǰ?????ں?), l??ʾ32λ??????(LSBģʽ), I??ʾ32λ??????(MSBģʽ)
116
;f??ʾ?????ȸ?????), S??ʾ16λ?з?????????д??ʾ??λ??ǰ??Сд??ʾ??λ??ǰ??, U??ʾ16λ?޷?????????д??ʾ??λ??ǰ??Сд??ʾ??λ??ǰ??,b??ʾ8λ?з?????
117
;LF??ʾ32λ?????ȸ???????MSBģʽ????????ǰ?????ں󣩣?Lf??ʾ32λ?????ȸ???????LSBģʽ????????ǰ?????ں󣩣?fl??ʾ32λ?????ȸ???????LSBģʽ????16λ ??16λ??????,
118
;fL??ʾ32λ?????ȸ???????MSBģʽ????16λ ??16λ??????
119
;fac??ʾϵ??, ??ϵ??Ϊ0.1, ??fac=0.1. ???????ʾΪ: 
120
;40002=L0.1
121
;??λ??չ??ʶ, 1=8λ 2=16λ 4=32λ. ???±?ʾ???Ϊ2??????Ϊ16λ????״̬??
122
;2bit=2
123
;??λ??չ???ֶ?????, ???±?ʾ?ֶ?3????Ϊ???ݵ?ַ40003(??Ӧ[regs3]?ĵ?ַ2)???ݵ?BIT0
124
;3=40003-0
125

    
126

    
127

    
128
;???ݱ???????
129
[flds.def]
130
;??ʽ: ?ֶκ?(Fld)='????',??????,'????',??ֵ????,ϵ??,?ж?ģʽ,??Сֵ,'??Сֵ????',???ֵ,'???ֵ????'
131
;      x=FldName,FldDept,Note,vkind,vfactor,vmode,vref,vtip,vref2,vtip2
132
;      ???ֶκ?(x)?ĵ?1???ַ?Ϊ0, ???ʾ??????Ϊ????????
133
;????: ?ֶκ?(Fld)??[flds]?е??ֶκ?һһ??Ӧ
134
;	   ??ֵ????: ????, Ĭ??Ϊ0
135
;	   ϵ??: ʵ??ֵ???ȡֵ?ı?????ϵ, ??ϵ??=10, ??: ʵ??ֵ=??ȡֵ / 10
136
;	   ?ж?ģʽ: 0-?????, 1-????(v = vref), 2-??????(v != vref), 3-????(v > vref), 4-С??(v < vref), 
137
;				 10-?????, 11-??Χ??(vref <= v <= vref2), 12-??Χ??(v < vref or vref2 < v)
138
;				 Ĭ??????Ϊ?????(0 ???? 10)
139

    
140

    
141

    
142
1='Fld',1,'ˮ??״̬',0,1,0,0,'0:ֹͣ??1:????',0,''
143
2='Fld',1,'ˮ??????״̬',0,1,0,0,'0:???أ?1:Զ??',0,''
144
3='Fld',1,'?趨ֵ',0,1,1000,100,'??Сֵ|???????ֵ.',10000,'???ֵ|???????ֵ'
145
4='Fld',1,'ʵ??ֵ',0,1,1000,100,'??Сֵ|???????ֵ.',1000,'???ֵ|???????ֵ'
146

    
147
5='Fld',1,'ˮ??1??ͣ',0,1,0,0,'0:ֹͣ??1:????',0,''
148
6='Fld',1,'ˮ??1????״̬',0,1,0,0,'0:??????1:?澯',0,''
149
7='Fld',1,'ˮ??1????????',0,1,0,0,'0:??????1:?澯',0,''
150
8='Fld',1,'ˮ??1ת??',0,1,100,100,'??Сֵ|???????ֵ.',1000,'???ֵ|???????ֵ'
151

    
152

    
153
9='Fld',1,'ˮ??2??ͣ',0,1,0,0,'0:ֹͣ??1:????',0,''
154
10='Fld',1,'ˮ??2????״̬',0,1,0,0,'0:??????1:?澯',0,''
155
11='Fld',1,'ˮ??2????????',0,1,0,0,'0:??????1:?澯',0,''
156
12='Fld',1,'ˮ??2ת??',0,1,100,100,'??Сֵ|???????ֵ.',1000,'???ֵ|???????ֵ'
157

    
158
13='Fld',1,'ˮ??3??ͣ',0,1,0,0,'0:ֹͣ??1:????',0,''
159
14='Fld',1,'ˮ??3????״̬',0,1,0,0,'0:??????1:?澯',0,''
160
15='Fld',1,'ˮ??3????????',0,1,0,0,'0:??????1:?澯',0,''
161
16='Fld',1,'ˮ??3ת??',0,1,100,100,'??Сֵ|???????ֵ.',1000,'???ֵ|???????ֵ'
162

    
163

    
164
19='Fld',1,'ˮ??1??ͣ',0,1,0,0,'0:ֹͣ??1:????',0,''
165
20='Fld',1,'ˮ??1????״̬',0,1,0,0,'0:??????1:?澯',0,''
166
21='Fld',1,'ˮ??1????????',0,1,0,0,'0:??????1:?澯',0,''
167
22='Fld',1,'ˮ??1ת??',0,1,100,100,'??Сֵ|???????ֵ.',1000,'???ֵ|???????ֵ'
168

    
169

    
170
23='Fld',1,'ˮ??2??ͣ',0,1,0,0,'0:ֹͣ??1:????',0,''
171
24='Fld',1,'ˮ??2????״̬',0,1,0,0,'0:??????1:?澯',0,''
172
25='Fld',1,'ˮ??2????????',0,1,0,0,'0:??????1:?澯',0,''
173
26='Fld',1,'ˮ??2ת??',0,1,100,100,'??Сֵ|???????ֵ.',1000,'???ֵ|???????ֵ'
174

    
175
27='Fld',1,'ˮ??3??ͣ',0,1,0,0,'0:ֹͣ??1:????',0,''
176
28='Fld',1,'ˮ??3????״̬',0,1,0,0,'0:??????1:?澯',0,''
177
29='Fld',1,'ˮ??3????????',0,1,0,0,'0:??????1:?澯',0,''
178
30='Fld',1,'ˮ??3ת??',0,1,100,100,'??Сֵ|???????ֵ.',1000,'???ֵ|???????ֵ'
179

    
180

    
181

    
182
[flds.val]
183

    
184
[vals]
185

    
186

    
187