Commissioning
missing configuration for the signals are displayed. The signals are inserted into the
"Variablen_Konfiguration" file through the "Insert -> All instances" menu item. It is possible to enter the
addresses for the signals here. (E.g. MAIN.UPS.Li24VState AT %IB0 : BYTE for memory address 0).
VAR
MAIN.UPS.Ii24VState AT %IB0 : BYTE;
MAIN.UPS.IiChargeState AT %IB1 : BYTE;
MAIN.UPS.QiControl AT %QB0 : BYTE;
MAIN.UPS.QiDipControl AT %QB1 : BYTE;
END_VAR
The block supplies a few status signals for evaluating the program environment. These can then be used for
control, e.g. saving the process data in NOVRAM, or for setting defined states or positions for axes. In detail,
the block supplies the following signals:
• bPowerFailure : BOOL;
• bShutdownActive : BOOL;
• bUpsReady : BOOL;
• b24VInOK : BOOL;
• bHolding : BOOL;
• tTimeUntilShutdown : TIME;
• eUpsState : E_UPS_STATE
"bPowerFailure" returns "TRUE" when a failure in the power supply voltage is detected . The signal goes
back to "FALSE" when the input voltage returns.
"bShutdownActive" indicates that a stop or shutdown is being executed.
"bUpsReady" indicates that the UPS is providing the output voltage.
"b24VInOK" reports that the UPS is being supplied with 24 V input voltage.
"bHolding" returns "TRUE" when a failure in the supply voltage has been detected, and the retention time
has not yet elapsed.
"tTimeUntilShutdown" indicates the retention time remaining until shutdown.
"eUpsState" displays the status of the UPS [UNDEF | CHARGING | CHARGED | DISCHARGE |
DISCHARGE_RESTART | OUTPUT_OFF | OVERLOAD
Note
The function block bridges short supply voltage drop-outs without generating a shutdown,
while longer supply failures cause TwinCAT to be stopped and the operating system to be
shut down.The CX10x0 is switched off by the UPS when it has reached it is discharge limit,
even if the current returns during the shutdown.The CX10x0 is switched on again by the
UPS once the UPS is fully charged.
If it is necessary for the UPS to behave in a different way, e.g. with a longer retention time, resetting the bus,
or definitely restarting the PLC even when the power failure was short, then the FB_CX1000UPSHANDLING
function block from TC CX1000System.lib can be used as an alternative. This library must, however, be
integrated through the library administrator. If this has been done, the block is available as a function block. It
is instanced as such in the declarations part of the program.
PROGRAM MAIN_UPS
VAR
UPS : FB_CX1000UPSHANDLING;
END_VAR
It is then called from the program with its parameters. There are seven parameters for this function block:
• bAutoReset : BOOL;
• bDIPDisable : BOOL;
CX1100-09xx
33
Version: 1.4
Содержание CX1100-09 Series
Страница 1: ...Hardware Documentation CX1100 09xx UPS for Embedded PCs CX10x0 1 4 2015 07 02 Version Date...
Страница 2: ......
Страница 15: ...Fitting and wiring CX1100 0910 UPS Module CX1100 0920 UPS Module CX1100 09xx 15 Version 1 4...
Страница 24: ...Commissioning The retention times are CX1100 09xx 24 Version 1 4...