Loading…

方法名称: ViewHistory_method

方法ID: 0x40DA

方法标签: 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.


  • {
  • char status[3];
  • long var_id[7];
  • char run_units;
  • char occur_units;
  • char dur_units;
  • int stat_event;
  • int key_selected;
  • _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);
  • var_id[0] = 16457;
  • var_id[1] = 16458;
  • var_id[2] = 16461;
  • var_id[3] = 16459;
  • var_id[4] = 16462;
  • var_id[5] = 16460;
  • var_id[6] = 16463;
  • send_command(218);
  • run_units = _ivar_value(16461);
  • if (run_units == 51)


请登录以获得完整内容