From 4cb214bd5424776ab9075daf17ed2d122c6a3da5 Mon Sep 17 00:00:00 2001 From: "GukSang.Jin" Date: Fri, 16 Jan 2026 14:37:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CSI-H238M/config.example.json | 64 ----------------------------------- CSI-H238M/config.json | 5 +-- 2 files changed, 3 insertions(+), 66 deletions(-) delete mode 100644 CSI-H238M/config.example.json diff --git a/CSI-H238M/config.example.json b/CSI-H238M/config.example.json deleted file mode 100644 index 1d83a18..0000000 --- a/CSI-H238M/config.example.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "CommunicationMode": "ModbusRTU", - "ModbusTcp": { - "IpAddress": "192.168.1.100", - "Port": 502, - "SlaveId": 1, - "Timeout": 3000, - "ConnectTimeout": 5000, - "ForceRegister": 0, - "DisplacementRegister": 2, - "ControlRegister": 10, - "StatusRegister": 12, - "RetryCount": 3, - "RetryDelay": 500 - }, - "ModbusRtu": { - "PortName": "COM1", - "BaudRate": 9600, - "DataBits": 8, - "Parity": "None", - "StopBits": "One", - "SlaveId": 1, - "Timeout": 3000, - "ReadTimeout": 1000, - "WriteTimeout": 1000, - "ForceRegister": 0, - "DisplacementRegister": 2, - "ControlRegister": 10, - "StatusRegister": 12, - "RetryCount": 3, - "RetryDelay": 500 - }, - "SerialPort": { - "PortName": "COM1", - "BaudRate": 9600, - "DataBits": 8, - "Parity": "None", - "StopBits": "One", - "ReadTimeout": 1000, - "WriteTimeout": 1000, - "Handshake": "None", - "DtrEnable": false, - "RtsEnable": false - }, - "DataStoragePath": "C:\\Users\\YourName\\Documents\\CSI-H238M\\TestData", - "Language": "zh-TW", - "AutoSaveResults": true, - "DefaultTestParameters": { - "Standard": "ASTM D1894", - "SledMass": 200.0, - "TestSpeed": 150.0, - "TestDuration": 30.0, - "SamplingRate": 100.0, - "MaterialType": "Plastic Film", - "Operator": "Default" - }, - "_comments": { - "CommunicationMode": "可選值: Simulated, ModbusTCP, ModbusRTU, ModbusASCII, SerialPort", - "ModbusTCP": "用於以太網連接的 PLC 或工業控制器", - "ModbusRTU": "用於 RS485/RS232 串口 Modbus RTU 設備", - "ModbusASCII": "用於 RS485/RS232 串口 Modbus ASCII 設備", - "SerialPort": "用於直接串口通信(非 Modbus 協議)" - } -} diff --git a/CSI-H238M/config.json b/CSI-H238M/config.json index e37c2ee..1d83a18 100644 --- a/CSI-H238M/config.json +++ b/CSI-H238M/config.json @@ -1,5 +1,5 @@ { - "CommunicationMode": "ModbusRtu", + "CommunicationMode": "ModbusRTU", "ModbusTcp": { "IpAddress": "192.168.1.100", "Port": 502, @@ -60,4 +60,5 @@ "ModbusRTU": "用於 RS485/RS232 串口 Modbus RTU 設備", "ModbusASCII": "用於 RS485/RS232 串口 Modbus ASCII 設備", "SerialPort": "用於直接串口通信(非 Modbus 協議)" - } \ No newline at end of file + } +}