|
|
|
|
@ -239,6 +239,7 @@ namespace Rs.MotionPlat.Flow
|
|
|
|
|
{
|
|
|
|
|
TakeTrayModule.CylinderGoDown(GetClassName());
|
|
|
|
|
stopwatch.Restart();
|
|
|
|
|
step = ETakeTrayFlowStep.等待运动到取料位下方;
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
case ETakeTrayFlowStep.等待运动到取料位下方:
|
|
|
|
|
@ -257,16 +258,17 @@ namespace Rs.MotionPlat.Flow
|
|
|
|
|
}
|
|
|
|
|
else if (stopwatch.ElapsedMilliseconds > 5000)
|
|
|
|
|
{
|
|
|
|
|
alarmEntity = AlarmCollection.Get(AlarmConstID.料盘搬运气缸动位异常);
|
|
|
|
|
if (alarmEntity != null)
|
|
|
|
|
{
|
|
|
|
|
Msgbox.ShowDialog(alarmEntity, EButtonType.Retry, true);
|
|
|
|
|
step = ETakeTrayFlowStep.等待运动到取料位下方;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
Msg.ShowError("翻译文件中未找到料盘搬运气缸动位异常");
|
|
|
|
|
}
|
|
|
|
|
AlarmCollection.ShowMsg(AlarmConstID.料盘搬运气缸动位异常, () => { step = ETakeTrayFlowStep.等待运动到取料位下方; });
|
|
|
|
|
//alarmEntity = AlarmCollection.Get(AlarmConstID.料盘搬运气缸动位异常);
|
|
|
|
|
//if (alarmEntity != null)
|
|
|
|
|
//{
|
|
|
|
|
// Msgbox.ShowDialog(alarmEntity, EButtonType.Retry, true);
|
|
|
|
|
// step = ETakeTrayFlowStep.等待运动到取料位下方;
|
|
|
|
|
//}
|
|
|
|
|
//else
|
|
|
|
|
//{
|
|
|
|
|
// Msg.ShowError("翻译文件中未找到料盘搬运气缸动位异常");
|
|
|
|
|
//}
|
|
|
|
|
//stopwatch.Restart();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|