Loading…

Method Name: reset_hart_counters_method

Method ID: 0x4550

Method Label: Reset HART Error Counters

Method Help:


  • {
  • char status[3];
  • int reset_ctrs_req;
  • long ids[4];
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • reset_ctrs_req = SELECT_FROM_LIST(literal_string(1670),literal_string(1625));
  • if (reset_ctrs_req == 0)
  • {
  • ACKNOWLEDGE(literal_string(1626));
  • process_abort();
  • }
  • DELAY(2,literal_string(1671));
  • _iassign(18113,11);
  • send(204,status);
  • if (status[0])
  • {
  • if (status[0] == 5)
  • {


Please login for more