This commit is contained in:
xyy
2026-05-20 13:49:45 +08:00
parent d85ee68e25
commit 47bb9f1538
8 changed files with 372 additions and 132 deletions

View File

@@ -30,8 +30,8 @@ public class PlcRegisterAddresses
// 计算结果寄存器(浮点数)
public ushort ThermalConductivity { get; set; } = 40001;
public ushort ThermalDiffusivity { get; set; } = 40003;
public ushort StartCommand { get; set; } = 40010;
public ushort ResetCommand { get; set; } = 40011;
public ushort StartCommand { get; set; } = 4;
public ushort ResetCommand { get; set; } = 4;
// 线圈地址注意Modbus 线圈地址通常从 0 开始,但用户给出的 M1300 等可能是实际地址)
public ushort PressureCalibrationCoil { get; set; } = 1300;