Commit 1d2152f5 authored by wanghao's avatar wanghao

1 下料 根据 传送带 判断调整

parent e09db54a
......@@ -147,7 +147,7 @@ public class RobotArmCommandServiceImpl implements IRobotArmCommandService
boolean[] roboticArmExitConveyorData = Modbus4jUtils.getRoboticArmExitConveyorData(outLetBeltIp,outLetBeltPort);
log.info("机械臂出口 conveyor 0状态: " + roboticArmExitConveyorData[0]);
log.info("机械臂出口 conveyor 1状态: " + roboticArmExitConveyorData[1]);
if(roboticArmExitConveyorData[0]) {
if(!roboticArmExitConveyorData[0]) {
log.info("开始处理下料指令: {}", unloadingCommand);
sendCommand(unloadingCommand, "UNLOAD");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment