From 777ab73c60a2d27cff496add6710e1503b0b28b6 Mon Sep 17 00:00:00 2001 From: wuyouming666 <2265557248@qq.com> Date: 星期四, 11 一月 2024 08:47:24 +0800 Subject: [PATCH] 增加I/O 标志 --- 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