From c4a30b62f82820fe125d6f2844ab6b0bbff99d4b Mon Sep 17 00:00:00 2001 From: Emmanuel HC Date: Thu, 2 Jul 2026 12:42:45 -0500 Subject: [PATCH] m --- platformio.ini | 2 +- src/BMS/CHILLER/CH_York_YVA_RTU_PHXA7/State_Standby.cpp | 2 +- src/BMS/CHILLER/CH_York_YVA_RTU_PHXA7/config.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platformio.ini b/platformio.ini index 8d7c4c8..c45635d 100644 --- a/platformio.ini +++ b/platformio.ini @@ -10,7 +10,7 @@ [platformio] -default_envs = GEN_Kohler_KD2500_RTU_PHXA7 ; Select here the name of the configuration you want to download +default_envs = CH_York_YVA_RTU_PHXA7 ; Select here the name of the configuration you want to download [env] upload_port = COM15 diff --git a/src/BMS/CHILLER/CH_York_YVA_RTU_PHXA7/State_Standby.cpp b/src/BMS/CHILLER/CH_York_YVA_RTU_PHXA7/State_Standby.cpp index 649913f..4eff6ad 100644 --- a/src/BMS/CHILLER/CH_York_YVA_RTU_PHXA7/State_Standby.cpp +++ b/src/BMS/CHILLER/CH_York_YVA_RTU_PHXA7/State_Standby.cpp @@ -74,7 +74,7 @@ StandbyState::StandbyState() { addStrategy("Sts_Sys2_Runtime", new SawStrategy(100.0f, 1000.0f, 19.0f, 1000)); addStrategy("Sts_Sys2_FankW", new SawStrategy(100.0f, 1000.0f, 18.0f, 1000)); addStrategy("Sts_Sys2_CompkW", new SawStrategy(100.0f, 1000.0f, 14.0f, 1000)); - addStrategy("Temp_SP", new SingleValueStrategy(680.0f, 0.0f, 1000)); + addStrategy("Temp_SP", new SingleValueStrategy(68.0f, 0.0f, 1000)); } diff --git a/src/BMS/CHILLER/CH_York_YVA_RTU_PHXA7/config.h b/src/BMS/CHILLER/CH_York_YVA_RTU_PHXA7/config.h index 8989cab..8f0f15e 100644 --- a/src/BMS/CHILLER/CH_York_YVA_RTU_PHXA7/config.h +++ b/src/BMS/CHILLER/CH_York_YVA_RTU_PHXA7/config.h @@ -40,7 +40,7 @@ const int RX_PIN = 17; /**< @brief The GPIO pin used for receiving data (RX). */ const int TX_PIN = 16; /**< @brief The GPIO pin used for transmitting data (TX). */ const int RST_PIN = 4; /**< @brief The GPIO pin connected to the RS485 driver's DE/RE pins for direction control. */ - const int MODBUS_ID = 111; /**< @brief The unique slave ID for this device on the Modbus bus. */ + const int MODBUS_ID = 11; /**< @brief The unique slave ID for this device on the Modbus bus. */ /** @} */ /** @brief Global instance of the Modbus RTU server. */ @@ -54,7 +54,7 @@ */ modbusMap mb_map[] = { - {HR, 0, 0, "Temp_SP"}, + {HR, 45, 0, "Temp_SP"}, {HR, 66, 0, "Sts_EvapHeater"}, {HR, 67, 0, "Sts_EvapPump"}, {HR, 86, 0, "Sts_FlowSwitch"},