-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json
More file actions
67 lines (67 loc) · 2.25 KB
/
config.json
File metadata and controls
67 lines (67 loc) · 2.25 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"operationInterval": 500,
"maxReconnectAttempts": 10,
"reconnectInterval": 5000,
"httpPort": 3010,
"apiConfig": {
"baseUrl": "http://192.168.178.73",
"dataEndpoint": "/data",
"manualEndpoint": "/manual"
},
"plcs": [
{
"name": "PLC_SERVER",
"ip": "192.168.178.190",
"rack": 0,
"slot": 1,
"syncDbOffset": 0,
"dbNumber": 17,
"syncDbNumber": 200,
"variables": {
"cip_pump_enable_state": { "type": "BOOL", "byte": 0, "bit": 0 },
"cip_pump_speed_control": { "type": "INT", "offset": 2 },
"heartbeat": { "type": "INT", "offset": 4 },
"buffer1_top_temperature": {"type": "REAL", "offset": 6},
"buffer1_bottom_temperature": {"type": "REAL", "offset": 10},
"buffer2_top_temperature": {"type": "REAL", "offset": 14},
"buffer2_bottom_temperature": {"type": "REAL", "offset": 18},
"buffer3_top_temperature": {"type": "REAL", "offset": 22},
"buffer3_bottom_temperature": {"type": "REAL", "offset": 26},
"buffer1_volume": {"type": "REAL", "offset": 30},
"buffer2_volume": {"type": "REAL", "offset": 34},
"buffer3_volume": {"type": "REAL", "offset": 38},
"buffers_ready_to_fill": {"type": "BOOL", "byte": 42, "bit": 0},
"cip_to_circulation_state": {"type": "BOOL", "byte": 42, "bit": 1}
}
},
{
"name": "PLC_H150",
"ip": "192.168.178.184",
"rack": 0,
"slot": 1,
"syncDbOffset": 44,
"dbNumber": 17,
"syncDbNumber": 200,
"variables": {
"cip_pump_speed_state": { "type": "INT", "offset": 0 },
"heartbeat": { "type": "INT", "offset": 2 }
}
},
{
"name": "PLC_STORAGE",
"ip": "192.168.178.186",
"rack": 0,
"slot": 1,
"syncDbOffset": 48,
"dbNumber": 11,
"syncDbNumber": 200,
"variables": {
"cip_pump_request": { "type": "BOOL", "byte": 0, "bit": 0 },
"cip_pump_ack": { "type": "BOOL", "byte": 0, "bit": 1 },
"cip_pump_speed_request": { "type": "INT", "offset": 2 },
"cip_pump_speed_ack": { "type": "BOOL", "byte": 4, "bit": 0 },
"heartbeat": { "type": "INT", "offset": 6 }
}
}
]
}