Loading…

Method Name: list_errs_warns

Method ID: 0x41F3

Method Label: View Errors/Warns

Method Help:


  • {
  • int choice;
  • long ids[1];
  • char cmd_status[3];
  • int byte_nmb;
  • int bit_nmb;
  • int mask;
  • char status_byte[8];
  • send(48,cmd_status);
  • status_byte[0] = _ivar_value(4021);
  • status_byte[1] = _ivar_value(4022);
  • status_byte[2] = _ivar_value(4023);
  • status_byte[3] = _ivar_value(4024);
  • status_byte[4] = _ivar_value(4025);
  • status_byte[5] = _ivar_value(4026);
  • status_byte[6] = _ivar_value(4027) & 0xee;
  • status_byte[7] = _ivar_value(4028) & 0xef;
  • choice = 0;
  • for (byte_nmb = 0; byte_nmb < 8; byte_nmb++)
  • if (status_byte[byte_nmb] != 0)
  • choice++;
  • if (choice == 0)
  • {


Please login for more