Loading…

Method Name: method_read_eventlogbook

Method ID: 0x4565

Method Label: Read events

Method Help:


  • {
  • int nState;
  • int count_retries;
  • int nTransaction;
  • int nMasterLength;
  • int nMaxLoops;
  • long nFilter;
  • long nMaxBCT;
  • long nBCT;
  • long i;
  • long j;
  • long nCurrent;
  • long jMaxLoops;
  • unsigned int byte0;
  • unsigned int byte1;
  • unsigned int byte2;
  • unsigned int byte3;
  • unsigned int byte4;
  • unsigned int dwData;
  • long varid[2];
  • int tabnState[2];
  • unsigned int compareDW[29];
  • unsigned int compareVal;
  • _iassign(16940,0);
  • _iassign(18200,0);
  • save_values();
  • nState = 0;
  • _iassign(17452,0);
  • varid[0] = 17452;
  • save_values();
  • _set_comm_status(0x7F,1);
  • _set_no_device(1);
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • i = 0;
  • send_command_trans(143,10);
  • nBCT = _ivar_value(17360);
  • nMaxBCT = _ivar_value(17361);
  • if (nMaxBCT == 0 || nMaxBCT == 107 && nBCT == 0)
  • {
  • _add_abort_method(17388);
  • compareDW[0] = 0x3a7d6d3d;
  • compareDW[1] = 0x513e2d2d;
  • compareDW[2] = 0x717a2f6a;
  • compareDW[3] = 0x43755f46;
  • compareDW[4] = 0x41247658;
  • compareDW[5] = 0x6b3d3734;
  • compareDW[6] = 0x76737076;
  • compareDW[7] = 0x6137416f;
  • compareDW[8] = 0x435b515d;
  • compareDW[9] = 0x2b50534a;
  • compareDW[10] = 0x26766a33;
  • compareDW[11] = 0x626f235e;
  • compareDW[12] = 0x61aa7347;
  • compareDW[13] = 0x6e735477;
  • compareDW[14] = 0x264c4c34;
  • compareDW[15] = 0x3462787d;
  • compareDW[16] = 0x3a7d6d3d;
  • compareDW[17] = 0x513e2d2d;
  • compareDW[18] = 0x717a2f6a;
  • compareDW[19] = 0x43755f46;
  • compareDW[20] = 0x41247658;
  • compareDW[21] = 0x6b3d3734;
  • compareDW[22] = 0x76737076;
  • compareDW[23] = 0x6137416f;
  • compareDW[24] = 0x435b515d;
  • compareDW[25] = 0x2b50534a;
  • compareDW[26] = 0x26766a33;


Please login for more