Switching Off The Ups When The Power Fails By A User Program - Siemens SITOP UPS1600 Getting Started

Hide thumbs Also See for SITOP UPS1600:
Table of Contents

Advertisement

6.2

Switching off the UPS when the power fails by a user program

To switch off the UPS when the power fails, Siemens provides the FB160 function block in
the Internet under address (http://support.automation.siemens.com/WW/view/en/78817848).
Content of the code block package
Code block
FB160
DB160
DB161
FB160 function description
The FB160 function block cyclically monitors the operating mode of the UPS1600. The
following actions are executed if the UPS goes into the buffer mode:
● Initially, within the FB160 function block, a timer is started with a time duration of 10
● If the UPS1600 is still in the buffer mode after the timer has expired, FB160 parameter
● As soon as the safe state of the system has been established, parameter
Notes regarding the function
● If the UPS1600 switches back into normal operation while the timer is running, parameter
● After parameter "UPS_execute_reset" has been set, the rest of the program sequence
Preconditions
The following preconditions must be fulfilled in order to be able to use function block FB160:
● The library with the function block has been downloaded to the PC.
● The Hardware Support Package (HSP) for the UPS1600 has been installed in STEP 7
● The UPS1600 has been setup for buffer operation (see Chapter Buffering an S7 IO
SITOP UPS1600 under STEP 7 V13
Getting Started, 06/2014
Name
UPS1600
UPS160_iDB
UPS1600_Infos
seconds. This prevents that a system is brought into the safe state, even for a short
voltage dip / power failure.
"UPS_ready_for_reset" parameter is set from "FALSE" to "TRUE".
In the rest of the program execution, this parameter must be used to set all system
sections into a safe state (maintenance setting).
"UPS_execute_reset" must be set from "FALSE" to "TRUE" using a signal from the
program execution.
Function block FB160 then sends a command to the UPS1600, which in turn shuts itself
off.
"UPS_ready_for_reset" is not set. The timer is reset again.
must be executed by function block FB160 until the UPS1600 is shut down.
V13.
controller, including the I/O when the power fails (Page 25)).
6.2 Switching off the UPS when the power fails by a user program
Description
Function block for program-controlled shutdown of the
UPS1600
Instance data block of the FB160
The data block contains all parameters of the UPS1600, which
are displayed within the HMI screen block.
Parameterizing the SITOP UPS1600
29

Advertisement

Table of Contents
loading

Table of Contents