Logo e
Logo e
Dear Customer,
We thank you for the purchase of LOGO! and congratulate you on
your decision. With the LOGO! you have acquired a logic module
that meets the stringent quality requirements of ISO 9001.
LOGO! can be used in many fields of applications. Due to its high
functionality and yet easy operation the LOGO! offers you highly
efficient economies for almost any application.
LOGO! documentation
This LOGO! Manual contains information relating to the installa-
tion, programming and the use of LOGO! 0BA3 Basic devices and
LOGO! 0BA0 expansion modules as well as their down compatibi-
lity to the previous Basic devices 0BA0, 0BA1 and 0BA2 (0BAx
are the last four characters of the order number, used to distin-
guish the module series).
You can find information on wiring the LOGO! in the LOGO! ma-
nual and in the product info included with every device. Find sup-
plementary information re programming the LOGO! with the PC in
the Online Help for LOGO!Soft Comfort.
LOGO!Soft Comfort is the programming software for PCs. It runs
under Windows, Linux, and Mac OS X and helps you to get
familiarized with your LOGO! and to write, test, print out and ar-
chive your programs, independent of the LOGO! .
Guide to the manual
We have divided this manual into 9 chapters:
Working with LOGO!
Installing and wiring the LOGO!
Programming LOGO!
LOGO! Functions
Configuring LOGO!
LOGO! Program Modules
LOGO! Software
Applications
Appendices
LOGO! Manual
A5E00119092-01 i
Welcome to LOGO!
ii LOGO! Manual
A5E00119092-01
Welcome to LOGO!
Safety guidelines
The notes in this user manual are for your own personal safety
and for preventing damage to assets. You should read them care-
fully and follow the instructions they give you. These instructions
are highlighted by a warning triangle and are marked as follows
according to their danger level:
Danger
! Warns that death, serious harm to health or damage to
assets will result if the respective precautionary mea-
sures are not taken.
Warning
! Warns that death, serious harm to health or damage to
can result if the respective precautionary measures
are not taken.
Caution
! Warns that harm to health or damage to assets can
result if the respective precautionary measures are not
taken.
Note
Draws your attention to particularly important informa-
tion relating to the product and its handling, or to a part
of the documentation requiring your special attention.
Warning
! Only skilled personnel should be allowed to start and
operate this device. Qualified personnel in the sense of
the information on safety technology in this manual are
persons who are authorized to commission, to ground
and to tag circuits, equipment and systems in accor-
dance with safety regulations and standards.
LOGO! Manual
A5E00119092-01 iii
Welcome to LOGO!
Warning
! This device must always be used as intended for the
applications described in the catalog and in the techni-
cal specifications, and only in combination with non–
Siemens devices or components approved or recom-
mended by Siemens .
Prerequisite for the safe and correct functioning of the
product is its proper transportation, storage, commis-
sioning and installation as well as meticulous operation
and maintenance.
iv LOGO! Manual
A5E00119092-01
Contents
1 Working with LOGO! . . . . . . . . . . . . . 1
2 Installing and wiring the LOGO! . . . 11
2.1 Structure of the modular LOGO! . . . . . . . . . . . . . . . . 13
2.1.1 Maximum structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.1.2 Structure with different voltage classes . . . . . . . . . . . 14
2.2 Installing/uninstalling LOGO! . . . . . . . . . . . . . . . . . . 15
2.2.1 Profile rail mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.2.2 Wall-mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.3 Wiring the LOGO! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.3.1 Connecting the Power Supply . . . . . . . . . . . . . . . . . . . 22
2.3.2 Connecting LOGO! inputs Connecting . . . . . . . . . . . 24
2.3.3 LOGO! Outputs connecting . . . . . . . . . . . . . . . . . . . . . 29
2.4 Switching on the LOGO!/Power return . . . . . . . . . . 31
3 Programming LOGO! . . . . . . . . . . . . . 35
3.1 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.2 Blocks and Block Numbers . . . . . . . . . . . . . . . . . . . . . 39
3.3 The way from the Circuit Diagram to LOGO! . . . . . 42
3.4 The 4 Golden Rules for Working with LOGO! . . . . 45
3.5 Overview of the LOGO! Menus . . . . . . . . . . . . . . . . . 47
LOGO! Manual
A5E00119092-01 v
Contents
4 LOGO! Functions . . . . . . . . . . . . . . . . 81
4.1 Constants and Connectors – Co . . . . . . . . . . . . . . . . 82
4.2 List of basic functions – BF . . . . . . . . . . . . . . . . . . . . 85
4.2.1 AND (AND) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
4.2.2 Edge-triggered AND . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
4.2.3 NAND (AND not) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
4.2.4 NAND With Edge Evaluation . . . . . . . . . . . . . . . . . . . 89
4.2.5 OR (OR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
4.2.6 NOR (OR not) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
4.2.7 XOR (exclusive OR) . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
4.2.8 NOT (Negation, Inverter) . . . . . . . . . . . . . . . . . . . . . . . 91
vi LOGO! Manual
A5E00119092-01
Contents
LOGO! Manual
A5E00119092-01 vii
Contents
8 Applications . . . . . . . . . . . . . . . . . . . . . 171
8.1 Staircase or Corridor Lighting . . . . . . . . . . . . . . . . . . 172
8.1.1 Demands on a Staircase Lighting System . . . . . . . . 172
8.1.2 Previous Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
8.1.3 Lighting System with LOGO! . . . . . . . . . . . . . . . . . . . 173
8.1.4 Special Features and Expansion Options . . . . . . . . . 175
8.2 Automatic Door . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
8.2.1 Demands on an Automatic Door . . . . . . . . . . . . . . . . 176
8.2.2 Previous Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
8.2.3 Door Control System with LOGO! . . . . . . . . . . . . . . . 177
8.2.4 Special Features and Expansion Options . . . . . . . . . 180
8.2.5 Enhanced solutions with LOGO! 230 RC . . . . . . . . . 180
8.3 Air–conditioning System . . . . . . . . . . . . . . . . . . . . . . . 183
8.3.1 Demands on an air–conditioning System . . . . . . . . . 183
8.3.2 Advantages of Using LOGO! . . . . . . . . . . . . . . . . . . . 186
8.4 Industrial Gate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
8.4.1 Demands on the Gate Control System . . . . . . . . . . . 188
8.4.2 Previous Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
8.4.3 Wiring the LOGO! solution . . . . . . . . . . . . . . . . . . . . . 191
8.5 Centralized Control and Monitoring of
Several Industrial Gates . . . . . . . . . . . . . . . . . . . . . . . . 192
8.5.1 Demands on the Gate Control System . . . . . . . . . . . 193
8.6 Luminous rows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
8.6.1 Demands on the Lighting System . . . . . . . . . . . . . . . 196
8.6.2 Previous Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
8.6.3 Luminous row control with LOGO! 230 RC . . . . . . . 198
8.7 Service water pump . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
8.7.1 Demands on the control system of a service
water pump . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
8.7.2 Previous Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
8.7.3 Service water pump with LOGO! 230 RC . . . . . . . . . 202
8.7.4 Special Features and Expansion Options . . . . . . . . . 203
8.8 Further Application options . . . . . . . . . . . . . . . . . . . 204
LOGO! Manual
A5E00119092-01 ix
Contents
x LOGO! Manual
A5E00119092-01
1 Working with LOGO!
What is LOGO! ?
LOGO! represents the universal Siemens logic module.
LOGO! integrates
Controls
An operating and display unit
Power supply
Interface for expansion modules
An interface for program modules and a PC cable
Ready–to–use basic functions that are often required in
day–to–day operation, e.g. functions for on/off delays,
current impulse relays and Softkey
Time switch
Binary markers
Inputs and outputs according to the device type
What can LOGO! do ?
LOGO! offers solutions for domestic and installation engi-
neering (e.g. for stairway lighting, external lighting, sun
blinds, shutters, shop window lighting etc.), switch cabinet
engineering and mechanical and apparatus engineering
(e.g. for gate control systems, ventilation systems, or rain-
water pumps etc.).
LOGO! can also be implemented for special control sys-
tems in conservatories or greenhouses, for control signal
processing and, by connecting a communication module
(e.g. ASi) for distributed local controlling of machines and
processes.
Special versions without operator and display unit are avail-
able for series production applications in small machine,
apparatus, switch control and installation engineering.
LOGO! Manual
A5E00119092-01 1
Working with LOGO!
2 LOGO! Manual
A5E00119092-01
Working with LOGO!
Note
Every basic LOGO! unit can be expanded with expansion
modules of the same voltage class. Mechanical encoding
(pin in the housing) prevents interconnection of devices of
different voltage classes.
Exception: The left interface of the analog module or
communication module is separated from potential.
This means that these expansion modules can be con-
nected to devices of a different voltage class. See also
Chapter 2.1 ’Structure of the modular LOGO!’.
Regardless of the number of modules connected to the
LOGO!, the following I/O and memory bits are available: I1
to I24, AI1 to AI8, Q1 to Q16 And M1 to M8.
LOGO! Manual
A5E00119092-01 3
Working with LOGO!
2 10
1
8
L1 N I1 I2 I3 I4 I5 I6 I7 I8
4
LOGO! Basic (e.g.: 230 RC)
35
90
5
1 2 1 2 1 2 1 2
Q1 Q2 Q3 Q4
72 55
2
9 10
1
8 9 8
L1 N I1 I2 I3 I4
4
LOGO! Expansion module
11
(e.g.: DM8 230R)
7
35
90
RUN/STOP
1 2 1 2
Q1 Q2
1 Q3 2 1Q4 2
36 53
4 LOGO! Manual
A5E00119092-01
Working with LOGO!
2 10
1
8
L+ M I1 I2 I3 I4 I5 I6 I7 I8
LOGO! Basic (e.g.: 12/24 RC)
4
4
35
90
5
1 2 1 2 1 2 1 2
Q1 Q2 Q3 Q4
72 55
2
9 10
1
8 9 8
L+ M I1 I2 I3 I4
4
LOGO! Expansion module
11
(e.g.: DM8 12/24R)
7
35
90
RUN/STOP
1 2 1 2
Q1 Q2
1Q3 2 1 Q4 2
36 53
LOGO! Manual
A5E00119092-01 5
Working with LOGO!
LOGO! AM2
9 10
1
8 9 8
L+ M L+ M
4
11
35
90
RUN/STOP
12
PE
INPUT 2x(0..10V/0..20 mA)
I1 M1 U1 I2 M2 U2
2
36 53
6 LOGO! Manual
A5E00119092-01
Working with LOGO!
LOGO! Manual
A5E00119092-01 7
Working with LOGO!
Variants
LOGO! is available in the following variants:
Expansion module
The LOGO! can be connected to the following expansion
modules:
Symbol Designation Supply voltage Inputs Outputs
LOGO! DM 8 12/24 12/24 V DC 4 Digital 4 Relays (3)
R
LOGO! DM 8 24 24 V DC 4 Digital 4 Transistors
LOGO! DM 8 230R 115...240 V AC/DC 4 Digital (1) 4 Relays (3)
LOGO! AM 2 12/24 V DC 2 Analog none
0–10 V or
0–20 mA (2)
(1): no different phases allowed within the inputs.
(2): 0–10 V, 0–20 mA connection is optional.
(3): The maximum sum switching power across all four relays is 20 A.
8 LOGO! Manual
A5E00119092-01
Working with LOGO!
Warning
! Personal injury and material damage may be
incurred.
In potentially explosive areas, personal injury or
property damage can result if you withdraw any
connectors while the system is in operation.
Always switch off the power supply for the
LOGO! and its components before you discon-
nect any connectors.
LOGO! Manual
A5E00119092-01 9
Working with LOGO!
10 LOGO! Manual
A5E00119092-01
2 Installing and wiring the LOGO!
General Guidelines
When mounting and wiring your LOGO! you should ob-
serve the following guidelines:
When wiring the LOGO! ensure you are conforming with
current rules and standards. You should also heed any
national and regional regulations when installing and
operating the devices. Contact the relevant authorities
to find out the standards and regulations that apply in
your specific case.
Use wires with the appropriate cross–section for the
amount of current involved. LOGO! can be wired using
cables with a conductor cross–section of 1.5 mm2 and
2.5 mm2, refer to Chapter 2.3.
Don’t screw the connectors too tightly. Maximum torque:
0.5 N/m, refer to Chapter 2.3.
Keep wiring distances as short as possible. If longer
wires are necessary, a shielded cable should be used.
Arrange you wires in pairs: one neutral conductor with
one phase conductor or one signal line.
Keep separate:
– AC circuits
– High–voltage DC circuits with fast switching cycles
– Low voltage signal wiring.
Ensure that the wires have the required strain relief.
Provide suitable overvoltage protection for wires that
could be vulnerable to lightning.
LOGO! Manual
A5E00119092-01 11
Installing and wiring the LOGO!
Note
LOGO! must always be mounted and wired by skilled per-
sonnel who are familiar and follow the general rules of the
technology and the respective current rules and standards.
12 LOGO! Manual
A5E00119092-01
Installing and wiring the LOGO!
Tip
When using inputs I7 / AI1 and I8 / AI2 as analog inputs,
that is, AI1 and AI2, you should avoid to use them as digital
inputs I7/I8 also.
Maximum structure of LOGO! without analog inputs
(LOGO! 24 RC/RCo and LOGO! 230 RC/RCo)
Fast/optimal communication
In order to achieve an optimal and fast communication be-
tween LOGO! Basic and the various modules, we recom-
mend the structure “Digital modules first, then the analog
modules” (example above).
LOGO! Manual
A5E00119092-01 13
Installing and wiring the LOGO!
14 LOGO! Manual
A5E00119092-01
Installing and wiring the LOGO!
Note
We shall illustrate mounting and removal in a graphic over-
view for a LOGO! 230 RC and a digital module. The
shown methods also apply for all other LOGO! basic vari-
ants and expansion modules.
Warning
! Expansion modules must only be “Extracted” and
“Plugged” after power is switched off.
LOGO! Manual
A5E00119092-01 15
Installing and wiring the LOGO!
1 6
2 4
16 LOGO! Manual
A5E00119092-01
Installing and wiring the LOGO!
Note
The expansion interface of the last expansion module
must be covered.
LOGO! Manual
A5E00119092-01 17
Installing and wiring the LOGO!
Uninstalling
To uninstall LOGO!, proceed as follows:
....... if only one LOGO! Basic is mounted: Part A
1. Insert a screwdriver into the hole shown at the lower
end of the mounting slide and push it downward
2. Swing the LOGO! basic off the profile rail.
2 4
1 3
A B
18 LOGO! Manual
A5E00119092-01
Installing and wiring the LOGO!
Note
If more than one expansion module is connected, start
with the last module at the right.
Make sure that the slide of the module to be installed/re-
moved is not connected to the next module.
LOGO! Manual
A5E00119092-01 19
Installing and wiring the LOGO!
2.2.2 Wall–mounting
Before you wall–mount the device, the mounting slides at
the rear of the device must be pushed towards the outside
or the inside. Insert the upper mounting slide (included with
the modules) and push the lower one to the outside. You
can the fasten the LOGO! with two 4–mm screws (tight-
ening torque 0.8 to 1.2 N/m) to the bracket to mount it on
the wall.
Mounting slides
20 LOGO! Manual
A5E00119092-01
Installing and wiring the LOGO!
98 +/–0,3
1 2 2 2
n x 35,5 +/–0,2
All dimensions in mm
Screw bore 4 mm
Tightening torque 0.8 to 1.2 N/m
1
LOGO! Basic
2 LOGO! Expansion module
LOGO! Manual
A5E00119092-01 21
Installing and wiring the LOGO!
Note
ensuring that the connectors are covered. To protect the
LOGO! adequately against contact to voltage carrying
parts, country specific standards must be conformed with.
Note
Power failure might result for instance in an additional
edge after power restoration with edge–triggered special
functions.
Data of the last uninterrupted cycle are stored in LOGO!.
22 LOGO! Manual
A5E00119092-01
Installing and wiring the LOGO!
Connecting
This is how you connect your LOGO! to the power supply:
LOGO! ..... with DC LOGO! ..... with AC
supply voltage supply voltage
L+ L1
M N
L+ M I1 I2 I3 I4 I5 L1 N I1 I2 I3 I4
Note
LOGO! has protective insulation. A ground terminal is not
necessary.
LOGO! Manual
A5E00119092-01 23
Installing and wiring the LOGO!
Input current < 1.0 mA < 0.05 mA < 1.0 mA < 0.05 mA
Input current > 1.5 mA > 0.1 mA > 1.5 mA > 0.1 mA
24 LOGO! Manual
A5E00119092-01
Installing and wiring the LOGO!
Note
The digital inputs of the LOGO! 230 RC/RCo are divided
into two groups equipped with 4 inputs each. Within a
group all inputs must be operated on the same phase. Dif-
ferent phases are only possible between the groups.
Example: I1 to I4 on phase L1, I5 to I8 on phase L2.
Within the input circuit of the LOGO! DM8 230R you must
not connect different phases.
Sensor connections
Connecting glow lamps, 2–wire Bero to the LOGO! 230
RC/230 RCo or LOGO! DM8 230 R (AC)
L1
N
Order number for C:
C Siemens
Switching Devices & Sys-
L1 N tems
3SB1430–3C
3SB1420–3D
3TX7462–3T
Restrictions
– Circuit status transition 0 1 / 1 0
When the circuit state changes from 0 to 1, circuit state 1
and, in the case of a change from 1 to 0, circuit state 0
must be in place for at least one program cycle for LOGO!
to recognize the new circuit status.
The cycle time of the program processing depends on the
size of the program. In Chapter 3.7 you can find a descrip-
tion of a short test program that will help you to work out
the current cycle time.
LOGO! Manual
A5E00119092-01 25
Installing and wiring the LOGO!
Note
There are no changes in the standard version compared to
previous Basic devices (0BA0 to 0BA2): I5 and I6 are still
the fast inputs, that is, no changes are necessary to trans-
fer the program written in these versions to the new 0BA3
devices. In contrast, programs written in a LOGO!...L ver-
sion (fast inputs I11/I12) must be changed.
Expansion modules do not have fast inputs.
Note
The expansion module LOGO! AM2 is available for addi-
tional inputs.
For the analog signals you must always use twisted and
shielded cables as short as possible.
26 LOGO! Manual
A5E00119092-01
Installing and wiring the LOGO!
Sensor connections
This is how to connect sensors to the LOGO! :
LOGO! 12/24 ....
L+ The inputs of these devices are
M non–isolated and therefore require
the same reference potential
(ground) as the power supply.
With the LOGO! 12/24 RC/RCo and
L+ M I1 I2 I3 I4 I5 I8
LOGO! 24 you can tap the analog
signal between the supply voltage
and ground.
Warning
! Current safety regulations (VDE 0110, ... and
IEC 61131–2, ... as well as UL and CSA) do not
permit the connection of different phases to one
input group (I1–I4 or I5–I8) of an AC version or
on the inputs of one digital module.
LOGO! Manual
A5E00119092-01 27
Installing and wiring the LOGO!
LOGO! AM2
L+
M PE Grounding terminal
for connecting
ground and shielding
L+ M L+ M
of the analog mea-
suring line
1 Ground
2 Cable shielding
3 3 Profile rail
RUN/STOP
1
PE
M L+ I1 M1 U1 I2 M2 U2
Current 2
Measuring
0–20 mA
current
M
Current mea- Voltage measure-
surement ment
28 LOGO! Manual
A5E00119092-01
Installing and wiring the LOGO!
1 Q5 2 1 Q6 2
1 2 1 2
Q1 Q2
Load Load
LOGO! Manual
A5E00119092-01 29
Installing and wiring the LOGO!
DM8...24
Q5 M Q6 M
Q1 M Q2 M
Load Load
30 LOGO! Manual
A5E00119092-01
Installing and wiring the LOGO!
LOGO! Manual
A5E00119092-01 31
Installing and wiring the LOGO!
No Program
No Program or Press ESC
Press ESC
(empty)
No program >Program..
in memory PC/Card..
Clock..
(with program) Start
and
B01 PC = LOGO!
No Program PC cord
Press ESC or & Q1 Stop?
Press ESC
No program Program in
in memory memory
32 LOGO! Manual
A5E00119092-01
Installing and wiring the LOGO!
You can also try to remember the 4 simple rules for starting
LOGO! Basic:
1. If there is no program in LOGO! or in the connected
program modules, LOGO! (with display) reports: ’No
Program Press ESC’.
2. If there is a program on the program module, it is auto-
matically copied to LOGO! . A program in LOGO! is
overwritten.
3. If there is a program in LOGO! or in the connected pro-
gram module, LOGO! takes over the operate state it
had prior to POWER–OFF. The version without display
(LOGO! ...RCo) is switched automatically from STOP to
RUN mode (LED toggles from red to green).
4. If at least on function is switched retentive or if you have
used a function that is permanently retentive the current
values are also retentive at POWER–OFF.
Note
If a power loss occurs while you are entering a program,
the program in LOGO! is deleted after power is returned.
You should therefore save your original program before
changing it on a program module (card) or on a computer
(LOGO!Soft Comfort).
LOGO! Manual
A5E00119092-01 33
Installing and wiring the LOGO!
STOP RUN
Display: ’No Program’ (not Display: screen form for
LOGO! ...RCo) monitoring I/O and mes-
LOGO! to programming sages (after START in the
mode main menu)
(not LOGO! ...RCo) (not LOGO! ...RCo)
The LED lights up red LOGO! to programming
(only LOGO! ...RCo) mode
(not LOGO! ...RCo)
The LED lights up green
(LOGO! ...RCo)
Action by LOGO!: Action by LOGO!:
The inputs are not read. LOGO! reads the state of
The program is not exe- the inputs
cuted. LOGO! calculates the state
The relay contacts are al- of the outputs with the pro-
ways open or the transistor gram.
outputs are switched off LOGO! switches the relays/
transistor outputs on or off
LED is lit
green (RUN) red (STOP) orange
The expansion The expansion Initialization phase
module communi- module does not of the expansion
cates with the left communicate with module
device the left device
34 LOGO! Manual
A5E00119092-01
3 Programming LOGO!
Your first steps with LOGO!
The term programming refers to the input of a circuit pro-
gram. A LOGO! program is actually no more than a circuit
diagram presented in a slightly different form!
We have adapted this presentation to the LOGO! display.
In this chapter we are going to show you how to transform
your applications into a LOGO! program.
Note
The LOGO! versions LOGO! 12/24 RCo, LOGO! 24 RCo
and LOGO! 230 RCo do not have a keyboard or a display
unit. They are mainly intended for series production ap-
plications in small machine and plant engineering.
LOGO!...RCo versions are not programmed locally.
Rather, programs in LOGO!Soft Comfort or in the memory
modules of other LOGO! units are transferred to this de-
vice.
LOGO! Manual
A5E00119092-01 35
Programming LOGO!
3.1 Connectors
LOGO! has I/Os
Example of a configuration with several modules:
Inputs
PE
1 2 1 2 1 2 1 2
Q5 Q6 INPUT 2x (..10V/..20 mA) Q9 Q10
1 2 1 2 1 2 1 2 1 2 1 2 A!3 M3U3AI4M4U4 1 2 1 2
Q1 Q2 Q3 Q4 Q7 Q8 Q11 Q12
36 LOGO! Manual
A5E00119092-01
Programming LOGO!
Note
LOGO! can recognize, read and switch the I/O of all ex-
pansion slots, regardless of their type. The I/O is shown in
the order of the module arrangement.
The following I/Os and memory bits are available for pro-
gramming: I1 to I24, AI1 to AI8, Q1 to Q16 and M1 to M8.
For the LOGO! 12/24... and LOGO! 24 inputs I7 and I8
applies: if Ix is used in the program, the input signal is in-
terpreted as digital signal; with AIx it is an analog signal.
Input AIx can only be the connector that is actually capa-
ble of carrying an analog signal.
LOGO! Manual
A5E00119092-01 37
Programming LOGO!
LOGO!’s connectors
The term connector refers to all connections and states in
LOGO! .
The I/O status can be ’0’ or ’1’. Status ’0’ means that the
input does not carry a voltage. Status ’1’ means that the
input carries voltage. But that, we assume, is nothing new
to you.
We have implemented the connectors hi, lo and x in order
to facilitate programming for you: the default fixed status of
’hi’ (high) is ’1’ and of ’lo’ (low) it is ’0’.
If you do not want to wire the input of a block, use the ’x’
connector. The meaning of the term block is explained on
the next page.
LOGO! knows the following connectors:
LOGO! basic DM AM
Connec-
tors
38 LOGO! Manual
A5E00119092-01
Programming LOGO!
I1
Inputs I1 and I2 are connected to the
1 OR block. The last input of the block
I2
is not used and is therefore marked
x Q
with an x.
The special functions are far more powerful:
Pulse relay
Counter
On delay
Softkey
....
Chapter 4 provides a complete list of LOGO!’s functions.
LOGO! Manual
A5E00119092-01 39
Programming LOGO!
40 LOGO! Manual
A5E00119092-01
Programming LOGO!
Note
For efficient working, we recommend that you create
block diagram of the program. This is going to make pro-
gramming easier for you, because here you can enter the
block numbers assigned by LOGO!.
If you program the LOGO! using the LOGO!Soft Comfort
software, you can directly create a logic diagram of your
program.
LOGO! Manual
A5E00119092-01 41
Programming LOGO!
L1
Wiring of the inputs
S1 ... S3
Program in LOGO!
1 &
I1 I3
I2 Q1
x x
42 LOGO! Manual
A5E00119092-01
Programming LOGO!
&
I3
Q1
x
1 &
I1 I3
I2 Q1
x x
You have now completely described the circuit for the
LOGO! . Now connect the I/Os to the LOGO! .
Wiring
Connect the switches S1 to S3 to the screw terminals of
the LOGO! :
Connect S1 to connector I1 on the LOGO!
Connect S2 to connector I2 of the LOGO!
Connect S3 to connector I3 of the LOGO!
Since only two inputs of the OR blocks are being used, the
third input of this block must be marked as “unused”. This
is indicated using the suffix x.
Likewise, only 2 inputs of the AND block are used. Thus,
the third input is also marked as ’unused’ by the suffix x.
The output of the AND block controls the relay of output
Q1. The load E1 is connected to output Q1.
LOGO! Manual
A5E00119092-01 43
Programming LOGO!
Wiring example
The following table shows you the wiring based on a 230 V
AC version of LOGO!.
L1
N
S1 S2 S3 Wiring of the inputs
L1 N I1 I2 I3 I4
1 2
Q1
Output wiring
L1
Last
44 LOGO! Manual
A5E00119092-01
Programming LOGO!
LOGO! Manual
A5E00119092-01 45
Programming LOGO!
Rule 3
Cursor and cursor movement
When programming a circuit, note:
When the cursor appears in the form of an underscore,
you can move the cursor:
– Use the , , or key to move the cursor in the
circuit
– Press OK to change to ”Select terminal/block”
– Press ESC to exit circuit programming.
When the cursor appears as solid square, you should
select a connector/block
– Use the or key to select a connector/block.
– Confirm your selection with OK.
– Press ESC to go back one step.
Rule 4
Planning
Make a complete plan of your circuit on paper before
you input the circuit or program LOGO! directly using
LOGO!Soft or LOGO!Soft Comfort.
LOGO! can only save complete programs. If the circuit
program is incomplete LOGO! cannot exit the program-
ming mode.
46 LOGO! Manual
A5E00119092-01
Programming LOGO!
Programming mode
LOGO! Manual
A5E00119092-01 47
Programming LOGO!
No Program
Press ESC
48 LOGO! Manual
A5E00119092-01
Programming LOGO!
Here too, you can move the ”>” by pressing the and
keys. Move the ”>” to ”Edit Prg” (edit program, that is, in-
put) and confirm with OK. LOGO! no shows you the first
output:
Q1
Note
Since our program has not yet been saved with a pass-
word in LOGO! you can start editing your program right
away. If you start a program already saved with password
protection, “Edit Prg“ and confirmation with OK would be
followed by the prompt to enter a password. In this case
you cannot start editing unless you enter the correct pass-
word. (refer to Chapter 3.6.5.)
LOGO! Manual
A5E00119092-01 49
Programming LOGO!
I1
1
I2
Q1
x
Wiring
The corresponding wiring:
L1
S1
N S2
L1 N I1 I2
I1 I3 I4 I5 I6 I7 I8
1 2 1 2 1 2 1 2
Q1 Q2 Q3 Q4
L
50 LOGO! Manual
A5E00119092-01
Programming LOGO!
Q1
– Q1
At this point, enter only the first block (the OR block). Press
OK to switch to editing mode.
LOGO! Manual
A5E00119092-01 51
Programming LOGO!
Q1
– 1 number 1
Q1 Q1
You have now entered the first block. Each block you enter
is assigned a block number. What is now left to do is to
wire the inputs of the block. This is how it is done:
Press OK.
The is what you see in the display
B01
Co 1
Q1
52 LOGO! Manual
A5E00119092-01
Programming LOGO!
B01
x 1
Q1
The first element in the Co list is the ”Input not used” char-
acter, an ’x’. Use the keys or to select input I1.
Note
Use the key to go to the start of the Co list: I1, I2 .... to
lo, and again ’x’. Use the key to start at the end of the
Co list: lo, hi, Q ..... to I1, and once again ’x’.
B01
I1 1
Q1
I1 1 1
I1
– Q1 Q1
LOGO! Manual
A5E00119092-01 53
Programming LOGO!
I1 1 1
I1
I2 Q1 I2 Q1
We do not need the last input of the OR block for this pro-
gram. In a LOGO! program the unused inputs are identified
with an ”x”. Now enter the ’x’:
1. Switch to editing mode: OK
2. Select the Co list: per or
3. Accept the Co list: OK
4. Select x: per or
5. Accept x: OK
Now all the inputs of the block are now wired. LOGO! con-
siders the program as being complete LOGO! jumps back
to output Q1.
The is what you see in the display
Your program looks like this
B01
1
I1
B01 Q1 I2 Q1
x
If you want to review your first program, you can use the
or key to move the cursor through the program.
54 LOGO! Manual
A5E00119092-01
Programming LOGO!
Note
LOGO! has now saved your program retentive on power
failure. The program is only stored in the LOGO! until you
delete it per instruction.
LOGO! Manual
A5E00119092-01 55
Programming LOGO!
a b C F G H I J K L M N O
P Q R S T U V W X Y Z a b c d e
f g h i j k l m n o p q r s t u
v w x y z 0 1 2 3 4 5 6 7 8 9 !
” # $ % & ’ ( ) * + , – . / : ;
< = > ? @ [ \ ] ^ _ ‘ { | } ~
Note
The program name can only be changed in programming
mode. You can read the program name in programming
mode and in parameter assignment mode .
56 LOGO! Manual
A5E00119092-01
Programming LOGO!
3.6.5 Password
You can assign a password in to protect it from being
edited by unauthorized persons.
How to assign a password
The maximum password length is 10 characters. It consists
of uppercase letters only (A to Z). On the device you can
only assign, edit and deactivate the password in the
“Password” menu.
In the programing menu:
1. move ’>’ to ’Password’: per or
2. Accept the ’Password’: OK
Use the keys or to move up and down the alphabet to
select your letters. Since LOGO! allows only uppercase
letters for the password, you can quickly access the letters
”at the end” of the alphabet faster by using the key :
Press once gives you a “Z”
Pressing twice gives you a “Y” etc.
Let us now assign the password “AA” to our first program.
The display shows:
Old:
No Password
New:
LOGO! Manual
A5E00119092-01 57
Programming LOGO!
Old:
No Password
New:
Note
If the input of the new password is interrupted with ESC
LOGO! returns to the programming menu without saving
the password.
You can also input your password in LOGO!Soft Comfort.
You can only upload a password protected program in
LOGO!Soft Comfort or edit your program on the device
after you have entered the correct password.
58 LOGO! Manual
A5E00119092-01
Programming LOGO!
Old:
AA
New:
Old:
AA
New:
ZZ
6. Confirm your new password: OK
“ZZ” is now your new password and you are back in the
programming menu.
Deactivating the Password
Let us assume you want to deactivate the password for
whichever reason. For example, you want to grant another
user read/write access to your program. Same as when
changing it, you must know your current password (in our
example “ZZ”).
In the programming menu:
1. move ’>’ to ’Password’: per or
2. Accept the ’Password’: OK
Under “Old” you must now enter your current password as
described in steps 3 to 5. Confirm your entry with OK.
LOGO! Manual
A5E00119092-01 59
Programming LOGO!
Old:
ZZ
New:
Note
This deactivation switches off the password prompt. Edit-
ing is possible without entering a password.
For the moment, leave the password prompt deactivated
in order to speed up our progress with the remaining tuto-
rials/examples.
60 LOGO! Manual
A5E00119092-01
Programming LOGO!
I:0.,1.,2.
Inputs I1 to I9
123456789
0123456789 Inputs I10 to I19
01234
Inputs I20 to I24
Q:0.,1. Outputs Q1 to Q9
123456789
0123456 Outputs Q10 to Q16
LOGO! Manual
A5E00119092-01 61
Programming LOGO!
In this example, only the inputs I1, I15, Q8 and Q12 are “high“.
Status display
L1 S1 S2
When switch S1 is closed,
=1 voltage is applied to input I1,
Let us examine which has the state ’1’.
I1 I2
this, using our LOGO! uses the program to
example: calculate the output states.
I:0.,1.,2.
123456789
0123456789
01234
Q:0.,1. Output Q1 has the state ’1’
123456789 here.
0123456
62 LOGO! Manual
A5E00119092-01
Programming LOGO!
In LOGO! :
1 This is the
I1 new block
I2
x x Q1
T
You will recognize the OR block and the output relay Q1
from or first program. Only the off delay is new.
LOGO! Manual
A5E00119092-01 63
Programming LOGO!
B01 Q1
BN Q1
SF Q1
64 LOGO! Manual
A5E00119092-01
Programming LOGO!
Select the block (off delay, see next diagram) and confirm
with OK:
’OK’ is here
preceded with B02 The inserted block is assigned the block
Trg number B02. Block B01, up to now con-
B01 nected to Q1, is automatically connected to
R Q1 the upper input of the new block. The cursor
T is positioned at the upper input of the new
block.
The off–delay block has three inputs. The upper input is the
trigger input (Trg). Use this input to start the off delay. In
our example, the off delay is started via the OR block B01.
Reset the time and outputs, using the reset input. In the T
parameter, set off delay time.
In our example, we do not use the reset input of the off
delay. We wire it with ’x’. In the first program you have
seen how this is done. As a reminder to you:
1. Position the cursor under the R:per or
2. change over to editing mode: OK
3. Select the Co list: per or
4. Accept the Co list: OK
5. Select x: per or
6. Accept x: OK
LOGO! Manual
A5E00119092-01 65
Programming LOGO!
66 LOGO! Manual
A5E00119092-01
Programming LOGO!
B02:T B02:T
T=12:00m+ or T = 12:00m
Note
You can only change the type of protection and the time
unit in programming mode, that is, you cannot do this in
parameter assignment mode.
LOGO! Manual
A5E00119092-01 67
Programming LOGO!
68 LOGO! Manual
A5E00119092-01
Programming LOGO!
Proceed as follows:
1. Switch the LOGO! to programming mode
(as a reminder, refer to page 45).
2. Select ’Edit Prg’: per or
3. Confirm ’Edit Prg’: OK
(If required, enter the password and
confirm with OK)
4. Position the cursor on the input of Q1, that is, under-
neath B02. Use the :
B02 Q1
5.
6. Confirm with OK.
7. Now, replace the block B02 with block B01 directly on
output Q1. How to do this:
– Select the BN list: per or
– Accept the BN list: OK
– Select ’B01’: per or
– Accept ’B01’: OK
Result: Block B02 is deleted because it is not used in the
circuit. Block B01 is now connected directly to the output
instead of B02.
LOGO! Manual
A5E00119092-01 69
Programming LOGO!
B01
B02
I1
I2
x x Q1
T
Proceed as follows:
1. Switch the LOGO! to programming mode
(as a reminder, refer to page 45).
2. Select ’Edit Prg’: per or
3. Confirm ’Edit Prg’: with OK
(if required, enter the password and
confirm with OK)
4. Position the cursor on the input of Q1, that is, under-
neath B02. Use the :
B02 Q1
70 LOGO! Manual
A5E00119092-01
Programming LOGO!
LOGO! Manual
A5E00119092-01 71
Programming LOGO!
PC/Card..
Clock..
Start
2. In the main menu, use or to move ’>’ to ’Pro-
gram..’– Confirm with OK
72 LOGO! Manual
A5E00119092-01
Programming LOGO!
>On
Off
S/W Time
Off
The current setting of automatic Summertime/Wintertime
Conversion is shown in the bottom row. Factory default is
Off (’Off’: disabled).
Enabling Summertime/Wintertime Conversion
You now want to enable this conversion and specify or de-
clare its parameter:
1. Move ’>’ to ’On’: per or
2. Confirm ’On’: OK
The display shows:
>EU
UK
US
..
LOGO! Manual
A5E00119092-01 73
Programming LOGO!
Note
You can specify a time difference ∆ between 0 and 180
minutes.
74 LOGO! Manual
A5E00119092-01
Programming LOGO!
LOGO! displays:
>On
Off
S/W Time
On→EU
LOGO! indicates that European Summertime/Wintertime
Conversion is enabled.
How to customize parameters
If all parameters/conversions do not apply to your country,
you can customize them in the menu item ’. .’. How to do
this:
1. Confirm ’> On’ once again: OK
2. Move ’>’ to ’. .’: per or
3. Confirm menu item ’. .’ : OK
The display shows:
+ : 0
01.01 Start of summertime
LOGO! Manual
A5E00119092-01 75
Programming LOGO!
[Link]
0
+ : 03.31 31. March
– : 11.01 1. November
>On
Off
S/W Time
On→..
LOGO! indicates that summertime/wintertime conversion is
enabled and that the parameters were customized ( ’..’ ).
Note
To disable summertime/wintertime conversion, all you
have to do is to confirm ’Off’ with OK in this menu
76 LOGO! Manual
A5E00119092-01
Programming LOGO!
LOGO! Manual
A5E00119092-01 77
Programming LOGO!
Memory utilization
The table gives you an overview of the specific memory
requirements of the special functions:
78 LOGO! Manual
A5E00119092-01
Programming LOGO!
LOGO! Manual
A5E00119092-01 79
Programming LOGO!
B01 OR 0 0 0 0 1
B02 AND 0 0 0 0 1
B03 Timer switch 6 2 0 0 1
B04 On delay 1 1 1 0 1
B05 Clock generator 1 1 1 0 1
B06 AND 0 0 0 0 1
Resources occupied by the 8 4 2 0 6
program
80 LOGO! Manual
A5E00119092-01
4 LOGO! Functions
Order
LOGO! provides various elements for the programming
mode. In order to avoid loosing the overview, we have dis-
tributed the elements in ’Lists’. These lists are:
Co: Connector list (Connector)
(see Chapter 4.1)
BF: List of basic functions AND, OR, ...
(refer to Chapter 4.2)
SF: List of special functions
(refer to Chapter 4.4)
BN: List of reusable blocks configured in the circuit
program
List Contents
All lists show the elements available in LOGO!. Normally,
this includes all connectors, all basic functions and all spe-
cial functions the LOGO! knows. This includes all blocks
you have created in LOGO! by the time you call the list
BN .
If not all is shown
LOGO! does not show all elements if:
No more blocks can be added
in this case, there is either no more memory space
available or the maximum possible number of blocks
was reached (56).
A specific block’s memory space requirement would
exceed the space available in LOGO! .
LOGO! Manual
A5E00119092-01 81
LOGO! Functions
82 LOGO! Manual
A5E00119092-01
LOGO! Functions
Inputs
PE
1 2 1 2 1 2 1 2
Q5 Q6 INPUT 2x (..10V/..20 mA) Q9 Q10
1 2 1 2 1 2 1 2 1 2 1 2 A!3 M3U3AI4M4U4 1 2 1 2
Q1 Q2 Q3 Q4 Q7 Q8 Q11 Q12
Memory bits
Memory bits are identified with an M. Memory bits are
virtual outputs, with a value at their output analog to that at
the input. The LOGO! provides 8 memory bits, namely M1
... M8.
Tip on previous devices
With previous versions of LOGO! the maximum number of
blocks connected in series can be exceeded by adding
memory bits to the program.
Initialization memory bit
Memory bit M8 is set during the first cycle of the user pro-
gram. You can therefore use it in the program as initializa-
tion memory bit. After the first program cycle it is automati-
cally reset.
In all subsequent cycles you can use memory bit 8 in the
same way as memory bits M1 to M7 for setting, deleting
and evaluation operations.
Note
The output signal of the memory bit is always that of the
previous program cycle. The value does not change within
the same program cycle.
LOGO! Manual
A5E00119092-01 83
LOGO! Functions
Levels
Voltage levels are designated hi and lo. A constant block
status of “1” = hi or “0” = lo is achieved via input of a fixed
level or constant hi or lo value.
Open connectors
Block pins not connected are symbolized with an x.
84 LOGO! Manual
A5E00119092-01
LOGO! Functions
NAND 4
(AND not)
OR 2
LOGO! Manual
A5E00119092-01 85
LOGO! Functions
XOR 6
(exclusive OR)
Double change-
over contact (see page 91)
NOT 3
n.c. con- (negation, inverter)
tact
(see page 91)
86 LOGO! Manual
A5E00119092-01
LOGO! Functions
Symbol in LOGO!:
LOGO! Manual
A5E00119092-01 87
LOGO! Functions
1
2
3
Q
Cycle 1 2 3 4 5 6 7 8 9 1
0
1 2 3 Q
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 0
88 LOGO! Manual
A5E00119092-01
LOGO! Functions
Symbol in LOGO!:
1
2
3
Q
Cycle 1 2 3 4 5 6 7 8 9 1
0
4.2.5 OR (OR)
The parallel connection of multiple make
contacts in a circuit diagram:
Symbol in LOGO!:
LOGO! Manual
A5E00119092-01 89
LOGO! Functions
1 2 3 Q
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0
90 LOGO! Manual
A5E00119092-01
LOGO! Functions
1 2 Q
0 0 0
0 1 1
1 0 1
1 1 0
LOGO! Manual
A5E00119092-01 91
LOGO! Functions
92 LOGO! Manual
A5E00119092-01
LOGO! Functions
LOGO! Manual
A5E00119092-01 93
LOGO! Functions
Parameter inputs
To some of the inputs you do not apply signals, but rather
assign specific values to the function block.
Par (parameter):
This input is not wired. Here, you configure the block
parameters.
T (time):
This input is not wired. Here you configure the times for
a block.
No (cam):
This input is not wired. Here, you configure the time pat-
terns.
P (priority):
This input is not wired. Here, you specify priorities and
determine whether or not a message must be acknowl-
edged in RUN mode.
Timebase __ : __
s (seconds) seconds : 1/ seconds
100
m (minutes) minutes : seconds
h (hours) hours : minutes
94 LOGO! Manual
A5E00119092-01
LOGO! Functions
Note
Always specify a time T 0.10 s. The time T is not de-
fined for T = 0.05 s and T= 0.00 s.
Accuracy of T
All electronic components have slightly different parame-
ters. This can cause deviations in the configured time T.
With the LOGO! the maximum deviation is 0.02 %.
If 0.02 % of time T is smaller than 0.1 seconds the maxi-
mum deviation is 0.1 seconds.
Example:
The maximum deviation for 1 hour (3600 seconds) is
0.02 %, that is, 0.72 seconds.
The maximum deviation for 1 minute (60 seconds) is 0.1
seconds.
Timer switch accuracy
In order to prevent inaccuracies of clock timing in the C–
versions as a result of this deviation, the timer switch is
continuously compared with a highly accurate timebase
and readjusted. This results in a maximum timing deviation
of 5 s/day.
4.3.4 Retentivity
For special functions there is a possibility to keep circuit
states and counter values retentive. This, however, re-
quires that retentivity is enabled for the respective func-
tions. An exception is the principally retentive operating
hours meter. See also Chapter 6.1 on the description of
modules.
LOGO! Manual
A5E00119092-01 95
LOGO! Functions
96 LOGO! Manual
A5E00119092-01
LOGO! Functions
LOGO! Manual
A5E00119092-01 97
LOGO! Functions
Off delay 2
On/off delay 14
(see page 105)
Retentive 7
R K on delay
1
Trg K Q (see page 107)
K 1
1
R Latching relay Re 5
S K1
(see page 109)
K1
Pulse relay Re 3
98 LOGO! Manual
A5E00119092-01
LOGO! Functions
Edge triggered 18
wiping relay
(see page 114)
Weekly timer 4
switch
(see page 115)
Yearly timer 13
switch
(see page 120)
Up/down Re 10
counter
(see page 122)
Operating 8
hours meter
(see page 124)
Symmetric 6
clock genera-
tor
(see page 128)
Asynchronous 12
pulse genera-
tor
(see page 130)
LOGO! Manual
A5E00119092-01 99
LOGO! Functions
Frequency 11
Fre trigger
(see page 133)
Analog trigger 20
(see page 135)
Analog 21
comparator
(see page 138)
Stairway light- 16
ing switch
(see page 141)
Comfort switch 17
(see page 143)
Message texts 19
P
(see page 145)
Softkey Re 22
En
Par Q
(see page 148)
4.4.1 On Delay
Short description
An output with on delay is not switched on until a specified
time has expired.
Parameter T
Please not the value specification for parameter T in Chap-
ter 4.3.2.
Timing diagram
LOGO! Manual
A5E00119092-01 101
LOGO! Functions
Parameter T
Please not the value specification for parameter T in Chap-
ter 4.3.2.
Timing diagram
LOGO! Manual
A5E00119092-01 103
LOGO! Functions
Parameter TH and TL
Note the value specifications for the parameters TH and TL
in Chapter 4.3.2.
LOGO! Manual
A5E00119092-01 105
LOGO! Functions
Timing diagram
Parameter T
Note the value specifications in Chapter 4.3.2.
Timing diagram
Trg
R
Q
Ta expires T T
The bold printed section of the timing diagram is found again in the symbol
for the retentive on delay.
LOGO! Manual
A5E00119092-01 107
LOGO! Functions
Timing diagram
R
S
Switching behavior
A latching relay is a simple logic memory. The output value
depends on the input states and on the previous output
status. The following table shows the logic once again:
LOGO! Manual
A5E00119092-01 109
LOGO! Functions
Sn Rn Q Comment
0 0 x The status is retentive
0 1 0 Reset
1 0 1 Set
1 1 0 Reset (has priority over Set)
Timing diagram
LOGO! Manual
A5E00119092-01 111
LOGO! Functions
Parameter T
For information on the parameter T refer to the note in
Chapter 4.3.2.
Timing diagram
Ta expires T
T has not expired
LOGO! Manual
A5E00119092-01 113
LOGO! Functions
Parameter T
For information on the parameter T refer to the note in
Chapter 4.3.2.
Timing diagram
Note
The LOGO! 24 version does not have an internal clock.
Therefore, the weekly timer switch cannot be used for this
version.
Cam 1 21 1 1 1 1 3 1 3
Q
Monday Wednesday Friday Sunday
Tuesday Thursday Saturday
LOGO! Manual
A5E00119092-01 115
LOGO! Functions
Weekday
The letters behind the “D=” have the following meaning:
M : Monday
T : Tuesday
W : Wednesday
T : Thursday
F : Friday
S : Saturday
S : Sunday
Note
You can find information on timer switch accuracy in the
Technical Data and in Chapter 4.3.2.
LOGO! Manual
A5E00119092-01 117
LOGO! Functions
Cam 1
Cam 1 must switch on the output of the weekly timer
switch daily from 05:30 h to 07:40 h.
B01:Cam 1
D=MTWTFSS+
On =05:30
Off=07:40
Cam 2
Cam 2 must switch on the output of the weekly timer
switch every Tuesday from 03:10 h to 04:15 h.
B01:Cam 2
D=–T–––––+
On =03:10
Off=04:15
Cam 3
Cam 3 must switch on the output of the weekly timer
switch every Saturday and Sunday from 16:30 h to
23:10 h.
B01:Cam 3
D=–––––SS+
On =16:30
Off=23:10
Result
Cam 1 21 1 1 1 1 3 1 3
Q
Monday Wednesday Friday Sunday
Tuesday Thursday Saturday
LOGO! Manual
A5E00119092-01 119
LOGO! Functions
Note
The LOGO! 24 version does not have a clock. Therefore,
the yearly timer switch cannot be used for this version.
Timing diagram
Feb. mar. Apr.
[Link]+ On
On=02.20 Off
Off=04.03
Sample configuration
On 1st of March the output of a LOGO! is to be switched
on until the 4th of April. On 7th of July it is switched on
once again until the 19th of November. This requires two
yearly timer switches for which the respective on times
must be configured. The outputs are then linked via an OR
block.
B01:Cam
[Link]
On =03.01 on–time 1st of march
Off=04.04 off–time 4th of April
B02:Cam
[Link] in addition:
On =07.07 on–time 7th of July
Off=11.19 off–time on 19th of November
Result
On
B01 B02
Off
LOGO! Manual
A5E00119092-01 121
LOGO! Functions
Timing diagram
R
Cnt
Dir
Par internal
count value
0 Cnt
Q
LOGO! Manual
A5E00119092-01 123
LOGO! Functions
Timing diagram
En
Ral
MN=MI Par:
MI=5h
MN=0
1h x x–R=1h
OT
R
The counter holds when R or Ral is set
LOGO! Manual
A5E00119092-01 125
LOGO! Functions
Note
The PC link must be connected to the LOGO! before you
switch on the power supply. .
Note
The hours counter can be fetched without entering a pass-
word.
If your LOGO! without display is equipped with a red mod-
ule you cannot fetch the hours counter, because the pro-
gram of the LOGO! will be deleted when you remove the
module (to connect the PC cable) .
LOGO! Manual
A5E00119092-01 127
LOGO! Functions
Parameter T
Note the value specifications in Chapter 4.3.2.
Timing diagram
En
Q T T
T T
The bold printed section of the timing diagram is found again in
the symbol for the symmetric clock generator.
LOGO! Manual
A5E00119092-01 129
LOGO! Functions
Timing diagram
En
Inv
Q
TH TL TH TL TH TH TL
LOGO! Manual
A5E00119092-01 131
LOGO! Functions
Parameter TH and TL
Note the value specifications for the parameters TH and TL
in Chapter 4.3.2.
Timing diagram
Timing diagram
Q
G_T
Fre SW = 9
fa = 9 fa = 10 fa = 8 fa = 5 SW = 5
LOGO! Manual
A5E00119092-01 133
LOGO! Functions
Note
When you specify a time G_T of 1 s, the LOGO! returns
the current frequency in parameter fa in Hz.
fa is always the sum of the measured pulses per time unit
G_T.
LOGO! Manual
A5E00119092-01 135
LOGO! Functions
Timing diagram
1000
SW
SW
Ax 0
B03:Par
SW =+00000 on threshold
off threshold
SW =+00000 Gain in %
=0050+ Parameter protection
SW=+00000
SW=+00000
=0050+
=+200 Offset
B02:Par
SW =+400
SW =+200
Ax =+20
LOGO! Manual
A5E00119092-01 137
LOGO! Functions
Timing diagram
1000
Ax 0
1000
Ay 0
1000
>200
Ax–Ay 0
–200
Q
for Ax - Ay > 200
=0050
Gain in %
=+200 Offset
LOGO! Manual
A5E00119092-01 139
LOGO! Functions
Example
For the controls of a heater, the supply and return line tem-
peratures Tv (e.g. with a sensor at AI1) and Tr (e.g. with a
sensor at AI2) are to be compared.
A switching operation is to be triggered (e.g. burner on) if
the return line temperature deviates by more than 15 C
from the supply line temperature.
The physical temperature is to be displayed in parameter
assignment mode.
Available are thermal elements with the following technical
data: –30 to +70 C, 0 to 10 V DC.
Parameter assignment:
B03:Par
=00015
=0010+
=-300
Display in parameter assignment mode (example):
B03:Par B03:Par
= 20 = 30
Ax = 10 Ax = 10
Ay = 30 Ay =– 20
Parameter T
Note the value specifications in Chapter 4.3.2.
Timing diagram
Trg
Ta expires T
Pre–warning duration 1s
15s
Pre–warning time
LOGO! Manual
A5E00119092-01 141
LOGO! Functions
Parameter TH and TL
Note the value specifications in Chapter 4.3.2. (as a re-
minder: “Always specify a time T 0.10 s. The time T is
not defined for T = 0.05 s and T= 0.00 s”)
LOGO! Manual
A5E00119092-01 143
LOGO! Functions
Timing diagram
Trg
TL
Q
Ta expires TH
Restriction
A maximum of five message text functions are possible.
Description of the function
On 0 to 1 transition of the status at input En the display
shows in RUN mode your specified message text .
Acknowledgment disabled (Ack = Off):
On 1 to 0 transition of the status at input En the message
text is hidden.
Acknowledgment enabled (Ack = On):
On a 1 to 0 transition of the status at input En, the mes-
sage text is held until acknowledged with OK. When En is
1, you cannot acknowledge the message text.
When multiple message text functions are triggered with
En=1, the message text with the highest priority is shown
(0=lowest, 9=highest).
You can toggle between the standard display and the mes-
sage text display using the keys and .
LOGO! Manual
A5E00119092-01 145
LOGO! Functions
Example
This is how a message text might be displayed:
En=1
Motor 2
3000 Th 09:30
hours 06.21.01
MAINTE-
NANCE!
Parameter assignment screen form
This is how to configure the priority and the acknowledg-
ment:
.. Parameter assignment
screen form for Par
..
..
..
Using the key , select the row for the message text.
Confirm with OK to open the editing mode for this line.
Use the keys and to select the letter to be displayed.
Move the cursor from one position to the other, using the
keys and .
The list of available characters is the same as for the pro-
gram name. You can find a character set in Chapter 3.6.4.
Confirm the changes with OK. Exit the editing mode with
ESC.
In order to output a parameter (e.g.: the display of a mea-
surement or function value) as message text in a line, se-
lect this line with the key and then press the key :
Par
..
..
..
Confirm with OK to open editing mode:
B01>T
LOGO! Manual
A5E00119092-01 147
LOGO! Functions
4.4.22 Softkey
Short description
This logical function has the effect of a mechanical momen-
tary switch or of a switch.
Factory default
The factory default setting of ’Par’ is ’Pushbutton’.
Timing diagram
En
Switch
B03:Par
On= The function is configured as
’pushbutton’
LOGO! Manual
A5E00119092-01 149
LOGO! Functions
B03:Par
On/Off Function as ’Switch’
B03:Par
On/Off Function as ’Switch’
B03:Par
Switch=Off
Note
In parameter assignment mode, the LOGO! continues
processing of the program.
LOGO! Manual
A5E00119092-01 151
Configuring LOGO!
5.1.1 Parameter
Parameters are:
The delay times of a timer relay.
The switching times (cams) of a timer switch.
The threshold value of a counter
The monitoring time for an operating hours counter
The switching thresholds of a threshold switch.
Each one of the parameters is identified by its block num-
ber and mnemonics. Examples:
B01:T
Block number Mnemonic
LOGO! Manual
A5E00119092-01 153
Configuring LOGO!
B01:T Parameter
B01:T
T = 01:00m Move: or
Note
In parameter assignment mode, you cannot change the
unit of the delay time or the parameter protection for the
parameter T. This is only possible in programming mode.
B01:T
T = 12:00m Set time T
LOGO! Manual
A5E00119092-01 155
Configuring LOGO!
B03:Par
Lim=000300 Switching threshold
B05:Par
MI = 0100h Monitoring time
MN = 0017h time–to–go
B06:Par
SW=0050 On threshold
SW=0048 Off threshold
LOGO! Manual
A5E00119092-01 157
Configuring LOGO!
Set Clock
The cursor position
_Th 15:30 precedes the day of
[Link] the week.
06.21.01
3. Select the day of the week: per or
4. Move the cursor to the next position:
per or
5. Change the value: per or
6. Set the correct TOD. Repeat steps 4 and 5.
7. Set the correct date. Repeat steps 4 and 5
8. Close your entries: OK
How to set the TOD and the date in programming mode:
1. Switch to programming mode: In RUN, execute the
menu item ’Stop’. (see page 45)
2. Select ’Clock..’ ( or ) and press OK.
3. Select ’Set Clock’ ( or ) and press OK
Now you can set the day of the week and the time, as de-
scribed above (as of step 3.).
Note
You do not require a module for storing your LOGO! pro-
gram permanently.
The LOGO! program is already stored permanently when
programming mode is closed.
LOGO! Manual
A5E00119092-01 159
LOGO! Program Modules
Upward compatibility
The new 0BA3 devices support upward compatibility. A
module written in one of the standard, long or bus versions
(0BA0 to 0BA2 devices) can be read in all basic versions
(0BA3 devices).
Note
Re upward compatibility: An adaptation of the program or
an upgrade of the LOGO! Basic is required (and sensible)
in some cases in order to achieve appropriate results. See
the information on “Fast inputs” in Chapter 2.3.2.
Warning
! Do not put your finger or objects made of metal
or any other conductive material in the open slot
of the program module/card.
The socket for the program module/card may be
live if L1 and N have been incorrectly wired.
The program module/card must always be re-
placed by a skilled technician.
LOGO! Manual
A5E00119092-01 161
LOGO! Program Modules
>PC
Card = LOGO!
Card
LOGO! Manual
A5E00119092-01 163
LOGO! Program Modules
Note
If the program in the LOGO! is protected with a password
X, the copied program in the module/card is also protected
with the same password.
Note
Íf the program in the module/Card is protected with the
password X, the copied program in the LOGO! is also
protected with the same password.
Before you copy a module written in another device type,
refer once again to the information on ’Compatibility of
LOGO! versions or devices’ in Chapter 6.1.
>Program..
PC/Card..
Clock..
Start
LOGO! Manual
A5E00119092-01 165
LOGO! Program Modules
Note
Before you switch the LOGO! to RUN, you must ensure
that the system you are controlling with LOGO! does not
represent a source of hazard.
>Program..
PC/Card..
Clock..
Start
3. Move the ’>’ to ”PC/Card”: Press the key
4. Press OK. The transfer menu opens.
5. Move the ’>’ to ’Card LOGO’:
or
PC
Card = LOGO!
>Card
6. Press OK.
LOGO! copies the program from the program module/card
to LOGO!. When LOGO! has finished copying, it automati-
cally returns to the main menu.
LOGO! Manual
A5E00119092-01 167
LOGO! Software
LOGO!Soft Comfort
In LOGO!Soft Comfort you can create your circuit pro-
grams efficiently and in a comfortable, well arranged way
(”wiring per keyboard“). Programs are created on the PC
desktop per the drag&drop routine. Once you have created
you program, you can have the system evaluate your pro-
gram in order to determine the required LOGO! version, or
you can determine this before you start programming.
One particularly user–friendly feature is the offline program
simulation facility, which enables the simultaneous status
display of multiple special functions and permits extensive
documentation of the programs created. This optional pro-
gramming software also offers a comprehensive Online
Help on CD ROM.
LOGO!Soft Comfort runs under Windows 95/98,
Windows NT 4.0, Windows Me, Windows 2000, Linux,
and Mac OS X. It is capable of server operation and offers
all the freedom and comfort for programming you could
expect.
LOGO!Soft Comfort V3.0
This is the current version of LOGO!Soft Comfort. As of
Version 3.0 you will find all the functions and functionality
included in the new devices, exactly in the way they are
described in this manual.
Upgrade from LOGO!Soft Comfort V1.0 and V2.0
If you own an old version of LOGO!Soft Comfort you can
transfer the old program to the new devices, however, you
cannot use the new functions in such programs. In such
cases you must upgrade to the current version.
You can only install the upgrade on a full version of
LOGO!Soft Comfort LOGO!Soft Comfort V1.0 or V2.0.
Upgrades & Infos
At our Internet URL
[Link]
you can download the software upgrades and demo ver-
sions free of costs.
PC
= LOGO!
STOP:
Press ESC
LOGO! Manual
A5E00119092-01 169
LOGO! Software
Note
If the program you have created in LOGO!Soft Comfort is
password protected, the ’PC LOGO’ function transfers
the program and the password to the LOGO! . The pass-
word prompt is switched on when the device exits the
transfer mode.
The upload of a password protected program created in
LOGO! is only possible after the correct password is en-
tered in LOGO!Soft Comfort.
Note
The LOGO! applications are freely available to all our cus-
tomers. The examples they contain are not binding and
are included to provide general information on the fields of
application for LOGO!. Customer–specific solutions may
be different.
The user undertakes to ensure proper operation of the
system. We refer to the standards and system–related
installation regulations of the respective country.
Errors are excepted and the right to make changes re-
served.
ÎÎÎ ÎÎÎLights
Distribution per
Pulse relay Switches
or
automatic
staircase
lighting switch
Components used
Switches
Automatic staircase time switch or pulse relay
LOGO! Manual
A5E00119092-01 173
Applications
Lights
ÏÏ ÏÏ
ÏÏ ÏÏ
N
L
PE
L1 N I1 I2 II3
I3 II4
I1 I5
I3 I6 I7 I8
Switches
Q1 Q2 Q3 Q4
Switch:I1
x Q1
Lights
Switch: I1
T Q1
06:00m Lights
Switch: I1
TH / TL Q1
Lights
LOGO! Manual
A5E00119092-01 175
Applications
ÑÑÑÑÑÌÌÌÌÌ
side
Motion detector
ÑÑÑÑÌÌÌÌ
ÑÑÑÑÌÌÌÌ
ÑÑÑÑÌÌÌÌ
ÑÑÑÑÌÌÌÌ Main switch
ÑÑÑÑÌÌÌÌ
ÑÑÑÑÌÌÌÌ
ÑÑÑÑÌÌÌÌ
ÑÑÑÑÌÌÌÌ
The door is usually motor–driven and equipped with a slip
coupling. This prevents people from being squeezed in and
injured. The control system is connected to the mains via a
master switch.
S2
K3 K3 B1 B2 K3 K3
S2 S1 K4 B1
K2 K1 B2
K1 K2 K3 K4
N
LOGO! Manual
A5E00119092-01 177
Applications
S1 S2
B1 B2
L1 N I1 I2 I3 I4 I5 I6 I7 I8
1 2 1 2 1 2 1 2
Q1 Q2 Q3 Q4
K1 K2
N
Open Close
Components used
K1 Main contactor Open
K2 Main contactor Close
S1 (n.c. contact) Limit switch Closed
S2 (n.c. contact) Limit switch Open
B1 (n.o. contact) Infrared motion detector outdoor
B2 (n.o. contact) Infrared motion detector indoor
1
I1 Q2
&
I2
RS I4 Q1
x
Open
1 &
I4 1
x T= &
4s
I3 Q2
1
Q1 Close
Motion de-
1
I1 Q2 &
tector
I2 Q1
x x Open
10 s
Limit switch
I4
Door open
&
Limit switch I3 Q2
Door closed Close
1
Q1
LOGO! Manual
A5E00119092-01 179
Applications
B1 B2 S1 S2 S3 O-A-C
L1 N I1 I2 I3 I4 I5 I6 I7 I8
1 2 1 2 1 2 1 2
Q1 Q2 Q3 Q4
K1 K2 H1
N
Close output Q2
x Q1
Limit switch Open
Door open I4
Control switch I5
Door open
Limit switch I3
Door closed
x Q2
Open output Q1
Close
Motion detector B1 I1
Motion detector B2 I2
Control switch I6
Close door
LOGO! Manual
A5E00119092-01 181
Applications
Detecting motion
During business hours, the motion detector B1 initiates the
opening of the door as soon as somebody wants to enter
the shop from outside. Motion detector B2 initiates the
opening of the door if somebody wants to leave the shop.
After closing time, the motion detector B2 continues to be
used to open the door for 1 hour to allow the customers to
leave the shop.
Motor for opening
Output Q1 is switched on to open the door when the follow-
ing occurs:
The control switch at 15 is operated (the door is to be
constantly open) or
The motion detectors indicate that somebody is ap-
proaching the door and
The door is not yet fully open (limit switch at I4).
Motor for closing
Output Q2 is switched on to close the door when the follow-
ing occurs:
The control switch at 16 is operated (the door is to be
constantly closed) or
The motion detectors indicate that there is nobody near
the door and
The door is not yet fully closed (limit switch at I3).
Buzzer
Connect the buzzer to output Q3. The buzzer sounds for a
short time (in this case 1 second) when the door is closed.
Enter the following circuit at Q3 in the block diagram:
Q2
Close out-
put
x Q3
Buzzer
T= 1 s
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
Fresh–air fan
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
Flow sensor
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
Flow sensor
Exhaust fan
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
The room is equipped with an exhaust fan and a fresh–
air fan.
Both fans are monitored by a flow sensor.
The pressure in the room must not be allowed to rise
above the atmospheric pressure.
The fresh–air fan must only be switched on if reliable
functioning of the exhaust fan is signaled by the flow
sensor.
A warning lamp indicates if one of the fans fails.
LOGO! Manual
A5E00119092-01 183
Applications
S0
S1 K1
K2 K4 K5
K5 S2
S2 v> S3 v>
K1 K2 K3 K4 H1 K5 H2
N
Exhaust air Fresh air Operation Error
S1 S0 S2 v> S3 v>
L1 N I1 I2 I3 I1
I4 I3
I5 I6 I7 I8
1 2 1 2 1 2 1 2
Q1 Q2 Q3 Q4
K1 K2 H1 H2
N
Exhaust Fresh–air
fan fan
Components used
K1 Main contactor
K2 Main contactor
S0 (n.c. contact) STOP pushbutton
S1 (n.o. contact) Start pushbutton
S2 (n.o. contact) Flow sensor
S3 (n.o. contact) Flow sensor
H1 Indicator lamp
H2 Indicator lamp
Circuit diagram of the LOGO! solution
This is what the circuit diagram of the air–conditioning sys-
tem looks like with a LOGO! :
On I1
Error Q3
Q1
x Exhaust
Off I2 fan
Exhaust fan Q1
Q2
x Fresh–air
Exhaust air fan
I3
Exhaust fan Q1 flow sensor
Off I2 Q3
Error
LOGO! Manual
A5E00119092-01 185
Applications
Q1
I2 Exhaust
fan
Off x T=
30 s
Q3 Q4
Error Message
LOGO! Manual
A5E00119092-01 187
Applications
ÔÔ
ÔÔ Safety pressure bar
ÔÔ
ÔÔ
Warning
light
ÔÔ
ÔÔ ÔÔ
ÔÔ
ÔÔ
ÔÔ ÔÔ
ÔÔ
ÔÔ
ÔÔ ÔÔ
ÔÔ
The entrance to a company’s premises is often closed with
a gate. The gate is only opened to let vehicles in and out.
The gate is controlled by the gateman.
S1 K1 S2 K3 K1 K3
S2
S1
S5 p> S5 p>
K3 K1 K2 K4
S3 S4
K6 K5
K1 K2 K3 K4 H1 K5 K6
N
Open Close Flashing light Open Close
L1 N I1 I2 I3 I4 I5 I6 I7 I8
1 2 1 2 1 2 1 2
Q1 Q2 Q3 Q4
S5 p>
K1 K3 H1
N
LOGO! Manual
A5E00119092-01 189
Applications
Components used
K1 Main contactor
K2 Main contactor
S0 (n.c. contact) STOP pushbutton
S1 (n.o. contact) Open switch
S2 (n.o. contact) CLOSE pushbutton
S3 (n.c. contact) OPEN position switch
S4 (n.c. contact) CLOSED position switch
S5 (n.c. contact) Safety pressure bar
Block diagram of the LOGO! solution
Q2
Safety bar
I6
Q2
x Q1
STOP push- x
Open
button I3
Gate is open
I4
Q2 T=
5s
x
OPEN pushbutton I1
Q3
T= Flashing
2s light
Q1
x
CLOSE push- I2
button T= Q2
5s Close
STOP pushbutton I3
Safety bar I6
Gate is closed I5
LOGO! Manual
A5E00119092-01 191
Applications
Ô
Ô
1
Ô
Ô
2
Ô
Ô Ô
Ô –+
FM
Ô Ô
ASi
Master
1 2
Ô
Ô Ô
Ô –+
FM
Ô Ô
ASi
Ô Ô
1 2
Ô Ô –+
FM
1 Safety pressure bar 2 ASi
flashing warning light
p>
S0 S1 S2 S3 S4 S5 S6
L1 N I1 I2 I3 I4 I5 I6 I7 I8 – +
AS interface
FM ASi
1 2 1 2 1 2 1 2
Q1 Q2 Q3 Q4
p>
S6
K1 K2
N
LOGO! Manual
A5E00119092-01 193
Applications
Components used
K1 Main contactor for opening
K2 Main contactor for closing
S0 (n.o. contact) Cord–operated switch OPEN
S1 (n.o. contact) Cord–operated switch CLOSE
S2 (n.o. contact) Open switch
S3 (n.o. contact) CLOSE pushbutton
S4 (n.c. contact) OPEN GATE position switch
S5 (n.c. contact) CLOSE GATE position switch
S6 (n.c. contact) Safety pressure bar
Higher–level control system
Q5 OPEN GATE position switch
Q6 CLOSE GATE position switch
I9 External OPEN GATE pushbutton
I10 External CLOSE GATE pushbutton
I5 Gate is open
I3
Open gate by hand &
I5 Gate is open
x
I4
Close gate by hand & x 1 =1 &
I6 Gate is closed Q2
Safety bar
I7 T
x Gate
Gate is closed 05.00s
I6 closed
Closed
I2Closed 1
&
I10
x
I7
Safety bar
1
I6
Gate is closed &
Safety bar Q3
I7 x T
x 02.00s Flas-
hing
light
Gate is open
I5 Q5
Open
Closed
Gate is closed Q6
I6
LOGO! Manual
A5E00119092-01 195
Applications
ÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉ
Luminous rows 3 Luminous rows 4
ÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉ
Office
ÉÉÉ ÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉ Corridor
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
When planning lighting systems for commercial locations,
the type and number of lamps used is determined by the
illuminance required. For reasons of cost efficiency, fluores-
cent tubes arranged in luminous rows are often used. They
are divided into separate switching circuits, according to
the way the room is used.
lx> K1 K2 S1 S2 K2 S3 S4 K3 K4 K5 K6
B1 E1
E1 K1 K2 K3 K4 K5 K6 E2 E3 E4 E5
N
The lamps are switched on and off with a pulse relay that is
controlled per pushbuttons at the door. Regardless of this,
they are reset by the time switch or by the daylight control
switch via the central off input. The length of the off com-
mands must be reduced per wiping relays in order to make
it possible to switch the lights on and off locally after they
have been switched off.
Components required:
Switches S1 to S4
Daylight control switch B1
Timer switch E1
Wiping relays K1 and K2
Pulse switches with central off K3 to K6
Disadvantages of the previous solution
A substantial amount of switchgear is required in order
to implement these functions.
Due to the high proportion of mechanical components,
high wear and tear and maintenance expenditure is to
be expected.
Changing the function demands considerable efforts.
LOGO! Manual
A5E00119092-01 197
Applications
S1 S2 S3 S4 lx<
B1
L1 N I1 I2 I3 I1
I4 I3
I5 I6 I7 I8
1 2 1 2 1 2 1 2
Q1 Q2 Q3 Q4
E2 E3 E4 E5
N
Components used
S1 to S4 (n.o. contact) Switches
B1 (n.o. contact) Daylight control switch
Mo..Su
20:00 – 20.01
Luminous
Mo..Su row 3
21:00 – 21.01 T= I3 Corridor side
1s x Q3
Luminous
Off pulse generated via daylight control switch
row 4
I4 Corridor side
Daylight con- Q4
trol switch I5
T= Luminous
1s x row 1
I1 Window side
I5
x Q1
Luminous
row 2
I2 Window side
x Q2
LOGO! Manual
A5E00119092-01 199
Applications
ÎÎÎ
Pressure switch
ÎÎÎ
S1
ÎÎÎ
ÕÕÕ
ÎÎÎ
Control in the
distribution box
ÕÕÕ
ŠŠÕÕÕ
Pump
ŠŠ
Pressure tank
M1 Service water
Rainwater connection
reservoir
S2
Drinking water supply Off
K3 S3 S2
K2 S1 p< S4 K3 S3 K4
K1 K2 K3 K4 Y1
N
LOGO! Manual
A5E00119092-01 201
Applications
S1
p< S2 S3 S4
L1 N I1 I2 I3 I4 I5 I6 I7 I8
1 Q1 2 1 Q2 2 1 Q3 2 1 Q4 2
K1 Y1
N
Pressure I1
switch x Pump
T = 20 s x Q1
LOGO! Manual
A5E00119092-01 203
Applications
On the Web you can also find descriptions and the corre-
sponding circuit diagrams of the applications. You can read
these *.pdf files with the Adobe AcrobatReader. And if you
have installed the LOGO!Soft or LOGO!Soft Comfort pro-
gramming software on your PC, you can simply download
the relevant circuit diagrams at the touch of a button, adapt
them to your requirements, transfer them into LOGO! via
the PC cable and start to use them .
Advantages of using LOGO!
The use of LOGO! is highly beneficial, especially in areas
in which you can use the LOGO! to replace multiple
auxiliary switchgear with the integrated functions,
where you want to economize wiring and installation
efforts – because LOGO! keeps the wiring ”in its head”.
where you want to reduce component space in the con-
trol cabinet/distribution – you might even be able to re-
duce the size of your control cabinet/distribution box.
in which you can add or change functions subsequently,
without having to install an additional switchgear or
change the wiring.
where you want to offer your customers additional func-
tions for domestic and commercial housing installation.
Examples:
– Domestic security systems: With LOGO! to switch a
lamp on regularly or open and close your shutters
while you are on holiday.
– Central heating: With LOGO! run the circulation
pump only when you actually require water or heat-
ing.
– Refrigerating systems: With LOGO! defrost your re-
frigerating systems at regular intervals; this is more
lenient on energy costs.
– you can illuminate aquaria and terraria on a time–de-
pendent basis.
LOGO! Manual
A5E00119092-01 205
Applications
Write to:
Siemens AG
A&D AS MVM – LOGO!
PO–Box 48 48
D–90327 Nuremberg
LOGO! Manual
A5E00119092-01 207
Technical Data
LOGO! Manual
A5E00119092-01 209
Technical Data
Delay time at
0 to 1 typ.
y 50 ms typ.
y 50 ms
1 to 0 typ. 50 ms typ. 50 ms
Line length (unshielded) 100 m 100 m
Digital outputs
Number 4 4
Output type Relay outputs Relay outputs
Electrical isolation Yes Yes
In groups of 1 1
Activation of digital input Yes Yes
Continuous current Ith max. 10 A per relay max. 10 A per relay
and max. 20 A
across all 4 relays
Incandescent lamp load
(25,000 switching cycles) at
230/240 V 1000 W 1000 W
115/120 V 500 W 500 W
Fluorescent tubes with choke 10 x 58 W (at 10 x 58 W (at
(25,000 switching cycles) 230/240 V AC) 230/240 V AC)
LOGO! Manual
A5E00119092-01 211
Technical Data
Delay time at
0 to 1 typ. 1.5 ms (I1...I4) typ. 1.5 ms
<1.0 ms (I5, I6)
y 300 ms (I7,I8)
typ. ( )
1 to 0 typ. 1.5 ms (I1...I4) typ. 15 ms
<1.0 ms (I5, I6)
typ. 300 ms (I7,I8)
Line length (unshielded) 100 m 100 m
Analog inputs
Number only LOGO! 24:
2 (I7 and I8)
Range 0 ... 10 V DC
max. Input voltage 28,8 V DC
Digital outputs
Number 4 4
Output type Transistor, Relay outputs
current–sourcing
Electrical isolation No Yes
In groups of 1
Activation of digital input Yes Yes
Output voltage Supply voltage
Output current max. 0.3 A
Continuous current Ith max. 10 A
LOGO! Manual
A5E00119092-01 213
Technical Data
LOGO! Manual
A5E00119092-01 215
Technical Data
Delay time at
0 to 1 typ. 1.5 ms typ. 1.5 ms
<1.0 ms (I5, I6)
y 300 ms (I7,I8)
typ. ( )
1 to 0 typ. 1.5 ms typ. 1.5 ms
<1.0 ms (I5, I6)
typ. 300 ms (I7,I8)
Line length (unshielded) 100 m 100 m
Analog inputs
Number 2 (I7, I8)
Range 0 ... 10 V DC
max. Input voltage 28,8 V DC
Digital outputs
Number 4 4
Output type Relay outputs Relay outputs
Electrical isolation Yes Yes
In groups of 1 1
Activation of digital input Yes Yes
Output voltage
Output current
Continuous current Ith (per max. 10 A per relay max. 10 A per relay
terminal) and max. 20 A
across all 4 relays
LOGO! Manual
A5E00119092-01 217
Technical Data
LOGO! AM 2
Power supply
Input voltage 12/24 V DC
Permissible range 10.8 ... 15.6 V DC
20.4 ... 28.8 V DC
Power consumption 25 ... 50 mA
Voltage failure buffering typ. 5 ms
Power loss at
12 V 0.3 ... 0.6 W
24 V 0.6 ... 1.2 W
Electrical isolation No
Reverse polarity protection Yes
Ground terminal for connecting ground and shielding of
the analog measuring line.
Analog inputs
Number 2
Type Unipolar
Input range 0–10 V or 0–20 mA
Resolution 10 bit, standardized to 0–1000
Cycle time for analog value 50 ms
generation
Electrical isolation No
Line length (shielded and 10m
twisted)
Encoder supply voltage none
Error limit +/– 1.5 %
Interference frequency suppres- 55 Hz
sion
Switching cycles/million
0.3
0.2
0.1
2 4 6 8 10
Switched current/A
Figure A Switching capacity and service life of the contacts at ohmic load
(heating)
Inductive load
Switching cycles/million
1 2 3
Switched current/A
Figure B Switching capacity and service life of the contacts at highly induc-
tive load to IEC 947-5-1 DC 13/AC 15 (contactors, solenoid coils,
motors)
LOGO! Manual
A5E00119092-01 219
Technical Data
LOGO! Manual
A5E00119092-01 221
Technical Data
LOGO! Manual
A5E00119092-01 223
Technical Data
LOGO! LOGO!
Contact 24 Contact 230
Operating voltage 24 V DC 230 V AC;
50/60 Hz
Switching capacity
Utilization category AC-1: Switching of
ohmic loads at 55°C
Operating current at 400 V 20 A
Output of three–phase loads at 400 V 13 kW
Utilization category AC-2, AC-3: Motor
with slip ring induction/cage armature
Operating current at 400 V 8.4 A
Output of three–phase loads at 400 V 4 kW
Short–circuit protection:
Assignment type 1 25 A
Assignment type 2 10 A
Connecting leads Finely stranded with wire end fer-
rules
single–core
2x (0.75 to 2.5) mm2
2x (1 to 2.5) mm2
1 x 4 mm2
Dimensions (WxHxD) 36 x 72 x 55
Ambient temperature -25 ... +55°C
Storage temperature -50 ... +80°C
B02
B01
Hi
Output Q
T
Par Qx
or
Memory
bit M
2. Configure the two blocks as shown below. Due to the
pulse rate of a 0 seconds a pulse is generated in every
program cycle. The time interval of the threshold switch
is set to 2 seconds.
B02:T B01:Par
T =00.00s+ SW=1000+
SW=0000
G_T=02.00s
LOGO! Manual
A5E00119092-01 225
Determine the cycle time
B01:Par
SW=1000+ fa= is the sum of the
SW=0000
pulses measured per
time unit G_T
fa =0086
4. The reciprocal value of Fe is equal to the cycle time of
the LOGO! with the program currently in its memory.
1/Fe = cycle time in s
Explanation
The output signal of the clock pulse generator (T=0) is
toggled at every program cycle. Thus, one logic level (high
or low) width is exactly equivalent to the length of one
cycle. Hence, a period lasts 2 cycles.
The threshold switch indicates the ratio of periods per 2
seconds which results in the ratio of cycles per second.
Edge change of the clock generator
art every program cycle
Cycle time
1 period = 1 pulse = 2 cycles
Periods
L1 N I1 I2 I3 I4 I5 I6 I7 I8
RUN/STOP
1 2 1 2 1 2 1 2
Q1 Q2 Q3 Q4
LOGO! Manual
A5E00119092-01 227
LOGO! Without display
LOGO! Manual
A5E00119092-01 229
LOGO! Without display
Q1
>Password Old:
No Password
New:
Transfer menu
>PC/Card.. >PC<-> PC<->
Stop?
Press ESC
> ->Card
The program is
transferred.
>Card->
LOGO! Manual
A5E00119092-01 231
LOGO! Menu structure
[Link]
+ : 0 3. 3 1
– : 1 1. 0 1
∆ = 120 min
Keys Keys
I:0.,1.,2. Q:0.,1.
>Start Th 14: 45 123456789 123456789
06. 21. 01 0123456789 0123456
01234
>Stop
Set Param
Set Clock
Prg Name
Parameter assignment menu
I:0.,1.,2. Q:0.,1.
Th 14: 45 123456789 123456789
or 0123456789 or 0123456
06. 21. 01
01234
LOGO! Manual
A5E00119092-01 233
LOGO! Menu structure
LOGO! Manual
A5E00119092-01 235
Order Numbers
Table B
LOGO! Manual
A5E00119092-01 237
238 LOGO! Manual
A5E00119092-01
Index
Basics on special functions, 92
Symbols
BF, 81, 85
?, on the display, 71
Block, 39
deleting, 69
interconnected blocks, 70
A inserting, 64
number, 39
Analog
assigning, 40
Comparator, 138
Values, 96 Block diagram, 41
Analog module, 2, 7 BN, 81
AND, 87
AND , 87 C
AND not, 88
CE marking, 9
Applications, 171
Certification , 9
AS Interface, 2
Character set, 56
AS interface, 7, 192
Checking , 67
AS interface function module,
192 Circuit diagram, 42
Asynchronous Pulse Generator, Circuit program , 77
130 Circuit status transition, 25
Clock Generator, Symmetric,
128
B Co, 81, 82
Basic functions, 85 Compatibility, Versions, 160
AND, 87
with edge, 87 Connecting, Inputs, 24
NAND, 88 Connection, x, 93
with edge, 89
NOR, 90 Connector, 16
NOT, 91
OR, 89
XOR, 91
LOGO! Manual
A5E00119092-01 239
Index
LOGO! Manual
A5E00119092-01 241
Index
LOGO! menus, 47
N
LOGO! Software, 167
Name, 55
LOGO!Soft Comfort, 168
NAND, 88
Negation, 91
M NOR , 90
Memory NOT , 91
area, 77
space, 77
utilization, 78 O
Memory bits, 83
Off Delay, 103
Menu structure, 231
Off–time, 117
Menus
Main menu, 47 Offset, 96
Menu Clock, 47 On Delay, 101
Parameter assignment menu, retentive, 107
47
Programming menu, 47 On–time, 117
Transfer menu, 47 On/Off Delay, 105
Message Texts, 145 Open connectors, 84
Message texts, Character set, Operating
147 characteristics, 228
Mode Hours counter, Fetching MN
Parameter assignment, 152 and OT values, 229
parameter assignment, 47 Status indicator, 229
programming, 47 Operating
Mounting Hours Counter, 124
Drilling template, 21 hours counter, Reading MN
Profile rail mounting, 16 and OT values, 126
Wall–mounting, 20
Mounting Guidelines, 11
Multifunctional switch, 143
Outputs, 82 Planning, 46
connecting, 29 Power
Presentation on the Display, off, 32
61 on, 32
return, 31
switch, 31
P Power supply, connecting, 22
Par, 77 Pre–warning duration , 142
Parameter, 153 Pre–warning time , 142
’Set Param’, 153 Profile rail, 15
displaying/hiding, 67
Inputs, 94 Program cycle, 225
selecting, 154 Program module
setting, 151 ’Card ––> LOGO’, 166
T, 94 ’LOGO ––> Card’, 163
Parameter assignment, 66 copying, 165
inserting, 161, 162
Parameter assignment menu, red, 159
152 removing, 161, 162
Parameter assignment screen yellow, 159
form, 116, 146
Program name
Parameter Protection, 96 assigning, 55
changing, 56
Parameters, changing, 155
character set, 56
read, 153
LOGO! Manual
A5E00119092-01 243
Index
Programs
’Clear Prg’, 72
S
’Edit Prg’, 49 Sensor attributes, 24
’Password’, 57
’Prg Name’, 55 Sensor connections, 27
archiving, 159 Set Clock, ’Set Clock’, 158
changing, 63
deleting, 72 Setting, 66
duplicating, 159 Setting the date, 158
editing, 51
Setting the Time–Of–Day, ’Set
sending by post, 159 Clock’, 153
Pulse Setting the time–of–day, 158
Pause, 130
width , 130 SF, 81, 98
Pulse Generator, Asynchronous Simulation , 167
, 130 Size of a circuit, 77
Pulse Output, 112 Slide, 17, 19
Pulse Relay, 111 Softkey, 148
Software , 167
R
RAM, 77
Random Generator, 131
Relay outputs, 29, 219
service life, 219
switching capacity, 219
REM, 77
Resources, 77
Retentive On Delay, 107
Retentivity, 95
Rules, Four golden, 45
RUN, ’Start’, 61
LOGO! Manual
A5E00119092-01 245
Index
Threshold Switch
Analog, 135
W
Frequencies, 133 Weekday, 116
Time, Accuracy of, 95 Weekly timer switch, 7, 117
time, Accuracy of, 143 Examples, 118
setting, 117
Time Response, 94
Weekly Timer Switch , 115
Time switch, 1
Wintertime, 73
Timer, 77
Wiping Relay
Timer switch, Accuracy, 95
edge triggered, 114
Timing deviation , 95 Pulse Output, 112
Transistor outputs, 30 Wire ferrules, 22
Type of equipment, LOGO!, 2 without display, 227
Type of protection, 67 Reading the operating hours
counter, 229
U X
UL, 9
XOR , 91
Uninstalling, 18
Unit segments, 15
Up/down Counter, 122
Y
Upgrade, 168 Yearly Timer Switch, 120
Upward compatibility, 161
Z
V Zero point, 96
Voltage levels , 84
Voltage supply, connecting,
Protective circuit, 23