2 1 seconds ups, 1 overview, 1 function_block fb_s_ups_cx9020_u900 – BECKHOFF CX9020 User Manual

Page 32

Advertising
background image

Commissioning

4.2

1 Seconds UPS

4.2.1

Overview

The library TcSUPS_CX9020_U900.lib includes functions and function blocks required for controlling the
one­second UPS.

Function blocks

Name

Description

FB_S_UPS_CX9020_U900

Block for controlling the one­second UPS

FB_NT_QuickShutdown

Internal block for QuickShutdown, used by the
FB_S_UPS.

Functions

Name

Description

F_GetVersionTcSUPS_CX9020_U900

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

4.2.1.1

FUNCTION_BLOCK FB_S_UPS_CX9020_U900

The function block FB_S_UPS_CX9020_U900 can be used on CX devices with one­second UPS to control
the one­second 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_CX9020_U900 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 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. 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.

CX9020

32

Version 1.1

Advertising