Sie sind auf Seite 1von 14

Application description 03/2014

House control with Master Slave communication


LOGO! 0BA7
Set 9

http://support.automation.siemens.com/WW/view/en/64143308

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.
We do not accept any liability for the information contained in this document.

Siemens AG 2014 All rights reserved

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 Siemens Industry Sector.
Security
information

Siemens provides products and solutions with industrial security functions that
support the secure operation of plants, solutions, machines, equipment and/or
networks. They are important components in a holistic industrial security
concept. With this in mind, Siemens products and solutions undergo continuous
development. Siemens recommends strongly that you regularly check for
product updates.
For the secure operation of Siemens products and solutions, it is necessary to
take suitable preventive action (e.g. cell protection concept) and integrate each
component into a holistic, state-of-the-art industrial security concept. Third-party
products that may be in use should also be considered. For more information
about industrial security, visit http://www.siemens.com/industrialsecurity.
To stay informed about product updates as they occur, sign up for a productspecific newsletter. For more information, visit
http://support.automation.siemens.com.

Set 9
Entry-ID: 64143308,

V1.1,

03/2014

Table of contents

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

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

Solution............................................................................................................... 4
2.1
2.2

Functional Mechanisms of this Application ................................................... 6


3.1
3.2
3.3
3.4
3.5

Siemens AG 2014 All rights reserved

LOGO! TD functions ........................................................................... 11


Operation ............................................................................................ 12
Operating the blinds ........................................................................... 12
Operating panic function for the lighting............................................. 13

Related Literature ............................................................................................ 14


6.1
6.2

Connection configuration master and slave LOGO! ............................ 9


Software installation ........................................................................... 11

Operation of the Application .......................................................................... 11


5.1
5.2
5.2.1
5.2.2

Blinds .................................................................................................... 6
Roof hatch ............................................................................................ 7
Heating ................................................................................................. 7
Garden watering ................................................................................... 8
Interior and exterior lighting .................................................................. 8

Installation .......................................................................................................... 9
4.1
4.2

Overview of the general solution .......................................................... 4


Hardware and software components used........................................... 5

Bibliographic references ..................................................................... 14


Internet links ....................................................................................... 14

History............................................................................................................... 14

Set 9
Entry-ID: 64143308,

V1.1,

03/2014

1 Task

Task

Introduction
In residential house, the following functions shall be controlled manually or
automatically:
Blinds
Roof hatch
Interior and exterior lighting including panic switch
Heating
Garden watering
The manual or automatic mode can be selected via the selection button.
Depending on time and day, the blinds are automatically opened or closed and the
garden watering is switched on or off.
Depending on the temperature, the roof hatches can be opened or closed and the
heating switched on or off.
If the maintenance mode is set for the blinds, manual or automatic closing is
blocked.
Siemens AG 2014 All rights reserved

The states of the respective house functions are displayed on a text display.

Solution

2.1

Overview of the general solution


Figure 2-1

In the automation solution, one LOGO! 0BA7 (1) is used as master and one as
slave, which both communicate with each other via a compact switch module (6).
One PT100 (9) and one PT1000- (10) temperature sensor each are connected to
the RTD expansion module (5), and they are used to control the temperatures in
different building areas. Further inputs and outputs of the configuration can be
added at any time via DM16 24R (2) or DM8 24R (3) expansion modules. The
blinds (14) and the roof hatch (12) can be opened or closed manually via buttons.
The exterior and the interior lighting can be switched on and off via buttons (12). All
lights are switched off via a central off button. For each button in the house, a panic
function is configured so when pressing longer than 3 seconds, all lights are
switched on for a certain amount of time and switched off with automatic time delay
or pressing the button for another 3 seconds.

Set 9
Entry-ID: 64143308,

V1.1,

03/2014

2 Solution

An FI protective switch (18) provides the necessary security. Additionally, the


power supply for the first, second or third line of the distribution box can be
switched off via line protection switch (16, 17).
Via LOGO! TD (8), the blinds, the lights and the roof hatch can be controlled
centrally and the automatic mode can be switched on and off. Switching the
maintenance mode and garden watering on and off, as well as changing the
setpoint values for the heating is possible.
Advantages/Benefits
Simple execution and clear operation and monitoring of a house control with
LOGO! OBA7 and LOGO! TD
Adjustable automatic function of the house control with times and days, which
can be adjusted individually
Protection of the blinds for maintenance works
Excellent energy efficiency by monitoring the heating depending on the room
temperature and the given setpoint value
Central house control via LOGO! TD
Presence simulation when absent through automatic opening and closing the
blinds via a random generator

Siemens AG 2014 All rights reserved

Simultaneously switching all lights on and off via panic buttons


Control of several areas and functionalities of a house control via still
unassigned inputs and outputs

2.2

Hardware and software components used


This application has been generated using the following components:

Hardware components
Table 2-1
No.
1.

Component

Qty.

Order number

LOGO! 12/24RCE

6ED1052-1MD00-0BA7

2.

LOGO! DM16 24R

6ED1055-1NB10-0BA0

3.

LOGO! DM 8 24R

6ED1055-1HB00-0BA0

4.

LOGO! AM2 AQ

6ED1055-1MM00-0BA1

5.

LOGO! AM2 RTD

6ED1055-1MD00-0BA1

6.

LOGO! CSM 12/24


COMPACT SWITCH MODUL

6GK7177-1MA10-0AA0

7.

LOGO! POWER 24V/2,5 A

6EP1332-1SH43

8.

LOGO! TD

6ED1055-4MH00-0BA0

9.

PT100 temperature sensors

Available in specialized
electronics shops

10.

PT1000 temperature sensors

11.

DELTA PUSHB. INSERT FM


1 NO CONTACT

5TD2120

12.

I-SYST. TWH, ROCKER


OFF/CO FOR PUSHBUTTON

5TG6201

13.

DELTA PUSHB. INSERT FM


DOUBLE PUSHBUTTON,
2 NO CONTACTS

5TD2111

Set 9
Entry-ID: 64143308,

V1.1,

03/2014

Note

Optional: for expanding the


plant.

Alternatively, PT100 or
PT1000 temperature
sensors can be used

3 Functional Mechanisms of this Application

No.

Component

Qty.

Order number

14.

I-SYST. TWH, ROCKER


BLIND PUSHBUTTON

5TG6214

15.

DELTA LINE TWH, FRAME


1F 80

5TG2551-0

16.

Circuit-breaker

5SY41066

17.

Circuit-breaker

5SY45066

18.

FI protective switch

5SM33116KL

Note

Configuration software / tools


Table 2-2
No.
1.

Component
LOGO!Soft Comfort V7

Qty.
1

Order number

Note

6ED1058-0BA02-0YA1

Sample files and projects


Table 2-3
No.

Siemens AG 2014 All rights reserved

2.

Component

Note

64143308_LOGO!_Set9_Master_Slave_en.lsc

LOGO!Soft Comfort configuration for


LOGO! 0BA7

Functional Mechanisms of this Application

3.1

Blinds

Inputs/outputs
Table 3-1
No.

Hardware

LOGO!

Program inputs/outputs

1.

Blinds button left up (closer)

Master I1

I1

2.

Blinds button left down


(closer)

Master I2

I2

3.

Blinds button right up (closer)

Master I3

I3

4.

Blinds button right down


(closer)

Master I4

I4

5.

Blinds end switch left open


(opener)

Master I5

I5

6.

Blinds end switch left close


(opener)

Master I6

I6

7.

Blinds end switch right open


(opener)

Master I7

I7

8.

Blinds end switch right close


(opener)

Master I8

I8

9.

Blinds motor left up

Master Q1

Q1

10.

Blinds motor left down

Master Q2

Q2

11.

Blinds motor right up

Master Q3

Q3

12.

Blinds motor right down

Master Q4

Q4

Set 9
Entry-ID: 64143308,

V1.1,

03/2014

3 Functional Mechanisms of this Application

Function description
For each blind, a 0.5 seconds pause for the direction change was programmed for
protecting the motor against direct rerouting.
In manual mode, the blinds are operated via buttons and LOGO! TD (see Table 3-1,
Table 5-1 No. 3, and Table 5-2).
With LOGO! function block Astronomical clock the blinds are, in automatic mode,
moved up at sunrise and moved down at sunset during the week. On the weekend,
the blinds are moved up at 08:00 h and down at 20:00 h. A random generator can
delay the time of automatic opening and closing up to 30 minutes. Even though the
house is empty, this makes it seem that somebody is in the house.
In maintenance mode, the blinds move up. Closing the blinds only becomes
possible again when the maintenance mode is deactivated.
In configuration mode, the parameters of the function blocks (weekday, weekend,
astro.cl, random) can be changed on the LOGO! display and LOGO! TD.

3.2

Roof hatch

Inputs and outputs


Table 3-2

Siemens AG 2014 All rights reserved

No.

Hardware

LOGO!

Program inputs/outputs

1.

Button roof hatch


(closer)

Master DM16 l1

I9

2.

Roof hatch end switch open


(opener)

Master DM16 l2

I10

3.

Roof hatch end switch close


(opener)

Master DM16 I3

I11

4.

Roof hatch motor up

Master DM16 Q1

Q5

5.

Roof hatch motor down

Master DM16 Q2

Q6

Function description
For each roof hatch, a 0.5 seconds pause for the direction change was
programmed for protecting the motor against direct rerouting.
In manual mode, the roof hatch is exclusively operated via the button.
In automatic mode, the aut.roo (analog threshold value switch) function block
controls the roof hatch depending in the temperature.
In configuration mode, the parameters of the aut.roo function block can be
changed on the LOGO! display and LOGO! TD.
Note

3.3

When using a rain sensor (see LOGO! Set 11), the roof hatch is closed
depending on the weather.

Heating

Inputs and outputs


Table 3-3
No.
1.

Hardware
PT100 temperature sensor

Set 9
Entry-ID: 64143308,

V1.1,

03/2014

LOGO!
Master RTD A1

Program input/output
AI3

3 Functional Mechanisms of this Application

No.

Hardware

LOGO!

Program input/output

2.

PT1000 temperature sensor

Master RTD A2

AI4

3.

Switch on/off
heating room 1

Master DM8 Q1

Q14

4.

Switch on/off
heating room 2

Master DM8 Q2

Q13

Function description
The heaters are switched on and off via the function blocks heater1 (Analog
Comparator) and heater2 (Analog Comparator).
Note

3.4

In the LOGO! basic device (master), the standard setting for two analog inputs
are used so the RTD expansion module has the inputs AI3 and AI4.

Garden watering

Function description
Siemens AG 2014 All rights reserved

In manual mode, the garden watering is operated via LOGO! TD (see Table 5-1, No. 8).
In automatic mode, the garden watering is switched on in the morning at 09:00 h and in the
evening at 20:00 h for 10 minutes.
In configuration mode, the days and times of the weekly timer switch (function block watering)
can be changed on the LOGO! display and LOGO! TD.
Note

3.5

When using a rain sensor (see LOGO! Set 11), the garden watering is
suppressed depending on the weather.

Interior and exterior lighting

Inputs and outputs


Table 3-4
No.

Hardware

LOGO!

Program input/output

1.

Button inside left


on/off
(integrated panic button)

Slave I1

NI1
(Network input 1)

2.

Light button inside right


on/off
(integrated panic button)

Slave I2

NI2
(Network input 2)

3.

Exterior lighting button


on/off
(integrated panic button)

Slave I3

NI3
(Network input 3)

4.

Central off button


(integrated panic button)

Slave I4

NI4
(Network input 4)

5.

Light lighting window inside


left

Slave Q1

NQ1
(Network output 1)

6.

Light lighting window inside


right

Slave Q2

NQ2
(Network output 2)

Set 9
Entry-ID: 64143308,

V1.1,

03/2014

4 Installation

No.
7.

Hardware
LED exterior lighting

LOGO!

Program input/output

Slave Q3

NQ3
(Network output 3)

Function description
The lights are operated via button and LOGO! TD (see Table 3-4 and Table 5 3).
Note

Signals pending at the inputs of a slave LOGO! should normally be pending for
0.5 seconds so the signals can be transferred safely.

Installation

4.1

Connection configuration master and slave LOGO!

Note

Changes of the IP address or the master-slave mode are only possible in


STOP mode.

Siemens AG 2014 All rights reserved

Table 4-1
No.
1.

Action
First, you configure the master LOGO!.
Navigate to the network menu item via the
LOGO! display and select it.

LOGO! Display
s
>Network..
Diagnostic..
ESC

OK

ESC

OK

ESC

OK

ESC

OK

ESC

OK

ESC

OK

LOGO! 12/24RCE

2.

Select IP address item.

s
>IP address
Set mode

LOGO! 12/24RCE

3.

Press on the OK button of LOGO! and use the


arrow keys to enter your IP address of the
master LOGO! (here: 192.168.1.10). Confirm
with the OK button.

s
1
IP address
192.168.001.
010
LOGO! 12/24RCE

4.

Press the ESC key to get to the previous menu


item and select Set mode.

s
IP address
>Set mode

LOGO! 12/24RCE

5.

For configuring the master LOGO! you select


the Normal mode.

s
>Normal *
Slave
Password
LOGO! 12/24RCE

6.

Acknowledge the Change mode query with


Yes!, if LOGO! is not yet in normal mode
(master).

s
Change Mode
>No
Yes
LOGO! 12/24RCE

Set 9
Entry-ID: 64143308,

V1.1,

03/2014

4 Installation

No.
7.

Action

LOGO! Display

Repeat steps 1-6 for the configuration of the


slave LOGO!, with the following differences:
IP address, here: 192.168.1.11
Set mode -> Slave

8.

Press on Configure.

s
Normal *
>Slave
Password
LOGO! 12/24RCE

OK

ESC

OK

ESC

OK

s
>Config

LOGO! 12/24RCE

9.

ESC

Enter the IP address of the master LOGO!,


and press on the OK button to complete the
master-slave configuration.

s
Master IP
192.168.001.
010
LOGO! 12/24RCE

10.

After restarting the master and the slave


LOGO!, both controllers are ready for
operation.

Siemens AG 2014 All rights reserved

Note

The IP addresses and subnet masks of the master and slave LOGO!, and of the
network card or USB Ethernet Adapter for the network connection to the PC,
must always be set so all devices are located in the same subnet
(see Table 4-2).

IP addresses and subnet masks


Table 4-2
No.

Device

IP address

Subnet mask

Gateway

1.

Master LOGO!

192.168.1.10

255.255.255.0

0.0.0.0

2.

Slave LOGO!

192.168.1.11

255.255.255.0

0.0.0.0

3.

Network card or
USB Ethernet
Adapter for
network connection
to the PC

192.168.1.12

255.255.255.0

0.0.0.0

Note

CAUTION

The respective setup guidelines for LOGO! must generally be followed.

For this application, it must be observed for the wiring that all LOGO!
signals are designed in 24V.
If a combination of 230V and 24V is required, a 230V basic device must be
used. Between a 230V basic device and a 24V expansion module, an
analog module for potential separation must be used.

Set 9
Entry-ID: 64143308,

V1.1,

03/2014

10

5 Operation of the Application

4.2
Note

Software installation
It is assumed that the necessary LOGO!Soft Comfort V7 software has been
installed on your PC and that you are familiar with the basic handling of this
software.

Operation of the Application


The application is operated via buttons. Certain functions are additionally operated
via LOGO! TD. The states of the functions are displayed on the LOGO! display and
LOGO! TD (e.g.: Panic function: All lights are on!).

5.1

LOGO! TD functions

Table 5-1
No.

Description / Activity

1.

Figure / Explanation

Blinds menu

Siemens AG 2014 All rights reserved

Actual mode
F2: change automatic/manual
F3: activating maintenance works
2.

Blinds menu
maintenance works activated

F3: Deactivate maintenance


3.

Blinds menu
F2: All blinds up
Bar display for blinds
F3: All blinds down

4.

Lights menu
All lights on
All lights off

5.

Panic function activated


Press OK for acknowledgement
All lights are on!
Date/time
All lines are displayed as ticker line for line
(changes between both displays)

Set 9
Entry-ID: 64143308,

V1.1,

03/2014

11

5 Operation of the Application

No.

Description / Activity

6.

Figure / Explanation

Roof hatch menu


Manual mode
Bar display for roof hatch
Change automatic/manual

7.

Roof hatch menu


Automatic mode
Open when above 28C
or below 25C
Line 3 and 4 are displayed as ticker line for line
(changes between both displays)

8.

Garden watering menu


Status on/off
Mode/F3: watering on/off

Siemens AG 2014 All rights reserved

F2: change automatic/manual


Line 3 and 4 are displayed as ticker line for line
(changes between both displays)
9.

Room1 (temperature control)


Temperature/heating on/off
Setpoint value
F2: increase, F3: reduce

Note

5.2

On LOGO! TD, the F1 key enables navigating backwards and the F4 key
forwards. If the picture for the panic function is activated, it stays when pressing
F1 or F4 until it is acknowledged with the OK button on LOGO! or LOGO! TD.

Operation
How to use the application is explained using the blinds and the lighting.

5.2.1

Operating the blinds


In the Blinds menu of LOGO! TD you check whether the manual mode is active.

Table 5-2
No.
1.

Description / Activity

LOGO! TD

Press the up button for left blind for at


least 0.5 seconds.

Set 9
Entry-ID: 64143308,

V1.1,

03/2014

12

5 Operation of the Application

No.

Description / Activity

2.

Left blind moves up into the end


position.
Repeat the process for moving down
with the close button.

3.

If during motion the button for the


opposite direction is pressed, the
motion stops. When pressing the button
for the opposite direction for longer (0.5
seconds), the motion in opposite
direction is activated.

LOGO! TD

Table 5-3
No.

Description / Activity

Siemens AG 2014 All rights reserved

1.

LOGO! TD

If all blinds shall move up, press the F2


button (all blinds up) in the blinds
menu of LOGO! TD for at least 0.25
seconds and F3 (all blinds down) for
moving down. If during motion the
F button for the opposite direction
is pressed, the motion stops. When
pressing the F button for the opposite
direction longer (0.25 seconds) the
motion in opposite direction is activated.

5.2.2

Operating panic function for the lighting

Table 5-4
No.

Description / Activity

1.

When pressing a light button for more


than 3 seconds, the panic function
switches on all lights in the house and
the message text for the panic function
appears on the LOGO! display and
LOGO! TD.

2.

Pressing the button again for more than


3 seconds switches the panic function
and all lights back off.

Set 9
Entry-ID: 64143308,

V1.1,

03/2014

LOGO! TD

13

6 Related Literature

Related Literature

6.1

Bibliographic references
The following list is by no means complete and only provides a selection of
appropriate information.
Table 6-1
Topic

\1\

Title
LOGO! Practical Training
Authors: Uwe Graune; Mike Thielert; Ludwig Wenzl
Publisher: Publicis Publishing
ISBN: 978-3-89578-338-8

LOGO!

6.2

Internet links

Siemens AG 2014 All rights reserved

The following list is by no means complete and only provides a selection of


appropriate sources.
Table 6-2
Topic

Link

\1\

LOGO! Information

http://www.automation.siemens.com/mcms/programmable-logiccontroller/en/logic-module-logo/Pages/Default.aspx

\2\

LOGO! Starter Kit

http://www.automation.siemens.com/mcms/programmable-logiccontroller/en/logic-module-logo/logo-starter-kit/Pages/Default.aspx

\3\

Link to this document

http://support.automation.siemens.com/WW/view/en/64143308

\4\

Siemens Industry Online


Support

http://support.automation.siemens.com

\5\

LOGO! Manuals

http://support.automation.siemens.com/WW/view/en/10805245/133300

\6\

LOGO! Forum

http://www.automation.siemens.com/WW/forum/guests/Conferences.aspx?
Language=en

\7\

LOGO!
Software Updates

http://www.automation.siemens.com/mcms/programmable-logiccontroller/en/logic-module-logo/demo-software/Pages/Default.aspx

\8\

LOGO! Application
Examples

http://www.automation.siemens.com/mcms/programmable-logiccontroller/en/logic-module-logo/application-examples/Pages/Default.aspx

History

Table 7-1
Version:

Date

V1.0

04/2013

First version

V1.1

03/2014

Layout changes and addition of security advice

Set 9
Entry-ID: 64143308,

V1.1,

03/2014

Modifications

14

Das könnte Ihnen auch gefallen