This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"PlcConnection": {
|
||||
"IpAddress": "127.0.0.1",
|
||||
"IpAddress": "192.168.1.10",
|
||||
"Port": 502,
|
||||
"TimeoutMs": 5000,
|
||||
"SlaveId": 1
|
||||
@@ -14,8 +14,8 @@
|
||||
"ThermalConductivity": 40001,
|
||||
"ThermalDiffusivity": 40003,
|
||||
// 控制命令线圈(0x线圈)
|
||||
"StartCommand": 40010, // 启动测试(保持寄存器,非线圈,需特殊处理)
|
||||
"ResetCommand": 40011,
|
||||
"StartCommand": 4, // 启动测试(保持寄存器,非线圈,需特殊处理)
|
||||
"ResetCommand": 4,
|
||||
// 新增线圈地址(Modbus 0x 地址,注意与保持寄存器区分)
|
||||
"PressureCalibrationCoil": 1300, // M1300 压力校准
|
||||
"ResistanceZeroCoil": 1301, // M1301 电阻归零
|
||||
|
||||
Reference in New Issue
Block a user