更新配置

This commit is contained in:
GukSang.Jin
2026-01-16 14:37:59 +08:00
parent 76e85a75a9
commit 4cb214bd54
2 changed files with 3 additions and 66 deletions

View File

@@ -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 協議)"
}
}

View File

@@ -1,5 +1,5 @@
{ {
"CommunicationMode": "ModbusRtu", "CommunicationMode": "ModbusRTU",
"ModbusTcp": { "ModbusTcp": {
"IpAddress": "192.168.1.100", "IpAddress": "192.168.1.100",
"Port": 502, "Port": 502,
@@ -61,3 +61,4 @@
"ModbusASCII": "用於 RS485/RS232 串口 Modbus ASCII 設備", "ModbusASCII": "用於 RS485/RS232 串口 Modbus ASCII 設備",
"SerialPort": "用於直接串口通信(非 Modbus 協議)" "SerialPort": "用於直接串口通信(非 Modbus 協議)"
} }
}