项目

一般

简介

SM4667.def

50CT文件 - 韦 雄伟, 2025-02-20 18:59

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

    
20
;03??????
21
[regs3]
22
0=35;
23
;04??????
24
[regs4]
25

    
26
[flds]
27
;?ֶ?????
28
cnt=30
29
;?ֶ????ݵ?ַ????ʽ: ?ֶκ?(Fld)=???ݵ?ַ, ???±?ʾ: ?ֶ?1(Fld=1)?????ݵ?ַΪ40001, ??Ӧ[reg3]???????еĵ?ַ0
30

    
31
;???????ͼ?ϵ??, ??ʽ: ???ݵ?ַ=Xfac, 
32
;X??ʾ????????(L??ʾ32λ??????(??????ǰ?????ں?), l??ʾ32λ??????(LSBģʽ), I??ʾ32λ??????(MSBģʽ)
33
;f??ʾ?????ȸ?????),F??ʾ32λ˫???ȸ??㣬S??ʾ16λ?з?????????д??ʾ??λ??ǰ??Сд??ʾ??λ??ǰ??, U??ʾ16λ?޷?????????д??ʾ??λ??ǰ??Сд??ʾ??λ??ǰ??,b??ʾ8λ?з?????
34
;fac??ʾϵ??, ??ϵ??Ϊ0.1, ??fac=0.1. ???????ʾΪ: 
35
;40002=L0.1
36
;??λ??չ??ʶ, 1=8λ 2=16λ 4=32λ. ???±?ʾ???Ϊ2??????Ϊ16λ????״̬??
37
;2bit=2
38
;??λ??չ???ֶ?????, ???±?ʾ?ֶ?3????Ϊ???ݵ?ַ40003(??Ӧ[regs3]?ĵ?ַ2)???ݵ?BIT0
39
;3=40003-0
40

    
41
1=40001;A???ѹ
42
2=40002;B???ѹ
43
3=40003;C???ѹ
44

    
45
4=40004;A?????
46
40004_MUL=50	;
47
5=40005;?????B
48
40005_MUL=50	;
49
6=40006;?????C
50
40006_MUL=50	;
51
7=40007;???????
52
40007_MUL=50
53
8=40008;???й?????
54
9=40009;A???й?????
55
10=40010;B???й?????
56
11=40011;C???й?????
57

    
58
12=40012;???޹?????
59
40012=S
60
13=40013;A???޹?????
61
40013=S
62
14=40014;B???޹?????
63
40014=S
64
15=40015;C???޹?????
65
40015=S
66

    
67
16=40016;?????ڹ???
68
17=40017;A?????ڹ???
69
18=40018;B?????ڹ???
70
19=40019;C?????ڹ???
71

    
72
20=40020;?ܹ???????
73
21=40021;A?๦??????
74
22=40022;B?๦??????
75
23=40023;C?๦??????
76

    
77
24=40024;AB?ߵ?ѹ
78
25=40025;BC?ߵ?ѹ
79
26=40026;CA?ߵ?ѹ
80

    
81
27=40027;A??Ƶ??
82
28=40028;B??Ƶ??
83
29=40029;C??Ƶ??
84

    
85

    
86

    
87
;???ݱ???????
88
[flds.def]
89
1='Fld',1,'A???ѹ',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
90
2='Fld',1,'B???ѹ',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
91
3='Fld',1,'C???ѹ',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
92
4='Fld',1,'A?????',0,1000,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
93
5='Fld',1,'B?????',0,1000,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
94
6='Fld',1,'C?????',0,1000,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
95
7='Fld',1,'???????',0,1000,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
96
8='Fld',1,'???й?????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
97
9='Fld',1,'A???й?????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
98
10='Fld',1,'B???й?????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
99
11='Fld',1,'C???й?????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
100
12='Fld',1,'???޹?????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
101
13='Fld',1,'A???޹?????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
102
14='Fld',1,'B???޹?????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
103
15='Fld',1,'C???޹?????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
104
16='Fld',1,'?????ڹ???',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
105
17='Fld',1,'A?????ڹ???',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
106
18='Fld',1,'B?????ڹ???',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
107
19='Fld',1,'C?????ڹ???',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
108
20='Fld',1,'?ܹ???????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
109
21='Fld',1,'A?๦??????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
110
22='Fld',1,'B?๦??????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
111
23='Fld',1,'C?๦??????',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
112
24='Fld',1,'AB?ߵ?ѹ',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
113
25='Fld',1,'BC?ߵ?ѹ',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
114
26='Fld',1,'CA?ߵ?ѹ',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
115
27='Fld',1,'A??Ƶ??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
116
28='Fld',1,'B??Ƶ??',0,10,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
117
29='Fld',1,'C??Ƶ??',0,10,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
118

    
119
[flds.val]
120

    
121
[vals]
122

    
123

    
124