todo标记注释, 使用指令功能码与所参考文档描述不一致, 暂无法确认该问题

This commit is contained in:
929389070@qq.com 2024-11-28 16:32:14 +08:00
parent 2f7a01984a
commit 4c55611ccc
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ public class PlungerTimer extends Command implements Timing {
// 0003*2->hex // 0003*2->hex
// 地址码 功能码 起始地址 连续长度 连续字长 // 地址码 功能码 起始地址 连续长度 连续字长
// 01 10 006A 0003 06 // 01 10 006A 0003 06
// todo 使用功能码 10 修改多位, 点表中参考功能码为16
// todo SensorDelay 类中同样使用功能码 10 修改多位, 待测
command.append("0110006A000306").append(this.toHexString(this.plungerRiseTime)); command.append("0110006A000306").append(this.toHexString(this.plungerRiseTime));
return List.of(ModbusCommandDto.builder().command(command.toString()).length(16).build()); return List.of(ModbusCommandDto.builder().command(command.toString()).length(16).build());
} }