Commit ba43dd79 LN

1

1 个父辈 3d8c9bd3
......@@ -778,9 +778,6 @@ namespace OnlineStore.DeviceLibrary
}
SideWayTimerProcess();
CodeProcess();
}
}
catch (Exception ex)
......
......@@ -266,13 +266,7 @@ namespace OnlineStore.DeviceLibrary
}
#endregion
#region 扫码处理
private void CodeProcess()
{
}
#endregion
#region 出库
......@@ -408,7 +402,6 @@ namespace OnlineStore.DeviceLibrary
private DateTime SideWay23Ntime = DateTime.Now;
private bool SideWay23IsWait = false;
private bool sdIsInprocess = false;
private DateTime sdlastProTime = DateTime.Now;
private void SideWayTimerProcess()
......@@ -431,8 +424,6 @@ namespace OnlineStore.DeviceLibrary
}
if (SW41_MoveInfo.MoveType.Equals(LineMoveType.None))
{
if (IOValue(IO_Type.SW4_TrayCheck).Equals(IO_VALUE.HIGH) && IOValue(IO_Type.SW1_TrayCheck).Equals(IO_VALUE.LOW) &&
TrayManager.CanMoveSidesWay(4) && TrayManager.CanMoveSidesWay(1))
{
......@@ -448,6 +439,7 @@ namespace OnlineStore.DeviceLibrary
CylinderMove(SW41_MoveInfo, IO_Type.SW4_LocationCylinder_Up, IO_Type.SW4_LocationCylinder_Down);
CylinderMove(SW41_MoveInfo, IO_Type.SW1_LocationCylinder_Up, IO_Type.SW1_LocationCylinder_Down);
}
}
else if (IOValue(IO_Type.SW4_StopCheck).Equals(IO_VALUE.HIGH) &&
IOValue(IO_Type.SW4_TrayCheck).Equals(IO_VALUE.LOW) &&
IOValue(IO_Type.SW1_TrayCheck).Equals(IO_VALUE.LOW) &&
......@@ -477,7 +469,6 @@ namespace OnlineStore.DeviceLibrary
SideWay41IsWait = true;
SideWay41Ntime = DateTime.Now;
}
}
else
{
SideWay41IsWait = false;
......@@ -488,10 +479,8 @@ namespace OnlineStore.DeviceLibrary
SideWay41IsWait = false;
SideWay41BusyProcess();
}
if (SW23_MoveInfo.MoveType.Equals(LineMoveType.None))
{
//检测到阻挡夹具信号后,阻挡气缸下降,等待有夹具信号,阻挡气缸上升,
//顶升气缸上升到位,开始流水线转动,检测到出口信号后,停止转动,顶升气缸下降,阻挡4下降,盘通过
if (IOValue(IO_Type.SW2_TrayCheck).Equals(IO_VALUE.HIGH) && IOValue(IO_Type.SW3_TrayCheck).Equals(IO_VALUE.LOW) &&
......@@ -657,7 +646,6 @@ namespace OnlineStore.DeviceLibrary
private bool CheckTrayIsNeed(int deviceId)
{
//横移1对应入料1
if (FeedingEquipMap.ContainsKey(deviceId))
{
FeedingEquip equip = FeedingEquipMap[deviceId];
......@@ -696,7 +684,6 @@ namespace OnlineStore.DeviceLibrary
SW23_MoveInfo.WaitList.Add(WaitResultInfo.WaitTime(1000));
CylinderMove(SW23_MoveInfo, IO_Type.SW2_TopCylinder_Down, IO_Type.SW2_TopCylinder_Up);
CylinderMove(SW23_MoveInfo, IO_Type.SW3_TopCylinder_Down, IO_Type.SW3_TopCylinder_Up);
}
else if (SW23_MoveInfo.MoveStep.Equals(LineMoveStep.SW03_TopCylinderUp))
{
......@@ -774,10 +761,8 @@ namespace OnlineStore.DeviceLibrary
}
#endregion
#region 料仓出入库逻辑处理
/// <summary>--
/// BOX出入库完成事件
/// </summary>
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!