Loading…

Method Name: PrimaryCalibrationMethod

Method ID: 0x4105

Method Label: Primary Calib

Method Help:


  • {
  • char status[3];
  • char xmtr_status[25];
  • char disp_string1[60];
  • int wSlen1;
  • int wChoice;
  • int wLocalRCU2;
  • int wLocalRCU3;
  • int wLoopChoice;
  • int wLocalTime;
  • int wLocalMin;
  • int wLocalSec;
  • long var_id[6];
  • 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(349));
  • if (wChoice == 1)
  • {
  • process_abort();
  • }
  • _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();


Please login for more