Loading…

Method Name: master_test

Method ID: 0x402C

Method Label: Transmitter reset

Method Help: Transmitter reset - The transmitter is restarted. Non-permanent stored data are lost. Self-test is subsequently conducted.


  • {
  • char status[3];
  • char xmtr_status[25];
  • int anzahl_der_versuche;
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • ACKNOWLEDGE(literal_string(226));
  • ACKNOWLEDGE(literal_string(227));
  • _add_abort_method(4118);
  • send(42,status);
  • if (status[0])
  • {
  • display_response_status(42,status[0]);
  • ACKNOWLEDGE(literal_string(228));
  • process_abort();
  • }
  • DELAY(3,literal_string(229));
  • anzahl_der_versuche = 0;
  • do {
  • get_more_status(status,xmtr_status);
  • }
  • while (status[0] == 32 && anzahl_der_versuche++ < 2);
  • if (status[0] == 32)
  • {
  • ACKNOWLEDGE(literal_string(230));
  • process_abort();
  • }


Please login for more