This commit is contained in:
Emmanuel HC
2026-07-02 12:42:45 -05:00
parent a81478be61
commit c4a30b62f8
3 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -74,7 +74,7 @@ StandbyState<ModbusRTU>::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));
}

View File

@@ -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"},