1
|
;xxxx??????, ???: , ??Ŀ:
|
2
|
[comm]
|
3
|
;?????????Ϣ, 0-??????, 1-????
|
4
|
debug=0
|
5
|
;????
|
6
|
note=??ʪ??MODBUSЭ??
|
7
|
;???ݶ?ȡʱ????(??????ָ???, ?ӳٶ?ȡ????ʱ????), ??λ: ????(ms)??Ĭ??10ms
|
8
|
delay=10
|
9
|
;???ݳ?ʱʱ??, ??λ: ????(ms)??Ĭ??300ms
|
10
|
timeout=300
|
11
|
;????
|
12
|
mask=0
|
13
|
;?ͺ?????֧????????
|
14
|
model=OM-YD5120
|
15
|
;?? %x%Ϊij?ֶ?ֵ, %xst%Ϊ?ֶ?״̬, ???в??ܴ??ֺ?";"
|
16
|
brief=?¶?: %1%?? %1st%, ʪ??: %2% % %2st%
|
17
|
;????Э??汾??, ?汾??Ϊ?ձ?ʾ?Զ???ȡ?汾
|
18
|
ver=10
|
19
|
;????Э?? CID1 ??????
|
20
|
cid1=2A
|
21
|
;????Э?? CID2 ??????, ??xxHyyH...??ʽ??CID2??????????д??. ?統ǰ֧?ֶ?ȡ??????CID2????????: 42H, 43H, 44H. ????д??ʽ????.
|
22
|
cid2=42H43H44H
|
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=1
|
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
|
;???????ݶ?Ӧ??????ݵ????ݴ?С, "-"??ʾ??ʹ?ò?????, I(i)-INT16(4B), L(l)-INT32(8B), F(f)-FLOAT(8B), S(s)-STATE(2B)
|
40
|
;Ĭ??ΪS(s)-STATE(2B)
|
41
|
;?????Ϊ1??????ΪINT16????????, ?????ݱ?ʾΪ
|
42
|
1=I
|
43
|
;?????Ϊ2?????ݲ?????(???ɼ?), ?????ݱ?ʾΪ??
|
44
|
2=-
|
45
|
;??λ??չ??ʶ, 1=8λ 2=16λ 4=32λ. ???±?ʾ???Ϊ3??????Ϊ8λ????״̬??
|
46
|
;3bit=1
|
47
|
|
48
|
[43H]
|
49
|
dflag=1
|
50
|
dinfo=S
|
51
|
dfac=1
|
52
|
|
53
|
[44H]
|
54
|
dflag=1
|
55
|
dinfo=S
|
56
|
dfac=1
|
57
|
|
58
|
;?ж??ֶζ???, ??ʽ: ?ֶκ?(Fld)=???ݵ?ַ. ?????ݲ??????жϼ??, ????????
|
59
|
[flds]
|
60
|
;?ֶ?????
|
61
|
cnt=26
|
62
|
;?ֶ????ݵ?ַ????ʽ: ?ֶκ?(Fld)=???ݵ?ַ?????ݵ?ַ??CID2+IDX??ʽ??ʾ, IDX??ʾ??Ӧ?????????
|
63
|
1=42H02 ;???????ѹA
|
64
|
;??λ??չ??ʶ, 1=8λ 2=16λ 4=32λ. ???±?ʾ???Ϊ1??????Ϊ16λ????״̬??
|
65
|
;1bit=2
|
66
|
;??λ??չ???ֶ?????, ???±?ʾ?ֶ?3????Ϊ???ݵ?ַ40003(??Ӧ[regs3]?ĵ?ַ2)???ݵ?BIT0
|
67
|
;3=42H02-0
|
68
|
;2=42H03;???????ѹB
|
69
|
;3=42H04;???????ѹC
|
70
|
4=42H05 ;??????ѹA
|
71
|
;5=42H06;??????ѹB
|
72
|
;6=42H07;??????ѹC
|
73
|
7=42H08 ;????????A
|
74
|
;8=42H09;????????B
|
75
|
;9=42H10;????????C
|
76
|
10=42H11 ;ֱ???????ѹ????????飩
|
77
|
11=42H12 ;???Ƶ??
|
78
|
12=42H16;????Ƶ??
|
79
|
13=42H17;??·??ѹ
|
80
|
14=42H18;??·????
|
81
|
15=42H22;??·Ƶ??
|
82
|
|
83
|
;??????״̬
|
84
|
16=43H08;??ص?ѹԤ?澯״̬
|
85
|
17=43H10;????״̬
|
86
|
|
87
|
;?澯
|
88
|
18=44H03;?е?
|
89
|
19=44H04;???????????ϣ?
|
90
|
20=44H05;??????????ϣ?
|
91
|
21=44H06;??· 0???? 1?쳣
|
92
|
22=44H07;???ص?ѹ?쳣
|
93
|
23=44H10;ɢ????????
|
94
|
24=44H11;???ȹ???
|
95
|
25=44H14;?????????
|
96
|
26=44H18;?????·
|
97
|
|
98
|
|
99
|
;???ݱ???????
|
100
|
[flds.def]
|
101
|
;??ʽ: ?ֶκ?(Fld)='????',??????,'????',??ֵ????,ϵ??,?ж?ģʽ,??Сֵ,'??Сֵ????',???ֵ,'???ֵ????'
|
102
|
; x=FldName,FldDept,Note,vkind,vfactor,vmode,vref,vtip,vref2,vtip2
|
103
|
; ???ֶκ?(x)?ĵ?1???ַ?Ϊ0, ???ʾ??????Ϊ????????
|
104
|
;????: ?ֶκ?(Fld)??[flds]?е??ֶκ?һһ??Ӧ
|
105
|
; ??ֵ????: ????, Ĭ??Ϊ0
|
106
|
; ϵ??: ʵ??ֵ???ȡֵ?ı?????ϵ, ??ϵ??=10, ??: ʵ??ֵ=??ȡֵ / 10
|
107
|
; ?ж?ģʽ: 0-?????, 1-????(v = vref), 2-??????(v != vref), 3-????(v > vref), 4-С??(v < vref),
|
108
|
; 10-?????, 11-??Χ??(vref <= v <= vref2), 12-??Χ??(v < vref or vref2 < v)
|
109
|
; Ĭ??????Ϊ?????(0 ???? 10)
|
110
|
1='Fld1',1,'???????ѹA',0,100,11,1000,'??Сֵ|???????ֵ.',2500,'???ֵ|???????ֵ'
|
111
|
;2='Fld2',1,'???????ѹB',0,100,11,1000,'??Сֵ|???????ֵ.',2500,'???ֵ|???????ֵ'
|
112
|
;3='Fld3',1,'???????ѹC',0,100,11,1000,'??Сֵ|???????ֵ.',2500,'???ֵ|???????ֵ'
|
113
|
4='Fld4',1,'??????ѹA',0,100,11,1000,'??Сֵ|???????ֵ.',2500,'???ֵ|???????ֵ'
|
114
|
;5='Fld5',1,'??????ѹB',0,100,11,1000,'??Сֵ|???????ֵ.',2500,'???ֵ|???????ֵ'
|
115
|
;6='Fld6',1,'??????ѹC',0,100,11,1000,'??Сֵ|???????ֵ.',2500,'???ֵ|???????ֵ'
|
116
|
7='Fld7',1,'????????A',0,100,11,1000,'??Сֵ|???????ֵ.',1500,'???ֵ|???????ֵ'
|
117
|
;8='Fld8',1,'????????B',0,100,11,1000,'??Сֵ|???????ֵ.',1500,'???ֵ|???????ֵ'
|
118
|
;9='Fld9',1,'????????C',0,100,11,1000,'??Сֵ|???????ֵ.',1500,'???ֵ|???????ֵ'
|
119
|
10='Fld10',1,'ֱ???????ѹ????????飩',0,100,11,1000,'??Сֵ|???????ֵ.',1500,'???ֵ|???????ֵ'
|
120
|
11='Fld11',1,'???Ƶ??',0,100,11,1000,'??Сֵ|???????ֵ.',15000,'???ֵ|???????ֵ'
|
121
|
12='Fld12',1,'????Ƶ??',0,100,11,1000,'??Сֵ|???????ֵ.',15000,'???ֵ|???????ֵ'
|
122
|
13='Fld13',1,'??·??ѹ',0,100,11,2000,'??Сֵ|???????ֵ.',25000,'???ֵ|???????ֵ'
|
123
|
14='Fld14',1,'??·????',0,100,11,100,'??Сֵ|???????ֵ.',200,'???ֵ|???????ֵ'
|
124
|
15='Fld15',1,'??·Ƶ??',0,100,11,1000,'??Сֵ|???????ֵ.',15000,'???ֵ|???????ֵ'
|
125
|
16='Fld16',1,'??ص?ѹԤ?澯״̬',0,1,0,0,'E0:??????E1:?澯',0,''
|
126
|
17='Fld17',1,'????״̬',0,1,0,0,'E0:?ػ???E1:????',0,''
|
127
|
18='Fld18',1,'?е?',0,1,0,0,'0:??????1:?쳣',0,''
|
128
|
19='Fld19',1,'???????????ϣ?',0,1,0,0,'0:??????1:????',0,''
|
129
|
20='Fld20',1,'??????????ϣ?',0,1,0,0,'0:??????1:????',0,''
|
130
|
21='Fld21',1,'??·',0,1,0,0,'0:??????1:?쳣',0,''
|
131
|
22='Fld22',1,'???ص?ѹ?쳣',0,1,0,0,'0:??????1:?쳣',0,''
|
132
|
23='Fld23',1,'ɢ????????',0,1,0,0,'0:??????1:?澯',0,''
|
133
|
24='Fld24',1,'???ȹ???',0,1,0,0,'0:??????1:????',0,''
|
134
|
25='Fld25',1,'?????????',0,1,0,0,'0:??????1:????',0,''
|
135
|
26='Fld26',1,'?????·',0,1,0,0,'0:??????1:??·',0,''
|
136
|
|
137
|
[flds.val]
|
138
|
|
139
|
[vals]
|
140
|
|