Loading…

Method Name: METHOD_self_test

Method ID: 0x4030

Method Label: Self test

Method Help: Autoverificación: Ordena a electrónica que realice una autoverificación.


  • {
  • char status[3];
  • char xmtr_status[25];
  • char disp_string1[60];
  • int number_of_tries;
  • _get_dictionary_string(19726337,disp_string1,60);
  • ACKNOWLEDGE(disp_string1);
  • _add_abort_method(4118);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • send_command(41);
  • DELAY(6,literal_string(403));
  • number_of_tries = 0;
  • get_more_status(status,xmtr_status);
  • while (status[0] == 32 && number_of_tries++ < 4)


Please login for more