Commit af262659 张东亮

添加料串到位折叠门是否自动关闭

1 个父辈 4de1a697
...@@ -193,7 +193,8 @@ namespace OnlineStore.Common ...@@ -193,7 +193,8 @@ namespace OnlineStore.Common
[MyConfigComment("启用料串按Reset按钮流出")] [MyConfigComment("启用料串按Reset按钮流出")]
public static MyConfig<bool> Enable_StringAutoOut = false; public static MyConfig<bool> Enable_StringAutoOut = false;
[MyConfigComment("启用料串到位折叠门自动关闭")]
public static MyConfig<bool> Enable_StringDoorAutoClose = false;
[MyConfigComment("压紧轴回原失败重试最大次数")] [MyConfigComment("压紧轴回原失败重试最大次数")]
public static MyConfig<int> Comp_Axis_HomeResetTimes = 999; public static MyConfig<int> Comp_Axis_HomeResetTimes = 999;
...@@ -207,6 +208,7 @@ namespace OnlineStore.Common ...@@ -207,6 +208,7 @@ namespace OnlineStore.Common
public static MyConfig<int> StringDoor_DownOverTimeMS = 0; public static MyConfig<int> StringDoor_DownOverTimeMS = 0;
[MyConfigComment("料串门打开延时,到位信号亮后延时一定时间再停止")] [MyConfigComment("料串门打开延时,到位信号亮后延时一定时间再停止")]
public static MyConfig<int> StringDoor_UpOverTimeMS = 0; public static MyConfig<int> StringDoor_UpOverTimeMS = 0;
[MyConfigComment("料串门光栅触发处理方式:0-设备急停;1-仅料串门停止")] [MyConfigComment("料串门光栅触发处理方式:0-设备急停;1-仅料串门停止")]
public static MyConfig<int> StringDoor_SafetyLightCurtainsProcStrategy = 1; public static MyConfig<int> StringDoor_SafetyLightCurtainsProcStrategy = 1;
[MyConfigComment("料串进出滚筒控制模式,SingleIoIn_SingleIoOut=242405之前的设备单IO进出,SingleIoIn_DoubltIoOut之后的设备双IO反转")] [MyConfigComment("料串进出滚筒控制模式,SingleIoIn_SingleIoOut=242405之前的设备单IO进出,SingleIoIn_DoubltIoOut之后的设备双IO反转")]
......
...@@ -170,7 +170,7 @@ namespace DeviceLibrary ...@@ -170,7 +170,7 @@ namespace DeviceLibrary
{ {
StringMoveInfo.NextMoveStep(MoveStep.StringLoad_02a); StringMoveInfo.NextMoveStep(MoveStep.StringLoad_02a);
StringMoveInfo.log($"顶起料串固定顶升"); StringMoveInfo.log($"顶起料串固定顶升");
if (!UseAgv()) if (Setting_Init.Enable_StringDoorAutoClose)
StringDoorClose(StringMoveInfo); StringDoorClose(StringMoveInfo);
CylinderMove(StringMoveInfo, IO_Type.StringFix_Bottom, IO_Type.StringFix_Top, IO_VALUE.HIGH); CylinderMove(StringMoveInfo, IO_Type.StringFix_Bottom, IO_Type.StringFix_Top, IO_VALUE.HIGH);
CylinderMove(StringMoveInfo, IO_Type.StringPosChecker_Home, IO_Type.StringPosChecker_Work, IO_VALUE.HIGH); CylinderMove(StringMoveInfo, IO_Type.StringPosChecker_Home, IO_Type.StringPosChecker_Work, IO_VALUE.HIGH);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!