Loading…

Method Name: nd_position_sensor_calib_method

Method ID: 0x405B

Method Label: Position sensor

Method Help: Position sensor module calibration, temperature compensation and identification


  • {
  • char status[3];
  • char disp_string1[60];
  • int tmp;
  • long ids[1];
  • float angle;
  • long temp;
  • int choose;
  • SET_NUMBER_OF_RETRIES(10);
  • _set_all_resp_code(0);
  • _get_dictionary_string(19726337,disp_string1,60);
  • ACKNOWLEDGE(disp_string1);
  • _add_abort_method(4118);
  • _add_abort_method(16472);
  • _iassign(16420,0);
  • send(202,status);
  • if (status[0] != 0 && status[0] != 64)
  • {
  • display_response_status(202,status[0]);
  • _get_dictionary_string(19726342,disp_string1,60);
  • DELAY(2,disp_string1);
  • process_abort();
  • }
  • _get_dev_var_value(literal_string(267),0,16414);
  • send(200,status);
  • if (status[0] != 0 && status[0] != 64)


Please login for more