minor adjustments

This commit is contained in:
RobertJDavis
2025-10-31 15:07:43 -07:00
parent f5bfd67727
commit e04196dd11
4 changed files with 8 additions and 6 deletions

View File

@@ -34,6 +34,7 @@
template<> template<>
FailState<ModbusIP>::FailState(const std::vector<std::string>& activeAlarms) { FailState<ModbusIP>::FailState(const std::vector<std::string>& activeAlarms) {
addStrategy("Duct RH", new SingleValueStrategy(35.0f, 5.0f, 1000)); addStrategy("Duct RH", new SingleValueStrategy(35.0f, 5.0f, 1000));
addStrategy("Tank Temp", new SingleValueStrategy(80.0f, 1.0f, 3000));
} }
/** /**

View File

@@ -38,6 +38,7 @@
template<> template<>
StandbyState<ModbusIP>::StandbyState() { StandbyState<ModbusIP>::StandbyState() {
addStrategy("Duct RH", new SingleValueStrategy(35.0f, 5.0f, 1000)); addStrategy("Duct RH", new SingleValueStrategy(35.0f, 5.0f, 1000));
addStrategy("Tank Temp", new SingleValueStrategy(80.0f, 1.0f, 3000));
} }
/** /**

View File

@@ -79,7 +79,7 @@ modbusMap mb_map[] =
{DI, 8, 0, "Drain Valve"}, // 0:not draining, 1:draining {DI, 8, 0, "Drain Valve"}, // 0:not draining, 1:draining
{DI, 9, 0, "Alarms Present"}, // Used for Modscan testing only - not part of vendor Modbus table {DI, 9, 0, "Alarms Present"}, // Used for Modscan testing only - not part of vendor Modbus table
{IR, 0, 0, "Space RH"}, // Relative_Humidity {IR, 0, 0, "Space RH"}, // Relative_Humidity --> NOT USED, sensor not connected to HUM
{IR, 2, 0, "Duct RH"}, // OSet_CV {IR, 2, 0, "Duct RH"}, // OSet_CV
{IR, 3, 0, "Steam Demand Mass"}, {IR, 3, 0, "Steam Demand Mass"},
{IR, 4, 0, "Steam Demand Percent"}, {IR, 4, 0, "Steam Demand Percent"},

View File

@@ -1,10 +1,10 @@
/** /**
* @file main.cpp * @file main.cpp
* @brief Main execution program for the CRAH Unit (TCP) Emulator. * @brief Main execution program for the DriSteem Humidifier (TCP) Emulator.
* @author Emmanuel Hernandez Cruz * @author Emmanuel Hernandez Cruz, Robert J Davis
* @date 2025-09-02 * @date 2025-09-02
* *
* @details This file contains the main execution program for an Arduino-based emulator of a CRAH unit. * @details This file contains the main execution program for an Arduino-based emulator of the DriSteem Humidifier unit.
* The program uses a Wi-Fi connection to communicate via the Modbus IP protocol. * The program uses a Wi-Fi connection to communicate via the Modbus IP protocol.
* *
* The setup() function initializes the following: * The setup() function initializes the following: