This commit is contained in:
@@ -1852,6 +1852,7 @@ namespace ConductivityApp
|
|||||||
//}
|
//}
|
||||||
_plc?.Write("M1.0", true); // 夹紧
|
_plc?.Write("M1.0", true); // 夹紧
|
||||||
Console.WriteLine("执行夹紧操作");
|
Console.WriteLine("执行夹紧操作");
|
||||||
|
_plc.Close();
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
@@ -1869,6 +1870,7 @@ namespace ConductivityApp
|
|||||||
//}
|
//}
|
||||||
_plc?.Write("M1.0", false); // 松开
|
_plc?.Write("M1.0", false); // 松开
|
||||||
Console.WriteLine("执行松开操作");
|
Console.WriteLine("执行松开操作");
|
||||||
|
_plc.Close();
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user