Loading…

方法名称: span_point_cal_method

方法ID: 0x4034

方法标签: Span point cal

方法描述: Calibration of the process sensor input via a Span-Point slope calibration


  • {
  • char status[3];
  • char xmtr_status[3];
  • long varid[5];
  • char disp_string1[60];
  • int slen1;
  • int retry;
  • char xmtr_data[25];
  • slen1 = 60;
  • varid[0] = resolve_record_ref(resolve_array_ref(172,1),191);
  • varid[1] = 16408;
  • varid[2] = 16409;
  • varid[3] = resolve_record_ref(resolve_array_ref(172,1),190);
  • varid[4] = 16402;
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • SET_NUMBER_OF_RETRIES(20);
  • _set_resp_code(32,2);
  • _set_xmtr_resp_code(32,2);
  • get_more_status(xmtr_status,xmtr_data);
  • if (xmtr_data[17] & 0x01)
  • {
  • DELAY(4,literal_string(162));
  • process_abort();
  • }


请登录以获得完整内容