From a39501aac863381545b1da759105d5b0d2f32984 Mon Sep 17 00:00:00 2001 From: QuakeGod <QuakeGod@sina.com> Date: 星期三, 01 二月 2023 11:08:04 +0800 Subject: [PATCH] KLink update KLink and Kbus --- Inc/ModbusRTU.h | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Inc/ModbusRTU.h b/Inc/ModbusRTU.h index ea5eb0a..16522dd 100644 --- a/Inc/ModbusRTU.h +++ b/Inc/ModbusRTU.h @@ -24,18 +24,18 @@ enum enModbusRTUCmd { None =0, - ReadCoils =1, //读线圈 - ReadInputs =2, //读离散量输入 - ReadKeepRegs =3, //读保持寄存器 - ReadInputRegs =4, //读输入寄存器 - WriteCoil = 5, //写单个线圈 - WriteReg =6, //写单个寄存器 - ReadExptStat = 7, //读取异常状态 + ReadCoils =1, //璇荤嚎鍦� + ReadInputs =2, //璇荤鏁i噺杈撳叆 + ReadKeepRegs =3, //璇讳繚鎸佸瘎瀛樺櫒 + ReadInputRegs =4, //璇昏緭鍏ュ瘎瀛樺櫒 + WriteCoil = 5, //鍐欏崟涓嚎鍦� + WriteReg =6, //鍐欏崟涓瘎瀛樺櫒 + ReadExptStat = 7, //璇诲彇寮傚父鐘舵�� FetchCommEventCtr =11, //Fetch Comm Event Ctr // 12 Fetch Comm Event Log - WriteCoils =15, //写多个线圈 - WriteRegs = 16, //写多个寄存器 + WriteCoils =15, //鍐欏涓嚎鍦� + WriteRegs = 16, //鍐欏涓瘎瀛樺櫒 //17 Report Slave ID //20 Read General Reference //21 Write General Reference -- Gitblit v1.9.1