杨前锦
2025-06-13 b7308bba3d7ffad271ce7fc7a93c8c45d76be87d
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
{
  "HostToAgvServerUrl": "http://192.168.1.146:9988/HostToAGV.cgi",
  "HASeverUrl": "http://172.16.10.41",
  "SqlServer": "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": "1122",
  "WHCode": "TSCK",
  "DeviceInfo": [
    {
      "address": "192.168.1.160",
      "deviceName": "1号下线口",
      "deviceNo": [],
      "location": [ "TSSG-XXK-1" ],
      "deviceType": 1,
      "enable": 1
    },
    {
      "address": "192.168.1.161",
      "deviceName": "2号下线口",
      "deviceNo": [],
      "location": [ "TSSG-XXK-2" ],
      "deviceType": 1,
      "enable": 1
    }
  ],
  "ListenAddress": "127.0.0.1",
  "AlertorLightDevice": [
    {
      "deviceNo": 1,
      "address": "192.168.1.50",
      "turnLight": "01 06 00 10 01 03 C9 9E",
      "offLight": "01 06 00 10 04 00 8A CF"
    },
    {
      "deviceNo": 2,
      "address": "192.168.1.51",
      "turnLight": "02 06 00 10 01 03 C9 AD",
      "offLight": "02 06 00 10 04 00 8A FC"
 
    },
    {
      "deviceNo": 3,
      "address": "192.168.1.52",
      "turnLight": "03 06 00 10 01 03 C8 7C",
      "offLight": "03 06 00 10 04 00 8B 2D"
    },
    {
      "deviceNo": 4,
      "address": "192.168.1.53",
      "turnLight": "04 06 00 10 01 03 C9 CB",
      "offLight": "04 06 00 10 04 00 8A 9A"
    },
    {
      "deviceNo": 5,
      "address": "192.168.1.160",
      "turnLight": "3F 00 50 0D 0A",
      "offLight": "3F 00 12 22 0D 0A"
    },
    {
      "deviceNo": 6,
      "address": "192.168.1.161",
      "turnLight": "3F 00 50 0D 0A",
      "offLight": "3F 00 12 22 0D 0A"
    }
  ],
  // type 1、stopWord  2、stopWord2  3、failCode
  "AgvAlarmNo": [
    {
      "type": 1,
      "dex": 16,
      "code": "StopStartDelay",
      "name": "急停复位"
    },
    {
      "type": 1,
      "dex": 32,
      "code": "StopBumper",
      "name": "触边触发"
    },
    {
      "type": 1,
      "dex": 512,
      "code": "StopRear",
      "name": "叉尖光电触发"
    },
    {
      "type": 1,
      "dex": 2048,
      "code": "StopAdjustHeightErro",
      "name": "视觉调整高度数据异常"
    },
    {
      "type": 2,
      "dex": 2,
      "code": "StopNoOpCode",
      "name": "没有作业代码"
    },
    {
      "type": 2,
      "dex": 4,
      "code": "StopFailCode",
      "name": "作业失败"
    },
    {
      "type": 2,
      "dex": 8,
      "code": "StopLoadDroppedWhileUnloading",
      "name": "货物掉落"
    },
    {
      "type": 2,
      "dex": 16,
      "code": "StopLoadOp",
      "name": "取货失败"
    },
    {
      "type": 2,
      "dex": 256,
      "code": "StopEstopButton",
      "name": "急停按钮触发"
    },
    {
      "type": 2,
      "dex": 8192,
      "code": "StopDelay",
      "name": "作业等待"
    },
    {
      "type": 2,
      "dex": 32768,
      "code": "StopACS5_OT",
      "name": "行走电机过温"
    },
    {
      "type": 2,
      "dex": 65536,
      "code": "StopACS7_OT",
      "name": "油泵电机过温"
    },
    {
      "type": 2,
      "dex": 131072,
      "code": "StopACS5_OC",
      "name": "行走电机过流"
    },
    {
      "type": 2,
      "dex": 262144,
      "code": "StopACS7_FwOC",
      "name": "油泵电机上升过流"
    },
    {
      "type": 2,
      "dex": 524288,
      "code": "StopACS7_UpOC",
      "name": "油泵电机下降过流"
    },
    {
      "type": 2,
      "dex": 1048576,
      "code": "StopACD6_OT",
      "name": "转向电机过温"
    },
    {
      "type": 2,
      "dex": 2097152,
      "code": "StopCyclePower",
      "name": "循环电源"
    },
    {
      "type": 2,
      "dex": 16777216,
      "code": "StopCameraError",
      "name": "相机拍照失败"
    },
    {
      "type": 3,
      "dex": 32,
      "code": "FailCode_STNIsEmpty ",
      "name": "取货时未检测到货物"
    },
    {
      "type": 3,
      "dex": 256,
      "code": "FailCode_ForkError ",
      "name": "货叉高度异常"
    },
    {
      "type": 3,
      "dex": 1024,
      "code": "FailCode_NoOpCode  ",
      "name": "没有作业代码"
    },
    {
      "type": 3,
      "dex": 2048,
      "code": "FailCode_LoadForkOrderError ",
      "name": "货叉没有获取作业代码"
    },
    {
      "type": 3,
      "dex": 4096,
      "code": "FailCode_ChargeError  ",
      "name": "充电失败"
    },
    {
      "type": 3,
      "dex": 8192,
      "code": "FailCode_Goods_OverWide  ",
      "name": "压力传感器异常"
    },
    {
      "type": 3,
      "dex": 16384,
      "code": "FailCode_VisualIdentity_Err ",
      "name": "视觉数据超时作业失败"
    }
  ],
 
  // 存储信号等待时间(单位:分钟)
  "WaitTime": 5,
  // 缓存库区
  "BufferArea": ""
 
}