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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
| <?xml version="1.0" encoding="utf-8" ?>
| <Custom>
|
| <!--项目编码配置—目前支持项目代码:调试模式,江苏西门子,农夫淳安,农夫均州-->
| <!--江苏西门子:项目未采用项目代码配置,现场更新需要注意配置-->
| <ProjectName>农夫大明山</ProjectName>
|
|
| <!--数据库配置-->
| <!--
| 198-Mobox:Data Source=192.168.1.198\sql2008;Initial Catalog=OIMobox;User ID=sa;Password=sa@2015
| 146-Mobox:Data Source=192.168.1.146;Initial Catalog=OIMobox2;User ID=sa;Password=test?123
| 本地:Data Source=127.0.0.1;Initial Catalog=OIMobox;User ID=sa;Password=123456
| -->
| <SqlServer>Data Source=10.136.32.1;Initial Catalog=OIMobox;User ID=sa;Password=qaz-123456</SqlServer>
|
|
| <!--项目SQL表名配置-->
| <!--
| TableName 配置信息: 变量信息:TableProType 项目表类型:根据 项目编码配置 获取对应项目表名
| TableProType:1 146服务器 TableSignNo 表标识记录:用于 实施 人员自己标识—随意配置
| TableProType:2 198服务器 TableName 中文表名
| TableProType:3 淳安现场 TableSqlName 数据库实际表名
| Enable 是否启用
| -->
| <TableProType>1</TableProType>
| <TableName>
| <![CDATA[
| [
| {"TableSignNo":"1","TableName":"货位表","TableSqlName":"dbo.TN_0019","TableProType":"1","Enable":1},
| {"TableSignNo":"2","TableName":"货位容器表","TableSqlName":"dbo.TN_0020","TableProType":"1","Enable":1},
| {"TableSignNo":"3","TableName":"容器物料表","TableSqlName":"dbo.TN_0027","TableProType":"1","Enable":1},
| {"TableSignNo":"4","TableName":"排锁表","TableSqlName":"dbo.TN_0031","TableProType":"1","Enable":0},
| {"TableSignNo":"5","TableName":"容器表","TableSqlName":"dbo.TN_0026","TableProType":"1","Enable":1},
| {"TableSignNo":"6","TableName":"任务表","TableSqlName":"dbo.TN_0025","TableProType":"1","Enable":1},
| {"TableSignNo":"7","TableName":"任务动作表","TableSqlName":"dbo.TN_0030","TableProType":"1","Enable":1},
| {"TableSignNo":"9","TableName":"库区表","TableSqlName":"dbo.TN_0024","TableProType":"1","Enable":1},
| {"TableSignNo":"10","TableName":"工单表","TableSqlName":"dbo.TN_0022","TableProType":"1","Enable":1},
| {"TableSignNo":"11","TableName":"盘库中间表","TableSqlName":"dbo.TN_0039","TableProType":"1","Enable":1},
| {"TableSignNo":"13","TableName":"自由线段站点表","TableSqlName":"dbo.TN_0042","TableProType":"1","Enable":1},
| {"TableSignNo":"14","TableName":"大明山富勒托盘表","TableSqlName":"dbo.TN_0043","TableProType":"1","Enable":1},
| {"TableSignNo":"15","TableName":"大明山富勒锁定表","TableSqlName":"dbo.TN_0044","TableProType":"1","Enable":1}
| ]]]>
| </TableName>
|
|
| <!--服务类URL配置-->
| <HostToAgvServerUrl>http://10.136.32.1:9988/HostToAGV.cgi</HostToAgvServerUrl>
| <OITcpServerUrl>http://127.0.0.1:5102</OITcpServerUrl>
| <!--API开放端口(供外部程序调用)-->
| <HttpUrlPort>http://+:8001</HttpUrlPort>
| <!--TCP服务端口(供PLC设备连接使用)-->
| <TcpPort>2023</TcpPort>
|
|
| <!--第三方URL配置 UrlNo:url编号唯一 UrlName:仅用于标记 Url:实际需要调用的地址 Enable:是否启用-->
| <ThirdPartyUrl>
| <![CDATA[
| [
| {"UrlNo":"2","UrlName":"富勒WMS","Url":"http://127.0.0.2:5101/","Enable":1}
| ]]]>
| </ThirdPartyUrl>
|
| <!--是否启用富勒WMS-->
| <FULEenable>0</FULEenable>
|
|
| <!--参数说明:
| VerifyNo 验证编码 1-Header Token验证(MD5加密方式)——开发指定(不允许修改)
| Project 项目编码 对应 ProjectName 配置项内容(需完全一致),用于指定此验证方式归属项目
| Extend 扩展编码 根据项目实际需求进行配置
| Enable 是否启用 1-启用 0-不启用
| -->
| <!--Http接口验证配置项-->
| <HttpApiVerify>
| <![CDATA[
| [
| {"VerifyNo":"1","Project":"农夫大明山","Extend":["securityKey鉴权码","富勒WMS"],"Enable":1}
| ]]]>
| </HttpApiVerify>
|
|
| <!--参数说明:
| TCPServer-Plc配置信息: 变量信息: address 设备IP
| deviceType:1 自动门_通用项目 deviceName 产线号
| deviceType:2 注塑机 农夫大明山 deviceNo 交管编号
| deviceType:3 翻斗机 农夫大明山 location 货位编码
| deviceType:4 瓶盖机 农夫大明山 deviceType 设备类型
| deviceType:5 输送线 农夫大明山 enable 设备当前是否已经启用
| -->
| <deviceInfo>
| <![CDATA[
| [
| {"address":"10.136.32.41","deviceName":"一号输送线","deviceNo":[],"location":["MTXXK01-01","MTXXK01-02","MTXXK01-03"],"deviceType":5,"enable":1},
| {"address":"","deviceName":"一号输送线","deviceNo":[],"location":["MTXXK01-01"],"deviceType":5,"enable":1},
| {"address":"","deviceName":"一号输送线","deviceNo":[],"location":["MTXXK01-02"],"deviceType":5,"enable":1},
| {"address":"","deviceName":"一号输送线","deviceNo":[],"location":["MTXXK01-03"],"deviceType":5,"enable":1},
|
|
| {"address":"10.136.32.36","deviceName":"1号瓶盖注塑机","deviceNo":[],"location":["PGZSJ01-A","PGZSJ01-B"],"deviceType":4,"enable":1},
| {"address":"10.136.32.39","deviceName":"1号瓶盖翻斗机","deviceNo":[],"location":["FDJ01-01"],"deviceType":3,"enable":1},
|
| {"address":"10.136.32.34","deviceName":"1号瓶坯注塑机","deviceNo":[],"location":["PPZSJ01-A","PPZSJ01-B"],"deviceType":2,"enable":1},
| {"address":"10.136.32.35","deviceName":"2号瓶坯注塑机","deviceNo":[],"location":["PPZSJ02-A","PPZSJ02-B"],"deviceType":2,"enable":1},
| {"address":"10.136.32.37","deviceName":"1号瓶坯翻斗机","deviceNo":[],"location":["PPFDJ01-01"],"deviceType":6,"enable":1},
| {"address":"10.136.32.38","deviceName":"2号瓶坯翻斗机","deviceNo":[],"location":["PPFDJ02-01"],"deviceType":6,"enable":1},
|
| {"address":"10.136.32.31","deviceName":"车间-仓库卷帘门","deviceNo":["5"],"location":[],"deviceType":1,"enable":1},
| {"address":"10.136.32.32","deviceName":"翻斗机卷帘门","deviceNo":["4"],"location":[],"deviceType":1,"enable":1},
| {"address":"10.136.32.33","deviceName":"瓶盖注塑机卷帘门","deviceNo":["3"],"location":[],"deviceType":1,"enable":1},
| {"address":"10.136.32.30","deviceName":"2号瓶坯翻斗机卷帘门","deviceNo":["2"],"location":[],"deviceType":1,"enable":1},
| {"address":"10.136.32.29","deviceName":"1号瓶坯翻斗机卷帘门","deviceNo":["1"],"location":[],"deviceType":1,"enable":1}
|
|
|
| ]]]>
| </deviceInfo>
|
|
|
| <!--参数说明:
| deviceName:为空则不需要判断工单是否执行 只判断是否满足转运条件
| CacheAreaNo:起点库区
| ProductArea:终点库区
| CacheAreaNoLock:起点库区是否为密集型库区 1/0
| ProductAreaLock:终点库区是否为密集型库区 1/0
| Priority:优先级 默认为1
| Enable:是否启用
| -->
| <inStockCacheArea>
| <![CDATA[
| [
| {"deviceName":"一号瓶盖注塑机","CacheAreaNo":"MKRKQ01","CacheAreaNoLock":"","ProductArea":"MKRKQ01","ProductAreaLock":"","Priority":1,"TaskType":"","enable":1},
|
| ]]]>
| </inStockCacheArea>
|
|
|
| <ItemCacheArea>
| <![CDATA[
| [
| {"ItemCode":"","AreaCode":""},
|
| ]]]>
| </ItemCacheArea>
|
|
|
| <!--参数说明:
| location:出入库区
| ItemTrayType:空/满
| ProductArea:空筐库区/满筐库区
| deviceType:设备类型 1:瓶盖注塑机 2:翻斗机
| Enable:是否启用
| -->
| <inStockCacheBit>
| <![CDATA[
| [
| {"location":"MKRKQ01-01","ItemTrayType":"满","ProductArea":["PGMKQ"],"deviceType":"1","enable":1},
| {"location":"MKCKQ01-01","ItemTrayType":"满","ProductArea":["PGMKQ"],"deviceType":"2","enable":1},
| {"location":"KKCKQ01-01","ItemTrayType":"空","ProductArea":["PGKKQ"],"deviceType":"1","enable":1},
| {"location":"KKRKQ01-01","ItemTrayType":"空","ProductArea":["PGKKQ"],"deviceType":"2","enable":1},
|
| {"location":"PPMKRKQ","ItemTrayType":"满","ProductArea":[""],"deviceType":"3","enable":1},
| {"location":"PPMKCKQ","ItemTrayType":"满","ProductArea":[""],"deviceType":"4","enable":1},
| {"location":"PPKKRKQ","ItemTrayType":"空","ProductArea":[""],"deviceType":"4","enable":1},
| {"location":"PPKKCKQ","ItemTrayType":"空","ProductArea":[""],"deviceType":"3","enable":1}
|
| ]]]>
| </inStockCacheBit>
|
|
| <!--参数说明:
| deviceName:产线号
| ItemName:物料名称(此处维护富勒下发的物料编码)
| ItemTrayType:类型(空,满)
| ProductLocation:优先送达下线缓存位
| ProductArea:优先下线库区编码-优先级越高位置越前
| Enable:是否启用
| -->
| <DaMingShanPriProLine>
| <![CDATA[
| [
| {"deviceName":"一号输送线","ItemName":"","ItemTrayType":"空","ProductLocation":["",""],"ProductArea":["KTQ"],"Enable":"1"},
| {"deviceName":"二号输送线","ItemName":"","ItemTrayType":"空","ProductLocation":["",""],"ProductArea":["KTQ"],"Enable":"1"},
|
| {"deviceName":"一号输送线","ItemName":"11110101101","ItemTrayType":"满","ProductLocation":["",""],"ProductArea":["CPK01","CPK02","CPK03","CPK04","CPK05","CPK06","CPK07","CPK08","CPK09","CPK10","CPK11","CPK12"],"Enable":"1"},
| {"deviceName":"一号输送线","ItemName":"11110102384","ItemTrayType":"满","ProductLocation":["",""],"ProductArea":["CPK01","CPK02","CPK03","CPK04","CPK05","CPK06","CPK07","CPK08","CPK09","CPK10","CPK11","CPK12"],"Enable":"1"},
| {"deviceName":"一号输送线","ItemName":"11110101100","ItemTrayType":"满","ProductLocation":["",""],"ProductArea":["CPK01","CPK02","CPK03","CPK04","CPK05","CPK06","CPK07","CPK08","CPK09","CPK10","CPK11","CPK12"],"Enable":"1"},
| {"deviceName":"一号输送线","ItemName":"11110101223","ItemTrayType":"满","ProductLocation":["",""],"ProductArea":["CPK01","CPK02","CPK03","CPK04","CPK05","CPK06","CPK07","CPK08","CPK09","CPK10","CPK11","CPK12"],"Enable":"1"},
| {"deviceName":"一号输送线","ItemName":"11110106125","ItemTrayType":"满","ProductLocation":["",""],"ProductArea":["CPK01","CPK02","CPK03","CPK04","CPK05","CPK06","CPK07","CPK08","CPK09","CPK10","CPK11","CPK12"],"Enable":"1"},
| {"deviceName":"二号输送线","ItemName":"11110106125","ItemTrayType":"满","ProductLocation":["",""],"ProductArea":["CPK01","CPK02","CPK03","CPK04","CPK05","CPK06","CPK07","CPK08","CPK09","CPK10","CPK11","CPK12"],"Enable":"1"},
| {"deviceName":"二号输送线","ItemName":"11110101101","ItemTrayType":"满","ProductLocation":["",""],"ProductArea":["CPK01","CPK02","CPK03","CPK04","CPK05","CPK06","CPK07","CPK08","CPK09","CPK10","CPK11","CPK12"],"Enable":"1"},
| {"deviceName":"二号输送线","ItemName":"11110102384","ItemTrayType":"满","ProductLocation":["",""],"ProductArea":["CPK01","CPK02","CPK03","CPK04","CPK05","CPK06","CPK07","CPK08","CPK09","CPK10","CPK11","CPK12"],"Enable":"1"},
| {"deviceName":"二号输送线","ItemName":"11110101100","ItemTrayType":"满","ProductLocation":["",""],"ProductArea":["CPK01","CPK02","CPK03","CPK04","CPK05","CPK06","CPK07","CPK08","CPK09","CPK10","CPK11","CPK12"],"Enable":"1"},
| {"deviceName":"二号输送线","ItemName":"11110101223","ItemTrayType":"满","ProductLocation":["",""],"ProductArea":["CPK01","CPK02","CPK03","CPK04","CPK05","CPK06","CPK07","CPK08","CPK09","CPK10","CPK11","CPK12"],"Enable":"1"},
|
| {"deviceName":"一号输送线","ItemName":"11110101098","ItemTrayType":"满","ProductLocation":["",""],"ProductArea":["CPK04","CPK05","CPK06","CPK09"],"Enable":"1"},
| {"deviceName":"一号输送线","ItemName":"11110101094","ItemTrayType":"满","ProductLocation":["",""],"ProductArea":["CPK04","CPK05","CPK06","CPK09"],"Enable":"1"},
| {"deviceName":"二号输送线","ItemName":"11110101098","ItemTrayType":"满","ProductLocation":["",""],"ProductArea":["CPK04","CPK05","CPK06","CPK09"],"Enable":"1"},
| {"deviceName":"二号输送线","ItemName":"11110101094","ItemTrayType":"满","ProductLocation":["",""],"ProductArea":["CPK04","CPK05","CPK06","CPK09"],"Enable":"1"},
|
| {"deviceName":"1号瓶盖注塑机","ItemName":"","ItemTrayType":"空","ProductLocation":[""],"ProductArea":["KKHCQ"],"Enable":"1"},
| {"deviceName":"1号瓶盖注塑机","ItemName":"","ItemTrayType":"满","ProductLocation":[""],"ProductArea":["MKHCQ"],"Enable":"1"},
| {"deviceName":"1号瓶盖翻斗机","ItemName":"","ItemTrayType":"满","ProductLocation":[""],"ProductArea":["MKHCQ"],"Enable":"1"},
| {"deviceName":"1号瓶盖翻斗机","ItemName":"","ItemTrayType":"空","ProductLocation":[""],"ProductArea":["KKHCQ"],"Enable":"1"},
|
| {"deviceName":"1号瓶坯注塑机","ItemName":"","ItemTrayType":"空","ProductLocation":[""],"ProductArea":["PPKKHCQ"],"Enable":"1"},
| {"deviceName":"1号瓶坯注塑机","ItemName":"","ItemTrayType":"满","ProductLocation":[""],"ProductArea":["PPMKHCQ"],"Enable":"1"},
| {"deviceName":"2号瓶坯注塑机","ItemName":"","ItemTrayType":"空","ProductLocation":[""],"ProductArea":["PPKKHCQ"],"Enable":"1"},
| {"deviceName":"2号瓶坯注塑机","ItemName":"","ItemTrayType":"满","ProductLocation":[""],"ProductArea":["PPMKHCQ"],"Enable":"1"},
| {"deviceName":"1号瓶坯翻斗机","ItemName":"","ItemTrayType":"满","ProductLocation":[""],"ProductArea":["PPMKHCQ"],"Enable":"1"},
| {"deviceName":"1号瓶坯翻斗机","ItemName":"","ItemTrayType":"空","ProductLocation":[""],"ProductArea":["PPKKHCQ"],"Enable":"1"},
| {"deviceName":"2号瓶坯翻斗机","ItemName":"","ItemTrayType":"满","ProductLocation":[""],"ProductArea":["PPMKHCQ"],"Enable":"1"},
| {"deviceName":"2号瓶坯翻斗机","ItemName":"","ItemTrayType":"空","ProductLocation":[""],"ProductArea":["PPKKHCQ"],"Enable":"1"},
|
|
|
|
| {"deviceName":"连接区域1-一号翻斗机外","ItemName":"","ItemTrayType":"满","ProductLocation":[""],"ProductArea":["PPKKHCQ"],"Enable":"1"}
| {"deviceName":"连接区域1-一号翻斗机外","ItemName":"","ItemTrayType":"空","ProductLocation":[""],"ProductArea":["PPKKHCQ"],"Enable":"1"}
|
|
|
|
| ]]]>
| </DaMingShanPriProLine>
|
|
|
|
|
| <!--茶园成品下线库区-->
| <AreaType>
| <![CDATA[[
|
| {"AreaName":"小板","AreaType":"满","AreaCode":["CP01","CP02"]},
| {"AreaName":"大板","AreaType":"满","AreaCode":["CP01","CP02"]},
| {"AreaName":"集化板","AreaType":"满","AreaCode":["CP01","CP02"]},
|
|
| ]]]>
| </AreaType>
|
|
| <!--前移车-->
| <updateCacheBit>
| <![CDATA[
| [
| {"location":"KKCKQ01-01","AGVlocation":"12578"},
| {"location":"KKRKQ01-01","AGVlocation":"12581"},
| {"location":"MKCKQ01-01","AGVlocation":"12587"},
| {"location":"MKRKQ01-01","AGVlocation":"12593"}
| ]]]>
| </updateCacheBit>
|
|
| <!--盘库-->
| <PanKu>
| <![CDATA[["CPK01","CPK02","CPK03","CPK04","CPK05","CPK06","CPK07","CPK08","CPK09","CPK10","CPK11","CPK12"]]]>
| </PanKu>
|
|
| <!--自由线段是否启用-->
| <flexibilityenable>1</flexibilityenable>
|
| </Custom>
|
|