Index: AlarmDefs.h =================================================================== diff -u -r994abd49d5b5096602e0a6e53a0442a87e0e73e3 -r4929d0d6b1e6d1a12b2f5647c629d0721da64e18 --- AlarmDefs.h (.../AlarmDefs.h) (revision 994abd49d5b5096602e0a6e53a0442a87e0e73e3) +++ AlarmDefs.h (.../AlarmDefs.h) (revision 4929d0d6b1e6d1a12b2f5647c629d0721da64e18) @@ -111,10 +111,16 @@ ALARM_ID_TD_PINCH_VALVE_FAULT = 80, ///< TD pinch valve fault ALARM_ID_TD_VALVE_HOMING_FAILED = 81, ///< TD pinch valve homing fault ALARM_ID_TD_VALVE_TRANSITION_TIMEOUT = 82, ///< TD pinch valve transition timeout - ALARM_ID_RO_CAN_MESSAGE_NOT_ACKED_BY_DD = 83, ///< RO can message not acked by DD fault ALARM_ID_RO_FPGA_COMM_TIMEOUT = 84, ///< RO FPGA communication timeout ALARM_ID_RO_COMM_TOO_MANY_BAD_CRCS = 85, ///< RO too many bad crcs + ALARM_ID_DD_BC_STATE1_FILL_START_PRESSURE_OUT_OF_RANGE = 86, ///< DD balance chamber state1 fill start pressure not in range + ALARM_ID_DD_BC_STATE1_FILL_END_PRESSURE_OUT_OF_RANGE = 87, ///< DD balance chamber state1 fill end pressure not in range + ALARM_ID_DD_BC_STATE2_FILL_START_PRESSURE_OUT_OF_RANGE = 88, ///< DD balance chamber state2 fill start pressure not in range + ALARM_ID_DD_BC_STATE2_FILL_END_PRESSURE_OUT_OF_RANGE = 89, ///< DD balance chamber state2 fill end pressure not in range + ALARM_ID_DD_GEND_HYD_CHAMBER_PRESS_OUT_OF_RANGE = 90, ///< DD generate dialysate hydraulics chamber pressure out of range + ALARM_ID_DD_GEND_FRESH_DIAL_PRESS_OUT_OF_RANGE = 91, ///< DD generate dialysate fresh dialysate pressure out of range + ALARM_ID_DD_GEND_SPENT_DIAL_PRESS_OUT_OF_RANGE = 92, ///< DD generate dialysate spent dialysate pressure out of range NUM_OF_ALARM_IDS ///< Number of alarms }; typedef enum Alarm_List ALARM_ID_T; ///< Type for alarm list enumeration @@ -336,6 +342,13 @@ { ALARM_PRIORITY_HIGH, 111, FALSE, FALSE, TRUE , TRUE , FALSE, TRUE , FALSE, FALSE, FALSE, FALSE, FALSE, TRUE , FALSE, FALSE, ALARM_ID_RO_CAN_MESSAGE_NOT_ACKED_BY_DD }, { ALARM_PRIORITY_HIGH, 110, FALSE, TRUE , TRUE , TRUE , FALSE, TRUE , FALSE, FALSE, TRUE , FALSE, FALSE, TRUE , FALSE, FALSE, ALARM_ID_RO_FPGA_COMM_TIMEOUT }, { ALARM_PRIORITY_HIGH, 110, FALSE, TRUE , TRUE , TRUE , FALSE, TRUE , FALSE, FALSE, TRUE , FALSE, FALSE, TRUE , FALSE, FALSE, ALARM_ID_RO_COMM_TOO_MANY_BAD_CRCS }, + { ALARM_PRIORITY_HIGH, 110, FALSE, TRUE , TRUE , TRUE , FALSE, TRUE , FALSE, FALSE, FALSE, FALSE, FALSE, TRUE , FALSE, FALSE, ALARM_ID_DD_BC_STATE1_FILL_START_PRESSURE_OUT_OF_RANGE }, + { ALARM_PRIORITY_HIGH, 110, FALSE, TRUE , TRUE , TRUE , FALSE, TRUE , FALSE, FALSE, FALSE, FALSE, FALSE, TRUE , FALSE, FALSE, ALARM_ID_DD_BC_STATE1_FILL_END_PRESSURE_OUT_OF_RANGE }, + { ALARM_PRIORITY_HIGH, 110, FALSE, TRUE , TRUE , TRUE , FALSE, TRUE , FALSE, FALSE, FALSE, FALSE, FALSE, TRUE , FALSE, FALSE, ALARM_ID_DD_BC_STATE2_FILL_START_PRESSURE_OUT_OF_RANGE }, + { ALARM_PRIORITY_HIGH, 110, FALSE, TRUE , TRUE , TRUE , FALSE, TRUE , FALSE, FALSE, FALSE, FALSE, FALSE, TRUE , FALSE, FALSE, ALARM_ID_DD_BC_STATE2_FILL_END_PRESSURE_OUT_OF_RANGE }, + { ALARM_PRIORITY_HIGH, 110, FALSE, TRUE , TRUE , TRUE , FALSE, TRUE , FALSE, FALSE, FALSE, FALSE, FALSE, TRUE , FALSE, FALSE, ALARM_ID_DD_GEND_HYD_CHAMBER_PRESS_OUT_OF_RANGE }, + { ALARM_PRIORITY_HIGH, 110, FALSE, TRUE , TRUE , TRUE , FALSE, TRUE , FALSE, FALSE, FALSE, FALSE, FALSE, TRUE , FALSE, FALSE, ALARM_ID_DD_GEND_FRESH_DIAL_PRESS_OUT_OF_RANGE }, + { ALARM_PRIORITY_HIGH, 110, FALSE, TRUE , TRUE , TRUE , FALSE, TRUE , FALSE, FALSE, FALSE, FALSE, FALSE, TRUE , FALSE, FALSE, ALARM_ID_DD_GEND_SPENT_DIAL_PRESS_OUT_OF_RANGE }, }; // Priority Rank Fault DDFault Stops ClrIm NoClr NoRes NoRin NoEnd BlkRB BlkET NoBRcr NoDRcr ClrOnly TxLog ID /// Table of alarms and their rank. @@ -408,6 +421,13 @@ { 110, ALARM_ID_DD_WATER_INLET_INPUT_PRES_TIMEOUT_FAULT }, { 110, ALARM_ID_DD_WATER_INLET_OUTPUT_PRES_TIMEOUT_FAULT }, { 110, ALARM_ID_RO_COMM_TOO_MANY_BAD_CRCS }, + { 110, ALARM_ID_DD_BC_STATE1_FILL_START_PRESSURE_OUT_OF_RANGE }, + { 110, ALARM_ID_DD_BC_STATE1_FILL_END_PRESSURE_OUT_OF_RANGE }, + { 110, ALARM_ID_DD_BC_STATE2_FILL_START_PRESSURE_OUT_OF_RANGE }, + { 110, ALARM_ID_DD_BC_STATE2_FILL_END_PRESSURE_OUT_OF_RANGE }, + { 110, ALARM_ID_DD_GEND_HYD_CHAMBER_PRESS_OUT_OF_RANGE }, + { 110, ALARM_ID_DD_GEND_FRESH_DIAL_PRESS_OUT_OF_RANGE }, + { 110, ALARM_ID_DD_GEND_SPENT_DIAL_PRESS_OUT_OF_RANGE }, { 111, ALARM_ID_TD_DD_COMM_TIMEOUT }, { 111, ALARM_ID_TD_CAN_MESSAGE_NOT_ACKED_BY_DD }, { 111, ALARM_ID_DD_CAN_MESSAGE_NOT_ACKED_BY_RO }, @@ -486,10 +506,10 @@ { 33 , ALARM_ID_TD_VOLTAGE_OUT_OF_RANGE , "TD | Service Required: Hemodialysis Device | A problem was detected with the hemodialysis device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | TD Fault: Voltage Monitor | TD monitored voltage is out of range | If the TD monitored voltages are out of range for a certain period of time. | "}, { 34 , ALARM_ID_TD_AC_POWER_LOST , "TD | Power Loss | AC Power has been lost.\n- Check all electrical connections.\n- Press Resume/OK to return to welcome screen. | Loss of AC Power | TD AC power lost alarm | The TD Software shall trigger an alarm if an AC power loss is detected while the TD system is in standby, service, or treatment parameters mode. | "}, { 35 , ALARM_ID_TD_AC_POWER_LOST_IN_TREATMENT , "TD | Power Loss | Treatment must be terminated due to a power loss.\n- Follow clinic instructions on when to initiate manual rinseback.\n- Check all electrical connections.\n- If power returns within 5 minutes of outage, \n- rinseback will be allowed. | Blood Stop: Loss of AC Power | TD AC power lost alarm | The TD Software shall trigger an alarm if an AC power loss is detected while the TD system is in pre-treatment, treatment, or post-treatment mode. | "}, - { 36 , ALARM_ID_DD_CD1_SENSOR_FPGA_FAULT , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Conductivity Sensor (CD1) Error | DD conductivity sensor located before balancing chamber reporting error or not being read successfully | Conductvity Sensor (CD1) is reporting an error or FPGA is failing to read sensor. | "}, - { 37 , ALARM_ID_DD_CD2_SENSOR_FPGA_FAULT , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Conductivity Sensor (CD2) Error | DD conductivity sensor located after balancing chamber reporting error or not being read successfully | Conductvity Sensor (CD2) is reporting an error or FPGA is failing to read sensor. | "}, - { 38 , ALARM_ID_DD_CD3_SENSOR_FPGA_FAULT , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Conductivity Sensor (CD3) Error | DD conductivity sensor located after balancing chamber reporting error or not being read successfully | Conductvity Sensor (CD3) is reporting an error or FPGA is failing to read sensor. | "}, - { 39 , ALARM_ID_DD_CD4_SENSOR_FPGA_FAULT , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Conductivity Sensor (CD4) Error | DD conductivity sensor located in spent dialysate path reporting error or not being read successfully | Conductvity Sensor (CD4) is reporting an error or FPGA is failing to read sensor. | "}, + { 36 , ALARM_ID_DD_CD1_SENSOR_FPGA_FAULT , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Conductivity Sensor (CD1) Error | DD conductivity sensor located before balancing chamber reporting error or not being read successfully | Conductvity Sensor (CD1) is reporting an error or FPGA is failing to read sensor. | "}, + { 37 , ALARM_ID_DD_CD2_SENSOR_FPGA_FAULT , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Conductivity Sensor (CD2) Error | DD conductivity sensor located after balancing chamber reporting error or not being read successfully | Conductvity Sensor (CD2) is reporting an error or FPGA is failing to read sensor. | "}, + { 38 , ALARM_ID_DD_CD3_SENSOR_FPGA_FAULT , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Conductivity Sensor (CD3) Error | DD conductivity sensor located after balancing chamber reporting error or not being read successfully | Conductvity Sensor (CD3) is reporting an error or FPGA is failing to read sensor. | "}, + { 39 , ALARM_ID_DD_CD4_SENSOR_FPGA_FAULT , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Conductivity Sensor (CD4) Error | DD conductivity sensor located in spent dialysate path reporting error or not being read successfully | Conductvity Sensor (CD4) is reporting an error or FPGA is failing to read sensor. | "}, { 40 , ALARM_ID_TD_VENOUS_BUBBLE_DETECTED , "TD | Venous Air Detected | Air detected in the venous air trap.\n- Confirm arterial access placement and confirm\nconnections are secure.\n- Treatment must be terminated without rinseback. | Blood Stop: Venous Air Bubble | TD venous air bubble detected alarm | If bubbles are detected during the treatment. | "}, { 41 , ALARM_ID_TD_CARTRIDGE_DOOR_OPENED , "TD | Blood Pump Stopped: Door Open | The device door is open.\n Close the device door. \n- Press Resume/OK to continue. | Blood Stop: Door Open | TD cartridge door opened alarm | If the cartridge door is opened as reported by the FPGA. | "}, { 42 , ALARM_ID_TD_STUCK_BUTTON_TEST_FAILED , "TD | Stuck Button | A button was pressed during start up and appears stuck. \n- Press and release the power and stop buttons on the\nfront of the device.\n- Turn device off, then back on.\n- If problem continues, call service to schedule a repair. | TD POST: Stuck Button | TD Stuck button POST failure. Stop or Off button detected to be pressed for at least 1 second during test shortly after power up | Stop or Off button are pressed for more than 1 sec during POST. | "}, @@ -538,7 +558,14 @@ { 83 , ALARM_ID_RO_CAN_MESSAGE_NOT_ACKED_BY_DD , "RO | Communication Error | A communication problem has been detected.\n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | RO Loss of DD Comm (DD ACK) | DD to RO comm error. | DD message to RO that requires acknowledge was not acknowledged within a certain time. | "}, { 84 , ALARM_ID_RO_FPGA_COMM_TIMEOUT , "RO | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | RO Fault: FPGA Comm | RO FPGA communication down for too long | If retries for commands exceeds limit or FPGA reports comm error. | "}, { 85 , ALARM_ID_RO_COMM_TOO_MANY_BAD_CRCS , "RO | Service Required: Hemodialysis Device | A problem was detected with the hemodialysis device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | RO Fault: CAN CRC Comm | RO Too many bad CRCs detected on received system messages | If too many bad message CRCs are received within a set period of time | "}, - }; + { 86 , ALARM_ID_DD_BC_STATE1_FILL_START_PRESSURE_OUT_OF_RANGE , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: BC Pressure not in range | DD balancing bhamber state 1 fill start pressure is not in range | If the fresh dialysate pressure (< 23 psig or > 25 psig) and spent dialysate pressure (< 29 psig or > 30 psig) not in range for balancing chamber state1 fill start. | "}, + { 87 , ALARM_ID_DD_BC_STATE1_FILL_END_PRESSURE_OUT_OF_RANGE , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: BC Pressure not in range | DD balancing chamber state 1 fill end pressure is not in range | If the fresh dialysate pressure (< 23 psig or > 25 psig) and spent dialysate pressure (< 29 psig or > 30 psig) not in range for balancing chamber state1 fill end. | "}, + { 88 , ALARM_ID_DD_BC_STATE2_FILL_START_PRESSURE_OUT_OF_RANGE , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: BC Pressure not in range | DD balancing chamber state 2 fill start pressure is not in range | If the fresh dialysate pressure (< 23 psig or > 25 psig) and spent dialysate pressure (< 29 psig or > 30 psig) not in range for balancing chamber state2 fill start. | "}, + { 89 , ALARM_ID_DD_BC_STATE2_FILL_END_PRESSURE_OUT_OF_RANGE , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: BC Pressure not in range | DD balancing chamber state 2 fill end pressure is not in range | If the fresh dialysate pressure (< 23 psig or > 25 psig) and spent dialysate pressure (< 29 psig or > 30 psig) not in range for balancing chamber state2 fill end. | "}, + { 90 , ALARM_ID_DD_GEND_HYD_CHAMBER_PRESS_OUT_OF_RANGE , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: Hyd Cham Press not in range | DD hydraulics chamber degassed pressure is not in range | If the hydraulics chamber pressure is not between -11.7877 psig and -12.2789 psig. | "}, + { 91 , ALARM_ID_DD_GEND_FRESH_DIAL_PRESS_OUT_OF_RANGE , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: Fresh dial Press not in range | DD fresh dialysate pressure is not in range | If the fresh dialysate pressure (< 23 psig or > 25 psig) not in range. | "}, + { 92 , ALARM_ID_DD_GEND_SPENT_DIAL_PRESS_OUT_OF_RANGE , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: Spent dial Press not in range | DD spent dialysate pressure is not in range | If the spent dialysate pressure (< 29 psig or > 30 psig) not in range. | "}, +}; #endif // manual alarms Index: MsgDefs.h =================================================================== diff -u -r2b05af3b22a0c1f70c7a7ecf6c71b9f4c76de51d -r4929d0d6b1e6d1a12b2f5647c629d0721da64e18 --- MsgDefs.h (.../MsgDefs.h) (revision 2b05af3b22a0c1f70c7a7ecf6c71b9f4c76de51d) +++ MsgDefs.h (.../MsgDefs.h) (revision 4929d0d6b1e6d1a12b2f5647c629d0721da64e18) @@ -78,6 +78,7 @@ MSG_ID_DD_BAL_CHAMBER_DATA = 0x2E, ///< DD balancing chamber data MSG_ID_DD_GEN_DIALYSATE_MODE_DATA = 0x2F, ///< DD Generate dialysate mode data MSG_ID_DD_GEN_DIALYSATE_REQUEST_DATA = 0x30, ///< DD Generate dialysate request data coming from TD with additional parameters + MSG_ID_DD_RO_START_STOP_CMD_REQUEST = 0x31, ///< DD requests RO to start/stop delivering the purified water. // service/test CAN messages MSG_ID_FIRST_TD_TESTER_MESSAGE = 0x8000, ///< First TD test message ID @@ -175,6 +176,7 @@ MSG_ID_DD_CONCENTRATE_PUMPS_START_STOP_OVERRIDE_REQUEST = 0xA02D, ///< DD Concentrate pumps start/stop override request MSG_ID_DD_HEATERS_START_STOP_OVERRIDE_REQUEST = 0xA02E, ///< DD Heaters start override request MSG_ID_DD_VALVES_OPEN_CLOSE_STATE_OVERRIDE_REQUEST = 0xA02F, ///< DD Valves open/close state override request + MSD_ID_DD_RO_COMMUNICATION_STATUS_OVERRIDE_REQUEST = 0xA030, ///< DD RO CAN Communication status override request MSG_ID_TD_DEBUG_EVENT = 0xFFF1, ///< TD debug event text to be logged in event log MSG_ID_DD_DEBUG_EVENT = 0xFFF2, ///< DD debug event text to be logged in event log Index: RODefs.h =================================================================== diff -u -r05452614f8c8149a58072624de75b6064d745b50 -r4929d0d6b1e6d1a12b2f5647c629d0721da64e18 --- RODefs.h (.../RODefs.h) (revision 05452614f8c8149a58072624de75b6064d745b50) +++ RODefs.h (.../RODefs.h) (revision 4929d0d6b1e6d1a12b2f5647c629d0721da64e18) @@ -31,17 +31,17 @@ /// Enumeration of init & POST mode states. enum RO_POST_States { - POST_STATE_START = 0, ///< Start initialize & POST mode state - POST_STATE_FW_INTEGRITY, ///< Run firmware integrity test state - POST_STATE_NVDATAMGMT, ///< Run NV Data Mgmt. test state - POST_STATE_WATCHDOG, ///< Run watchdog test state - POST_STATE_SAFETY_SHUTDOWN, ///< Run safety shutdown test state - POST_STATE_TEMPERATURES, ///< Run temperatures POST state - POST_STATE_FW_COMPATIBILITY, ///< Run firmware compatibility test state - POST_STATE_FPGA, ///< Run FPGA test state - POST_STATE_COMPLETED, ///< POST self-tests completed state - POST_STATE_FAILED, ///< POST self-tests failed state - NUM_OF_POST_STATES ///< Number of initialize & POST mode states + RO_POST_STATE_START = 0, ///< Start initialize & POST mode state + RO_POST_STATE_FW_INTEGRITY, ///< Run firmware integrity test state + RO_POST_STATE_NVDATAMGMT, ///< Run NV Data Mgmt. test state + RO_POST_STATE_WATCHDOG, ///< Run watchdog test state + RO_POST_STATE_SAFETY_SHUTDOWN, ///< Run safety shutdown test state + RO_POST_STATE_TEMPERATURES, ///< Run temperatures POST state + RO_POST_STATE_FW_COMPATIBILITY, ///< Run firmware compatibility test state + RO_POST_STATE_FPGA, ///< Run FPGA test state + RO_POST_STATE_COMPLETED, ///< POST self-tests completed state + RO_POST_STATE_FAILED, ///< POST self-tests failed state + RO_NUM_OF_POST_STATES ///< Number of initialize & POST mode states }; typedef enum RO_POST_States RO_POST_STATE_T; ///< Type for RO POST states enumeration