Commit 612d189f 张东亮

出入库流程前后料叉检测

1 个父辈 80107032
......@@ -24,7 +24,7 @@ namespace DeviceLibrary
AxisBean Comp_Axis;
MoveInfo MoveInfo;
public string ErrMsgTxt = "";
int Comp_Axis_HomeResetTimes = ConfigHelper.Config.Get($"Comp_Axis_HomeResetTimes",999);
int Comp_Axis_HomeResetTimes = ConfigHelper.Config.Get($"Comp_Axis_HomeResetTimes", 999);
public bool IgnoreX09 = false;
public event Action<string, StoreMoveType, bool> InOutEndProcessEvent;
......@@ -116,13 +116,13 @@ namespace DeviceLibrary
case MoveStep.Wait:
break;
case MoveStep.StoreTS01:
//if (IOManager.IOValue(IO_Type.TrayCheck_Fixture).Equals(IO_VALUE.HIGH))
//{
// // if (!IgnoreX09 && IOMonitor.IODebound(IO_Type.TrayCheck_Fixture, Config, IO_VALUE.HIGH, 5000))
// //Msg.add(crc.GetString(L.out_store_detect_material, "取料前料叉X30检测到有物料无法继续,请检查."), MsgLevel.alarm, ErrInfo.X09_BoxNotDetect);
// //RobotManage.UserPause("出库时料叉X30检测到有物料无法继续,请检查");
//}
//else
if (!IgnoreX09 && IOManager.IOValue(IO_Type.TrayCheck_Fixture).Equals(IO_VALUE.HIGH))
{
// if (!IgnoreX09 && IOMonitor.IODebound(IO_Type.TrayCheck_Fixture, Config, IO_VALUE.HIGH, 5000))
Msg.add(crc.GetString(L.out_store_detect_material, "取料前料叉X30检测到有物料无法继续,请检查."), MsgLevel.alarm, ErrInfo.X09_BoxNotDetect);
//RobotManage.UserPause("出库时料叉X30检测到有物料无法继续,请检查");
}
else
{
Msg.add("", MsgLevel.info, ErrInfo.X09_Clear);
IgnoreX09 = false;
......@@ -366,12 +366,12 @@ namespace DeviceLibrary
break;
case MoveStep.StoreTS15:
RobotManage.CameraA.CameraGrabOne(RobotManage.CameraA.GetFixtureStateFilename(To.posid, WareCode, storeMoveType, FixtureState.ToOut));
//if (!IgnoreX09 && IOManager.IOValue(IO_Type.TrayCheck_Fixture).Equals(IO_VALUE.HIGH))
//{
// Msg.add(crc.GetString(L.in_store_detect_material, "放料后料叉X30上任然检测到物料,请检查."), MsgLevel.alarm, ErrInfo.X09_BoxNotDetect);
// //RobotManage.UserPause("入库后料叉X30上任然检测到物料,请检查");
//}
//else
if (!IgnoreX09 && IOManager.IOValue(IO_Type.TrayCheck_Fixture).Equals(IO_VALUE.HIGH))
{
Msg.add(crc.GetString(L.in_store_detect_material, "放料后料叉X30上任然检测到物料,请检查."), MsgLevel.alarm, ErrInfo.X09_BoxNotDetect);
//RobotManage.UserPause("入库后料叉X30上任然检测到物料,请检查");
}
else
{
Msg.add("", MsgLevel.info, ErrInfo.X09_Clear);
......@@ -395,7 +395,7 @@ namespace DeviceLibrary
else
UpDown_Axis.AbsMove(MoveInfo, Config.UpDown_P3, Config.UpDown_P1_speed);
Middle_Axis.AbsMove(MoveInfo, Config.Middle_P1, Config.Middle_P1_speed);
if (Comp_Axis_HomeResetTimes<=0)
if (Comp_Axis_HomeResetTimes <= 0)
{
Comp_Axis_HomeResetTimes = ConfigHelper.Config.Get<int>("Comp_Axis_HomeResetTimes");
Comp_Axis.HomeMove(MoveInfo);
......
......@@ -225,7 +225,7 @@ humidity 湿度 Humidity
temp 温度 Temperature
ignored 已忽略 Skip
imageIsNull 获取二维码图片为空 Get the two-dimensional code picture is empty
in_store_detect_material 放料后料叉X30上然检测到物料,请检查. Gripper x30 detected a material during the storage process. Please check the inside.
in_store_detect_material 放料后料叉X30上然检测到物料,请检查. Gripper x30 detected a material during the storage process. Please check the inside.
in_store_ng 入库NG Storage failed.
in_store_nothave_position 入库未找到库位 No location.
in_suddenstop 急停中 In the E-Stop process.
......
......@@ -272,7 +272,7 @@ out_store_detect_material å–æ–™å‰æ–™å‰X30检测到有物料无法继续,请æ£
out_store_not_detect_material 取料前料叉X30没有检测到有物料无法继续,请检查. 出库时料叉X30没有检测到有物料无法继续,请检查.
out_store_wait_string_ready 等待料串准备好放料. 等待料串准备好放料.
out_store_wait_ngdoor_ready 等待单料口空闲. 等待单料口空闲.
in_store_detect_material 放料后料叉X30上任然检测到物料,请检查. 入库后料叉X30上任然检测到物料,请检查.
in_store_detect_material 放料后料叉X30上仍然检测到物料,请检查. 放料后料叉X30上仍然检测到物料,请检查.
in_store_ng 入库NG 入库NG
posnum 库位号 库位号
wait_reel_transfer 单料口等待料盘离开. 单料口等待料盘离开.
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!