Commit 28ae15a1 几米阳光

进出轴再次复位需相对走-5000

1 个父辈 67440366
...@@ -409,9 +409,9 @@ namespace OnlineStore.DeviceLibrary ...@@ -409,9 +409,9 @@ namespace OnlineStore.DeviceLibrary
&& ACServerManager.GetHomeSingle(portName, slvAddr).Equals(1)) && ACServerManager.GetHomeSingle(portName, slvAddr).Equals(1))
{ {
StoreMove.NextMoveStep(StoreMoveStep.BOX_H_InOutMove); StoreMove.NextMoveStep(StoreMoveStep.BOX_H_InOutMove);
LogUtil.info(LOGGER, StoreName + "复位中,进出轴原点亮且已经原点返回过,先相对走5000"); LogUtil.info(LOGGER, StoreName + "复位中,进出轴原点亮且已经原点返回过,先相对走-5000");
int currPos = ACServerManager.GetActualtPosition(portName, slvAddr); int currPos = ACServerManager.GetActualtPosition(portName, slvAddr);
int targetPos = currPos + 5000; int targetPos = currPos - 5000;
ACAxisMove(Config.InOut_Axis, targetPos, Config.InoutAxis_HomeLowSpeed); ACAxisMove(Config.InOut_Axis, targetPos, Config.InoutAxis_HomeLowSpeed);
} }
else else
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!