Commit 497aa127 张东亮

出库料盘放置异常报警功能

1 个父辈 65265329
......@@ -141,6 +141,7 @@ namespace OnlineStore.Common
tray_detect_reel_01,
system_running_cantmove,
before_FrmPositionTool_stopmuchine,
temp
temp,
outstore_abnormal_reel
}
}
......@@ -203,7 +203,7 @@ namespace DeviceLibrary
case MoveStep.StringLoad_04:
StringMoveInfo.NextMoveStep(MoveStep.StringLoad_04b);
//OffsetEmptyToTrayCheck 空料串到P2点与料盘定位信号补偿值
LastOutDownPosition = Batch_Axis.GetAclPosition()+ConfigHelper.Config.Get("OffsetEmptyToTrayCheck",10)* Config.Batch_PoToMM;
LastOutDownPosition = Batch_Axis.GetAclPosition() + ConfigHelper.Config.Get("OffsetEmptyToTrayCheck", 10) * Config.Batch_PoToMM;
if (LastStringState == StringStateE.OutStore)
{
StringMoveInfo.log($"恢复上次料串信息为出库料串");
......@@ -385,10 +385,16 @@ namespace DeviceLibrary
StringMoveInfo.NextMoveStep(MoveStep.StringReelPut_05);
var heightcheck = (LastOutDownPosition - Batch_Axis.GetAclPosition()) / Config.Batch_PoToMM;
StringMoveInfo.log($"LastOutDownPosition={LastOutDownPosition},CurrentPosition={Batch_Axis.GetAclPosition()},heightcheck={heightcheck}");
int height = StringMoveInfo.MoveParam.PlateH+3;
if (heightcheck <= 5)
{
Msg.add("出库时料盘未成功放入料串,请检查", MsgLevel.alarm);
RobotManage.UserPause("出库时料盘未成功放入料串,请检查");
Msg.add(crc.GetString(L.outstore_abnormal_reel, "出库时料盘未成功放入料串,请检查"), MsgLevel.alarm);
RobotManage.UserPause(crc.GetString(L.outstore_abnormal_reel, "出库时料盘未成功放入料串,请检查"));
}
else if((heightcheck < height - 3) || (heightcheck > height + 3))
{
Msg.add(crc.GetString(L.outstore_abnormal_reel, "出库时料盘未成功放入料串,请检查"), MsgLevel.alarm);
RobotManage.UserPause(crc.GetString(L.outstore_abnormal_reel, "出库时料盘未成功放入料串,请检查"));
}
break;
case MoveStep.StringReelPut_05:
......
......@@ -401,3 +401,4 @@ l_flipDoor_no_work 左侧翻板水平信号未亮 The left flap horizontal signa
r_flipDoor_no_work 右侧翻板水平信号未亮 The right flap horizontal signal is not lit
reel_not_in_right_status 料盘放置异常 The reel is placed abnormally
confirm_no_reel_in_com 请确保料盘已从库位中取出 Make sure that the reel has been removed from the location
outstore_abnormal_reel The material tray is not successfully put into the string, please check
\ No newline at end of file
......@@ -403,3 +403,4 @@ l_flipDoor_no_work 左侧翻板水平信号未亮 左フラップ水平信号が
r_flipDoor_no_work 右侧翻板水平信号未亮 右フラップ水平信号が点灯しない
reel_not_in_right_status 料盘放置异常 リールが異常に配置されている
confirm_no_reel_in_com 请确保料盘已从库位中取出 リールがその場所から取り外されていることを確認してください
outstore_abnormal_reel 倉庫を出るとき、材料トレイがひもにうまく入れられていません、確認してください
\ No newline at end of file
......@@ -376,7 +376,7 @@ string_not_onposition 回原时X09,X10信号异常,料串可能不在正确位
tray_detect_reel_01 料叉传感器X30感应到有料,请人工确认 料叉传感器X30感应到有料,请人工确认
system_running_cantmove 系统正在运行,不能手动控制伺服
before_FrmPositionTool_stopmuchine 运行库位校准程序前,需要先停止料仓的运行
outstore_abnormal_reel 出库时料盘未成功放入料串,请检查
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!