Loading…

Method Name: flow_self_test

Method ID: 0x1F70

Method Label: Самотестирование

Method Help:


  • {
  • int number_of_tries;
  • char status[3];
  • char xmtr_status[25];
  • long var_id[1];
  • _set_device_status(0xFF,0);
  • number_of_tries = 0;
  • ACKNOWLEDGE(literal_string(227));
  • send_command(41);
  • DELAY(35,literal_string(228));
  • do {
  • get_more_status(status,xmtr_status);
  • }
  • while (status[0] == 8 && number_of_tries++ < 60);
  • if (status[0] == 8)
  • {
  • DELAY(3,literal_string(229));
  • }
  • else
  • if (xmtr_status[4])


Please login for more