Loading…

Method Name: method_TB82_zero_point_pv_cal

Method ID: 0x409D

Method Label: Zero Point Cal

Method Help: Calibration of the process sensor input via a Zero-Point offset calibration


  • {
  • char status[3];
  • char xmtr_status[3];
  • long varid[10];
  • char disp_string1[60];
  • int slen1;
  • int retry;
  • int local_units;
  • char xmtr_data[25];
  • slen1 = 60;
  • varid[0] = resolve_record_ref(resolve_array_ref(172,1),191);
  • varid[1] = resolve_record_ref(resolve_array_ref(172,1),190);
  • varid[2] = 16422;
  • varid[3] = 16423;
  • varid[4] = 16478;
  • varid[5] = 16450;
  • varid[6] = 16523;
  • varid[7] = 16525;
  • varid[8] = 16526;
  • varid[9] = 16527;
  • _get_dictionary_string(19726337,disp_string1,slen1);
  • ACKNOWLEDGE(disp_string1);
  • _add_abort_method(4118);
  • _get_dictionary_string(19726356,disp_string1,slen1);
  • ACKNOWLEDGE(disp_string1);
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_resp_code(32,2);
  • _set_xmtr_resp_code(32,2);
  • send(3,status);
  • send(175,status);
  • if (_ivar_value(16513) & 0x0300)
  • {


Please login for more