Loading…

方法名称: setup_assistant_method

方法ID: 0x4098

方法标签: Setup Assistant

方法描述: Setup Assistant: This procedure assists the user in setup and calibration of an existing control drive with an ESR-D.


  • {
  • char status[3];
  • char display_string[60];
  • int string_length;
  • int drive_model_local;
  • int observed_handswitch_label;
  • int observed_drive_direction;
  • int pot_power_installed_local;
  • int selected_position_device;
  • int selected_drive_direction;
  • int torque_sensor_installed_local;
  • int torque_sensor_enabled_local;
  • int smart_feedback_installed_local;
  • int selected_smart_feedback_enabled;
  • int los_mode_local;
  • int dummy;
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • string_length = 60;
  • _get_dictionary_string(19726337,display_string,string_length);
  • ACKNOWLEDGE(display_string);
  • dummy = 0;
  • do {
  • dummy = dummy + 1;
  • }
  • while (dummy < 1);
  • ACKNOWLEDGE(literal_string(417));
  • ACKNOWLEDGE(literal_string(418));
  • ACKNOWLEDGE(literal_string(419));
  • ACKNOWLEDGE(literal_string(420));
  • ACKNOWLEDGE(literal_string(421));
  • ACKNOWLEDGE(literal_string(422));
  • send_command(139);
  • send_command(138);
  • _iassign(4054,0);
  • send_command(54);
  • _iassign(4054,1);
  • send_command(54);
  • _iassign(4054,3);
  • send_command(54);
  • ACKNOWLEDGE(literal_string(423));
  • _add_abort_method(16566);
  • _get_dev_var_value(literal_string(424),0,16393);
  • _get_dev_var_value(literal_string(425),0,16394);
  • _get_dev_var_value(literal_string(426),0,163);
  • send(128,status);
  • if (status[0])
  • {
  • display_response_status(128,status[0]);
  • }
  • _get_dev_var_value(literal_string(427),0,165);
  • _get_dev_var_value(literal_string(428),0,164);
  • send(17,status);
  • if (status[0])


请登录以获得完整内容