Loading…

Method Name: show_active_alerts_method

Method ID: 0x4378

Method Label: Device Status

Method Help:


  • {
  • char S[3];
  • int i;
  • int actCount;
  • int failFlag;
  • int maintFlag;
  • int adviseFlag;
  • int offspecFlag;
  • int counter;
  • unsigned int dev_stat;
  • unsigned int dev_spec_0;
  • unsigned int dev_spec_1;
  • unsigned int dev_spec_2;
  • unsigned int dev_spec_3;
  • unsigned int dev_spec_4;
  • unsigned int dev_spec_5;
  • char status[3];
  • long ids[8];
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_all_resp_code(1);
  • _set_resp_code(8,0);
  • failFlag = 0;
  • maintFlag = 0;
  • send(48,S);
  • dev_stat = _ivar_value(151) & 0x04;
  • dev_spec_0 = _ivar_value(4139) & 0xFF;
  • dev_spec_4 = _ivar_value(4143) & 0xFF;
  • if (software_revision > 6)
  • {
  • dev_spec_1 = _ivar_value(4140) & 0xCC;
  • dev_spec_2 = _ivar_value(4141) & 0xFF;
  • dev_spec_3 = _ivar_value(4142) & 0xFF;
  • dev_spec_5 = _ivar_value(4144) & 0xDE;
  • }
  • else
  • {
  • dev_spec_1 = _ivar_value(4140) & 0xCE;
  • dev_spec_2 = _ivar_value(4141) & 0xFE;
  • dev_spec_3 = _ivar_value(4142) & 0xFB;
  • dev_spec_5 = _ivar_value(4144) & 0x0C;
  • }
  • if (dev_stat == 0 && dev_spec_0 == 0 && dev_spec_1 == 0 && dev_spec_2 == 0 && dev_spec_3 == 0 && dev_spec_4 == 0 && dev_spec_5 == 0)
  • {
  • send_trans(129,0,S);
  • if (_ivar_value(16427) == 1)
  • {
  • ACKNOWLEDGE(literal_string(3090));
  • }
  • else
  • {
  • ACKNOWLEDGE(literal_string(3091));
  • maintFlag = 1;
  • }
  • }
  • else
  • {
  • if (statusmap_variable_002 == 0x03 && device_status & 0x04 || statusmap_variable_008 == 0x03 && device_specific_status_0 & 0x01 || statusmap_variable_009 == 0x03 && device_specific_status_0 & 0x02 || statusmap_variable_010 == 0x03 && device_specific_status_0 & 0x04 || statusmap_variable_011 == 0x03 && device_specific_status_0 & 0x08 || statusmap_variable_012 == 0x03 && device_specific_status_0 & 0x10 || statusmap_variable_013 == 0x03 && device_specific_status_0 & 0x20 || statusmap_variable_014 == 0x03 && device_specific_status_0 & 0x40 || statusmap_variable_015 == 0x03 && device_specific_status_0 & 0x80 || statusmap_variable_016 == 0x03 && device_specific_status_1 & 0x01 || statusmap_variable_018 == 0x03 && device_specific_status_1 & 0x04 || statusmap_variable_019 == 0x03 && device_specific_status_1 & 0x08 || statusmap_variable_020 == 0x03 && device_specific_status_1 & 0x10 || statusmap_variable_021 == 0x03 && device_specific_status_1 & 0x20 || statusmap_variable_022 == 0x03 && device_specific_status_1 & 0x40 || statusmap_variable_023 == 0x03 && device_specific_status_1 & 0x80 || statusmap_variable_024 == 0x03 && device_specific_status_2 & 0x01 || statusmap_variable_025 == 0x03 && device_specific_status_2 & 0x02 || statusmap_variable_026 == 0x03 && device_specific_status_2 & 0x04 || statusmap_variable_027 == 0x03 && device_specific_status_2 & 0x08 || statusmap_variable_028 == 0x03 && device_specific_status_2 & 0x10 || statusmap_variable_029 == 0x03 && device_specific_status_2 & 0x20 || statusmap_variable_030 == 0x03 && device_specific_status_2 & 0x40 || statusmap_variable_031 == 0x03 && device_specific_status_2 & 0x80 || statusmap_variable_032 == 0x03 && device_specific_status_3 & 0x01 || statusmap_variable_033 == 0x03 && device_specific_status_3 & 0x02 || statusmap_variable_034 == 0x03 && device_specific_status_3 & 0x04 || statusmap_variable_035 == 0x03 && device_specific_status_3 & 0x08 || statusmap_variable_036 == 0x03 && device_specific_status_3 & 0x10 || statusmap_variable_037 == 0x03 && device_specific_status_3 & 0x20 || statusmap_variable_038 == 0x03 && device_specific_status_3 & 0x40 || statusmap_variable_039 == 0x03 && device_specific_status_3 & 0x80 || statusmap_variable_040 == 0x03 && device_specific_status_4 & 0x01 || statusmap_variable_041 == 0x03 && device_specific_status_4 & 0x02 || statusmap_variable_042 == 0x03 && device_specific_status_4 & 0x04 || statusmap_variable_043 == 0x03 && device_specific_status_4 & 0x08 || statusmap_variable_044 == 0x03 && device_specific_status_4 & 0x10 || statusmap_variable_045 == 0x03 && device_specific_status_4 & 0x20 || statusmap_variable_046 == 0x03 && device_specific_status_4 & 0x40 || statusmap_variable_047 == 0x03 && device_specific_status_4 & 0x80 || statusmap_variable_049 == 0x03 && device_specific_status_5 & 0x02 || statusmap_variable_050 == 0x03 && device_specific_status_5 & 0x04 || statusmap_variable_051 == 0x03 && device_specific_status_5 & 0x08 || statusmap_variable_052 == 0x03 && device_specific_status_5 & 0x10 || statusmap_variable_054 == 0x03 && device_specific_status_5 & 0x40 || statusmap_variable_055 == 0x03 && device_specific_status_5 & 0x80)
  • {
  • ACKNOWLEDGE(literal_string(3092));
  • }
  • else
  • if (statusmap_variable_002 == 0x05 && device_status & 0x04 || statusmap_variable_008 == 0x05 && device_specific_status_0 & 0x01 || statusmap_variable_009 == 0x05 && device_specific_status_0 & 0x02 || statusmap_variable_010 == 0x05 && device_specific_status_0 & 0x04 || statusmap_variable_011 == 0x05 && device_specific_status_0 & 0x08 || statusmap_variable_012 == 0x05 && device_specific_status_0 & 0x10 || statusmap_variable_013 == 0x05 && device_specific_status_0 & 0x20 || statusmap_variable_014 == 0x05 && device_specific_status_0 & 0x40 || statusmap_variable_015 == 0x05 && device_specific_status_0 & 0x80 || statusmap_variable_016 == 0x05 && device_specific_status_1 & 0x01 || statusmap_variable_018 == 0x05 && device_specific_status_1 & 0x04 || statusmap_variable_019 == 0x05 && device_specific_status_1 & 0x08 || statusmap_variable_020 == 0x05 && device_specific_status_1 & 0x10 || statusmap_variable_021 == 0x05 && device_specific_status_1 & 0x20 || statusmap_variable_022 == 0x05 && device_specific_status_1 & 0x40 || statusmap_variable_023 == 0x05 && device_specific_status_1 & 0x80 || statusmap_variable_024 == 0x05 && device_specific_status_2 & 0x01 || statusmap_variable_025 == 0x05 && device_specific_status_2 & 0x02 || statusmap_variable_026 == 0x05 && device_specific_status_2 & 0x04 || statusmap_variable_027 == 0x05 && device_specific_status_2 & 0x08 || statusmap_variable_028 == 0x05 && device_specific_status_2 & 0x10 || statusmap_variable_029 == 0x05 && device_specific_status_2 & 0x20 || statusmap_variable_030 == 0x05 && device_specific_status_2 & 0x40 || statusmap_variable_031 == 0x05 && device_specific_status_2 & 0x80 || statusmap_variable_032 == 0x05 && device_specific_status_3 & 0x01 || statusmap_variable_033 == 0x05 && device_specific_status_3 & 0x02 || statusmap_variable_034 == 0x05 && device_specific_status_3 & 0x04 || statusmap_variable_035 == 0x05 && device_specific_status_3 & 0x08 || statusmap_variable_036 == 0x05 && device_specific_status_3 & 0x10 || statusmap_variable_037 == 0x05 && device_specific_status_3 & 0x20 || statusmap_variable_038 == 0x05 && device_specific_status_3 & 0x40 || statusmap_variable_039 == 0x05 && device_specific_status_3 & 0x80 || statusmap_variable_040 == 0x05 && device_specific_status_4 & 0x01 || statusmap_variable_041 == 0x05 && device_specific_status_4 & 0x02 || statusmap_variable_042 == 0x05 && device_specific_status_4 & 0x04 || statusmap_variable_043 == 0x05 && device_specific_status_4 & 0x08 || statusmap_variable_044 == 0x05 && device_specific_status_4 & 0x10 || statusmap_variable_045 == 0x05 && device_specific_status_4 & 0x20 || statusmap_variable_046 == 0x05 && device_specific_status_4 & 0x40 || statusmap_variable_047 == 0x05 && device_specific_status_4 & 0x80 || statusmap_variable_049 == 0x05 && device_specific_status_5 & 0x02 || statusmap_variable_050 == 0x05 && device_specific_status_5 & 0x04 || statusmap_variable_051 == 0x05 && device_specific_status_5 & 0x08 || statusmap_variable_052 == 0x05 && device_specific_status_5 & 0x10 || statusmap_variable_054 == 0x05 && device_specific_status_5 & 0x40 || statusmap_variable_055 == 0x05 && device_specific_status_5 & 0x80)
  • {
  • ACKNOWLEDGE(literal_string(3093));
  • }
  • else
  • if (statusmap_variable_002 == 0x04 && device_status & 0x04 || statusmap_variable_008 == 0x04 && device_specific_status_0 & 0x01 || statusmap_variable_009 == 0x04 && device_specific_status_0 & 0x02 || statusmap_variable_010 == 0x04 && device_specific_status_0 & 0x04 || statusmap_variable_011 == 0x04 && device_specific_status_0 & 0x08 || statusmap_variable_012 == 0x04 && device_specific_status_0 & 0x10 || statusmap_variable_013 == 0x04 && device_specific_status_0 & 0x20 || statusmap_variable_014 == 0x04 && device_specific_status_0 & 0x40 || statusmap_variable_015 == 0x04 && device_specific_status_0 & 0x80 || statusmap_variable_016 == 0x04 && device_specific_status_1 & 0x01 || statusmap_variable_018 == 0x04 && device_specific_status_1 & 0x04 || statusmap_variable_019 == 0x04 && device_specific_status_1 & 0x08 || statusmap_variable_020 == 0x04 && device_specific_status_1 & 0x10 || statusmap_variable_021 == 0x04 && device_specific_status_1 & 0x20 || statusmap_variable_022 == 0x04 && device_specific_status_1 & 0x40 || statusmap_variable_023 == 0x04 && device_specific_status_1 & 0x80 || statusmap_variable_024 == 0x04 && device_specific_status_2 & 0x01 || statusmap_variable_025 == 0x04 && device_specific_status_2 & 0x02 || statusmap_variable_026 == 0x04 && device_specific_status_2 & 0x04 || statusmap_variable_027 == 0x04 && device_specific_status_2 & 0x08 || statusmap_variable_028 == 0x04 && device_specific_status_2 & 0x10 || statusmap_variable_029 == 0x04 && device_specific_status_2 & 0x20 || statusmap_variable_030 == 0x04 && device_specific_status_2 & 0x40 || statusmap_variable_031 == 0x04 && device_specific_status_2 & 0x80 || statusmap_variable_032 == 0x04 && device_specific_status_3 & 0x01 || statusmap_variable_033 == 0x04 && device_specific_status_3 & 0x02 || statusmap_variable_034 == 0x04 && device_specific_status_3 & 0x04 || statusmap_variable_035 == 0x04 && device_specific_status_3 & 0x08 || statusmap_variable_036 == 0x04 && device_specific_status_3 & 0x10 || statusmap_variable_037 == 0x04 && device_specific_status_3 & 0x20 || statusmap_variable_038 == 0x04 && device_specific_status_3 & 0x40 || statusmap_variable_039 == 0x04 && device_specific_status_3 & 0x80 || statusmap_variable_040 == 0x04 && device_specific_status_4 & 0x01 || statusmap_variable_041 == 0x04 && device_specific_status_4 & 0x02 || statusmap_variable_042 == 0x04 && device_specific_status_4 & 0x04 || statusmap_variable_043 == 0x04 && device_specific_status_4 & 0x08 || statusmap_variable_044 == 0x04 && device_specific_status_4 & 0x10 || statusmap_variable_045 == 0x04 && device_specific_status_4 & 0x20 || statusmap_variable_046 == 0x04 && device_specific_status_4 & 0x40 || statusmap_variable_047 == 0x04 && device_specific_status_4 & 0x80 || statusmap_variable_049 == 0x04 && device_specific_status_5 & 0x02 || statusmap_variable_050 == 0x04 && device_specific_status_5 & 0x04 || statusmap_variable_051 == 0x04 && device_specific_status_5 & 0x08 || statusmap_variable_052 == 0x04 && device_specific_status_5 & 0x10 || statusmap_variable_054 == 0x04 && device_specific_status_5 & 0x40 || statusmap_variable_055 == 0x04 && device_specific_status_5 & 0x80)
  • {
  • ACKNOWLEDGE(literal_string(3094));
  • }
  • else
  • if (statusmap_variable_002 == 0x01 && device_status & 0x04 || statusmap_variable_008 == 0x01 && device_specific_status_0 & 0x01 || statusmap_variable_009 == 0x01 && device_specific_status_0 & 0x02 || statusmap_variable_010 == 0x01 && device_specific_status_0 & 0x04 || statusmap_variable_011 == 0x01 && device_specific_status_0 & 0x08 || statusmap_variable_012 == 0x01 && device_specific_status_0 & 0x10 || statusmap_variable_013 == 0x01 && device_specific_status_0 & 0x20 || statusmap_variable_014 == 0x01 && device_specific_status_0 & 0x40 || statusmap_variable_015 == 0x01 && device_specific_status_0 & 0x80 || statusmap_variable_016 == 0x01 && device_specific_status_1 & 0x01 || statusmap_variable_018 == 0x01 && device_specific_status_1 & 0x04 || statusmap_variable_019 == 0x01 && device_specific_status_1 & 0x08 || statusmap_variable_020 == 0x01 && device_specific_status_1 & 0x10 || statusmap_variable_021 == 0x01 && device_specific_status_1 & 0x20 || statusmap_variable_022 == 0x01 && device_specific_status_1 & 0x40 || statusmap_variable_023 == 0x01 && device_specific_status_1 & 0x80 || statusmap_variable_024 == 0x01 && device_specific_status_2 & 0x01 || statusmap_variable_025 == 0x01 && device_specific_status_2 & 0x02 || statusmap_variable_026 == 0x01 && device_specific_status_2 & 0x04 || statusmap_variable_027 == 0x01 && device_specific_status_2 & 0x08 || statusmap_variable_028 == 0x01 && device_specific_status_2 & 0x10 || statusmap_variable_029 == 0x01 && device_specific_status_2 & 0x20 || statusmap_variable_030 == 0x01 && device_specific_status_2 & 0x40 || statusmap_variable_031 == 0x01 && device_specific_status_2 & 0x80 || statusmap_variable_032 == 0x01 && device_specific_status_3 & 0x01 || statusmap_variable_033 == 0x01 && device_specific_status_3 & 0x02 || statusmap_variable_034 == 0x01 && device_specific_status_3 & 0x04 || statusmap_variable_035 == 0x01 && device_specific_status_3 & 0x08 || statusmap_variable_036 == 0x01 && device_specific_status_3 & 0x10 || statusmap_variable_037 == 0x01 && device_specific_status_3 & 0x20 || statusmap_variable_038 == 0x01 && device_specific_status_3 & 0x40 || statusmap_variable_039 == 0x01 && device_specific_status_3 & 0x80 || statusmap_variable_040 == 0x01 && device_specific_status_4 & 0x01 || statusmap_variable_041 == 0x01 && device_specific_status_4 & 0x02 || statusmap_variable_042 == 0x01 && device_specific_status_4 & 0x04 || statusmap_variable_043 == 0x01 && device_specific_status_4 & 0x08 || statusmap_variable_044 == 0x01 && device_specific_status_4 & 0x10 || statusmap_variable_045 == 0x01 && device_specific_status_4 & 0x20 || statusmap_variable_046 == 0x01 && device_specific_status_4 & 0x40 || statusmap_variable_047 == 0x01 && device_specific_status_4 & 0x80 || statusmap_variable_049 == 0x01 && device_specific_status_5 & 0x02 || statusmap_variable_050 == 0x01 && device_specific_status_5 & 0x04 || statusmap_variable_051 == 0x01 && device_specific_status_5 & 0x08 || statusmap_variable_052 == 0x01 && device_specific_status_5 & 0x10 || statusmap_variable_054 == 0x01 && device_specific_status_5 & 0x40 || statusmap_variable_055 == 0x01 && device_specific_status_5 & 0x80)
  • {
  • ACKNOWLEDGE(literal_string(3095));
  • }
  • else
  • if (statusmap_variable_002 == 0x00 && device_status & 0x04 || statusmap_variable_008 == 0x00 && device_specific_status_0 & 0x01 || statusmap_variable_009 == 0x00 && device_specific_status_0 & 0x02 || statusmap_variable_010 == 0x00 && device_specific_status_0 & 0x04 || statusmap_variable_011 == 0x00 && device_specific_status_0 & 0x08 || statusmap_variable_012 == 0x00 && device_specific_status_0 & 0x10 || statusmap_variable_013 == 0x00 && device_specific_status_0 & 0x20 || statusmap_variable_014 == 0x00 && device_specific_status_0 & 0x40 || statusmap_variable_015 == 0x00 && device_specific_status_0 & 0x80 || statusmap_variable_016 == 0x00 && device_specific_status_1 & 0x01 || statusmap_variable_018 == 0x00 && device_specific_status_1 & 0x04 || statusmap_variable_019 == 0x00 && device_specific_status_1 & 0x08 || statusmap_variable_020 == 0x00 && device_specific_status_1 & 0x10 || statusmap_variable_021 == 0x00 && device_specific_status_1 & 0x20 || statusmap_variable_022 == 0x00 && device_specific_status_1 & 0x40 || statusmap_variable_023 == 0x00 && device_specific_status_1 & 0x80 || statusmap_variable_024 == 0x00 && device_specific_status_2 & 0x01 || statusmap_variable_025 == 0x00 && device_specific_status_2 & 0x02 || statusmap_variable_026 == 0x00 && device_specific_status_2 & 0x04 || statusmap_variable_027 == 0x00 && device_specific_status_2 & 0x08 || statusmap_variable_028 == 0x00 && device_specific_status_2 & 0x10 || statusmap_variable_029 == 0x00 && device_specific_status_2 & 0x20 || statusmap_variable_030 == 0x00 && device_specific_status_2 & 0x40 || statusmap_variable_031 == 0x00 && device_specific_status_2 & 0x80 || statusmap_variable_032 == 0x00 && device_specific_status_3 & 0x01 || statusmap_variable_033 == 0x00 && device_specific_status_3 & 0x02 || statusmap_variable_034 == 0x00 && device_specific_status_3 & 0x04 || statusmap_variable_035 == 0x00 && device_specific_status_3 & 0x08 || statusmap_variable_036 == 0x00 && device_specific_status_3 & 0x10 || statusmap_variable_037 == 0x00 && device_specific_status_3 & 0x20 || statusmap_variable_038 == 0x00 && device_specific_status_3 & 0x40 || statusmap_variable_039 == 0x00 && device_specific_status_3 & 0x80 || statusmap_variable_040 == 0x00 && device_specific_status_4 & 0x01 || statusmap_variable_041 == 0x00 && device_specific_status_4 & 0x02 || statusmap_variable_042 == 0x00 && device_specific_status_4 & 0x04 || statusmap_variable_043 == 0x00 && device_specific_status_4 & 0x08 || statusmap_variable_044 == 0x00 && device_specific_status_4 & 0x10 || statusmap_variable_045 == 0x00 && device_specific_status_4 & 0x20 || statusmap_variable_046 == 0x00 && device_specific_status_4 & 0x40 || statusmap_variable_047 == 0x00 && device_specific_status_4 & 0x80 || statusmap_variable_049 == 0x00 && device_specific_status_5 & 0x02 || statusmap_variable_050 == 0x00 && device_specific_status_5 & 0x04 || statusmap_variable_051 == 0x00 && device_specific_status_5 & 0x08 || statusmap_variable_052 == 0x00 && device_specific_status_5 & 0x10 || statusmap_variable_054 == 0x00 && device_specific_status_5 & 0x40 || statusmap_variable_055 == 0x00 && device_specific_status_5 & 0x80)
  • {
  • ACKNOWLEDGE(literal_string(3096));
  • }
  • if (statusmap_variable_002 == 0x03)
  • local_dev_MAINT_Sb2_LoopCurrentValidation = _ivar_value(151) & 0x04;
  • else
  • local_dev_MAINT_Sb2_LoopCurrentValidation = 0;
  • if (statusmap_variable_008 == 0x03)
  • local_dev_FAIL_0b0_TravelSensorFail = _ivar_value(4139) & 0x01;
  • else
  • local_dev_FAIL_0b0_TravelSensorFail = 0;
  • if (statusmap_variable_009 == 0x03)
  • local_dev_MAINT_0b1_PressSensorFail = _ivar_value(4139) & 0x02;
  • else
  • local_dev_MAINT_0b1_PressSensorFail = 0;
  • if (statusmap_variable_010 == 0x03)
  • local_dev_MAINT_0b2_TempSensorFail = _ivar_value(4139) & 0x04;
  • else
  • local_dev_MAINT_0b2_TempSensorFail = 0;
  • if (statusmap_variable_011 == 0x03)
  • local_dev_FAIL_0b3_CriticalNVMFail = _ivar_value(4139) & 0x08;
  • else
  • local_dev_FAIL_0b3_CriticalNVMFail = 0;
  • if (statusmap_variable_012 == 0x03)
  • local_dev_FAIL_0b4_DriveCurrentFail = _ivar_value(4139) & 0x10;
  • else
  • local_dev_FAIL_0b4_DriveCurrentFail = 0;
  • if (statusmap_variable_013 == 0x03)
  • local_dev_FAIL_0b5_RefVoltageFail = _ivar_value(4139) & 0x20;
  • else
  • local_dev_FAIL_0b5_RefVoltageFail = 0;
  • if (statusmap_variable_014 == 0x03)
  • local_dev_FAIL_0b6_MLFBSensorFail = _ivar_value(4139) & 0x40;
  • else
  • local_dev_FAIL_0b6_MLFBSensorFail = 0;
  • if (statusmap_variable_015 == 0x03)
  • local_dev_FAIL_0b7_FlashIntegrity = _ivar_value(4139) & 0x80;
  • else
  • local_dev_FAIL_0b7_FlashIntegrity = 0;
  • if (statusmap_variable_016 == 0x03)
  • local_dev_STATUS_1b0_AutoCalInProgress = _ivar_value(4140) & 0x01;
  • else
  • local_dev_STATUS_1b0_AutoCalInProgress = 0;
  • if (statusmap_variable_018 == 0x03)
  • local_dev_FAIL_1b2_ProgramFlow = _ivar_value(4140) & 0x04;
  • else
  • local_dev_FAIL_1b2_ProgramFlow = 0;
  • if (statusmap_variable_019 == 0x03)
  • local_dev_MAINT_1b3_PressFallbackActive = _ivar_value(4140) & 0x08;
  • else
  • local_dev_MAINT_1b3_PressFallbackActive = 0;
  • if (statusmap_variable_020 == 0x03)
  • local_dev_STATUS_1b4_DiagInProgress = _ivar_value(4140) & 0x10;
  • else
  • local_dev_STATUS_1b4_DiagInProgress = 0;
  • if (statusmap_variable_021 == 0x03)
  • local_dev_STATUS_1b5_InCalibMode = _ivar_value(4140) & 0x20;
  • else
  • local_dev_STATUS_1b5_InCalibMode = 0;
  • if (statusmap_variable_022 == 0x03)
  • local_dev_ADVISE_1b6_TrippedByLCP = _ivar_value(4140) & 0x40;
  • else
  • local_dev_ADVISE_1b6_TrippedByLCP = 0;
  • if (statusmap_variable_023 == 0x03)
  • local_dev_ADVISE_1b7_AlertRecordNotEmpty = _ivar_value(4140) & 0x80;
  • else
  • local_dev_ADVISE_1b7_AlertRecordNotEmpty = 0;
  • if (statusmap_variable_024 == 0x03)
  • local_dev_ADVISE_2b0_SISStrokeTime = _ivar_value(4141) & 0x01;
  • else
  • local_dev_ADVISE_2b0_SISStrokeTime = 0;
  • if (statusmap_variable_025 == 0x03)
  • local_dev_FAIL_2b1_ShutdownActivated = _ivar_value(4141) & 0x02;
  • else
  • local_dev_FAIL_2b1_ShutdownActivated = 0;
  • if (statusmap_variable_026 == 0x03)
  • local_dev_ADVISE_2b2_AlertRecordFull = _ivar_value(4141) & 0x04;
  • else
  • local_dev_ADVISE_2b2_AlertRecordFull = 0;
  • if (statusmap_variable_027 == 0x03)
  • local_dev_ADVISE_2b3_BadInstTime = _ivar_value(4141) & 0x08;
  • else
  • local_dev_ADVISE_2b3_BadInstTime = 0;
  • if (statusmap_variable_028 == 0x03)
  • local_dev_MAINT_2b4_TravelAccum = _ivar_value(4141) & 0x10;
  • else
  • local_dev_MAINT_2b4_TravelAccum = 0;
  • if (statusmap_variable_029 == 0x03)
  • local_dev_MAINT_2b5_CycleCounter = _ivar_value(4141) & 0x20;
  • else
  • local_dev_MAINT_2b5_CycleCounter = 0;
  • if (statusmap_variable_030 == 0x03)
  • local_dev_MAINT_2b6_NonCriticalNVM = _ivar_value(4141) & 0x40;
  • else
  • local_dev_MAINT_2b6_NonCriticalNVM = 0;
  • if (statusmap_variable_031 == 0x03)
  • local_dev_FAIL_2b7_SISHardwareFail = _ivar_value(4141) & 0x80;
  • else
  • local_dev_FAIL_2b7_SISHardwareFail = 0;
  • if (statusmap_variable_032 == 0x03)
  • local_dev_MAINT_3b0_IntegratorSatLo = _ivar_value(4142) & 0x01;
  • else
  • local_dev_MAINT_3b0_IntegratorSatLo = 0;
  • if (statusmap_variable_033 == 0x03)
  • local_dev_MAINT_3b1_IntegratorSatHi = _ivar_value(4142) & 0x02;
  • else
  • local_dev_MAINT_3b1_IntegratorSatHi = 0;
  • if (statusmap_variable_034 == 0x03)
  • local_dev_MAINT_3b2_SupplyPressHigh = _ivar_value(4142) & 0x04;
  • else
  • local_dev_MAINT_3b2_SupplyPressHigh = 0;
  • if (statusmap_variable_035 == 0x03)
  • local_dev_MAINT_3b3_SISUnitLockedInSafety = _ivar_value(4142) & 0x08;
  • else
  • local_dev_MAINT_3b3_SISUnitLockedInSafety = 0;
  • if (statusmap_variable_036 == 0x03)
  • local_dev_MAINT_3b4_EndPtPressDevAlert = _ivar_value(4142) & 0x10;
  • else
  • local_dev_MAINT_3b4_EndPtPressDevAlert = 0;
  • if (statusmap_variable_037 == 0x03)
  • local_dev_MAINT_3b5_SupplyPressLow = _ivar_value(4142) & 0x20;
  • else
  • local_dev_MAINT_3b5_SupplyPressLow = 0;
  • if (statusmap_variable_038 == 0x03)
  • local_dev_MAINT_3b6_PSTAbnormal = _ivar_value(4142) & 0x40;
  • else
  • local_dev_MAINT_3b6_PSTAbnormal = 0;
  • if (statusmap_variable_039 == 0x03)
  • local_dev_ADVISE_3b7_DiagFileHasData = _ivar_value(4142) & 0x80;
  • else
  • local_dev_ADVISE_3b7_DiagFileHasData = 0;
  • if (statusmap_variable_040 == 0x03)
  • local_dev_MAINT_4b0_DriveSignalAlert = _ivar_value(4143) & 0x01;
  • else
  • local_dev_MAINT_4b0_DriveSignalAlert = 0;
  • if (statusmap_variable_041 == 0x03)
  • local_dev_ADVISE_4b1_TvlLimitOrCutoffLo = _ivar_value(4143) & 0x02;
  • else
  • local_dev_ADVISE_4b1_TvlLimitOrCutoffLo = 0;
  • if (statusmap_variable_042 == 0x03)
  • local_dev_ADVISE_4b2_TvlLimitOrCutoffHi = _ivar_value(4143) & 0x04;
  • else
  • local_dev_ADVISE_4b2_TvlLimitOrCutoffHi = 0;
  • if (statusmap_variable_043 == 0x03)
  • local_dev_MAINT_4b3_TvlDeviationAlert = _ivar_value(4143) & 0x08;
  • else
  • local_dev_MAINT_4b3_TvlDeviationAlert = 0;
  • if (statusmap_variable_044 == 0x03)
  • local_dev_MAINT_4b4_TvlAlertHiHi = _ivar_value(4143) & 0x10;
  • else
  • local_dev_MAINT_4b4_TvlAlertHiHi = 0;
  • if (statusmap_variable_045 == 0x03)


Please login for more