Commissioning
5.6
Controlling theUPS from the PLC
It is possible to control the UPS module from the PLC. There are two TwinCAT blocks that permit this
control. This allows the PLC program to deal with a power failure. It is, however, first necessary to make
some settings in the TwinCAT System Manager, so that the UPS can be properly included. The UPS module
is integrated in the TwinCAT System Manager, as described under
however, for a few important settings to be made so that the PLC can obtain control. The controller must be
switched off in the System Manager. It is also necessary for the hardware inputs and outputs of the UPS to
be linked to the corresponding variables in the PLC program. The inputs and outputs must be declared in the
program as GLOBAL variables. (Further details are given below.) First the settings of the System Manager
are described.
NecessarySystem Manager settings:
-Everything must be set to OFF! In other words, on the CX1190 UPS tab,
neither
"Enable Automatic
Shutdown"
nor
"No Abort" may be activated.
-In addition, both inputs (24V State and Charge State) and both outputs (Control and DIP Control) of the
System Manager must be linked in the PLC to the UPS block in the corresponding variables.
The illustration shows the UPS being incorporated in the System Manager. The inputs and outputs of the
UPS will be found both in the process image and in the hardware image in the hierarchy browser.
The signals are associated by a double-click. This association is required in order for the function block in
the PLC program to operate properly. The PLC process image will, however, not be available until after the
program has been compiled. This means that it must be linked into a PLC program
before
being linked with
the UPS control block.
CX1100-09xx
31
Version: 1.4
Summary of Contents for CX1100-09 Series
Page 1: ...Hardware Documentation CX1100 09xx UPS for Embedded PCs CX10x0 1 4 2015 07 02 Version Date...
Page 2: ......
Page 15: ...Fitting and wiring CX1100 0910 UPS Module CX1100 0920 UPS Module CX1100 09xx 15 Version 1 4...
Page 24: ...Commissioning The retention times are CX1100 09xx 24 Version 1 4...