The project uses the Siemens MP377 touch screen, adds a USB flash drive to save historical data, and displays historical trends on the screen. However, before the data is completely recorded by pressing a button to exit the system, if there is a sudden power failure, the data will have problems.
However, some customers have reported that other devices can implement this function. Is the MP377 function function to save data periodically?
A: The question you said is correct. It is like editing Excel on a computer. When the computer is suddenly powered off while editing, the edited Excel is likely to lose a number. For this:
1. Make a button to exit the running system, which can ensure the integrity of the data, but it is useless in case of sudden power failure;
2. In the MP377 control panel -- OP -- there is a check box called "Automaticallyrepairfilesystemerrorsonstoragecardsatsystemstartupandcardinsertiontime", it will be better to choose this;
3. I have seen projects done by foreigners, using a power-off delay device, that is, when the main power supply is pulled, plc will send a signal to the screen, and the screen will execute the STOPRUNTIME function immediately after receiving this signal, after a few seconds. After the entire system is powered off, this guarantees a human power outage;
4. There is a system function called ArchiveLogFile in WinCCflexible, which can back up the archive file, but need to first StopLogging, and CloseAllLogs. The specific usage suggests that you compare the function in the "record" with the help, and stop the recording. Closing records and backup records will have system events, you can call the function when the system event is triggered;
5. The most reliable method is to add UPS (Uninterruptible Power System), that is, uninterruptible power supply;
2500 Puffs Vpae,Mini Disposable E-Cigarette,Rechargeable Disposable Vape,Thick Oil Atomizer Vaporizer Pen
Guangzhou Yunge Tianhong Electronic Technology Co., Ltd , https://www.e-cigaretteyfactory.com