From 4a0c4ea48812f93cb283e6a818bd8c949c592f80 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期二, 19 三月 2024 11:44:23 +0800
Subject: [PATCH] 修改通讯
---
springboot-vue3/src/main/java/com/example/springboot/component/S7control.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/S7control.java b/springboot-vue3/src/main/java/com/example/springboot/component/S7control.java
index 7878a32..44a6805 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/component/S7control.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/component/S7control.java
@@ -18,7 +18,7 @@
S7PLC s7PLC; // PLC閫氳绫诲疄渚�
private EPlcType plcType = EPlcType.S1500; // 瑗块棬瀛怭LC绫诲瀷
private String ip = "192.168.10.1"; // plc ip鍦板潃
- private int port = 65; // plc 绔彛鍙�
+ private int port = 102; // plc 绔彛鍙�
private static volatile S7control instance = null;
--
Gitblit v1.8.0