Loading…

方法名称: restore_factory_configure

方法ID: 0x4E68

方法标签: 恢复工厂组态

方法描述:


  • {
  • char status[3];
  • int choice;
  • char disp_string[100];
  • int slen;
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _iassign(17338,1);
  • _iassign(17339,237);
  • send(162,status);
  • if (varMODBUS_Data_Type_Code == 1 && varCoil_Value == 0x01)
  • {
  • ACKNOWLEDGE(literal_string(1078));
  • process_abort();
  • }
  • slen = 100;
  • choice = SELECT_FROM_LIST(literal_string(1413),literal_string(1148));
  • switch (choice)


请登录以获得完整内容