Programming
CX8095
58
Version: 1.5
7
Programming
7.1
Library for CX80xx
Download
: https://infosys.beckhoff.com/content/1033/cx8095_hw/Resources/zip/1608565003.zip
7.2
Seconds UPS
7.2.1
Function blocks
FUNCTION_BLOCK FB_S_UPS_CX80xx
The FB_S_UPS function block can be used on the CX80xx with the seconds UPS in order to activate the
seconds UPS from the PLC. This allows the persistent data to be saved and a quick shutdown to be
performed in the event of a power failure. If possible the default values of the INPUTs of the FB_S_UPS
should be retained.
Attention
Loss of data
The seconds UPS can be used only for a few seconds in the event of a power failure in or-
der, for example, 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. Sufficient router
memory must be configured for the storage of the persistent data!
The second UPS does not have sufficient capacity for bridging power failures. Saving can take place only on
Micro SD cards.
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 the eSUPS_ImmediateShutdown mode a QuickShutdown is executed immediately without saving data.
In the eSUPS_CheckPowerStatus mode only a check is performed as to whether a power failure has
occurred. If this is the case, the module only switches back to the PowerOK state after the expiry of
tRecoverTime (10s).
Independent of the mode and thus independent of the saving or the shutting down of the controller, the UPS
switches the main board off after the capacitors have discharged, even if the voltage has returned in the
meantime.
Attention
Caution when using files:
If other applications or the PLC keep other files open or write to them, this can lead to faulty
files if the UPS switches off the controller.