Loading…

方法名称: mthResetToFactoryDefault

方法ID: 0x41C8

方法标签: Reset to Fact. Def.?

方法描述: (Fct. C7.6.1)


  • {
  • char status[3];
  • int _stepCount;
  • int _abort;
  • int _sendImmediateReset;
  • int _waitTime;
  • int iResult;
  • _abort = 0;
  • _stepCount = 0;
  • _sendImmediateReset = 0;
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _add_abort_method(16841);
  • send(230,status);
  • if (eFunctionStep != 251)
  • {
  • iResult = SELECT_FROM_LIST(literal_string(1531),literal_string(1521));
  • if (iResult == 1)
  • {
  • MthRunDeviceFunctionReset();
  • send(231,status);
  • if (status[0])
  • {
  • display_response_status(231,status[0]);
  • return;


请登录以获得完整内容