Loading…

方法名称: trim_sensor2_two_point

方法ID: 0x40BD

方法标签: ????

方法描述: Two point trim is for Lower value and upper Value of Sensor 1 (Gain and Offset). Two exact temperature reference are needed,for example 0 °C and 100 °C


  • {
  • char status[3];
  • char disp_string[60];
  • int slen;
  • slen = 60;
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _add_abort_method(17462);
  • _get_dictionary_string(19726337,disp_string,slen);
  • ACKNOWLEDGE(disp_string);
  • _remove_abort_method(17462);
  • _add_abort_method(4118);
  • _get_dictionary_string(19726356,disp_string,slen);
  • ACKNOWLEDGE(disp_string);
  • device_variable_trim_code = 5;
  • deviceVariables[5].TRIM_POINT_SUPPORT = 1;
  • ACKNOWLEDGE(literal_string(979));
  • _get_dev_var_value(literal_string(980),0,resolve_record_ref(resolve_array_ref(269,5),191));
  • deviceVariables[5].TRIM_POINT_UNITS = deviceVariables[5].DIGITAL_UNITS;
  • send(82,status);


请登录以获得完整内容