From 03ddbc02f5f0f35354489af3badacccd993457f0 Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期四, 21 十二月 2023 11:52:09 +0800 Subject: [PATCH] 修改进出片终止功能 --- springboot-vue3/src/main/java/com/example/springboot/component/PlcParameter2.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/PlcParameter2.java b/springboot-vue3/src/main/java/com/example/springboot/component/PlcParameter2.java index b5fd0ff..eccf8dc 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/component/PlcParameter2.java +++ b/springboot-vue3/src/main/java/com/example/springboot/component/PlcParameter2.java @@ -144,8 +144,10 @@ customS7Control.writeBitToPLC(messageArray, addressList0, 0); //鎬ュ仠 customS7Control.writeBitToPLC(messageArray, niuanaddressList3, 1); + //瀛樼墖绛夊緟寤惰繜 customS7Control.Writetime(messageArray, timeout2, 2); + // 娓呯┖娑堟伅鍒楄〃 webserver.clearMessages(); } -- Gitblit v1.8.0