| | |
| | | |
| | | // // 入出库模式判断 |
| | | // if (devpThread.ioMode != IoModeType.PAKOUT_MODE) { continue; } |
| | | if (wrkMast.getStaNo() == 204 && devpThread.ioModeOf2F != IoModeType.PAKOUT_MODE) { |
| | | continue; |
| | | } |
| | | // if (wrkMast.getStaNo() == 204 && devpThread.ioModeOf2F != IoModeType.PAKOUT_MODE) {continue;} |
| | | // if (wrkMast.getStaNo() == 402 && devpThread.ioModeOf4F != IoModeType.PAKOUT_MODE) {continue;} |
| | | |
| | | // 查询站点详细信息 |
| | | BasDevp staDetl = basDevpService.selectById(crnStn.getStaNo()); |
| | |
| | | log.error("写入输送线2F入出库模式失败。输送线plc编号={}", slave.getId()); |
| | | } |
| | | } |
| | | if (this.ioModeOf4F != IoModeType.NONE) { |
| | | if (!siemensS7Net.Write("DB100.170", this.ioModeOf4F.id).IsSuccess) { |
| | | OutputQueue.DEVP.offer(MessageFormat.format("【{0}】写入输送线4F入出库模式失败。输送线plc编号={1}", slave.getId())); |
| | | log.error("写入输送线4F入出库模式失败。输送线plc编号={}", slave.getId()); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /** |
| | |
| | | name: @pom.build.finalName@ |
| | | datasource: |
| | | driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver |
| | | url: jdbc:sqlserver://10.10.10.210:1433;databasename=hylyasrs |
| | | url: jdbc:sqlserver://localhost:1433;databasename=hylyasrs |
| | | username: sa |
| | | password: sa@123 |
| | | mvc: |
| | |
| | | # 堆垛机4 |
| | | crn[3]: |
| | | id: 4 |
| | | ip: 10.10.10.121 |
| | | ip: 10.10.10.200 |
| | | port: 102 |
| | | rack: 0 |
| | | slot: 0 |
| | |
| | | barcode: ${wcs-slave.barcode[3].id} |
| | | |
| | | devp[1]: |
| | | id: 1 |
| | | ip: 10.10.10.60 |
| | | id: 2 |
| | | ip: 10.10.10.93 |
| | | port: 102 |
| | | rack: 0 |
| | | slot: 0 |
| | |
| | | port: 51236 |
| | | barcode[3]: |
| | | id: 4 |
| | | ip: 10.10.10.52 |
| | | ip: 10.10.10.93 |
| | | port: 51236 |
| | | # LED1 |
| | | led[0]: |