Loading…

Method Name: master_reset_method

Method ID: 0x4047

Method Label: Сброс

Method Help: Perform a device reset and display the current status


  • {
  • char status[3];
  • char xmtr_status[6];
  • char disp_string[60];
  • int any_errors;
  • int slen;
  • slen = 60;
  • _get_dictionary_string(19726337,disp_string,slen);
  • ACKNOWLEDGE(disp_string);
  • _add_abort_method(4118);
  • ACKNOWLEDGE(literal_string(265));
  • send_command(42);
  • DELAY(10,literal_string(266));
  • any_errors = 0;
  • get_more_status(status,xmtr_status);
  • if (status[0])
  • {
  • display_response_status(48,status[0]);
  • _get_dictionary_string(19726342,disp_string,slen);
  • ACKNOWLEDGE(disp_string);
  • }


Please login for more