Loading…

Method Name: ejx_method_error_log_view

Method ID: 0x413C

Method Label: Error log view

Method Help: Error log view- Displays the error records from log1(latest) to log4.


  • {
  • int choice;
  • char xmtr_status[25];
  • char status[3];
  • {
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • }
  • ;
  • while (1)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1201),literal_string(1202));
  • if (choice >= 4)
  • {
  • break;
  • }
  • _iassign(16579,choice);
  • send(190,status);
  • if (status[0])
  • {
  • display_response_status(190,status[0]);
  • abort();
  • }
  • xmtr_status[0] = _ivar_value(16580);
  • xmtr_status[1] = _ivar_value(16581);
  • xmtr_status[2] = _ivar_value(16582);
  • xmtr_status[3] = _ivar_value(16583);
  • xmtr_status[4] = _ivar_value(16584);
  • xmtr_status[5] = _ivar_value(16585);
  • xmtr_status[14] = _ivar_value(16586);
  • if (xmtr_status[3] & 0x04)
  • {
  • ACKNOWLEDGE(literal_string(1203));
  • }
  • if (xmtr_status[4] & 0x02)
  • {
  • ACKNOWLEDGE(literal_string(1204));
  • }
  • if (xmtr_status[0] || xmtr_status[1] || xmtr_status[2] || xmtr_status[3] || xmtr_status[4] || xmtr_status[5] || xmtr_status[14])
  • {
  • {
  • {
  • {
  • {
  • if (xmtr_status[0] & 0x80)
  • _display_xmtr_status(4139,0x80);
  • }
  • ;


Please login for more