Commit aba03412 LN

大盘入库修改。料架rfid改为扫码模式,未读到料架号时送出。

1 个父辈 fb120ded
 
20200409 20200410
上料模块,如果么有读到料架号,直接送出料架 上料模块,RFID读取改为扫描模式,如果没有读到料架号,直接送出料架。
大盘>30mm的料入库时,托盘先不顶升,等待横移机构到达托盘上方后,升降下降,顶升上升。
20200409 20200409
紧急出料模块,料架离开时,mark=紧急料或者分配料,rfid=料架号 紧急出料模块,料架离开时,mark=紧急料或者分配料,rfid=料架号
......
...@@ -651,6 +651,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -651,6 +651,7 @@ namespace OnlineStore.DeviceLibrary
{ {
MoveInfo.NextMoveStep(LineMoveStep.FI_33_BatchAxisToP1); MoveInfo.NextMoveStep(LineMoveStep.FI_33_BatchAxisToP1);
InLog("料架号【" + CurrShelfId + "】无效,送出料架," + MoveInfo.SLog + ":提升伺服到P1点,定位气缸下降"); InLog("料架号【" + CurrShelfId + "】无效,送出料架," + MoveInfo.SLog + ":提升伺服到P1点,定位气缸下降");
BatchAxis.AbsMove(MoveInfo, Config.BatchAxisP1, Config.BatchAxis_P1Speed);
CylinderMove(MoveInfo, IO_Type.SL_LocationCylinder_Up, IO_Type.SL_LocationCylinder_Down); CylinderMove(MoveInfo, IO_Type.SL_LocationCylinder_Up, IO_Type.SL_LocationCylinder_Down);
} }
else else
......
...@@ -622,7 +622,6 @@ namespace OnlineStore.DeviceLibrary ...@@ -622,7 +622,6 @@ namespace OnlineStore.DeviceLibrary
{ {
MoveInfo.NextMoveStep(LineMoveStep.FO_30_BatchAxisToP2); MoveInfo.NextMoveStep(LineMoveStep.FO_30_BatchAxisToP2);
OutStoreHeight = -1; OutStoreHeight = -1;
BatchAxis.AbsMove(MoveInfo, Config.BatchAxisP2, Config.BatchAxis_P2Speed);
//包装料会发往分盘区, 紧急料区, 包装线区 //包装料会发往分盘区, 紧急料区, 包装线区
// urgentReel 这个为true是紧急料 出到紧急料区 // urgentReel 这个为true是紧急料 出到紧急料区
// cutReel 为true是分盘料,AGV会拉到到分盘区 // cutReel 为true是分盘料,AGV会拉到到分盘区
...@@ -635,6 +634,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -635,6 +634,7 @@ namespace OnlineStore.DeviceLibrary
} }
else else
{ {
BatchAxis.AbsMove(MoveInfo, Config.BatchAxisP2, Config.BatchAxis_P2Speed);
if (MoveInfo.MoveParam.urgentReel) if (MoveInfo.MoveParam.urgentReel)
{ {
//紧急料,需要到紧急料区 //紧急料,需要到紧急料区
......
...@@ -694,9 +694,9 @@ namespace OnlineStore.DeviceLibrary ...@@ -694,9 +694,9 @@ namespace OnlineStore.DeviceLibrary
{ {
//如果是出库,且盘高大于30,暂不顶升 //如果是出库,且盘高大于30,暂不顶升
SecondMoveInfo.NextMoveStep(LineMoveStep.MIO_06_TopUp); SecondMoveInfo.NextMoveStep(LineMoveStep.MIO_06_TopUp);
if (MoveInfo.MoveType.Equals(LineMoveType.OutStore) && MoveInfo.MoveParam.PlateH >= 30) if ( MoveInfo.MoveParam.PlateH >= 30)
{ {
CheckLog("托盘阻挡" + SecondMoveInfo.SLog + " 出库托盘,高度>30,暂不顶升上升"); CheckLog("托盘阻挡" + SecondMoveInfo.SLog + " 高度>30,暂不顶升上升");
} }
else else
{ {
......
...@@ -23,11 +23,11 @@ namespace OnlineStore.DeviceLibrary ...@@ -23,11 +23,11 @@ namespace OnlineStore.DeviceLibrary
Dictionary<string, string> rfidMap = DeviceConfig.ProRFIpMap; Dictionary<string, string> rfidMap = DeviceConfig.ProRFIpMap;
foreach (string key in rfidMap.Keys) foreach (string key in rfidMap.Keys)
{ {
if (key.EndsWith("-1")) //if (key.EndsWith("-1"))
{ //{
ShelfIpList.Add(rfidMap[key]); // ShelfIpList.Add(rfidMap[key]);
} //}
else //else
{ {
TrayIpList.Add(rfidMap[key]); TrayIpList.Add(rfidMap[key]);
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!