m
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
[platformio]
|
[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]
|
[env]
|
||||||
upload_port = COM15
|
upload_port = COM15
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ StandbyState<ModbusRTU>::StandbyState() {
|
|||||||
addStrategy("Sts_Sys2_Runtime", new SawStrategy(100.0f, 1000.0f, 19.0f, 1000));
|
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_FankW", new SawStrategy(100.0f, 1000.0f, 18.0f, 1000));
|
||||||
addStrategy("Sts_Sys2_CompkW", new SawStrategy(100.0f, 1000.0f, 14.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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
const int RX_PIN = 17; /**< @brief The GPIO pin used for receiving data (RX). */
|
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 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 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. */
|
/** @brief Global instance of the Modbus RTU server. */
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
*/
|
*/
|
||||||
modbusMap mb_map[] =
|
modbusMap mb_map[] =
|
||||||
{
|
{
|
||||||
{HR, 0, 0, "Temp_SP"},
|
{HR, 45, 0, "Temp_SP"},
|
||||||
{HR, 66, 0, "Sts_EvapHeater"},
|
{HR, 66, 0, "Sts_EvapHeater"},
|
||||||
{HR, 67, 0, "Sts_EvapPump"},
|
{HR, 67, 0, "Sts_EvapPump"},
|
||||||
{HR, 86, 0, "Sts_FlowSwitch"},
|
{HR, 86, 0, "Sts_FlowSwitch"},
|
||||||
|
|||||||
Reference in New Issue
Block a user