项目

一般

简介

SM5129.YDN23-精密空调-模板.def

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

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

    
27
;ָ??????????ر?־?ֶ???Ϣ, ??Ŀ??????[comm]cid2??Ӧ
28
[42H]
29
;?????????Ƿ???? DATAFLAG ?ֶ?, 1??ʾ???????ݰ??? DATAFLAG ?ֶ?, 0??ʾ??????
30
dflag=0
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??????ΪINT16????????, ?????ݱ?ʾΪ
43
1=I	;?¶?ֵ
44
2=I	;ʪ??ֵ
45
3=I	;A???ѹ
46
4=I	;B???ѹ
47
5=I	;C???ѹ
48
6=I	;??ʪ??????
49
7=I	;??ԴƵ??
50
;?????Ϊ2?????ݲ?????(???ɼ?). ?????ݲ???????????????ݳ???. Ĭ?ϰ?dinfoָ???????ݳ??ȡ??????ݱ?ʾΪ??
51
8=-
52
9=-
53
10=-
54
11=-
55
12=-
56
13=-
57
14=-
58
;?????Ϊ3?????ݲ?????(???ɼ?), ???ݳ???ΪINT16(2B). ?????ݱ?ʾΪ??
59
15=-I
60
;??λ??չ??ʶ, 1=8λ 2=16λ 4=32λ. ???±?ʾ???Ϊ3??????Ϊ8λ????״̬??
61
;3bit=1
62

    
63
[82H]
64
dflag=0
65
dinfo=S
66
dfac=1
67
dcmd=
68
dmax=
69
1=S		;?յ????ػ?״̬
70
2=S		;??????????״̬
71
3=S		;??ʪ?????????״̬
72
4=S		;ѹ????1???????״̬
73
5=S		;ѹ????2???????״̬
74
6=S		;????1???????״̬
75
7=S		;????2???????״̬
76
8=S		;???????????????״̬
77
9=S		;Һ·??ͨ1???????״̬
78
10=S	;Һ·??ͨ2???????״̬
79
11=S	;עˮ???????״̬
80
12=S	;??ʪ???????״̬
81
13=S	;???????????״̬
82
14=S	;ѹ????1???????????״̬
83
15=S	;ѹ????2???????????״̬
84
16=S	;????״̬
85
17=S	;????״̬
86
18=S	;??ʪ״̬
87
19=S	;??ʪ״̬
88

    
89
;?ж??ֶζ???, ??ʽ: ?ֶκ?(Fld)=???ݵ?ַ. ?????ݲ??????жϼ??, ????????
90
[flds]
91
;?ֶ?????
92
cnt=39
93
;?ֶ???????š???ʽ: ?ֶκ?(Fld)=???ݵ?ַ?????ݵ?ַ??CID2+IDX??ʽ??ʾ, IDX??ʾ??Ӧ?????????
94
;1=42H02 ;???????ѹA
95
;??λ??չ??ʶ, 1=8λ 2=16λ 4=32λ. ???±?ʾ???Ϊ1??????Ϊ16λ????״̬??
96
;1bit=2
97
;??λ??չ???ֶ?????, ???±?ʾ?ֶ?3????Ϊ???ݵ?ַ40003(??Ӧ[regs3]?ĵ?ַ2)???ݵ?BIT0
98
;3=42H02-0
99
1 =42H01	;?¶?ֵ
100
2 =42H02	;ʪ??ֵ
101
3 =42H03	;A???ѹ
102
4 =42H04	;B???ѹ
103
5 =42H05	;C???ѹ
104
6 =42H06	;??ʪ??????
105
7 =42H07	;??ԴƵ??
106
20=82H01	;?յ????ػ?״̬
107
22=82H02	;??????????״̬
108
23=82H03	;??ʪ?????????״̬
109
24=82H04	;ѹ????1???????״̬
110
25=82H05	;ѹ????2???????״̬
111
26=82H06	;????1???????״̬
112
27=82H07	;????2???????״̬
113
28=82H08	;???????????????״̬
114
29=82H09	;Һ·??ͨ1???????״̬
115
30=82H10	;Һ·??ͨ2???????״̬
116
31=82H11	;עˮ???????״̬
117
32=82H12	;??ʪ???????״̬
118
33=82H13	;???????????״̬
119
34=82H14	;ѹ????1???????????״̬
120
35=82H15	;ѹ????2???????????״̬
121
36=82H16	;????״̬
122
37=82H17	;????״̬
123
38=82H18	;??ʪ״̬
124
39=82H19	;??ʪ״̬
125

    
126

    
127
;???ݱ???????
128
[flds.def]
129
;??ʽ: ?ֶκ?(Fld)='????',??????,'????',??ֵ????,ϵ??,?ж?ģʽ,??Сֵ,'??Сֵ????',???ֵ,'???ֵ????'
130
;      x=FldName,FldDept,Note,vkind,vfactor,vmode,vref,vtip,vref2,vtip2
131
;      ???ֶκ?(x)?ĵ?1???ַ?Ϊ0, ???ʾ??????Ϊ????????
132
;????: ?ֶκ?(Fld)??[flds]?е??ֶκ?һһ??Ӧ
133
;	   ??ֵ????: ????, Ĭ??Ϊ0
134
;	   ϵ??: ʵ??ֵ???ȡֵ?ı?????ϵ, ??ϵ??=10, ??: ʵ??ֵ=??ȡֵ / 10
135
;	   ?ж?ģʽ: 0-?????, 1-????(v = vref), 2-??????(v != vref), 3-????(v > vref), 4-С??(v < vref), 
136
;				 10-?????, 11-??Χ??(vref <= v <= vref2), 12-??Χ??(v < vref or vref2 < v)
137
;				 Ĭ??????Ϊ?????(0 ???? 10)
138
1 ='Tem',1,'?¶?ֵ',0,10,10,200,'??Сֵ|???????ֵ,???ڴ?ֵ?澯',380,'???ֵ|???????ֵ,??????ֵ?澯'
139
2 ='Hum',1,'ʪ??ֵ',0,10,10,200,'??Сֵ|???????ֵ,???ڴ?ֵ?澯',780,'???ֵ|???????ֵ,??????ֵ?澯'
140
3 ='va',1,'A???ѹ',0,10,10,200,'??Сֵ|???????ֵ,???ڴ?ֵ?澯',380,'???ֵ|???????ֵ,??????ֵ?澯'
141
4 ='vb',1,'B???ѹ',0,10,10,200,'??Сֵ|???????ֵ,???ڴ?ֵ?澯',780,'???ֵ|???????ֵ,??????ֵ?澯'
142
5 ='vc',1,'C???ѹ',0,10,10,200,'??Сֵ|???????ֵ,???ڴ?ֵ?澯',380,'???ֵ|???????ֵ,??????ֵ?澯'
143
6 ='c',1,'??ʪ??????',0,10,10,200,'??Сֵ|???????ֵ,???ڴ?ֵ?澯',780,'???ֵ|???????ֵ,??????ֵ?澯'
144
7 ='pl',1,'??ԴƵ??',0,10,10,200,'??Сֵ|???????ֵ,???ڴ?ֵ?澯',380,'???ֵ|???????ֵ,??????ֵ?澯'                            
145
20='status',1,'?յ????ػ?״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
146
22='stfansw',1,'??????????״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
147
23='sthumisw',1,'??ʪ?????????״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
148
24='stcomp1sw',1,'ѹ????1???????״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
149
25='stcomp2sw',1,'ѹ????2???????״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
150
26='stheater1sw',1,'????1???????״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
151
27='stheater2sw',1,'????2???????״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
152
28='stalmswsw',1,'???????????????״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
153
29='stwbybass1sw',1,'Һ·??ͨ1???????״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
154
30='stwbybass2sw',1,'Һ·??ͨ2???????״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
155
31='stwatersw',1,'עˮ???????״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
156
32='stdehumisw',1,'??ʪ???????״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
157
33='streservesw',1,'???????????״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
158
34='stcomp1ressw',1,'ѹ????1???????????״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
159
35='stcomp2ressw',1,'ѹ????2???????????״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
160
36='stcool',1,'????״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
161
37='stheat',1,'????״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
162
38='stdehumi',1,'??ʪ״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
163
39='sthumi',1,'??ʪ״̬',0,1,1,0,'0??ʾ??, 1??ʾ??',0,'',0
164

    
165
[flds.val]
166

    
167
[vals]
168