2 overview, 1 function_block fb_s_ups_cx51x0 – BECKHOFF CX51x0 User Manual
Page 21
Seconds UPS
3.2
Overview
The library TcSUPS_CX51x0.lib includes functions and function blocks required for controlling the one
second UPS. See project example .
Function blocks
Name
Description
FB_S_UPS_CX51x0
Block for controlling the onesecond UPS
FB_NT_QuickShutdown
Internal block for QuickShutdown, used by the
FB_S_UPS.
Functions
Name
Description
F_GetVersionTcSUPS_CX51x0
This function can be used to read PLC library version
information.
Component
Version
TwinCAT on the development PC and on the control
system
TwinCAT 2.11R3 Build 2047 or higher
TwinCAT 3.1 Build 4018 or higher
3.2.1
FUNCTION_BLOCK FB_S_UPS_CX51x0
The function block FB_S_UPS_CX51x0 can be used on CX devices with onesecond UPS to control the
onesecond 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_CX51x0 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, to save persistent data. The data must be saved in the fast “persistent mode”
“SPDM_2PASS”, even though this can lead to realtime 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. Only the CFast card can be
used for data storage, in view of the fact that the UPS capacity is inadequate for operating a hard disk.
A QuickShutdown is performed automatically in the eSUPS_WrPersistData_Shutdown mode (standard
setting) after the storage of the persistent data.
In eSUPS_WrPersistData_NoShutdown mode only the persistent data are stored. No QuickShutdown is
executed.
In the eSUPS_ImmediateShutdown mode a QuickShutdown is executed immediately without saving data.
CX51x0
21
Version 1.0