From 7decda2cbcac858400324af80ab028100bf9140a Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期四, 11 九月 2025 09:16:26 +0800 Subject: [PATCH] 1.更新工艺参数时,buddy也要一并更新; --- SourceCode/Bond/SGMeasurement/PLCSignalListener.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/SourceCode/Bond/SGMeasurement/PLCSignalListener.cpp b/SourceCode/Bond/SGMeasurement/PLCSignalListener.cpp index d820ab9..bef7669 100644 --- a/SourceCode/Bond/SGMeasurement/PLCSignalListener.cpp +++ b/SourceCode/Bond/SGMeasurement/PLCSignalListener.cpp @@ -20,7 +20,7 @@ #define PLC_CMD_BIT_COUNT 2 // 总共几个命令位(B6CD3=Start, B6CD4=Stop) // === PLC 应答输出配置(PC -> PLC) === -#define PLC_ACK_MAX_LIFE 5 // PLC响应信号最大保留周期数(每周期为 m_nIntervalMs 毫秒) +#define PLC_ACK_MAX_LIFE 25 // PLC响应信号最大保留周期数(每周期为 m_nIntervalMs 毫秒) #define PLC_ACK_BASE_BIT 0x1060 // PLC应答起始地址(B1060表示B6CD3的应答;B1061表示B6CD4的应答) // === PLC软元件类型宏(用于应答、数据写入)=== -- Gitblit v1.9.3