| | |
| | | // crnThread.write(command); |
| | | |
| | | |
| | | // // 3.库位移转 源和目标都发 |
| | | // // 3.库位移转 源和目标都发 pass |
| | | // CrnCommand command = new CrnCommand(); |
| | | // command.setCrnNo(slave.getId()); // 堆垛机编号 |
| | | // command.setTaskNo((short) 0); // 工作号 |
| | | // command.setAckFinish((short) 0); // 任务完成确认位 |
| | | // command.setTaskMode(CrnTaskModeType.LOC_MOVE); // 任务模式: 库位移转 |
| | | // command.setSourcePosX((short)1); // 源库位排 |
| | | // command.setSourcePosY((short)2); // 源库位列 |
| | | // command.setSourcePosZ((short)2); // 源库位层 |
| | | // command.setSourcePosY((short)4); // 源库位列 |
| | | // command.setSourcePosZ((short)3); // 源库位层 |
| | | // command.setDestinationPosX((short)2); // 目标库位排 |
| | | // command.setDestinationPosY((short)3); // 目标库位列 |
| | | // command.setDestinationPosY((short)4); // 目标库位列 |
| | | // command.setDestinationPosZ((short)3); // 目标库位层 |
| | | // crnThread.write(command); |
| | | |
| | |
| | | // command.setSourcePosX((short) 0); // 源库位排 |
| | | // command.setSourcePosY((short) 0); // 源库位列 |
| | | // command.setSourcePosZ((short) 0); // 源库位层 |
| | | // command.setDestinationPosX((short) 2); // 目标库位排 |
| | | // command.setDestinationPosY((short) 1); // 目标库位列 |
| | | // command.setDestinationPosZ((short) 1); // 目标库位层 |
| | | // command.setDestinationPosX((short) 0); // 目标库位排 |
| | | // command.setDestinationPosY((short) 0); // 目标库位列 |
| | | // command.setDestinationPosZ((short) 0); // 目标库位层 |
| | | // crnThread.write(command); |
| | | |
| | | // // 7.坐标移行 目标发 pass |