Loading…

Method Name: calibrate_torque_method

Method ID: 0x40AE

Method Label: Calibrate

Method Help: Calibrate Torque: This procedure calibrates the control drive's Torque sensor. Two methods are available; one that requires temporarily removing torque from the control drive output shaft and entering a torque sensor gauge factor, and another that requires creating and entering a known output shaft torque.


  • {
  • char status[3];
  • char display_string[60];
  • int torque_sensor_installed_local;
  • int torque_sensor_enabled_local;
  • int torque_cal_source_local;
  • int string_length;
  • int calibration_technique_selection;
  • int original_drive_operating_mode;
  • int value_no_good;
  • float torque_gauge_factor;
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _add_abort_method(16566);
  • send_command(138);
  • torque_sensor_installed_local = _ivar_value(16389);
  • torque_sensor_enabled_local = _ivar_value(16388);
  • if (torque_sensor_installed_local != 0 && torque_sensor_enabled_local == 1)
  • {
  • _iassign(4054,3);
  • send_command(140);
  • torque_cal_source_local = _ivar_value(16528);
  • if (torque_cal_source_local == 0x01)
  • {
  • send_command(134);
  • original_drive_operating_mode = _ivar_value(16421);
  • string_length = 60;
  • _get_dictionary_string(19726337,display_string,string_length);
  • ACKNOWLEDGE(display_string);
  • _iassign(16421,1);
  • send(143,status);
  • if (status[0])


Please login for more