Commit 2b043a5d 几米阳光

送料出去流程修改

1 个父辈 bd2f201a
......@@ -373,11 +373,9 @@ namespace OnlineStore.DeviceLibrary
{
if (!StoreMove.IsNeedInStore)
{
InStoreLog("送出料盘:SI_21 ,需要操作人员拿走料盘,进出轴(叉子)到仓门出料点P4,升降轴到门口位置P7 ");
InStoreLog("送出料盘:SI_21 ,需要操作人员拿走料盘,升降轴到门口位置P7 ");
StoreMove.NextMoveStep(StoreMoveStep.SI_21_DeviceToDoor);
ACAxisMove(Config.UpDown_Axis, moveP.UpDown_Door_P7, Config.UpDownAxis_P7_Speed);
ACAxisMove(Config.InOut_Axis, moveP.InOut_P4, Config.InOutAxis_P2_Speed);
StoreMove.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.SafetyLightCurtains, IO_VALUE.HIGH));
}
else
{
......@@ -491,24 +489,32 @@ namespace OnlineStore.DeviceLibrary
#region 送出料盘处理
else if (StoreMove.MoveStep == StoreMoveStep.SI_21_DeviceToDoor)
{
InStoreLog("送出料盘:SI_21 ,需要操作人员拿走料盘,进出轴(叉子)到仓门出料点P4 ");
StoreMove.NextMoveStep(StoreMoveStep.SI_22_InoutToDoor);
ACAxisMove(Config.InOut_Axis, moveP.InOut_P4, Config.InOutAxis_P2_Speed);
StoreMove.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.SafetyLightCurtains, IO_VALUE.HIGH));
}
else if (StoreMove.MoveStep.Equals(StoreMoveStep.SI_22_InoutToDoor))
{
if (KND.IOValue(IO_Type.SafetyLightCurtains).Equals(IO_VALUE.HIGH))
{
InStoreLog("送出料盘:SI_22 ,打开仓门 ");
StoreMove.NextMoveStep(StoreMoveStep.SI_22_OpenDoor);
InStoreLog("送出料盘:SI_22 ,需要操作人员拿走料盘,打开仓门 ");
StoreMove.NextMoveStep(StoreMoveStep.SI_23_OpenDoor);
OpenDoorAndWait();
}
}
else if (StoreMove.MoveStep.Equals(StoreMoveStep.SI_22_OpenDoor))
else if (StoreMove.MoveStep.Equals(StoreMoveStep.SI_23_OpenDoor))
{
InStoreLog("送出料盘:SI_23 ,等待操作人员拿走料盘 ");
StoreMove.NextMoveStep(StoreMoveStep.SI_23_WaitTrayGo);
StoreMove.NextMoveStep(StoreMoveStep.SI_24_WaitTrayGo);
StoreMove.TimeOutSeconds = 120;
AutomaticBaiting.IsGetTrayGo = false;
AutomaticBaiting.IsWaitTragGo = true;
StoreMove.WaitList.Add(WaitResultInfo.WaitTakeTray());
}
else if (StoreMove.MoveStep == StoreMoveStep.SI_23_WaitTrayGo)
else if (StoreMove.MoveStep == StoreMoveStep.SI_24_WaitTrayGo)
{
if (KND.IOValue(IO_Type.SafetyLightCurtains).Equals(IO_VALUE.HIGH))
{
......
......@@ -369,17 +369,21 @@ namespace OnlineStore.DeviceLibrary
/// <summary>
/// 入库未取到PosID,,叉子走到门口位置, 打开仓门
/// 入库未取到PosID,,升降轴到门口, 打开仓门
/// </summary>
SI_21_DeviceToDoor= 221,
/// <summary>
/// 入库未取到PosID,叉子走到门口位置, 打开仓门
/// </summary>
SI_22_InoutToDoor = 222,
/// <summary>
///入库未取到PosID,, 打开仓门
/// </summary>
SI_22_OpenDoor = 222,
SI_23_OpenDoor = 223,
/// <summary>
/// 入库未取到PosID,,等待料盘拿走
/// </summary>
SI_23_WaitTrayGo = 223,
SI_24_WaitTrayGo = 224,
///// <summary>
///// 料仓出库,,升降轴返回,, 轴2至P1( 待机点)
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!