Project

General

Profile

Bug #3236 » modbustcp_ex数据类型配置说明.txt

yufeng wu, 11/29/2023 06:38 PM

 
1
4字节32位AI值的浮点解析,配置“值类型”的字串
2
float32		Lo1234Hi===CDAB
3
sw_float		Lo1234Hi===ABCD
4
rv_float		Lo1234Hi===DCBA
5
rv_sw_float	Lo1234Hi===BADC
6

    
7
地址,采集序号,开始,结束,类型,值类型,组号,功能号,时间间隔
8
1,1,0,31,AI,float,1,3,100
9
3,2,0,31,AI,sw_float,1,,
10
5,3,0,31,AI,rv_float,1,,
11
7,4,0,31,AI,rv_sw_float,1,,
12
9,5,0,15,AI,uint16,1,,
13
9,6,0,15,AI,int16,1,,
14
10,1,0,0,DI,bit,1,,
15
10,2,1,1,DI,bit,1,,
16
10,3,2,2,DI,bit,1,,
17
10,4,3,3,DI,bit,1,,
18
10,5,4,4,DI,bit,1,,
19
10,6,5,5,DI,bit,1,,
20
10,7,6,6,DI,bit,1,,
21
10,8,7,7,DI,bit,1,,
22
10,9,8,8,DI,bit,1,,
23
10,10,9,9,DI,bit,1,,
24
10,11,10,10,DI,bit,1,,
25
10,12,11,11,DI,bit,1,,
26
10,13,12,12,DI,bit,1,,
27
10,14,13,13,DI,bit,1,,
28
10,15,14,14,DI,bit,1,,
29
10,16,15,15,DI,bit,1,,
    (1-1/1)