自动化立体仓库 - WCS系统
#
zjj
2025-03-14 54dd86cbf79e485cb0bbca3ad46032fb69306a13
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
server:
  port: 9090
  servlet:
    context-path: /@pom.build.finalName@
 
spring:
  application:
    name: @pom.build.finalName@
  datasource:
    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
    url: jdbc:sqlserver://localhost:1433;databasename=fyxcasrs
    username: sa
    password: sa@123
  mvc:
    static-path-pattern: /**
  redis:
    host: localhost
    port: 6379
    database: 0
#    password: xltys1995
 
mybatis-plus:
  mapper-locations: classpath:mapper/*.xml
#  global-config:
#    field-strategy: 0
 
logging:
  path: /stock/out/@pom.build.finalName@/logs
 
super:
  pwd: xltys1995
 
swagger:
  enable: false
 
wms:
  url: 127.0.0.1:9090/ykwms
 
# 下位机配置
wcs-slave:
  # 双深
  doubleDeep: true
  # 双深库位排号
  doubleLocs: 1,4
  # 一个堆垛机负责的货架排数
  groupCount: 4
  # 堆垛机1
  crn[0]:
    id: 1
    ip: 10.10.10.10
    port: 102
    rack: 0
    slot: 0
    # 偏移量,当堆垛机站点列号=1时,偏移量=2
    offset: 2
    demo: false
    # 堆垛机入库站点
    crnInStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1112
      row: 2
      bay: 2
      lev: 1
    # 堆垛机入库站点
    crnInStn[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1114
      row: 2
      bay: 2
      lev: 1
    # 堆垛机入库站点
    crnInStn[2]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1122
      row: 2
      bay: 2
      lev: 1
    # 堆垛机入库站点
    crnInStn[3]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1124
      row: 2
      bay: 2
      lev: 1
    # 堆垛机出库站点
    crnOutStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1112
      row: 2
      bay: 2
      lev: 1
    crnOutStn[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1114
      row: 2
      bay: 2
      lev: 1
    crnOutStn[2]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1122
      row: 2
      bay: 2
      lev: 1
    crnOutStn[3]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1124
      row: 2
      bay: 2
      lev: 1
  # 输送线1
  devp[0]:
    id: 1
    ip: 10.10.10.50
    port: 102
    rack: 0
    slot: 0
    # 入库口1
    inSta[0]:
      staNo: 106
      barcode: ${wcs-slave.barcode[0].id}
      barcodeMat: ${wcs-slave.barcode[3].id}
      backSta: 105
      led: ${wcs-slave.led[1].id}
 
 
  # 条码扫描仪1
  barcode[0]:
    id: 1
    ip: 10.10.10.121
    port: 51236
   # LED1
  led[0]:
    id: 1
    ip: 10.10.10.101
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
    staArr: 100
  # LED2
  led[1]:
    id: 2
    ip: 10.10.10.102
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
    staArr: 106
  # LED3
  led[2]:
    id: 3
    ip: 10.10.10.103
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
    staArr: 107
  # LED4
  led[3]:
    id: 4
    ip: 10.10.10.104
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
    staArr: 152
  # LED5
  led[4]:
    id: 5
    ip: 10.10.10.105
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
    staArr: 156
  # LED6
  led[5]:
    id: 6
    ip: 10.10.10.106
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
    staArr: 160,159