Commit 279e5762 renym1968

同步

1 个父辈 122c4d64
...@@ -39,7 +39,8 @@ ...@@ -39,7 +39,8 @@
<Reference Include="CodeLibrary"> <Reference Include="CodeLibrary">
<HintPath>..\..\dll\CodeLibrary.dll</HintPath> <HintPath>..\..\dll\CodeLibrary.dll</HintPath>
</Reference> </Reference>
<Reference Include="halcondotnet"> <Reference Include="halcondotnet, Version=12.0.0.0, Culture=neutral, PublicKeyToken=4973bed59ddbf2b8, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\dll\halcondotnet.dll</HintPath> <HintPath>..\..\dll\halcondotnet.dll</HintPath>
</Reference> </Reference>
<Reference Include="log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL"> <Reference Include="log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
......
...@@ -190,8 +190,9 @@ namespace OnlineStore.DeviceLibrary ...@@ -190,8 +190,9 @@ namespace OnlineStore.DeviceLibrary
} else } else
{ {
NotOkMsg += "" +info.ToShowStr(); NotOkMsg += "" +info.ToShowStr();
} }
ShuoKeControls.GetStatus(wait.SlvAddr); ShuoKeControls.GetStatus(wait.SlvAddr);
} }
} }
...@@ -511,7 +512,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -511,7 +512,7 @@ namespace OnlineStore.DeviceLibrary
#endregion #endregion
#region 出库 #region 出库
private DateTime startOutStoreTime = DateTime.Now; private DateTime startOutStoreTime = DateTime.Now;
/// <summary> /// <summary>
...@@ -774,6 +775,28 @@ namespace OnlineStore.DeviceLibrary ...@@ -774,6 +775,28 @@ namespace OnlineStore.DeviceLibrary
} }
} }
#endregion #endregion
#region 自动上料上料机构处理
public void ChargingLoad()
{
//1、上料门是否关闭
if (KNDIOValue(IO_Type.Load_DoorClose).Equals(IO_VALUE.HIGH)) //上料门关闭
{
//2、 进/料轴是否退回
//3、吸盘在最高端
if (KNDIOValue(IO_Type.Chuck_Up).Equals(IO_VALUE.HIGH))
{
}
//if (KNDIOValue(IO_Type.Load_DoorClose).Equals(IO_VALUE.HIGH))
//通过读伺服线圈信息,判断伺服在最高位置还是在最低位置
int value=ACServerManager.GetNotStatus(Config.Charging_Axis.DeviceName, Config.Charging_Axis.GetAxisValue());
//4、判断上料机构是否在最高点? 是---》无料盘 TrayCheck_Door
//5、是否检测到料盘?检测到,不运行;检测不到伺服运行
//电机运动 ACAxisMove(Config.Charging_Axis, ??, Config.Charging_Axis.TargetSpeed);
}
}
#endregion
public List<FixtureCodeInfo> waitOutStoreList = new List<FixtureCodeInfo>(); public List<FixtureCodeInfo> waitOutStoreList = new List<FixtureCodeInfo>();
public object waitOutListLock = ""; public object waitOutListLock = "";
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!