From 968ccc0dec80301f63483275981c06843f841850 Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期二, 02 九月 2025 08:42:21 +0800 Subject: [PATCH] 1.修复加工完成的料放回去,当Port变为LoadReady状态时仍被取走的问题; 2.Port下料配置,每一片的物料类型设置修复; --- 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