Académique Documents
Professionnel Documents
Culture Documents
https://support.industry.siemens.com/cs/ww/en/view/68585346
The Application Examples are not binding and do not claim to be complete
regarding the circuits shown, equipping and any eventuality. The Application
Examples do not represent customer-specific solutions. They are only intended
to provide support for typical applications. You are responsible for ensuring that
the described products are used correctly. These Application Examples do not
relieve you of the responsibility to use safe practices in application, installation,
operation and maintenance. When using these Application Examples, you
recognize that we cannot be made liable for any damage/claims beyond the
liability clause described. We reserve the right to make changes to these
Application Examples at any time without prior notice.
If there are any deviations between the recommendations provided in these
Application Examples and other Siemens publications e.g. Catalogs the
contents of the other documents have priority.
We do not accept any liability for the information contained in this document.
Any claims against us based on whatever legal reason resulting from the use of
the examples, information, programs, engineering and performance data etc.,
described in this Application Example shall be excluded. Such an exclusion shall
not apply in the case of mandatory liability, e.g. under the German Product Liability
Act (Produkthaftungsgesetz), in case of intent, gross negligence, or injury of life,
body or health, guarantee for the quality of a product, fraudulent concealment of a
deficiency or breach of a condition which goes to the root of the contract
(wesentliche Vertragspflichten). The damages for a breach of a substantial
contractual obligation are, however, limited to the foreseeable damage, typical for
the type of contract, except in the event of intent or gross negligence or injury to
life, body or health. The above provisions do not imply a change of the burden of
proof to your detriment.
Any form of duplication or distribution of these Application Examples or excerpts
hereof is prohibited without the expressed consent of the Siemens AG.
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 only
form one element of such a concept.
Customer is responsible to prevent unauthorized access to its plants, systems,
machines and networks. Systems, machines and components should only be
connected to the enterprise network or the internet if and to the extent necessary
and with appropriate security measures (e.g. use of firewalls and network
segmentation) in place.
Additionally, Siemens guidance on appropriate security measures should be
taken into account. For more information about industrial security, please visit
http://www.siemens.com/industrialsecurity.
Siemens products and solutions undergo continuous development to make them
more secure. Siemens strongly recommends to apply product updates as soon
as available and to always use the latest product versions. Use of product
versions that are no longer supported, and failure to apply latest updates may
increase customers exposure to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial
Security RSS Feed under http://www.siemens.com/industrialsecurity.
Table of Contents
Table of Contents
Warranty and liability ................................................................................................... 2
1
Task ..................................................................................................................... 4
Solution............................................................................................................... 6
2.1
2.2
2.2.1
6.1
6.2
7
Operation .......................................................................................................... 28
5.1
5.1.1
5.1.2
5.1.3
5.1.4
5.1.5
5.2
5.3
Overview............................................................................................... 6
Hardware and software components ................................................... 7
Components used ................................................................................ 7
History............................................................................................................... 36
1 Task
Task
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.
Note
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.
WARNING
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
Roof hatch
Heating
Garden watering
1 Task
Figure 1-1
Blinds
Rolloup/down
auf/ab
Roof
hatch up/down
Dachluke
auf/ab
Interior
light
Licht
innen
on/off
ein/aus
Blinds
up/down
Rollo auf/ab
Heating
Heizung
PT 100
Exterior light
Licht auen
on/off
ein/aus
Central light
Licht zentral
on/off
ein/aus
2 Solution
2.1 Overview
Solution
2.1
Overview
Schematic layout
The figure below shows a schematic overview of the most important components of
the solution:
Figure 2-1
PROFINET IE
Set 9/10
Set 11
2 Solution
2.2 Hardware and software components
Advantages/benefits
2.2
Cost reduction through efficient room temperature with internal and external
temperature comparison
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.
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.
2.2.1
Components used
The application example was created with the following components:
Hardware components
Table 2-1
No.
Component
Qty
Article number
1.
LOGO! 12/24RCE
6ED1052-1MD000BA8
2.
6GK7177-1MA200AA0
3.
LOGO!POWER 24 V/4 A
6EP1332-1SH52
4.
5.
Rain sensor
1V output voltage
-> no rain
9V output voltage
-> rain
6AV2123-2DB030AX0
Available from
specialist retailers
Note
2 Solution
2.2 Hardware and software components
No.
Component
Qty
Article number
Note
6.
Temperature sensor
Measuring range:
-20C+40C
Available from
specialist retailers
7.
Twilight sensor
Measuring range:
0255 Lux (linear)
Available from
specialist retailers
8.
Light sensor
Measuring range:
040 kLux (linear)
Available from
specialist retailers
9.
Wind sensor
Supply Voltage:
max 24V DC
Available from
specialist retailers
Software components
Table 2-2
Component
Qty
Article number
LOGO!Soft Comfort V8
6ED1058-0BA08-0YA1
6AV2100-0AA03-0AA5
Note
2 Solution
2.2 Hardware and software components
Example files and projects
The following list includes all files and projects that are used in this example.
Table 2-3
Component
68585346_LOGO_Set11_CODE_v20.zip
Note
This zip-file contains
This document.
3 Mode of Operation
3.1 Weather sensors
Mode of Operation
3
Note
3.1
Weather sensors
3.1.1
Wind sensor
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
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
3.1.2
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.
Light sensor
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.
10
3 Mode of Operation
3.2 Configuration in network mode
3.1.3
Twilight sensor
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.
3.1.4
Rain sensor
The rain sensor is processed in the LOGO! program in the program parts garden
watering and roof hatch.
3.1.5
Temperature sensor
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, <25C).
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.
3.2
11
3 Mode of Operation
3.2 Configuration in network mode
3.2.1
Action/response
Start LOGO!Soft Comfort V8.
2.
3.
4.
1.
LOGO!Soft Comfort V8
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
12
3 Mode of Operation
3.2 Configuration in network mode
Table 3-2
No.
Action/response
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.
2.
3.
4.
5.
1.
LOGO!Soft Comfort V8
13
3 Mode of Operation
3.2 Configuration in network mode
No.
6.
Action/response
LOGO!Soft Comfort V8
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.
14
4
Note
4.1
Table 4-1
Action
1.
Comment
2.
4.1.1
Siemens AG 2016 All rights reserved
KTP400
Note
Observe the setup guidelines for the KTP400. Further information can be found
in the KTP400 Basic Panel Manual.
Table 4-2
No.
Device
IP address
Subnet mask
1.
192.168.1.80
255.255.255.0
2.
192.168.1.20
255.255.255.0
3.
192.168.1.13
255.255.255.0
4.
192.168.1.10
255.255.255.0
5.
192.168.1.11
255.255.255.0
6.
192.168.1.14
255.255.255.0
7.
192.168.1.12
255.255.255.0
4.1.2
Note
LOGO! 8
Changes of the IP address or the master-slave mode are only possible in
STOP mode.
15
4.1.3
Table 4-3
No.
Action/response
1.
2.
3.
4.
5.
6.
4.2
Note
LOGO! Display
16
4.3
Commissioning
Note
4.3.1
Note
The IP address of the HMI panel can only be changed if Runtime has been
stopped.
Table 4-4
No.
Action/response
7.
8.
KTP400 display
17
Action/response
1.
2.
3.
4.
5.
6.
KTP400 display
18
Action/response
4.
5.
2.
3.
KTP400 display
6.
7.
19
4.3.2
Table 4-5
No.
1.
2.
Action/response
PC screen
3.
4.
5.
20
4.3.3
Table 4-6
No.
Device
1.
68585344_LOGO!_Set11_weather_station_V20.ap13
2.
68585344_LOGO!_Set11_HMI_WinCC_V20.ap13
3.
68585346_LOGO!_Set11_LOGO!8_weather_station.lsc
contained in the network project
68585346_LOGO!_Set11_LOGO!_8.lnp
4.
5.
68585346_LOGO!_Set11_LOGO!_8.lsc
contained in the network project
68585346_LOGO!_Set11_LOGO!_v20.lnp
6.
4.3.4
Table 4-7
No.
1.
Action/response
WinCC
Set11 _weather_station_V20.
Then click Open.
Note:
Repeat the steps of this table for the
project 68585344_LOGO!_Set11_
2.
21
No.
Action/response
3.
4.
5.
6.
WinCC
22
Action/response
Click on the Ethernet interface and go
to the Properties tab.
Enter IP address and subnet mask of
your Basic Panel, here:
IP address:
192.168.1.80
8.
9.
10.
11.
7.
WinCC
23
4.3.5
No.
Wind level
Speed
1.
Weak wind
>= 1 km/h
Weak wind:
(Wind speed) km/h
Blinds can still be operated!
2.
Moderate wind
>= 20 km/h
Moderate wind:
(Wind speed) km/h!
Blinds will remain closed!
3.
Fresh wind
>= 30 km/h
Fresh wind:
(Wind speed) km/h!
Blinds will remain closed!
4.
Strong wind
>= 40 km/h
Strong wind:
(Wind speed) km/h!
Blinds will remain closed!
Warning
message
color
Action/response
1.
2.
3.
WinCC Basic
24
Action/response
Click on Open the project
view to open it.
3.
4.
2.
WinCC Basic
25
No.
Action/response
5.
6.
WinCC Basic
7.
8.
26
Action/response
Proceed as follows:
1.
2.
10.
WinCC Basic
27
5 Operation
5.1 Monitoring with the KTP400
Operation
5
Hinweis
Operating via integrated 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
5.1
5.1.1
KTP400 screens
All KTP screens have a uniform toolbar on the right:
Note
5.1.2
Start
Weather
System
Support
Language switching
Start screen
Figure 5-1
28
5 Operation
5.1 Monitoring with the KTP400
5.1.3
Figure 5-2
This figure displays the current measured values from the weather sensors.
29
5 Operation
5.1 Monitoring with the KTP400
5.1.4
System functions
Figure 5-3
30
5 Operation
5.1 Monitoring with the KTP400
This screen provides system functions:
Clean screen
Calibrate
(Data) transfer
Runtime Stop
More information on the system functions can be found in the Basic Panel
manual \4\.
5.1.5
Figure 5-4
31
5 Operation
5.2 Operator Control and Monitoring with KTP700 and KTP400
5.2
Table 5-1
No.
Action/response
1.
KTP700
2.
KTP400
3.
KTP700
4.
32
5 Operation
5.2 Operator Control and Monitoring with KTP700 and KTP400
No.
Action/response
5.
KTP700
6.
A warning message is
displayed in the Alarm
window that the wind
has reached a
moderate speed.
KTP700
Note:
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.
KTP700
33
5 Operation
5.2 Operator Control and Monitoring with KTP700 and KTP400
No.
Action/response
KTP700
9.
KTP400
8.
34
5 Operation
5.3 Operation via PC
5.3
Operation via PC
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
1.
2.
3.
4.
WinCC
35
6.1
Bibliographic references
Table 6-1
Topic
Title
\1\
LOGO! 8
LOGO! 8
A Practical Introduction, with Circuit Solutions
and Example Programs
Author: Stefan Kruse
Published by: Publicis
ISBN: 9783895789267
\2\
LOGO! 8
LOGO!8 - MiniTrainerSchool
Author: Klaus Machalek
Product No.: LOGO! MTS
6.2
Table 6-2
Topic
Link
\1\
http://support.industry.siemens.com
\2\
https://support.industry.siemens.com/cs/ww/en/view/68585346
\3\
LOGO! 8 Manual
https://support.industry.siemens.com/cs/ww/en/view/100761780/6
7518106635
\4\
https://support.industry.siemens.com/cs/ww/en/view/90114350
\5\
LOGO!
Software updates
http://w3.siemens.com/mcms/programmable-logiccontroller/en/logic-module-logo/demosoftware/Pages/Default.aspx
\6\
LOGO!
Application Examples
http://w3.siemens.com/mcms/programmable-logiccontroller/en/logic-module-logo/applicationexamples/Pages/Default.aspx
History
7
Table 7-1
Version
Date
Modifications
V1.0
04/2013
First version
V1.1
03/2014
V2.0
04/2016
36