|
|
|
@ -222,7 +222,7 @@ namespace Aucma.Core.BoxFoam.Business
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
logHelper.Info($"泡后入库任务:{taskInfo.TaskCode};下发失败,请排除PLC连接");
|
|
|
|
|
logHelper.Info($"泡前入库任务:{taskInfo.TaskCode};下发失败,请排除PLC连接");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -369,6 +369,8 @@ namespace Aucma.Core.BoxFoam.Business
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 筛选货道
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="storeCode"></param>
|
|
|
|
@ -480,7 +482,7 @@ namespace Aucma.Core.BoxFoam.Business
|
|
|
|
|
obj.plc.WriteInt16("DB200.2", "1");
|
|
|
|
|
//写入货道物料类型
|
|
|
|
|
obj.plc.WriteString(spaceAddress.materialType, taskInfo.MaterialType);
|
|
|
|
|
//写入货道号
|
|
|
|
|
//写入货道号,plc收到货道号开始入库,并非应答字,所以货道号最后下发
|
|
|
|
|
obj.plc.WriteInt16("DB200.0", taskInfo.SpaceCode.Substring(7,1));
|
|
|
|
|
//写入完成后读取反馈号进行复位
|
|
|
|
|
ReadShellAnswer_InStore(taskInfo);
|
|
|
|
|