Commit 9624e36d 张东亮

折叠门光栅只对折叠门有效

1 个父辈 6629c9e5
...@@ -22,7 +22,7 @@ namespace DeviceLibrary ...@@ -22,7 +22,7 @@ namespace DeviceLibrary
string down; string down;
string saftylight; string saftylight;
string axisbreak; string axisbreak;
AxisBean axisBean; public AxisBean axisBean;
int upspeed; int upspeed;
int downspeed; int downspeed;
int StrokeLength = 270000; int StrokeLength = 270000;
......
...@@ -644,7 +644,7 @@ namespace DeviceLibrary ...@@ -644,7 +644,7 @@ namespace DeviceLibrary
// StringDoor.Pause(); // StringDoor.Pause();
//} //}
ok = false; ok = false;
DeviceSuddenStop(); StringDoorSuddenStop();
} }
//else if (!lastStringSafetyStatus) //else if (!lastStringSafetyStatus)
//{ //{
...@@ -711,7 +711,20 @@ namespace DeviceLibrary ...@@ -711,7 +711,20 @@ namespace DeviceLibrary
} }
} }
} }
void StringDoorSuddenStop()
{
if (lastSafeCheckStatus)
{
AxisBean axis = StringDoor.axisBean;
AxisBean.StopMultiAxis(new List<AxisBean> { axis });
StringDoor.Pause();
if (runStatus == RunStatus.HomeReset)
{
ResetMoveInfo.NewMove(MoveStep.H01_HomeReset);
}
}
}
/// <summary> /// <summary>
/// 最后一次气压检测变为0的时间 /// 最后一次气压检测变为0的时间
/// </summary> /// </summary>
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!