Loading…

方法名称: ResettoDefaults_methodTC

方法ID: 0x40AE

方法标签: Reset to Defaults

方法描述: Warning! The device will power cycle; reset most of configurable parameters to factory default values. The parameters that are not reset are - HART device address, serial number, hardware and software version numbers.


  • {
  • char string1[60];
  • char status[3];
  • int len1;
  • int selection;
  • len1 = 60;
  • _get_dictionary_string(19726337,string1,len1);
  • ACKNOWLEDGE(literal_string(875));
  • ACKNOWLEDGE(string1);
  • _add_abort_method(4118);
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • ACKNOWLEDGE(literal_string(876));
  • send(135,status);
  • if (status[0])
  • {
  • display_response_status(135,status[0]);
  • DELAY(4,literal_string(833));
  • process_abort();
  • }


请登录以获得完整内容