-
Notifications
You must be signed in to change notification settings - Fork 0
/
Test_Simple.json
50 lines (50 loc) · 2.49 KB
/
Test_Simple.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"identity": {
"VendorName": "MBTester",
"ProductCode": "Test Profile",
"VendorUrl": "https://github.com/vfiksdal/mbtester",
"ProductName": "Simple Test Profile",
"ModelName": "Simple Test Profile",
"MajorMinorRevision": "1.0.0"
},
"datablocks": {
"di": {
"1": {"dsc":"0 bit","dtype":"bit","value":0},
"2": {"dsc":"1 bit","dtype":"bit","value":1},
"3": {"dsc":"False bit","dtype":"bit","value":false},
"4": {"dsc":"True bit","dtype":"bit","value":true}
},
"co": {
"1": {"dsc":"0 bit","dtype":"bit","value":0},
"2": {"dsc":"1 bit","dtype":"bit","value":1},
"3": {"dsc":"False bit","dtype":"bit","value":false},
"4": {"dsc":"True bit","dtype":"bit","value":true},
"5": {"dsc":"0 bit","dtype":"bit","value":0},
"6": {"dsc":"1 bit","dtype":"bit","value":1},
"7": {"dsc":"False bit","dtype":"bit","value":false},
"8": {"dsc":"True bit","dtype":"bit","value":true},
"9": {"dsc":"0 bit","dtype":"bit","value":0},
"10": {"dsc":"1 bit","dtype":"bit","value":1},
"11": {"dsc":"False bit","dtype":"bit","value":false},
"12": {"dsc":"True bit","dtype":"bit","value":true}
},
"hr": {
"1": {"dsc":"8bit int","dtype":"uint8","value":123},
"2": {"dsc":"16bit int","dtype":"uint16","value":12345},
"3": {"dsc":"32bit int","dtype":"uint32","value":123456789},
"5": {"dsc":"Half-precision float","dtype":"float16","value":1234.456789},
"6": {"dsc":"Single-precision float","dtype":"float32","value":1234.456789},
"8": {"dsc":"Double-precision float","dtype":"float64","value":1234.456789},
"12": {"dsc":"String","dtype":"string","value":"Testing MODBUS string register value"}
},
"ir": {
"1": {"dsc":"8bit int","dtype":"uint8","value":123},
"2": {"dsc":"16bit int","dtype":"uint16","value":12345},
"3": {"dsc":"32bit int","dtype":"uint32","value":123456789},
"5": {"dsc":"Half-precision float","dtype":"float16","value":1234.456789},
"6": {"dsc":"Single-precision float","dtype":"float32","value":1234.456789},
"8": {"dsc":"Double-precision float","dtype":"float64","value":1234.456789},
"12": {"dsc":"String","dtype":"string","value":"Testing MODBUS string register value"}
}
}
}