Fb_S_Ups_Cx81Xx; Fig. 11: Loading A Backup Of The Persistent Data. Settings In Twincat 3 - Beckhoff CX8190 Manual

Embedded pc with ethernet
Table of Contents

Advertisement

Programming
Fig. 11: Loading a backup of the persistent data. Settings in TwinCAT 3.
The backup files will be deleted if the option Clear Invalid Persistent Data is activated. Corresponds to
registry entry 1.
7.1.1

FB_S_UPS_CX81xx

Loss of data
If other applications or the PLC keep further files open or write to them, file errors may occur if the 1-second
UPS switches off the controller.
In the case of the CX81xx the function block FB_S_UPS_CX81xx k is used to control the 1-second UPS
from the PLC. If possible, use the default values of the FB_S_UPS_CX81xx and call the function block
cyclically in the PLC.
The 1-second UPS can be used only for a few seconds in the event of a power failure in order, to save
persistent data. The data must be saved in the fast "persistent mode" "SPDM_2PASS", even though this can
lead to real-time violations. Make sure you configure adequate router memory for saving the persistent data.
Regardless of the mode and therefore irrespective of whether data were saved or a quick shutdown was
performed, the UPS switches off the mainboard after the capacitors have been discharged, even if the
voltage has returned in the meantime.
Function block modes
A QuickShutdown is performed automatically in the eSUPS_WrPersistData_Shutdown mode (standard
setting) after the storage of the persistent data.
In the eSUPS_WrPersistData_NoShutdown mode only the persistent data are saved, no QuickShutdown is
performed.
In eSUPS_ImmediateShutdown mode a quick shutdown is executed immediately, without saving data.
48
NOTE
Version: 1.5
CX8190

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents