3 data types, 1 type e_s_ups_mode, 2 type e_s_ups_state – BECKHOFF CX9020 User Manual

Page 37

Advertising
background image

Commissioning

4.2.3

Data Types

4.2.3.1

TYPE E_S_UPS_Mode

eSUPS_WrPersistData_Shutdown: write persistent data and then QuickShutdown

eSUPS_WrPersistData_NoShutdown: write persistent data only (no QuickShutdown)

eSUPS_ImmediateShutdown: QuickShutdown only (no writing of persistent data)

eSUPS_CheckPowerStatus: determine status only (neither write persistent data nor QuickShutdown)

Prerequisites

Development environment

Target plat­
form

Hardware

PLC libraries to include

TwinCAT v2.11R3 Build 2047 or higher

PC (i386)

Seconds UPS

TcSUPS_CX9020_U900.
Lib

4.2.3.2

TYPE E_S_UPS_State

eSUPS_PowerOK:     
    in all modes: supply voltage is OK

eSUPS_PowerFailure: 
    in all modes: Supply voltage faulty (applied for one cycle only)

eSUPS_WritePersistentData: 
    in eSUPS_WrPersistData_Shutdown mode: writing of the persistent data is active
in eSUPS_WrPersistData_NoShutdown mode: writing of the persistent data is active

eSUPS_QuickShutdown: 
    in eSUPS_WrPersistData_Shutdown mode: QuickShutdown is active
in eSUPS_ImmediateShutdown mode: QuickShutdown is active

eSUPS_WaitForRecover: 
    in eSUPS_WrPersistData_NoShutdown mode: wait for return of the voltage
in eSUPS_CheckPowerStatus mode: wait for return of the voltage

eSUPS_WaitForPowerOFF: 
    in eSUPS_WrPersistData_Shutdown mode: wait for shutdown by the UPS
in eSUPS_ImmediateShutdown mode: wait for shutdown by the UPS

Prerequisites

Development environment

Target plat­
form

Hardware

PLC libraries to include

TwinCAT v2.11R3 Build 2047 or higher

PC (i386)

Seconds UPS

TcSUPS_CX9020_U900.
Lib

CX9020

37

Version 1.1

Advertising