Vous êtes sur la page 1sur 36

Application Example 04/2016

House Control with LOGO! 8


and Weather Sensors
LOGO! 8, KTP400
Set 11

https://support.industry.siemens.com/cs/ww/en/view/68585346

Warranty and liability

Warranty and liability


Note

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.

Siemens AG 2016 All rights reserved

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.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

Table of Contents

Table of Contents
Warranty and liability ................................................................................................... 2
1

Task ..................................................................................................................... 4

Solution............................................................................................................... 6
2.1
2.2
2.2.1

Mode of Operation ........................................................................................... 10


3.1
3.1.1
3.1.2
3.1.3
3.1.4
3.1.5
3.2
3.2.1

Monitoring with the KTP400 ............................................................... 28


KTP400 screens ................................................................................. 28
Start screen ........................................................................................ 28
Overview of weather data................................................................... 29
System functions ................................................................................ 30
Online Support information................................................................. 31
Operator Control and Monitoring with KTP700 and KTP400 ............. 32
Operation via PC ................................................................................ 35

Links & Literature ............................................................................................ 36

Siemens AG 2016 All rights reserved

6.1
6.2
7

Installing the hardware ....................................................................... 15


KTP400............................................................................................... 15
LOGO! 8 ............................................................................................. 15
Assigning IP addresses to LOGO and setting the master mode ....... 16
Software installation (download) ........................................................ 16
Commissioning ................................................................................... 17
Basic settings for the KTP400 ............................................................ 17
Settings in the operating system ........................................................ 20
Assigning devices and programs ....................................................... 21
Loading the programs into the KTP400 and KTP700 ........................ 21
Configuring dynamic warning messages for wind in the KTP700
WinCC project .................................................................................... 24

Operation .......................................................................................................... 28
5.1
5.1.1
5.1.2
5.1.3
5.1.4
5.1.5
5.2
5.3

Weather sensors ................................................................................ 10


Wind sensor ....................................................................................... 10
Light sensor ........................................................................................ 10
Twilight sensor ................................................................................... 11
Rain sensor ........................................................................................ 11
Temperature sensor ........................................................................... 11
Configuration in network mode .......................................................... 11
Creating a project in network view and two-way programming.......... 12

Installation and Commissioning .................................................................... 15


4.1
4.1.1
4.1.2
4.1.3
4.2
4.3
4.3.1
4.3.2
4.3.3
4.3.4
4.3.5

Overview............................................................................................... 6
Hardware and software components ................................................... 7
Components used ................................................................................ 7

Bibliographic references ..................................................................... 36


Internet link specifications .................................................................. 36

History............................................................................................................... 36

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

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.

Risk of property damage or personal injury


LOGO! Set 10 is based on LOGO! Set 9/10. In order to avoid property
damage and personal injury it is absolutely necessary to observe the
precautions and warnings from LOGO! Set 9 and 10 for the hardware
installation, the handling of the blinds and how to operate the application.

WARNING

Siemens AG 2016 All rights reserved

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

Interior and exterior lighting

Heating

Garden watering

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

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

Siemens AG 2016 All rights reserved

PT 100
Exterior light
Licht auen
on/off
ein/aus

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

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

Siemens AG 2016 All rights reserved

PROFINET IE

Set 9/10

Set 11

In the automation solution, a weather station is connected to the LOGO! Set 9 /


Set 10 hardware setup. The weather station consists of a LOGO! 8 (1), a LOGO!
power supply (3), a Compact Switch module (2) and a SIMATIC HMI KTP400
Basic Panel (4). The SIMATIC HMI KTP400 Basic Panel will be called KTP400.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

2 Solution
2.2 Hardware and software components
Advantages/benefits

2.2

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

Hardware and software components

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 2016 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.

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.

LOGO! CSM 12/24


COMPACT SWITCH MODULE

6GK7177-1MA200AA0

3.

LOGO!POWER 24 V/4 A

6EP1332-1SH52

4.

SIMATIC HMI KTP400 BASIC

5.

Rain sensor

1V output voltage
-> no rain

9V output voltage
-> rain

Output voltage: 0-10V DC

Operating voltage: 12-24 V


DC

6AV2123-2DB030AX0
Available from
specialist retailers

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

Note

For the connection of the


application example to
LOGO! Set 9 or LOGO!
Set 10.

e.g. Stengler rain sensor


RS-600

2 Solution
2.2 Hardware and software components

Siemens AG 2016 All rights reserved

No.

Component

Qty

Article number

Note

6.

Temperature sensor

Measuring range:
-20C+40C

Output voltage: 0-10V DC

Operating voltage: 12-24 V


DC

Available from
specialist retailers

e.g. Stengler temperature


sensor TS-S

7.

Twilight sensor

Measuring range:
0255 Lux (linear)

Output voltage: 0-10V DC

Operating voltage: 12-24 V


DC

Available from
specialist retailers

e.g. Stengler twilight


sensor DS-S

8.

Light sensor

Measuring range:
040 kLux (linear)

Output voltage: 0-10V DC

Operating voltage: 12-24 V


DC

Available from
specialist retailers

e.g.: Stengler light sensor


LE-S

9.

Wind sensor

Measuring range: 0.840


m/s

Output signal: Frequency,


max. 24 V DC, 100Hz =
40m/s

Supply Voltage:
max 24V DC

Available from
specialist retailers

e.g.: Ventus Mini wind


gage:
Art. 200 430

Software components
Table 2-2
Component

Qty

Article number

LOGO!Soft Comfort V8

6ED1058-0BA08-0YA1

SIMATIC WINCC BASIC V13 SP1

6AV2100-0AA03-0AA5

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

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

Siemens AG 2016 All rights reserved

68585346_LOGO_Set11_CODE_v20.zip

Note
This zip-file contains

The enhanced LOGO! Soft Comfort project for


the master LOGO! from LOGO! Set 9/ LOGO!
Set 10

the LOGO!Soft Comfort project for the LOGO! 8


from the weather station from LOGO! Set 11

a revised WinCC V13 project for the KTP700


from LOGO! Set 10

a WinCC V13 SP1 project for the KTP400 of


the weather station from LOGO! Set 11
Note: Please note that the LOGO! program and the
WinCC project from LOGO! Set 10 have been
expanded here by the following functions:

Weather sensor data processing

Weather-dependent panel alarm messages

Automatic mode for lighting

The LOGO! and the WinCC program from Set 10


are replaced by the programs from Set 11.
Unzip and load all contained programs from
Set 11 to the relevant LOGO!s and/or panels
(see Table 4-2).
68585346_LOGO_Set11_DOKU_v20_en.pdf

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

This document.

3 Mode of Operation
3.1 Weather sensors

Mode of Operation

3
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.

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).

Siemens AG 2016 All rights reserved

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.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

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.

Siemens AG 2016 All rights reserved

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
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.

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

Configuration in network mode


From LOGO! Soft Comfort V8 onwards, you are now able to interconnect several
LOGO! base modules with each other and with other devices (WinCC and S7CPUs) in the new network view.
Communication between the devices will be configured automatically.
In addition, it is possible to display three programs at once and to drag&drop
signals from one program to the other.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

11

3 Mode of Operation
3.2 Configuration in network mode

3.2.1

Creating a project in network view and two-way programming

Adding a device in network view


Table 3-1
No.

Action/response
Start LOGO!Soft Comfort V8.

2.

Click on Network project tab to


open the network project view.

3.

Click on Add new device.


The subsequent window enables
you to add devices you want to
use to the network.

4.

The network view gives you an


overview of the devices used in
your network.

Siemens AG 2016 All rights reserved

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

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

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.

To exchange data between


two LOGO! devices, open the
switching programs of two
LOGO! devices.

3.

Now click on the symbol for


dividing the diagram editor in
two windows in order that an
additional window in the
diagram editor opens.

4.

Then, click on the bar with the


name of one of the two
switching programs and drag
the diagram into the second
window that has opened in the
diagram editor.

5.

Move the mouse pointer to the


output connection of one of the
function blocks you want to
connect and keep holding the
mouse button down.

Siemens AG 2016 All rights reserved

1.

LOGO!Soft Comfort V8

Then, move the mouse pointer


to the function block you want
to connect the first function
block with.
When you release the mouse
button, LOGO!Soft Comfort V8
will connect both function
blocks.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

13

3 Mode of Operation
3.2 Configuration in network mode
No.
6.

Action/response

LOGO!Soft Comfort V8

Once both function blocks are


connected, LOGO!Soft
Comfort V8 will create a
function block pair and an
Ethernet connection and a
data transfer mechanism.
When the function blocks are
displayed in green,
configuration of the
communication between the
two LOGO! devices is
complete.

Siemens AG 2016 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.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

14

4 Installation and Commissioning


4.1 Installing the hardware

Installation and Commissioning

4
Note

4.1

Please also observe the information on installation and commissioning in the


Set_9 and Set 10 documentation, unless you would like to operate Set 11
separately.

Installing the hardware

Table 4-1
Action
1.

Create Sets 9, 10 and 11 as shown in Figure


2-1.

Comment

2.

Connect the sets with LAN cables

4.1.1
Siemens AG 2016 All rights reserved

Set 11 can be used separately, without


connecting other sets.
Set 11 can also be used only with Set 9.
For this, the LOGO! software from Set 11
must be used for house control

KTP400

Note

Observe the setup guidelines for the KTP400. Further information can be found
in the KTP400 Basic Panel Manual.

IP addresses and subnet masks


Make sure that the KTP400, your PC and the hardware setup from LOGO! Set 9 and LOGO!
Set 10 are in the same IP address range, as shown in the following table.

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


connection to PC

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.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

15

4 Installation and Commissioning


4.2 Software installation (download)

4.1.3

Assigning IP addresses to LOGO and setting the master mode

Table 4-3

Siemens AG 2016 All rights reserved

No.

Action/response

1.

Go to the Network item via the LOGO!


display using the arrow keys C1 or C2 of
the LOGO! 8 and press OK.

2.

Select the IP address item.

3.

Press the OK button of the LOGO! controller


and use the arrow keys C1, C2, C3 and
C4 to enter your LOGO!s IP address (here:
192.168.1.13). Confirm with the OK button.

4.

Press the ESC key to return to the previous


menu item and select Set M/S mode.

5.

For configuring the master LOGO!, select


Master.

6.

The configuration of the IP address and the


mode for the LOGO! is now complete. Press
ESC to return to the main menu

4.2
Note

LOGO! Display

Software installation (download)


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.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

16

4 Installation and Commissioning


4.3 Commissioning

4.3

Commissioning

Note

For the following points you find information in LOGO! Set 9:

Download LOGO! program in LOGO! controller

Settings for web server access

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

4.3.1

Basic settings for the KTP400

Note

The IP address of the HMI panel can only be changed if Runtime has been
stopped.

Siemens AG 2016 All rights reserved

Table 4-4
No.

Action/response

7.

Switch on the KTP400.

8.

Press Settings to open the panel settings.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

KTP400 display

17

4 Installation and Commissioning


4.3 Commissioning
No.
9.

Action/response
1.
2.

3.

4.

Siemens AG 2016 All rights reserved

5.

6.

KTP400 display

Press Network interface to open the


dialog for changing the network settings.
Make your choice between automatic IP
address assignment via DHCP and
manual IP address assignment.
Touch the respective input fields and
enter the IP address and the subnet
mask with the screen keyboard, here:
IP address: 192.168.1.80
Subnet mask: 255.255.255.0
Under Ethernet parameters in the
Mode and speed selection field, tick
Auto Negotiation; this automatically
detects and sets the connection type
and the transmission rate in the
PROFINET network.
Activate the LLDP switch to enable the
operator panel to exchange information
with other operator panels. In this
example, LLDP can be activated or
deactivated.
Under PROFINET in the Device
name field, enter a network name for
your operator panel. The name must
meet the following requirements:
Max. four blocks with max. 63
characters each. Example:
Press1.Fender.
Bodywork.Hall3
Characters from a to z, numbers 0
to 9; special characters: - and ".

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

18

4 Installation and Commissioning


4.3 Commissioning
No.

Action/response

4.

Press Settings on the left side of the dialog


window for changing the network settings to
return to the panel settings window.

5.

To load a project onto the HMI panel, a data


channel must be enabled:
1.

Siemens AG 2016 All rights reserved

2.
3.

KTP400 display

Click the Transfer settings button to


open the Transfer Settings dialog box.
Activate Enable transfer.
Activate Automatic to enable automatic
transfer. When automatic transfer is
enabled, a transfer from the
configuration PC can be started while
the project is running. In this case, the
current project is stopped and the
transfer of the new project is carried out.
After the transfer, the new project is
started.

6.

To return to the start center, press on the


symbol for minimizing the window on the
right side of the Transfer Settings dialog.

7.

In the start center, you can start your project


any time by pressing Start.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

19

4 Installation and Commissioning


4.3 Commissioning

4.3.2

Settings in the operating system

Table 4-5
No.
1.

Siemens AG 2016 All rights reserved

2.

Action/response

PC screen

In the operating system, navigate to:


Start > Settings > Control Panel > Set PG/PC
Interface.
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.

3.

Alternatively the Interface Parameter


Assignment Used is displayed at Control
Panel -> Set PG/PC Interface for certain
operating systems.
As in the previous step 2, also select the
interface here and make sure that Access
Point of the Application S7ONLINE (STEP7)
-> TCP/IP(Auto) -> Name of your network
card or your USB Ethernet adapter has been
selected in the drop-down list.
Click on OK to confirm the selection.

4.

Acknowledge the warning prompt that


appears in certain operating systems with OK
to complete the selection.

5.

The settings in the operating system required


for controlling the application example with the
Basic Panel or with the PC screen are now
complete.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

20

4 Installation and Commissioning


4.3 Commissioning

4.3.3

Assigning devices and programs

Table 4-6
No.

Device

Program for the device in the zip file

1.

KTP400 weather station (Set 11)

68585344_LOGO!_Set11_weather_station_V20.ap13

2.

KTP700 (Set 10)

68585344_LOGO!_Set11_HMI_WinCC_V20.ap13

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)

5.

Slave LOGO! (Set 9)

68585346_LOGO!_Set11_LOGO!_8.lsc
contained in the network project
68585346_LOGO!_Set11_LOGO!_v20.lnp

6.

LOGO! TDE (Set 9)

4.3.4

Loading the programs into the KTP400 and KTP700

Table 4-7
No.
1.

Action/response

WinCC

Start WinCC and with Browse, open


the project 68585344_LOGO!_

Siemens AG 2016 All rights reserved

Set11 _weather_station_V20.
Then click Open.

Note:
Repeat the steps of this table for the
project 68585344_LOGO!_Set11_

HMI_WinCC_V20 of the KTP700,


unless you would like to operate
Set 11 separately.

2.

Click on Open the project view to


open it.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

21

4 Installation and Commissioning


4.3 Commissioning

Siemens AG 2016 All rights reserved

No.

Action/response

3.

In the project tree under KTP400


[KTP400 Basic PN] go to
Connections and select it with a
double click.

4.

In HMI device, enter the IP address of


your Basic Panel (here: 192.168.1.80)
and press Enter to confirm.

5.

6.

WinCC

Make sure that

S7ONLINE is specified under


Access point.

the master LOGO! IP address


is specified under PLC (here:
192.168.1.13).

the check box Cyclic


operation is ticked.
In the project tree, go to Devices &
networks and select it with a double
click.

Make sure a subnet has been added to


the network. To create a subnet in the
network, open the context menu with a
right click on the Ethernet interface and
click on Add subnet.
Note:
In this application example, the subnet
has already been added in the WinCC
project.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

22

4 Installation and Commissioning


4.3 Commissioning
No.

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

Subnet mask: 255.255.255.0

8.

In the project tree, select the folder


KTP400 Basic PN and click on Load
in the toolbar.

9.

Select the Ethernet interface of your


network card or your USB-Ethernet
adapter with which you will connect
your PC to the Basic Panel. Then click
on "Load".

10.

Then confirm the dialog and then click


on "Load".

11.

As soon as the project download has


been completed, the project will
automatically start on the Basic Panel
and you can now operate the
application.

Siemens AG 2016 All rights reserved

7.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

WinCC

23

4 Installation and Commissioning


4.3 Commissioning

4.3.5

Configuring dynamic warning messages for wind in the KTP700


WinCC project
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:

Overview of warning messages


Table 4-8

Siemens AG 2016 All rights reserved

No.

Wind level

Speed

Warning message text

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

Individually adjust and modify warning messages


Warning message texts, thresholds and colors can be modified and adjusted to the
requirements of the application at any time.
The table below shows which parameters to set in WinCC to change the warning
messages.
Table 4-9
No.
1.

Action/response
1.
2.

3.

WinCC Basic

Start WinCC Basic V13


Select your unzipped
project 68585344_
LOGO!_Set11_HMI_
WinCC_V20 with
Browse.
Then click Open.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

24

4 Installation and Commissioning


4.3 Commissioning
No.

Action/response
Click on Open the project
view to open it.

3.

In the project tree under


KTP700 [KTP700 Basic PN],
go to HMI alarms and select it
with a double click.

4.

Navigate to the Analog alarms


tab. The following options are
provided:
1. Trigger tag allows you to
specify which tag to use for
monitoring the threshold
(here for wind).
2. Enter the limit value in
Limit to define when a
specific warning message
is displayed.

Siemens AG 2016 All rights reserved

2.

WinCC Basic

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

25

4 Installation and Commissioning


4.3 Commissioning

Siemens AG 2016 All rights reserved

No.

Action/response

5.

You can display a value in the


warning message text (here,
e.g., the wind speed):
1. Double-click on one of the
warning messages to open
the text editing mode.
2. Now go to the place in the
text where you would like
to display a value.
3. Open the context menu
with a right click and select
the menu item Insert tag
field.

6.

Now select the tag you would


like to display in the text and
specify the number of digits to
be displayed in the message.

WinCC Basic

Then click on the green


checkmark to close the
window.

7.

Now, go to the Alarm classes


tab. Here you can assign userdefined names to the individual
warning messages.
In addition, you can define the
background color of the
warning message.

8.

Under Screen management,


go to Global screen and open
it with a double click.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

26

4 Installation and Commissioning


4.3 Commissioning
No.
9.

Action/response
Proceed as follows:
1.

2.

Siemens AG 2016 All rights reserved

10.

WinCC Basic

Click on the Alarm


window to open its
properties.
Go to the Properties" tab
and make sure that the
warning messages (here
for wind) which you have
configured, are enabled
under Current alarm
states and
Unacknowledged alarms.

Once you have completed all


changes and modifications of
the warning messages, click
Load in the toolbar to load the
project to the KTP700.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

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

Monitoring with the KTP400

5.1.1

KTP400 screens
All KTP screens have a uniform toolbar on the right:

Siemens AG 2016 All rights reserved

Press one of the buttons to go to the following screens:

Note

5.1.2

Start

Weather

System

Support

Language switching

Synchronized language change from Basic Panel to LOGO! 8:


If the KTP400 is used to change the language with the button, the display
language on the LOGO! display and LOGO! TDE will also change.

Start screen
Figure 5-1

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

28

5 Operation
5.1 Monitoring with the KTP400

This screen is displayed right after system start.

5.1.3

Overview of weather data

Siemens AG 2016 All rights reserved

Figure 5-2

This figure displays the current measured values from the weather sensors.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

29

5 Operation
5.1 Monitoring with the KTP400

5.1.4

System functions

Siemens AG 2016 All rights reserved

Figure 5-3

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

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

Online Support information

Siemens AG 2016 All rights reserved

Figure 5-4

Information on the Online Support can be found here.


The Home button (1) brings you back to the main menu.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

31

5 Operation
5.2 Operator Control and Monitoring with KTP700 and KTP400

5.2

Operator Control and Monitoring with KTP700 and


KTP400

Table 5-1

Siemens AG 2016 All rights reserved

No.

Action/response

KTP700 and KTP400

1.

Verify on the KTP700


(LOGO! Set 10) that
Automatic mode for
the blinds is activated.

KTP700

2.

The wind speed


exceeds 20 km/h.

KTP400

3.

All blinds move up and


stay in this final position
for as long as the wind
is strong (>20 km/h).

KTP700

4.

The KTP700 displays a


warning message that
the wind speed has
increased.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

32

5 Operation
5.2 Operator Control and Monitoring with KTP700 and KTP400
No.

Action/response

KTP700 and KTP400

5.

Press the Alarm


indicator to open the
Alarm window with the
wind speed warning
messages.

KTP700

6.

A warning message is
displayed in the Alarm
window that the wind
has reached a
moderate speed.

KTP700

Siemens AG 2016 All rights reserved

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.

Press the button for


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.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

KTP700

33

5 Operation
5.2 Operator Control and Monitoring with KTP700 and KTP400
No.

Action/response

KTP700 and KTP400

Close the message


window after you have
cleared all warning
messages.

KTP700

9.

If the wind speed drops


below 18 km/h and at
the same time there is
high irradiation (>20
kLUX), all blinds will
automatically close.

KTP400

Siemens AG 2016 All rights reserved

8.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

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

Siemens AG 2016 All rights reserved

No.

Action/response

1.

In the project tree, select the folder


KTP400[KTP400 Basic PN] and click on
Start simulation in the toolbar.

2.

Press OK in the displayed message to


start the runtime simulator.

3.

Then, the runtime simulator starts with the


project.

4.

You can now operate the application


example via your PC with your mouse.

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

WinCC

35

6 Links & Literature

Links & Literature

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

Internet link specifications

Table 6-2

Siemens AG 2016 All rights reserved

Topic

Link

\1\

Siemens Industry Online Support

http://support.industry.siemens.com

\2\

Download page of the entry

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\

HMI KTP400 Manual

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

Layout modified and security note amended

V2.0

04/2016

Software and documentation revision with LOGO! 8

House Control and Weather Sensors - LOGO! Set 11


Entry ID: 68585346, V2.0, 04/2016

36

Vous aimerez peut-être aussi