Loading…

方法名称: reset_hart_counters_method

方法ID: 0x4550

方法标签: Reset HART Error Counters

方法描述:


  • {
  • 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)
  • {


请登录以获得完整内容