1
|
;xxxx??????, ???: , ??Ŀ:
|
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-MDBS4933
|
13
|
;?? %x%Ϊij?ֶ?ֵ, %xst%Ϊ?ֶ?״̬, ???в??ܴ??ֺ?";"
|
14
|
;brief=?ط??¶?: %7%?? %7st%
|
15
|
;?Ƿ????CRCУ?飿0-??У?飬1-У??
|
16
|
;crc=0
|
17
|
;???ݰ??ֽڽ?????0-????UINT16??????1-???ֽڽ???
|
18
|
;DataByte=0
|
19
|
|
20
|
|
21
|
;regsX??ʾʹ?ù?????X (??֧??01??02??03??04??????)
|
22
|
|
23
|
|
24
|
;03??????
|
25
|
[regs3]
|
26
|
;ָ????ַ???ȡ?????ݸ???, ??ʽ?????ݵ?ַ=??ȡ??????. ??: ?ӵ?ַ40001??ȡ2?????ݣ???д??: 0=2.
|
27
|
;???ݵ?ַΪ10???Ʊ?ʾ????Э??????16???Ƶ?ַ????ת??Ϊ10???ƺ???д??
|
28
|
|
29
|
;???ݰ?λ??չ??ʶ, ???±?ʾ??ַΪ2?????ݰ?8λ??չ, ??[flds]??Ŀ?е??ֶκŰ?40003-x??ʽ
|
30
|
;2bit=1
|
31
|
|
32
|
40028=15;
|
33
|
|
34
|
;?ж??ֶζ???, ??ʽ: ?ֶκ?(Fld)=???ݵ?ַ. ?????ݲ??????жϼ??, ????????
|
35
|
;???ݵ?ַ??Ӧ????ַ: 01??????: 00000, 02??????: 10000, 03??????: 40000, 04??????: 30000
|
36
|
[flds]
|
37
|
;?ֶ?????
|
38
|
cnt=7
|
39
|
;?ֶ????ݵ?ַ????ʽ: ?ֶκ?(Fld)=???ݵ?ַ, ???±?ʾ: ?ֶ?1(Fld=1)?????ݵ?ַΪ40001, ??Ӧ[reg3]???????еĵ?ַ0
|
40
|
|
41
|
|
42
|
;???????ͼ?ϵ??, ??ʽ: ???ݵ?ַ=Xfac,
|
43
|
;X??ʾ????????(L??ʾ32λ??????(??????ǰ?????ں?), l??ʾ32λ??????(LSBģʽ), I??ʾ32λ??????(MSBģʽ)
|
44
|
;f??ʾ?????ȸ?????),F??ʾ32λ˫???ȸ??㣬S??ʾ16λ?з?????????д??ʾ??λ??ǰ??Сд??ʾ??λ??ǰ??, U??ʾ16λ??????????д??ʾ??λ??ǰ??Сд??ʾ??λ??ǰ??,b??ʾ8λ?з?????
|
45
|
;fac??ʾϵ??, ??ϵ??Ϊ0.1, ??fac=0.1. ???????ʾΪ:
|
46
|
;40002=L0.1
|
47
|
;??λ??չ??ʶ, 1=8λ 2=16λ 4=32λ. ???±?ʾ???Ϊ2??????Ϊ16λ????״̬??
|
48
|
;2bit=2
|
49
|
;??λ??չ???ֶ?????, ???±?ʾ?ֶ?3????Ϊ???ݵ?ַ40003(??Ӧ[regs3]?ĵ?ַ2)???ݵ?BIT0
|
50
|
;3=40003-0
|
51
|
|
52
|
1=440029;????״̬
|
53
|
2=440030;?趨ģʽ״̬
|
54
|
3=440031;?趨????״̬
|
55
|
4=440032;?趨?¶?״̬
|
56
|
5=440034;?趨????״̬
|
57
|
6=440036;????????
|
58
|
7=440040;?ط??¶?
|
59
|
|
60
|
|
61
|
|
62
|
;???ݱ???????
|
63
|
[flds.def]
|
64
|
;??ʽ: ?ֶκ?(Fld)='????',??????,'????',??ֵ????,ϵ??,?ж?ģʽ,??Сֵ,'??Сֵ????',???ֵ,'???ֵ????'
|
65
|
; x=FldName,FldDept,Note,vkind,vfactor,vmode,vref,vtip,vref2,vtip2
|
66
|
; ???ֶκ?(x)?ĵ?1???ַ?Ϊ0, ???ʾ??????Ϊ????????
|
67
|
;????: ?ֶκ?(Fld)??[flds]?е??ֶκ?һһ??Ӧ
|
68
|
; ??ֵ????: ????, Ĭ??Ϊ0
|
69
|
; ϵ??: ʵ??ֵ???ȡֵ?ı?????ϵ, ??ϵ??=10, ??: ʵ??ֵ=??ȡֵ / 10
|
70
|
; ?ж?ģʽ: 0-?????, 1-????(v = vref), 2-??????(v != vref), 3-????(v > vref), 4-С??(v < vref),
|
71
|
; 10-?????, 11-??Χ??(vref <= v <= vref2), 12-??Χ??(v < vref or vref2 < v)
|
72
|
; Ĭ??????Ϊ?????(0 ???? 10)
|
73
|
1='Fld',1,'????״̬',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
74
|
2='Fld',1,'?趨ģʽ״̬',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
75
|
3='Fld',1,'?趨????״̬',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
76
|
4='Fld',1,'?趨?¶?״̬',0,1,11,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
77
|
5='Fld',1,'?趨????״̬',0,1,10,4000,'??Сֵ|???????ֵ',7000,'???ֵ|???????ֵ'
|
78
|
6='Fld',1,'????????',0,1,10,4000,'??Сֵ|???????ֵ.',6000,'???ֵ|???????ֵ'
|
79
|
7='Fld',1,'?ط??¶?',0,1,11,15,'??Сֵ|???????ֵ',35,'???ֵ|???????ֵ'
|
80
|
|
81
|
[flds.val]
|
82
|
|
83
|
[vals]
|
84
|
|
85
|
|
86
|
|