#
zzgtfwq
8 天以前 7d7a2c1b4a8f4c0ce412916cf8acba3510e3ba05
src/main/resources/application.yml
@@ -53,13 +53,13 @@
constant-parameters:
  # 轨道总长
  trackEntireLength: 246600
  trackEntireLength: 240000
  # 轨道基准点
  trackBenchmark: 1
  # 轨道转换为米比例
  trackProportion: 10000
  # 避让距离
  avoidDistance: 6000
  avoidDistance: 13300
inventory:
  number: 7
@@ -90,8 +90,8 @@
      lev: 1
    crnInStn[1]:
      devpPlcId: ${wcs-slave.devp[1].id}
      staNo: 1031
      row: 3
      staNo: 201
      row: 2
      bay: 1
      lev: 2
    # 堆垛机出库站点
@@ -103,9 +103,9 @@
      lev: 1
    crnOutStn[1]:
      devpPlcId: ${wcs-slave.devp[1].id}
      staNo: 2001
      row: 2
      bay: 52
      staNo: 203
      row: 3
      bay: 1
      lev: 2
  # 堆垛机2
  crn[1]:
@@ -120,28 +120,28 @@
    # 堆垛机入库站点
    crnInStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1011
      row: 7
      bay: 52
      staNo: 105
      row: 6
      bay: 1
      lev: 1
    crnInStn[1]:
      devpPlcId: ${wcs-slave.devp[1].id}
      staNo: 2010
      row: 7
      bay: 52
      staNo: 205
      row: 3
      bay: 1
      lev: 2
    # 堆垛机出库站点
    crnOutStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1008
      row: 6
      bay: 52
      staNo: 107
      row: 7
      bay: 1
      lev: 1
    crnOutStn[1]:
      devpPlcId: ${wcs-slave.devp[1].id}
      staNo: 2007
      row: 6
      bay: 52
      staNo: 207
      row: 7
      bay: 1
      lev: 2
  # 堆垛机3
  crn[2]:
@@ -156,42 +156,30 @@
    # 堆垛机入库站点
    crnInStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1015
      staNo: 109
      row: 9
      bay: 52
      bay: 1
      lev: 1
    crnInStn[1]:
      devpPlcId: ${wcs-slave.devp[1].id}
      staNo: 2016
      row: 11
      bay: 52
      lev: 2
    crnInStn[2]:
      devpPlcId: ${wcs-slave.devp[1].id}
      staNo: 4001
      staNo: 209
      row: 9
      bay: 52
      lev: 3
      bay: 1
      lev: 2
    # 堆垛机出库站点
    crnOutStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1019
      row: 11
      bay: 52
      staNo: 111
      row: 10
      bay: 1
      lev: 1
    crnOutStn[1]:
      devpPlcId: ${wcs-slave.devp[1].id}
      staNo: 2013
      row: 9
      bay: 52
      staNo: 211
      row: 10
      bay: 1
      lev: 2
    crnOutStn[2]:
      devpPlcId: ${wcs-slave.devp[1].id}
      staNo: 4004
      row: 11
      bay: 52
      lev: 3
  # 堆垛机4
  crn[3]:
    id: 4
@@ -205,34 +193,138 @@
    # 堆垛机入库站点
    crnInStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1025
      row: 15
      bay: 52
      staNo: 115
      row: 13
      bay: 1
      lev: 1
    crnInStn[1]:
      devpPlcId: ${wcs-slave.devp[1].id}
      staNo: 2022
      row: 15
      bay: 52
      staNo: 218
      row: 13
      bay: 1
      lev: 2
    # 堆垛机出库站点
    crnOutStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1022
      row: 14
      bay: 52
      staNo: 113
      row: 12
      bay: 1
      lev: 1
    crnOutStn[1]:
      devpPlcId: ${wcs-slave.devp[1].id}
      staNo: 2019
      row: 14
      bay: 52
      staNo: 213
      row: 12
      bay: 1
      lev: 2
  # RGV穿梭车1
  rgv[0]:
    id: 1
    ip: 10.10.10.176
    port: 102
    rack: 0
    slot: 0
    otherId: 2
    carBodyJiaoMing: 13500
    carBodyKunPeng: 2800
    #RGV源站点
    rgvInSta[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 117
      #执行方向(面朝轨道 定位值左小右大===>  后  前true后false)  true:左   false:右
      direction: false
      staNoOther: 117
      directionOther: false
    rgvInSta[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 120
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
      staNoOther: 120
      directionOther: false
    rgvInSta[2]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 123
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: true
      staNoOther: 123
      directionOther: false
    rgvInSta[3]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 104
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: true
      staNoOther: 104
      directionOther: false
    rgvInSta[4]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 108
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: true
      staNoOther: 108
      directionOther: false
    rgvInSta[5]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 112
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: true
      staNoOther: 112
      directionOther: false
    rgvInSta[6]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 114
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: true
      staNoOther: 114
      directionOther: false
    #RGV目标站点
    rgvOutSta[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 117
      direction: false
      staNoOther: 117
      directionOther: false
    rgvOutSta[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 120
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
      staNoOther: 120
      directionOther: false
    rgvOutSta[2]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 123
      direction: false
      staNoOther: 123
      directionOther: false
    rgvOutSta[3]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 116
      direction: true
      staNoOther: 116
      directionOther: false
    rgvOutSta[4]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 106
      direction: true
      staNoOther: 106
      directionOther: false
    rgvOutSta[5]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 110
      direction: true
      staNoOther: 110
      directionOther: false
    rgvSuperSta[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 116
      direction: true
      staNoOther: 116
      directionOther: false
  # RGV穿梭车2
  rgv[1]:
    id: 2
    ip: 10.10.10.176
    port: 502
    ip: 10.10.10.178
    port: 102
    rack: 0
    slot: 0
    otherId: 1
@@ -332,14 +424,118 @@
      direction: true
      staNoOther: 102
      directionOther: false
  # RGV穿梭车2
  rgv[0]:
    id: 1
    ip: 10.10.10.178
    port: 502
  # RGV穿梭车3
  rgv[2]:
    id: 3
    ip: 10.10.10.188
    port: 102
    rack: 0
    slot: 0
    otherId: 2
    otherId: 4
    carBodyJiaoMing: 13500
    carBodyKunPeng: 2800
    #RGV源站点
    rgvInSta[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 217
      #执行方向(面朝轨道 定位值左小右大===>  后  前true后false)  true:左   false:右
      direction: false
      staNoOther: 217
      directionOther: false
    rgvInSta[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 220
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
      staNoOther: 220
      directionOther: false
    rgvInSta[2]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 223
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: true
      staNoOther: 223
      directionOther: false
    rgvInSta[3]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 204
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: true
      staNoOther: 204
      directionOther: false
    rgvInSta[4]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 208
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: true
      staNoOther: 208
      directionOther: false
    rgvInSta[5]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 212
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: true
      staNoOther: 212
      directionOther: false
    rgvInSta[6]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 214
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: true
      staNoOther: 214
      directionOther: false
    #RGV目标站点
    rgvOutSta[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 217
      direction: false
      staNoOther: 217
      directionOther: false
    rgvOutSta[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 220
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
      staNoOther: 220
      directionOther: false
    rgvOutSta[2]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 123
      direction: false
      staNoOther: 123
      directionOther: false
    rgvOutSta[3]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 102
      direction: true
      staNoOther: 102
      directionOther: false
    rgvOutSta[4]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 106
      direction: true
      staNoOther: 106
      directionOther: false
    rgvOutSta[5]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 110
      direction: true
      staNoOther: 110
      directionOther: false
    rgvSuperSta[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 102
      direction: true
      staNoOther: 102
      directionOther: false
  # RGV穿梭车4
  rgv[3]:
    id: 4
    ip: 10.10.10.190
    port: 102
    rack: 0
    slot: 0
    otherId: 3
    carBodyJiaoMing: 13500
    carBodyKunPeng: 2800
    #RGV源站点