Loading…

方法名称: self_test

方法ID: 0x402B

方法标签: 自测试

方法描述: Self-test - Transmitter self-test in progress. The analog output is frozen. Recognised failures are displayed.


  • {
  • 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(221));
  • send_command(41);
  • if (status[0])
  • {
  • display_response_status(41,status[0]);
  • ACKNOWLEDGE(literal_string(222));
  • process_abort();
  • }
  • DELAY(3,literal_string(223));
  • anzahl_der_versuche = 0;
  • do {
  • get_more_status(status,xmtr_status);
  • }
  • while (status[0] == 32 && anzahl_der_versuche++ < 2);
  • if (status[0] == 32)


请登录以获得完整内容