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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
| {
| "HostToAgvServerUrl": "http://192.168.1.146:9988/HostToAGV.cgi",
| "HASeverUrl": "http://172.16.10.41",
| "SqlServer": "Data Source=192.168.1.72;Initial Catalog=OIMobox;User ID=sa;Password=0000",
| "SqlServer2": "Data Source=192.168.1.188;Initial Catalog=OIMobox;User ID=sa;Password=Am123123",
| "SqlServer1": "Data Source=192.168.1.198\\sql2008;Initial Catalog=OIMobox;User ID=sa;Password=sa@2015",
| "ApiPort": 8901,
| "FacCode": "0000",
| "WHCode": "W001",
| "DeviceInfo": [
| {
| "address": "127.0.0.11",
| "deviceName": "产线1",
| "deviceNo": [],
| "downLoc": "满托下线点1",
| "upLoc": "满托下线点1",
| "location": [ "YLWJG1005", "YLWJG1006" ],
| "deviceType": 2,
| "enable": 0
|
| }
| ],
| "linePlcInfo": [
| {
| "deviceNo": "1",
| "address": "192.168.1.202",
| "code": "堆垛机1",
| "location": "",
| "writeAddr": 0,
| "readAddr": 0,
| "useAddrNo": [ "01" ],
| "inLoca": "DQCK-RK-1",
| "outLoca": "DQCK-CK-1",
| "enable": 1
| }
| ],
|
| "PlcValue": [
| {
| "address": "192.168.1.202",
| "read": [
| {
| "addr": 0,
| "type": "Bit",
| "length": 2,
| "value": ""
| },
| {
| "addr": 2,
| "type": "Int",
| "length": 2,
| "value": ""
| },
| {
| "addr": 4,
| "type": "Int",
| "length": 2,
| "value": ""
| },
| {
| "addr": 18,
| "type": "String",
| "length": 20,
| "value": ""
| }
| ],
| "write": [
| {
| "addr": 0,
| "type": "Bit",
| "length": 2,
| "value": ""
| },
| {
| "addr": 2,
| "type": "Int",
| "length": 2,
| "value": ""
| },
| {
| "addr": 4,
| "type": "Int",
| "length": 2,
| "value": ""
| },
| {
| "addr": 18,
| "type": "String",
| "length": 20,
| "value": ""
| }
| ]
| }
| ]
|
| }
|
|