Loading…
Loading…
Method Name: board_reset_method
Method ID: 0x40B5
Method Label: Board reset
Method Help: Board Reset: This function instructs the ESR-D to perform a power-on reset. This has the same affect as removing and restoring power to the control drive. A Board reset does not change drive configuration or calibration, but does clear the state of special conditions such as fixed Feedback or Stall.
- {
- char status[3];
- char xmtr_status[25];
- char display_string[60];
- int string_length;
- int number_of_tries;
- long status_mask;
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_all_resp_code(0);
- string_length = 60;
- _get_dictionary_string(19726337,display_string,string_length);
- ACKNOWLEDGE(display_string);
- _add_abort_method(16567);
- _set_no_device(2);
- SET_NUMBER_OF_RETRIES(10);
- DELAY(2,literal_string(313));
- send_command(42);
- DELAY(2,literal_string(313));
- number_of_tries = 0;
- do {
Please login for more