Professional Documents
Culture Documents
LOGO! 8 and
Weather Sensors
LOGO! 8, KTP400
Siemens
Set 11 Industry
Online
https://support.industry.siemens.com/cs/ww/en/view/68585346 Support
Legal information
Legal information
Use of application examples
Application examples illustrate the solution of automation tasks through an interaction of several
components in the form of text, graphics and/or software modules. The application examples are
a free service by Siemens AG and/or a subsidiary of Siemens AG (“Siemens”). They are non-
binding and make no claim to completeness or functionality regarding configuration and
equipment. The application examples merely offer help with typical tasks; they do not constitute
customer-specific solutions. You yourself are responsible for the proper and safe operation of the
products in accordance with applicable regulations and must also check the function of the
respective application example and customize it for your system.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the
application examples used by technically trained personnel. Any change to the application
examples is your responsibility. Sharing the application examples with third parties or copying the
application examples or excerpts thereof is permitted only in combination with your own products.
The application examples are not required to undergo the customary tests and quality inspections
of a chargeable product; they may have functional and performance defects as well as errors. It is
your responsibility to use them in such a manner that any malfunctions that may occur do not
result in property damage or injury to persons.
Disclaimer of liability
Siemens shall not assume any liability, for any legal reason whatsoever, including, without
limitation, liability for the usability, availability, completeness and freedom from defects of the
application examples as well as for related information, configuration and performance data and
any damage caused thereby. This shall not apply in cases of mandatory liability, for example
under the German Product Liability Act, or in cases of intent, gross negligence, or culpable loss of
life, bodily injury or damage to health, non-compliance with a guarantee, fraudulent
non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for
damages arising from a breach of material contractual obligations shall however be limited to the
Siemens AG 2018 All rights reserved
foreseeable damage typical of the type of agreement, unless liability arises from intent or gross
negligence or is based on loss of life, bodily injury or damage to health. The foregoing provisions
do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens
against existing or future claims of third parties in this connection except where Siemens is
mandatorily liable.
By using the application examples you acknowledge that Siemens cannot be held liable for any
damage beyond the liability provisions described.
Other information
Siemens reserves the right to make changes to the application examples at any time without
notice. In case of discrepancies between the suggestions in the application examples and other
Siemens publications such as catalogs, the content of the other documentation shall have
precedence.
The Siemens terms of use (https://support.industry.siemens.com) shall also apply.
Security information
Siemens provides products and solutions with industrial security functions that support the secure
operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is necessary
to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept.
Siemens’ products and solutions constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems, machines
and networks. Such systems, machines and components should only be connected to an
enterprise network or the Internet if and to the extent such a connection is necessary and only
when appropriate security measures (e.g. firewalls and/or network segmentation) are in place.
For additional information on industrial security measures that may be implemented, please visit:
https://www.siemens.com/industrialsecurity
Siemens’ products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends that product updates are applied as soon as they are available
and that the latest product versions are used. Use of product versions that are no longer
supported, and failure to apply the latest updates may increase customer’s exposure to cyber
threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed
at: https://www.siemens.com/industrialsecurity
Table of Contents
Legal information ......................................................................................................... 2
1 Task ..................................................................................................................... 4
2 Solution............................................................................................................... 5
2.1 Overview............................................................................................... 5
2.2 Hardware and software components ................................................... 6
2.2.1 Components used ................................................................................ 7
3 Mode of Operation ............................................................................................. 9
3.1 Weather sensors .................................................................................. 9
3.1.1 Wind sensor ......................................................................................... 9
3.1.2 Light sensor .......................................................................................... 9
3.1.3 Twilight sensor ................................................................................... 10
3.1.4 Rain sensor ........................................................................................ 10
3.1.5 Temperature sensor ........................................................................... 10
3.2 Configuration in network mode .......................................................... 11
3.2.1 Creating a project in network view and two-way programming.......... 11
4 Installation and Commissioning .................................................................... 14
4.1 Installing the hardware ....................................................................... 14
4.1.1 KTP400............................................................................................... 14
4.1.2 LOGO! 8 ............................................................................................. 14
Siemens AG 2018 All rights reserved
4.1.3 Assigning IP addresses to LOGO and setting the master mode ....... 15
4.2 Software installation (download) ........................................................ 15
4.3 Commissioning ................................................................................... 16
4.3.1 Basic settings for the KTP400 ............................................................ 16
4.3.2 Settings in the operating system ........................................................ 19
4.3.3 Assigning devices and programs ....................................................... 20
4.3.4 Loading the programs into the KTP400 and KTP700 ........................ 20
4.3.5 Configuring dynamic warning messages for wind in the KTP700
WinCC project .................................................................................... 23
5 Operation .......................................................................................................... 27
5.1 Monitoring with the KTP400 ............................................................... 27
5.1.1 KTP400 screens ................................................................................. 27
5.1.2 Start screen ........................................................................................ 27
5.1.3 Overview of weather data................................................................... 28
5.1.4 System functions ................................................................................ 29
5.1.5 Online Support information................................................................. 30
5.2 Operator Control and Monitoring with KTP700 and KTP400 ............. 31
5.3 Operation via PC ................................................................................ 34
6 Appendix .......................................................................................................... 35
6.1 Service and Support ........................................................................... 35
6.2 Bibliographic references ..................................................................... 36
6.3 Internet link specifications .................................................................. 36
6.4 History ................................................................................................ 36
1 Task
Note This LOGO! set expands the house control of LOGO! Set 9 "House Control with
Master-Slave Communication” or LOGO! Set 10 "House Control with
Touch Panel” by a weather station with a LOGO! 8 and a Basic Panel.
Further information on the functionalities of LOGO! Set 9 and LOGO! Set 10, and
the respective documentation for download is available in entry IDs 64143308
and 68585344.
Introduction
In a residential home, the following functions shall be controlled automatically using
weather sensors and the measuring values displayed on a Basic Panel:
Blinds and Roof hatch (up/down)
Interior and exterior lighting (on/off)
Siemens AG 2018 All rights reserved
Heating
Garden watering
Figure 1-1
Heizung
PT 100
Exterior light Central light
(on/off) (on/off)
2 Solution
2.1 Overview
Schematic layout
The figure below shows a schematic overview of the most important components of
the solution:
Figure 2-1
3 1 2 4
Siemens AG 2018 All rights reserved
PROFINET IE
Advantages/benefits
Weather dependent controlling and monitoring of a house control with
LOGO! 8, weather sensors and Touch Panel
Individually setting each of the blinds also possible in automatic mode
Minimizing wind damage at the blinds
Cost reduction through efficient room temperature with internal and external
temperature comparison
Additional option to control the functionalities of the application on the PC via
the WinCC Basic Panel simulation function
Note Please note that in this LOGO! Set, the LOGO! Set 9 and LOGO! Set 10
hardware setup is expanded by a weather station with a LOGO! 8 and a Basic
Panel.
Siemens AG 2018 All rights reserved
Detailed information on the LOGO! Set 9 / Set 10 hardware setup can be found
in the LOGO! Set 9 documentation under entry ID 64143308 and in the LOGO!
Set 10 documentation under entry ID 68585344.
Hardware components
Table 2-1
No. Component Qty Article number Note
1. LOGO! 12/24RCE 1 6ED1052-1MD08-0BA0
2. LOGO! CSM 12/24 1 6GK7177-1MA20-0AA0 For the connection of the
COMPACT SWITCH MODULE application example to
LOGO! Set 9 or
LOGO! Set 10.
3. LOGO!POWER 24V/4 A 1 6EP1332-1SH52
4. SIMATIC HMI KTP400 BASIC 1 6AV2123-2DB03-0AX0
5. Rain sensor 1 Available from specialist e.g. Stengler rain sensor
retailers RS-600
"1V output voltage
-> no rain
9V output voltage
-> rain
Output voltage: 0-10V DC
Operating voltage: 12-24V
Siemens AG 2018 All rights reserved
DC
6. Temperature sensor 1 Available from specialist e.g. Stengler
retailers temp. sensor TS-S
Measuring range:
-20°C…+40°C
Output voltage: 0-10V DC
Operating voltage:12-24V DC
7. Twilight sensor 1 Available from specialist e.g. Stengler
Measuring range: retailers twilight sensor DS-S
0…255 Lux (linear)
Output voltage: 0-10V DC
Operating voltage:12-24V DC
8. Light sensor 1 Available from specialist e.g.: Stengler
Measuring range: retailers light sensor LE-S
0…40 kLux (linear)
Output voltage: 0-10V DC
Operating voltage: 12-24 V
DC
9. Wind sensor 1 Available from specialist e.g.: Ventus
Measuring range: 0.8..40 m/s retailers Mini wind gage:
Output signal: Frequency, Art. 200 430
max. 24 V DC, 100Hz=40m/s
Supply Voltage:
max 24V DC
Software components
Table 2-2
Component Qty Article number Note
LOGO!Soft Comfort V8 1 6ED1058-0BA08-0YA1 Update V8.2 (Download)
SIMATIC WINCC BASIC V15 1 6AV2100-0AA05-0AA5
3 Mode of Operation
Note Detailed information on the house functions controlled in this application example
can be found in the LOGO! Set 9 documentation under entry ID 64143308.
It is also possible to use the LOGO! Set 11 individually as a mere weather station
or to control other devices.
The measured values from the wind sensor are processed in the LOGO! program
"68585346_LOGO!_Set11_LOGO!_8.lsc” in the "Blinds” program part.
In automatic mode, all blinds are raised in the event of "strong” wind via function
block "wind” (B183/analog threshold trigger).
For protecting the blinds, "strong wind” (here, 20 km/h) is given functional priority
over high solar irradiation (here, 20 kLux) and lowering via weekly timers.
The function block "wind” can be called up in parameter assignment mode with the
respective block name using the LOGO! display or LOGO! TDE. This makes it
Siemens AG 2018 All rights reserved
possible to adjust the threshold values for the wind speed for opening the blinds.
When wind speeds fall below 18 km/h, the LOGO! program signals that the wind
has died down and the blinds can be moved down again.
Note For wind velocities below the limit value (here, 18 km/h), the blinds will be raised
in the morning and lowered in the evening automatically according to the set
times of the weekly timers.
The light sensor is processed in the LOGO! program in the blinds control. In
automatic mode, all blinds are lowered in the event of high solar irradiation (here,
20 kLux) via function block "sun” (B184/analog threshold trigger).
High solar irradiation takes priority over raising via weekly timers.
Manual switching of blinds takes highest priority, even if the automatic mode is
activated and high solar irradiation occurs.
The function block "sun” can be called up in parameter assignment mode with the
respective block name using the LOGO! display or LOGO! TDE. This makes it
possible to adjust the threshold values for sun irradiation for closing the blinds.
The twilight sensor is processed in the LOGO! program in the lighting control.
In automatic mode, all exterior lights are automatically switched off at sunrise
(> 10 lux) and switched on at dusk (< 10 lux) via function block "twilight”
(B187/analog threshold trigger).
Manual switching of lights takes highest priority, even if the automatic mode is
activated.
The function block "twilight” can be called up in parameter assignment mode with
the respective block name using the LOGO! display or LOGO! TDE. This makes it
possible to individually adjust the threshold value for automatic switching off and on
of the lighting.
The rain sensor is processed in the LOGO! program in the program parts garden
watering and roof hatch.
In automatic mode, if it does not rain, the garden watering is switched on
automatically in the morning at 09:00 a.m. and in the evening at 08:00 p.m. for 10
minutes via the function block "watering” (B104/Weekly Timer).
If automatic mode for the roof hatch has been activated, it will automatically close
Siemens AG 2018 All rights reserved
when it rains. If it does not rain and the temperature is high, the roof hatch will
open.
The function block "watering” can be called up in parameter assignment mode with
the respective block name using the LOGO! display or LOGO! TDE. This makes it
possible to adjust days and times in the weekly timer for automatic garden
watering.
The temperature sensor is processed in the LOGO! program in the program part
roof hatch. In automatic mode, the roof hatch is opened via function block "auto
roof” (B105) at high temperature (here, >28 °C) and closed at low temperature
(here, <25°C).
In automatic mode, all heating is switched off via function block "temp out”
(B195/analog threshold trigger) with >22 °C outside temperature.
The function block "temp out” can be called up in parameter assignment mode with
the respective block name using the LOGO! display or LOGO! TDE. This makes it
possible to individually adjust the threshold value for automatic switching off of the
heating.
Two-way programming
If more than one LOGO! device is added to the network view, you can connect
individual function blocks with drag&drop and can exchange data between the
individual LOGO! devices.
Note Please note that two-way programming is only possible between LOGO! 0BA8
devices
Table 3-2
No. Action/response LOGO!Soft Comfort V8
1. A double-click on one of the
LOGO! base modules in the
network view automatically
opens the switching program
in the diagram editor of the
network project.
Siemens AG 2018 All rights reserved
Note:
If one of the two function
blocks is displayed in red,
configuration of the
communication between the
two LOGO! devices is not yet
complete.
4.1.1 KTP400
Note Observe the setup guidelines for the KTP400. Further information can be found
Siemens AG 2018 All rights reserved
Table 4-2
No. Device IP address Subnet mask
1. KTP400 weather station (Set 11) 192.168.1.80 255.255.255.0
2. KTP700 (Set 10) 192.168.1.20 255.255.255.0
3. LOGO! weather station (Set 11) 192.168.1.13 255.255.255.0
4. Master LOGO! (Set 9) 192.168.1.10 255.255.255.0
5. Slave LOGO! (Set 9) 192.168.1.11 255.255.255.0
6. LOGO! TDE (Set 9) 192.168.1.14 255.255.255.0
7. Network card or USB Ethernet Adapter for network 192.168.1.12 255.255.255.0
connection to PC
4.1.2 LOGO! 8
Note Changes of the IP address or the master-slave mode are only possible in
"STOP” mode.
Table 4-3
No. Action/response LOGO! Display
1. Go to the "Network” item via the LOGO!
display using the arrow keys C1▲ or C2▼ of
the LOGO! 8 and press OK.
Note It is assumed that the required software LOGO!Soft Comfort V8 and WinCC
have been installed on your PC. No previous experience with the software is
required.
4.3 Commissioning
Note For the following points you find information in LOGO! Set 9:
Note The IP address of the HMI panel can only be changed if Runtime has been
"stopped”.
Table 4-4
No. Action/response KTP400 display
7. Switch on the KTP400.
Siemens AG 2018 All rights reserved
Table 4-5
No. Action/response PC screen
1. In the operating system, navigate to:
"Start > Settings > Control Panel > Set PG/PC
Interface”.
2. In "Interface Parameter Assignment Used”,
select "TCP/IP(Auto) -> Name of your network
card or your USB Ethernet adapter” (without
the yellow warning sign) for the Ethernet
communication with LOGO!.
In this example: TCP/IP(Auto)->Intel(R)
82577LM Gigab. network card)
Make sure that in the dropdown menu
"Access Point of the Application” "S7ONLINE
(STEP7) -> TCP/IP(Auto) -> Name of your
network card or your USB Ethernet adapter”
has been selected.
Click on OK to confirm the selection.
Siemens AG 2018 All rights reserved
Table 4-6
No. Device Program for the device in the zip file
1. KTP400 weather station (Set 11) 68585346_LOGO!_Set11_weather_station_V21.ap15
2. KTP700 (Set 10) 68585346_LOGO!_Set11_HMI_WinCC_V21.ap15
3. LOGO! weather station (Set 11) 68585346_LOGO!_Set11_LOGO!8_weather_station.lsc
contained in the network project
68585346_LOGO!_Set11_LOGO!_8.lnp
4. Master LOGO! (Set 9) 68585346_LOGO!_Set11_LOGO!_8.lsc
5. Slave LOGO! (Set 9) contained in the network project
68585346_LOGO!_Set11_LOGO!_v20.lnp
6. LOGO! TDE (Set 9)
Table 4-7
No. Action/response WinCC
1. Start WinCC and with "Browse”, open
the project "68585346_LOGO!_
Set11 _weather_station_V20”.
Siemens AG 2018 All rights reserved
Note:
Repeat the steps of this table for the
project "68585346_LOGO!_Set11_
HMI_WinCC_V20" of the KTP700,
unless you would like to operate
Set 11 separately.
Note:
In this application example, the subnet
has already been added in the WinCC
project.
on "Load".
In the WinCC project for the KTP700, 4 different dynamic warning messages for
wind have been configured. One of the 4 warning messages is displayed
depending on the wind speed:
Table 4-9
No. Action/response WinCC Basic
1. 1. Start WinCC Basic V13
2. Select your unzipped
project "68585344_
LOGO!_Set11_HMI_
WinCC_V20" with
"Browse”.
3. Then click "Open”.
5 Operation
Hinweis Operating via integrated and user defined webserver, the LOGO! display and
LOGO! TDE is described in LOGO! Set 9. For LOGO! Set 9 refer to the following
entry:
Building Automation Systems: House control with LOGO! and Master-Slave
communication (LOGO! Set 9)
https://support.industry.siemens.com/cs/ww/en/view/64143308
Language switching
Figure 5-1
Figure 5-2
Siemens AG 2018 All rights reserved
This figure displays the current measured values from the weather sensors.
Figure 5-3
Siemens AG 2018 All rights reserved
Clean screen
Calibrate
(Data) transfer
Runtime Stop
More information on the system functions can be found in the Basic Panel
manual \4\.
Figure 5-4
Siemens AG 2018 All rights reserved
Note:
Siemens AG 2018 All rights reserved
A total of 4 different
warning messages have
been configured for
different wind speed
levels in the WinCC
project in this
application example.
Older warning
messages which have
not been acknowledged
remain on display in the
alarm window, even if
the wind speed has
changed or other
warning messages have
been activated.
7. Press the button for KTP700
acknowledging warning
messages until the
current warning
message is hidden. If
required, press the
acknowledgment button
several times to
acknowledge older
messages that may still
be listed.
Note When using the application example with your PC, please make sure the
KTP400 or KTP700 is not connected with the other modules of the application
example (LOGO! modules, PC, etc.). It is recommended not to connect the Basic
Panel, if you already use your PC as a Basic Panel with the WinCC simulation.
For operating the application example with the PC, the same basic settings (chapter 4.3.1) in
the WinCC project apply as for direct operation with the Basic Panel. The only difference is that
you do not press the "Load” button, but the "Start simulation” button.
Table 5-2
No. Action/response WinCC
1. In the project tree, select the folder
"KTP400[KTP400 Basic PN]" and click on
"Start simulation” in the toolbar.
Siemens AG 2018 All rights reserved
6 Appendix
6.1 Service and Support
Industry Online Support
Do you have any questions or need assistance?
Siemens Industry Online Support offers round the clock access to our entire
service and support know-how and portfolio.
The Industry Online Support is the central address for information about our
products, solutions and services.
Product information, manuals, downloads, FAQs, application examples and videos
– all information is accessible with just a few mouse clicks:
https://support.industry.siemens.com
www.siemens.com/sitrain
6.4 History
Table 6-3
Version Date Modifications
V1.0 04/2013 First version
V1.1 03/2014 Layout modified and security note amended
V2.0 04/2016 Software and documentation revision with LOGO! 8
V2.1 08/2018 Changes in LOGO! 8 (user defined webserver)