From a6720987358933753d9b90acda9103003cfb37ee Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期五, 13 六月 2025 17:09:57 +0800
Subject: [PATCH] 更新通讯依赖版本为1.5.4,中空大理片,钢化大理片S7,modbus测试完成代码提交
---
hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/config/S7Config.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/config/S7Config.java b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/config/S7Config.java
index dea6108..987b744 100644
--- a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/config/S7Config.java
+++ b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/config/S7Config.java
@@ -15,13 +15,15 @@
public class S7Config {
@Bean(name = "s7SerializerDLPOne")
public S7Serializer s7SerializerDLPOne() {
- S7PLC s7PLC = new S7PLC(EPlcType.S1200, "192.168.20.140");
+ S7PLC s7PLC = new S7PLC(EPlcType.S1500, "192.168.20.140");
+// S7PLC s7PLC = new S7PLC(EPlcType.S1500, "10.153.19.191");
return S7Serializer.newInstance(s7PLC);
}
@Bean(name = "s7SerializerDLPTwo")
public S7Serializer s7SerializerDLPTwo() {
- S7PLC s7PLC = new S7PLC(EPlcType.S1200, "192.168.20.140");
+ S7PLC s7PLC = new S7PLC(EPlcType.S1500, "192.168.20.140");
+// S7PLC s7PLC = new S7PLC(EPlcType.S1500, "10.153.19.191");
return S7Serializer.newInstance(s7PLC);
}
--
Gitblit v1.8.0