Loading…

方法名称: Refresh_History_table

方法ID: 0x41A7

方法标签: View History

方法描述: Displays current status and run time as well as a history of most recent faults and warnings. For each event, the run time when the event occurred and the duration of the event are shown. The run time is the time since power up or a history reset. The table of history events displays the most recent event at the top with successively preceding events in descending order.


  • {
  • char status[3];
  • int i;
  • int event;
  • int number_of_events;
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(32,1);
  • number_of_events = 0;
  • send_command(240);
  • send(241,status);
  • _vassign(16812,16851);
  • _vassign(16813,16852);
  • _vassign(16853,16854);
  • _vassign(16814,16855);
  • _vassign(16856,16857);
  • event = _ivar_value(16851);
  • if (event != 42)
  • {
  • number_of_events = 1;
  • }
  • send(241,status);
  • _vassign(16816,16851);
  • _vassign(16817,16852);
  • _vassign(16858,16854);
  • _vassign(16818,16855);


请登录以获得完整内容