1-second UPS (persistent data)
CX9020
51
Version: 2.0
eUpsMode
: The eUpsMode defines whether persistent data are to be written and whether a quick shutdown
is to be performed. Standard value is eSUPS_WrPersistData_Shutdown, i.e. with writing of the persistent
data and then quick shutdown. (Type:
ePersistentMode
: Mode for the writing of the persistent data. Standard value is SPDM_2PASS.
tRecoverTime
: Time after which the UPS reverts to the PowerOK status in the case of UPS modes without
shutdown. The tRecoverTime must be somewhat longer than the maximum holding time of the UPS, since
the UPS switches off even when the voltage returns
VAR_OUTPUT
VAR_OUTPUT
bPowerFailDetect : BOOL; (* TRUE while powerfailure is detected *)
eState : E_S_UPS_State; (* current ups state *)
END_VAR
bPowerFailDetect
: TRUE during power failure. FALSE if the supply voltage is present.
eState
: Internal state of the function block (type:
)
VAR_GLOBAL
VAR_GLOBAL
eGlobalSUpsState : E_S_UPS_State; (*current ups state*)
END_VAR
eGlobalSUpsState
: Internal state of the function block as global copy of VAR_OUTPUT
eState
: For values see
Development environ-
ment
Target platform
Hardware
PLC libraries to include
TwinCAT v2.11 R3 B2246
TwinCAT v3.1 B4016
CX9020-U900
1-Second UPS
For TwinCAT 2:
TcSUPS_CX9020_U900.lib
For TwinCAT 3: Tc2_SUPS
Summary of Contents for CX9020
Page 1: ...Manual CX9020 Embedded PC 2 0 2019 04 09 Version Date ...
Page 2: ......