1.隔热罩升起时检测TMRobot Extend Enable信号
This commit is contained in:
parent
0532bbdeb7
commit
71d019a00b
|
@ -14,6 +14,7 @@ using System.Text;
|
|||
using System.Threading.Tasks;
|
||||
using System.Xml;
|
||||
using MECF.Framework.Common.MECF.Framework.Common.Utilities;
|
||||
using MECF.Framework.Common.Equipment;
|
||||
|
||||
namespace Aitex.Core.RT.Device.Devices
|
||||
{
|
||||
|
@ -387,6 +388,25 @@ namespace Aitex.Core.RT.Device.Devices
|
|||
return false;
|
||||
}
|
||||
|
||||
if (Module == ModuleName.PM1.ToString())
|
||||
{
|
||||
if (IO.DO[$"TM.DO_VacRobotExtendPMAEnable"].Value)
|
||||
{
|
||||
reason = $"can not set ConfinementRing Up,TM DO_VacRobotExtendPMAEnable is true";
|
||||
EV.PostAlarmLog(Module, reason);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (IO.DO[$"TM.DO_VacRobotExtendPMBEnable"].Value)
|
||||
{
|
||||
reason = $"can not set ConfinementRing Up,TM DO_VacRobotExtendPMBEnable is true";
|
||||
EV.PostAlarmLog(Module, reason);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (!_doRingMoveUp.Check(true, out reason))
|
||||
{
|
||||
EV.PostWarningLog(Module, reason);
|
||||
|
|
Loading…
Reference in New Issue