Loading…

Method Name: sensor_reset_method

Method ID: 0x40DE

Method Label: Hardware Reset

Method Help: Der Hardware Reset startet die CPU ohne Datenverlust neu


  • {
  • char status[3];
  • int i_result;
  • int i_choice;
  • SET_NUMBER_OF_RETRIES(7);
  • _set_no_device(2);
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _add_abort_method(16737);
  • ACKNOWLEDGE(literal_string(613));
  • DELAY(4,literal_string(614));
  • DELAY(2,literal_string(615));
  • send(42,status);
  • if (status[0] != 0)
  • {
  • if (status[0] == 3 || status[0] == 4 || status[0] == 2 || status[0] == 65 || status[0] == 113 || status[0] == 114)
  • {


Please login for more