Loading…
Loading…
Method Name: board_self_test_method
Method ID: 0x40B4
Method Label: Board self-test
Method Help: Board Self-Test: This function instructs the ESR-D to run self diagnostic tests and report any problem found.
- {
- char status[3];
- char xmtr_status[25];
- char display_string[60];
- int string_length;
- int number_of_tries;
- int smart_feedback_installed_local;
- int io_select_local;
- int position_sensor_direction_local;
- int drive_direction_local;
- long status_mask;
- float after_cw_ret_position_value;
- float after_ccw_ext_position_value;
- _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);
- ACKNOWLEDGE(literal_string(405));
- PUT_MESSAGE(literal_string(406));
- send(41,status);
- if (status[0])
- {
- display_response_status(41,status[0]);
- }
- _set_no_device(2);
- number_of_tries = 0;
- do {
- get_more_status(status,xmtr_status);
- }
Please login for more