Loading…

Method Name: InitiateVerifyMethod

Method ID: 0x410C

Method Label: Initiate Verify

Method Help:


  • {
  • char status[3];
  • char xmtr_status[25];
  • char disp_string1[60];
  • int wSlen1;
  • int wChoice;
  • int wLocalRCU2;
  • int wLocalRCU3;
  • int wLocalCombOption;
  • int wLocalMethOption;
  • int wLoopChoice;
  • int wLocalTime;
  • int wLocalMin;
  • int wLocalSec;
  • int wLocalProbeType;
  • int wLocalUnits;
  • long var_id[8];
  • float rLocalSetPoint;
  • float rLocalTemperature;
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • wChoice = SELECT_FROM_LIST(literal_string(348),literal_string(374));
  • if (wChoice == 1)
  • {
  • process_abort();
  • }
  • _iassign(16592,1);
  • send(0x97,status);
  • if (status[0])
  • {
  • display_response_status(0x97,status[0]);
  • DELAY(2,disp_string1);
  • process_abort();
  • }
  • wLocalProbeType = _ivar_value(16389);
  • if (wLocalProbeType != 4)
  • {
  • _iassign(16591,6);
  • send(0x99,status);
  • if (status[0])
  • {
  • display_response_status(0x99,status[0]);
  • DELAY(2,disp_string1);
  • process_abort();
  • }
  • rLocalSetPoint = _fvar_value(16443);
  • if (rLocalSetPoint < 600.0)
  • {
  • ACKNOWLEDGE(literal_string(350));
  • process_abort();
  • }
  • _iassign(4054,1);
  • send(0xA5,status);
  • if (status[0])
  • {
  • display_response_status(0xA5,status[0]);
  • DELAY(2,disp_string1);
  • process_abort();
  • }
  • rLocalTemperature = _fvar_value(resolve_record_ref(resolve_array_ref(4109,1),191));
  • if (rLocalTemperature < 600.0)
  • {
  • ACKNOWLEDGE(literal_string(351));
  • process_abort();
  • }
  • if (rLocalSetPoint > rLocalTemperature + 10.0 || rLocalTemperature > rLocalSetPoint + 10.0)
  • {
  • ACKNOWLEDGE(literal_string(352));
  • process_abort();
  • }
  • }
  • wSlen1 = 60;
  • _get_dictionary_string(19726337,disp_string1,wSlen1);
  • ACKNOWLEDGE(disp_string1);


Please login for more