| | |
| | | commandAvoidanceXY.setAckFinish1((short) 1); // 任务完成确认位 |
| | | commandAvoidanceXY.setTaskMode1(RgvTaskModeType.X_MOVE); // 任务模式 |
| | | commandAvoidanceXY.setSourceStaNo1((short)0); // 源站 |
| | | commandAvoidanceXY.setDestinationStaNo1(slave.getId()==1? (short) 101:(short)117); // 目标站 |
| | | commandAvoidanceXY.setDestinationStaNo1(slave.getId()==1? (short) 101:(short)116); // 目标站 |
| | | commandAvoidanceXY.setTaskNo2((short) 0); // 工作号 |
| | | commandAvoidanceXY.setAckFinish2((short) 1); // 任务完成确认位 |
| | | commandAvoidanceXY.setTaskMode2(RgvTaskModeType.X_MOVE); // 任务模式 |
| | |
| | | return false; |
| | | } |
| | | |
| | | siemensNet.Write("DB100.20", command.getCommand()); |
| | | // siemensNet.Write("DB100.20", command.getCommand()); |
| | | |
| | | command.setRgvNo(slave.getId()); |
| | | short[] array = new short[5]; |