Loading…

方法名称: list_errs_warns

方法ID: 0x41F3

方法标签: View Errors/Warns

方法描述:


  • {
  • 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)
  • {


请登录以获得完整内容