From 0d3f741da10c048bc4eb25c4b46b842759f54905 Mon Sep 17 00:00:00 2001 From: wuyouming666 <2265557248@qq.com> Date: 星期五, 26 一月 2024 13:52:24 +0800 Subject: [PATCH] 增加测试位 ,标志位,报警 DB区 --- 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