background image

 

Parameterizing the SITOP UPS1600 

 

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

SITOP UPS1600 under STEP 7 V12 
Getting Started,   

35

 

3.

 

At parameter block "HW_IO", enter the hardware ID of the UPS1600 within your project, 

and connect block parameter "UPS_execute_reset" and "UPS_ready_for_reset" 

(parameter description, refer to the table below). 

Example: The hardware ID of UPS1600 is "265"; for block parameters, the bit memory 

"M0.0" or "M0.1" is set. 

 

 

Parameters 

Declaration 

Data type 

Description 

UPS_execute_reset 

Input 

Bool 

Shutdown signal at the UPS1600 

UPS_ready_for_reset 

Output 

Bool 

Signal to run down the system 

4.

 

Save your project. 

Adapting the symbol table/address area 

When function block FB160 is executed, the cyclic data of address area of UPS1600 is 

accessed. In this particular case, the required address areas are transferred to the function 

block via four variables. You must adapt the addresses of these variables corresponding to 

your selected address area in the symbol table of the code block package. 
The following table shows the I/O address area of the UPS1600, which is used within the 

function block. 

 

 

Note 
You can find the setting of the I/O address area for the UPS1600 in the device configuration 

of the UPS1600 that you created. 

 
 

 

Variable in the symbol table 

UPS1600 parameters 

Information 

Address area in the 

following example 

UPS_Buffer_mode 

buffer mode 

Buffer mode/ 

normal mode 

%IB 257 

UPS_Ready_for_buffering 

ready for buffering 

Ready for buffering / 

not ready 

%IB 258 

Summary of Contents for SITOP UPS1600 under STEP 7 V12

Page 1: ...___________________ ___________________ ___________________ SITOP UPS1600 under STEP 7 V12 Getting Started Introduction 1 Safety notes 2 Description 3 Assigning the IP address 4 Installing and configuring the SITOP UPS1600 in STEP 7 V12 5 Parameterizing the SITOP UPS1600 6 ...

Page 2: ...ersonnel qualified for the specific task in accordance with the relevant documentation in particular its warning notices and safety instructions Qualified personnel are those who based on their training and experience are capable of identifying risks and avoiding potential hazards when working with these products systems Proper use of Siemens products Note the following WARNING Siemens products ma...

Page 3: ...onal documentation 6 2 Safety notes 7 3 Description 9 3 1 System overview 9 4 Assigning the IP address 11 5 Installing and configuring the SITOP UPS1600 in STEP 7 V12 17 6 Parameterizing the SITOP UPS1600 25 6 1 Buffering an S7 IO controller including the I O when the power fails 25 6 2 Switching off the UPS when the power fails by a user program 29 ...

Page 4: ......

Page 5: ...ler and connected battery modules Creating and editing projects under STEP 7 V12 in the TIA Portal Range of validity Getting Started is valid for STEP 7 V12 Version 12 0 with service pack 1 SP1 1 2 Technical support Technical support Technical support for all IA DT products can be accessed through the following communication channels Phone 49 0 911 895 7222 E Mail mailto support automation siemens...

Page 6: ...ional documentation SITOP UPS1600 under STEP 7 V12 6 Getting Started 1 3 Additional documentation Further information is available in the following documents UPS1600 and UPS1100 manuals IO controller manual STEP 7 V12 manual ...

Page 7: ...operation of this equipment is dependent on proper transportation storage installation and mounting Before installation or maintenance work can begin the system s main switch must be switched off and measures taken to prevent it being switched on again If this instruction is not observed touching live parts can result in death or serious injury The relevant DIN VDE regulations or country specific ...

Page 8: ......

Page 9: ...uter or a computer network using the uninterruptible power supply Defining the battery maintenance intervals Device integration SITOP UPS Management supports the following devices UPS1600 UPS1100 UPS1600 can be used with STEP 7 V12 as of version 12 0 with Servicepack 1 SP1 After the UPS1600 has been saved in the hardware catalog of STEP 7 V12 by installing the hardware support package it can be in...

Page 10: ......

Page 11: ...up Tool is a Siemens product that is free of charge and which is used to identify and configure network conform devices You can download the Primary Setup Tool under http support automation siemens com WW view en 19440762 Note Additional information Additional information is contained in the Primary Setup Tool manual This manual and further links can be found under http support automation siemens ...

Page 12: ...Assigning the IP address SITOP UPS1600 under STEP 7 V12 12 Getting Started Procedure 1 Called the Primary Setup Tool 2 In the Primary Setup Tool select the menu command Settings Set PG PC Interface ...

Page 13: ...OP UPS1600 under STEP 7 V12 Getting Started 13 3 In the dialog box Set PG PC Interface select the Access Path tab 4 From the interfaces listed select the Ethernet interface with which SITOP UPS1600 is connected and confirm with OK ...

Page 14: ... connected at the interface The Browse network window shows the progress of the search 6 From the search results select the SITOP UPS1600 The SITOP UPS1600 is displayed as DC UPS with its MAC address and IP address 7 Open the menu of the SITOP UPS1600 in the tree view and select Incl Ethernet interface 8 Select the Assign IP parameters checkbox ...

Page 15: ...9 Specify the IP address and subnet mask If required select the checkbox Use router and enter the IP address of the router 10 Select the SITOP UPS1600 in the tree view The configuration can only be loaded to the device if the SITOP UPS1600 has been selected at the upper level ...

Page 16: ...TEP 7 V12 16 Getting Started 11 In the Primary Setup Tool select the menu command Module Download to load the configuration to the SITOP UPS1600 You have assigned an IP address to the SITOP UPS1600 and you can now communicate with the SITOP UPS1600 ...

Page 17: ...een opened The Hardware Support Package HSP of the SITOP UPS1600 has been installed correctly A project with an S7 IO controller has been created Integrating the SITOP UPS1600 Inserting UPS1600 from the hardware catalog 1 Open the project with the S7 IO controller and change to the project view 2 Call the network view 3 In the hardware catalog navigate to the correct version of the UPS1600 4 Under...

Page 18: ...UPS1600 in STEP 7 V12 SITOP UPS1600 under STEP 7 V12 18 Getting Started 5 Drag and drop the UPS1600 into the work cell of the network view The UPS1600 is visible in the work cell 6 Save your project The UPS1600 is integrated in the project ...

Page 19: ...input symbol of the UPS1600 to the green input symbol of the S7 IO controller in which the PROFINET cable to the UPS1600 is inserted Note Ensure that you establish the connection to the PROFINET input of the IO controller A connection to the Ethernet input of the IO controller will lead to errors later on The connection is graphically shown 2 Double click on the UPS1600 to display it in the device...

Page 20: ... in STEP 7 V12 SITOP UPS1600 under STEP 7 V12 20 Getting Started 3 Click in the work cell of the device view on the UPS1600 4 In the inspector window click on the Properties and General tab 5 Click on the symbol to open the Profinet interface X3 ...

Page 21: ...under STEP 7 V12 Getting Started 21 6 Select the Ethernet address enter the required IP address and the PROFINET device name of the UPS1600 into the appropriate entry fields 7 Save your project The UPS1600 is now assigned to the S7 IO controller and integrated in the project ...

Page 22: ...log to the required UPS1100 battery module 3 Click on the UPS1100 and drag it to the free rack location next to the UPS1600 and drop it 4 To subsequently configure the module type and number of modules click on the UPS1600 and in the inspector window on the Properties and General tab 5 Click on the symbol to open the Device configuration and select Energy storage 6 Check whether the SITOP UPS 1100...

Page 23: ...e SITOP UPS1600 in STEP 7 V12 SITOP UPS1600 under STEP 7 V12 Getting Started 23 7 Select the appropriate entries in the drop down lists Module and Number of modules 8 Save your project The SITOP UPS1100 battery module is integrated ...

Page 24: ......

Page 25: ...ional tasks please refer to the UPS1600 Manual 6 1 Buffering an S7 IO controller including the I O when the power fails Preconditions STEP 7 V12 has been started and a project with an S7 IO controller and SITOP UPS1600 has been created The hardware has been completely wired up Assigning parameters Note If you click in the entry fields the value range is displayed that you can enter 1 Double click ...

Page 26: ...e symbols to open the Device configuration and select Base Unit 5 Check that the checkbox Buffering allowed is selected Select it if it is deactivated Note If the checkbox Buffering allowed is not selected independent of the following entries there is no buffering 6 For Connection threshold enter the voltage value which when it is fallen below the UPS starts to buffer ...

Page 27: ...TOP UPS1600 6 1 Buffering an S7 IO controller including the I O when the power fails SITOP UPS1600 under STEP 7 V12 Getting Started 27 7 Enter the buffer time in Buffer time 8 Enter Additional buffer time after PC shutdown ...

Page 28: ...ils SITOP UPS1600 under STEP 7 V12 28 Getting Started 9 Under Stop buffering voltage enter the battery voltage value where buffering should be stopped or accept the standard value of 18 50 Volt 10 Deactivate the checkbox Enable reset 11 Save your project 12 Load the parameters into the S7 IO controller ...

Page 29: ...e buffer mode Initially within the FB160 function block a timer is started with a time duration of 10 seconds This prevents that a system is brought into the safe state even for a short voltage dip power failure If the UPS1600 is still in the buffer mode after the timer has expired FB160 parameter UPS_ready_for_reset parameter is set from FALSE to TRUE In the rest of the program execution this par...

Page 30: ...y with the function block has been downloaded to the PC The Hardware Support Package HSP for the UPS1600 has been installed in STEP 7 V12 The UPS1600 has been setup for buffer operation see Chapter Buffering an S7 IO controller including the I O when the power fails Page 25 Installing the UPS1600 library TIA Portal V12 SP1 1 Open STEP 7 V12 and change to the project view 2 Open a global library un...

Page 31: ...P UPS1600 under STEP 7 V12 Getting Started 31 3 Under Search in select the storage location of the code block package that has been downloaded select library UPS1600 library TIA Portal V12 SP1 and open this 4 The library is loaded The library is installed and displayed under the palette Global libraries ...

Page 32: ...hich function block FB160 should be inserted and change into the project view 2 Under global libraries open the folder UPS1600 library TIA Portal V12 SP1 Copy templates UPS1600 function blocks TIA V12 and depending on the S7 IO controller being used select the appropriate function block folder IO controller S7 300 400 STEP 7 function blocks S7 300 400 IO controller S7 1200 1500 STEP 7 function blo...

Page 33: ...tion blocks TIA V12 select folder STEP 7 Tag table and drag it to the PLC variables folder in the project navigation and drop it there The library has now been integrated into the program Calling function block FB160 Calling the function block within an organization block OB is described in the following In this case function block FB1600 is called within organization block OB1 Note Ensure that th...

Page 34: ...under STEP 7 V12 34 Getting Started 1 Under project navigation in the Program blocks open block Main OB1 and drag it to the function block UPS1600 FB160 in an empty network of block main OB1 and drop it there The Call options dialog box opens 2 Under Name select the entry UPS1600_iDB and confirm the call options ...

Page 35: ...ng the symbol table address area When function block FB160 is executed the cyclic data of address area of UPS1600 is accessed In this particular case the required address areas are transferred to the function block via four variables You must adapt the addresses of these variables corresponding to your selected address area in the symbol table of the code block package The following table shows th...

Page 36: ...dress area in the following example UPS_New_alarms_pending New alarms pending New no pending alarms IB 261 UPS_battery_charge_level battery_charge level Charging state of the battery IB 262 Note You can find additional information on the I O address area of the UPS1600 in the UPS1600 Manual Procedure 1 Under project navigation in folder PLC variables UPS1600 Tag table open the variable table Tag t...

Page 37: ... 37 2 Match the addresses of the following symbols with the selected I O address areas of the corresponding UPS1600 parameters UPS_Buffer_mode UPS_Ready_for_buffering UPS_New_alarms_pending UPS_battery_charge_level 3 Save the project and load the parameters into the S7 IO controller When the power fails the user program now switches off the UPS ...

Page 38: ......

Reviews: