From 2582721652b1345c4b6917f1cd3520ee01a0c24a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=20=E6=B3=BD=E9=9A=86?= Date: Wed, 8 May 2024 20:24:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0modbus=E8=A7=A3=E6=9E=90?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/func_frame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/func_frame.py b/source/func_frame.py index b60ce46..7d2fa7d 100644 --- a/source/func_frame.py +++ b/source/func_frame.py @@ -10,8 +10,8 @@ modbus_map = { 0x01: ["Hex示例", 1], 0x02: ["Int示例", 2], 0x03: ["Int32示例", 3], - 0x04: ["str示例", 4], - 0x10: ["addr示例", 5], + 0x04: ["str示例", 4, 16], + 0x10: ["addr示例", 5, 6], }