From dd5432591b4018bd1244102b8cf86c22569ec163 Mon Sep 17 00:00:00 2001 From: wuyouming666 <2265557248@qq.com> Date: 星期三, 24 一月 2024 16:40:15 +0800 Subject: [PATCH] 地址参数设置增加 设定按钮 --- springboot-vue3/src/main/java/com/example/springboot/component/Plcsign.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/Plcsign.java b/springboot-vue3/src/main/java/com/example/springboot/component/Plcsign.java index 2daeaf3..8329678 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/component/Plcsign.java +++ b/springboot-vue3/src/main/java/com/example/springboot/component/Plcsign.java @@ -71,7 +71,7 @@ // System.out.println(PlcAddress); // List<Boolean> plclist = S7control.getinstance().ReadBits(PlcAddress, Plccount); - List<Boolean> plclist = S7control.getinstance().ReadBits("DB102.0.0", 64); + List<Boolean> plclist = S7control.getinstance().ReadBits("DB102.0.0", 112); // Boolean[] values = { true, true, true, true, true, false, true, false, // true, false, true, false, true, false, -- Gitblit v1.8.0