自动化立体仓库 - WCS系统
#
18516761980
2022-08-11 1bae1c3c16ace651a825d0fb7c11ad673333bde8
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
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://192.168.4.15:1433;databasename=gzynasrs
    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: localhost:8080/klswms
 
# 下位机配置
wcs-slave:
  # 双深
  doubleDeep: false
  # 双深库位排号
  doubleLocs:
  # 一个堆垛机负责的货架排数
  groupCount: 2
  # 堆垛机1
  crn[0]:
    id: 1
    ip: 10.10.10.10
    port: 8888
    rack: 0
    slot: 0
    # 偏移量,当堆垛机站点列号=1时,偏移量=2
    offset: 2
    demo: false
    # 堆垛机入库站点
    crnInStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 103
      row: 1
      bay: 1
      lev: 1
    crnInStn[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 108
      row: 1
      bay: 19
      lev: 1
    # 堆垛机出库站点
    crnOutStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 107
      row: 2
      bay: 1
      lev: 1
    crnOutStn[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 108
      row: 1
      bay: 19
      lev: 1
    crnOutStn[2]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 109
      row: 2
      bay: 19
      lev: 1
 
  # 输送线
  devp[0]:
    id: 1
    ip: 10.10.10.50
    port: 102
    rack: 0
    slot: 0
    # 入库口1
    inSta[0]:
      staNo: 103
      barcode: ${wcs-slave.barcode[0].id}
    # 空板入库口1
    emptyInSta[0]:
      staNo: 103
    # 出库口1
    outSta[0]:
      staNo: 104
#    # 拣料入库口1
#    pickSta[0]:
#      staNo: 103
#      barcode: ${wcs-slave.barcode[0].id}
  # 条码扫描仪
  barcode[0]:
    id: 1
    ip: 10.10.10.52
    port: 51236
#   # LED1
#  led[0]:
#    id: 1
#    ip: 10.10.10.60
#    port: 5005
#    devpPlcId: ${wcs-slave.devp[0].id}
#    staArr: 110
#
#  #socket
#  socket[0]:
#    id: 1
#    ip: 10.10.10.100
#    port: 10001
 
# tcp服务端配置
tcp:
  #tcp/ip协议端口
  port: 51236
  #心跳 s
  heart-seconds: 120
  #最大连接数
  backlog: 128
  #是否开启keepAlive
  keep-alive: true
  #发送滑动窗口(256KB)
  sndbuf: 262144
  #接受滑动窗口(2MB)
  rcvbuf: 2097152
  #上下行日志打印
  printPacLog: true
  #条码长度
  barcodeLen: 8
 
test:
  url: 127.0.0.1:8080/test