Loading…

Method Name: method_read_eventlogbook_light

Method ID: 0x4C17

Method Label: Ler eventos

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(16862,0);
  • _iassign(18340,0);
  • save_values();
  • nState = 0;
  • save_values();
  • _iassign(17653,0);
  • varid[0] = 17653;
  • 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(17558);
  • nMaxBCT = _ivar_value(17559);
  • if (nMaxBCT == 0 || nMaxBCT == 107 && nBCT == 0)
  • {
  • _add_abort_method(17587);
  • 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;


Please login for more