Manual Edition 06/2003
LOGO!
The following supplement is part of this documentation:
No. Designation Drawing number Edition
1 Product information A5E00324307-01 07/2004
Siemens AG
Bereich Automation and Drives
Geschäftsgebiet Industrial Automation Systems
Postfach 4848, D-90327 Nuernberg
Copyright: © Siemens AG 2001 - 2003
Subject to change without prior notice
@1P6ED1050-1AA00-0BE5@
1P 6ED1050-1AA00-0BE5
6ED1050-1AA00-0BE5
www.siemens.com/logo/
4 019169 120982
i
LOGO! Manual
A5E00228550-01
Preface
Dear customer
We thank you for purchasing LOGO! and congratulate you on
your decision. With 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.
Purpose of this manual
This LOGO! manual provides you with information about the crea-
tion of circuit programs, about the installation and use of LOGO!
0BA4 devices and expansion modules, and about their compatibi-
lity to the previous 0BA0-0BA3 versions (0BAx are the last four
characters of the order number and differentiate the device se-
ries).
LOGO!’s place in information technology
The wiring information in your LOGO! manualis also found in the
LOGO! Product Info included with all devices. For further informa-
tion on programming the LOGO! on your PC, 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, Mac OS X and helps you to get star-
ted with LOGO! and to write, test, print out and archive your pro-
grams, independent of the LOGO! .
Guide We have divided this manual into 9 chapters:
Getting started with LOGO!
LOGO! installation and wiring
Programming LOGO!
LOGO! functions
Configuring LOGO!
LOGO! program module (card)
LOGO! software
Applications
Appendix
LOGO! Manual
A5E00228550-01
ii
Valid range of this manual
The manual applies to devices of the series 0BA4.
Changes compared to previous releases of the manual
LOGO! 24o was added.
The digital module LOGO! DM 8 24R was added.
The analog module LOGO! AM 2 PT100 was added.
Description of changes and new features of the series 0BA4
devices.
Main differences compared to previous devices (0BA0 to 0BA3)
Higher performance: faster execution times
New program module (card) with more memory and know-how
protection, selectable at the parameters.
Display with background lighting and 4 x 12 characters.
New features of the current devices (0BA4)
You have 130 blocks available for creating the circuit program.
You can select retentivity also for time functions.
You can use the LOGO! cursor keys as inputs.
You can use the special functions “Shift register”, “Analog am-
plifier”, “Analog value monitoring” and “Analog differential
trigger”.
You can invert individual inputs.
Six of the basic functions are expanded with four inputs.
You can test your circuit program online using the PC.
Parameters for certain functions can also be derived from ana-
log values and counter values.
Counter: You can also use fast inputs (I5, I6).
Additional support
At our Internet address
http://www.siemens.com/logo
you can quickly and easily find answers to your queries about
LOGO!.
You can reach Technical Support under:
Phone: +49 (0)180 5050-222
Fax: +49 (0)180 5050-223
E-Mail: adsupport@siemens.com
Preface
iii
LOGO! Manual
A5E00228550-01
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 notes are
highlighted with a warning triangle and are shown according to the
degree of hazard as follows:
!Danger
Warns that death, serious harm to health or damage to assets will result if
the respective precautionary measures 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.
Caution
Means that material damage may occur if corresponding safety measures
are not taken.
Note
Draws your attention to particularly important information relating to the
product and its handling, or to a part of the documentation requiring your
special attention.
Qualified personnel
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 sy-
stems in accordance with safety regulations and standards.
Preface
LOGO! Manual
A5E00228550-01
iv
Use as intended
Please note:
!Warning
This device must always be used as intended for the applications de-
scribed in the catalog and in the technical specifications, and only in com-
bination with third-party devices or components approved or recom-
mended by Siemens.
Prerequisite for the safe and proper operation of the product is its proper
transportation, storage, installation and mounting, and careful operator
control and maintenance.
Trademarks
LOGO! is a trademark of SIEMENS AG .
Other designations in this documentation may represent trademarks, whose
use by third parties for their own purpose my infringe the right of the owner.
Copyright Siemens AG 1996 to 2003 All rights reserved
The reproduction, distribution or use of this document or its contents is not
permitted without express written authority. Offenders will be liable for
damages. All rights reserved, especially for the granting of patents or GM
entries.
Disclaimer of liability
We have examined the contents of this publication for agreement with the
hardware and software described. Nevertheless, discrepancies can not be
ruled out. Any liability and warranty for the accuracy of this information is
excluded. The data in this manual are reviewed at regular intervals. Any
corrections required are included in the subsequent editions. Suggestions
for improvement are welcomed.
Preface
v
LOGO! Manual
A5E00228550-01
Contents
Preface i. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 Getting started with LOGO! 1. . . . . . .
2 LOGO! installation and wiring 11. . . . .
2.1 Setup of the modular LOGO! 13. . . . . . . . . . . . . . . . . . .
2.1.1 Maximum setup 13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1.2 Setup with different voltage classes 14. . . . . . . . . . . . .
2.2 Installing/removing LOGO! 16. . . . . . . . . . . . . . . . . . . .
2.2.1 DIN rail mounting 17. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2.2 Wall-mounting 21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3 Wiring the LOGO! 23. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3.1 Connecting the power supply 23. . . . . . . . . . . . . . . . . . .
2.3.2 Connecting LOGO! inputs 25. . . . . . . . . . . . . . . . . . . . . .
2.3.3 Connecting outputs 31. . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4 Switching on the LOGO!/Power On 33. . . . . . . . . . . . .
3 Programming LOGO! 37. . . . . . . . . . . .
3.1 Connectors 39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2 Blocks and block numbers 42. . . . . . . . . . . . . . . . . . . . .
3.3 The way to LOGO!, starting with the
circuit diagram 45. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4 The 4 Golden rules for the operation of LOGO! 48. .
3.5 Overview of the LOGO! menus 50. . . . . . . . . . . . . . . . .
3.6 Writing and starting the circuit program 51. . . . . . . . .
3.6.1 Select programming mode 51. . . . . . . . . . . . . . . . . . . . .
3.6.2 The first circuit program 53. . . . . . . . . . . . . . . . . . . . . . . .
3.6.3 Circuit program input 54. . . . . . . . . . . . . . . . . . . . . . . . . .
3.6.4 Assigning a circuit program name 60. . . . . . . . . . . . . . .
3.6.5 Password 61. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.6.6 Switching LOGO! to RUN mode 66. . . . . . . . . . . . . . . .
3.6.7 Second circuit program 68. . . . . . . . . . . . . . . . . . . . . . . .
3.6.8 Deleting a block 74. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LOGO! Manual
A5E00228550-01
vi
3.6.9 Deleting block groups 75. . . . . . . . . . . . . . . . . . . . . . . . .
3.6.10 Correcting typing errors 76. . . . . . . . . . . . . . . . . . . . . . . .
3.6.11 Deleting the circuit program 77. . . . . . . . . . . . . . . . . . . .
3.6.12 Summertime/wintertime conversion 78. . . . . . . . . . . . .
3.6.13 Synchronization 83. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.7 Memory space and circuit dimensions 84. . . . . . . . . .
4 LOGO! functions 89. . . . . . . . . . . . . . . . .
4.1 Constants and connectors – Co 90. . . . . . . . . . . . . . . .
4.2 Basic functions list – GF 93. . . . . . . . . . . . . . . . . . . . . . .
4.2.1 AND (AND) 95. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.2 AND with edge evaluation 96. . . . . . . . . . . . . . . . . . . . . .
4.2.3 NAND (NOT AND) 97. . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.4 NAND with edge evaluation 98. . . . . . . . . . . . . . . . . . . .
4.2.5 OR (OR) 99. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.6 NOR (NOT OR) 100. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.7 XOR (exclusive OR) 101. . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.8 NOT (Negation, Inverter) 101. . . . . . . . . . . . . . . . . . . . . . .
4.3 Basics on special functions 102. . . . . . . . . . . . . . . . . . . .
4.3.1 Designation of the inputs 103. . . . . . . . . . . . . . . . . . . . . . .
4.3.2 Time response 104. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.3.3 Backup of the real-time clock 105. . . . . . . . . . . . . . . . . . .
4.3.4 Retentivity 105. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.3.5 Parameter protection 106. . . . . . . . . . . . . . . . . . . . . . . . . .
4.3.6 Calculating the gain and offset of analog values 106. .
4.4 Special functions list – SF 109. . . . . . . . . . . . . . . . . . . . .
4.4.1 On-delay 113. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.2 Off-delay 117. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.3 On-/Off-delay 119. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.4 Retentive on-delay 121. . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.5 Wiping relay (pulse output) 123. . . . . . . . . . . . . . . . . . . . .
4.4.6 Edge triggered wiping relay 125. . . . . . . . . . . . . . . . . . . .
4.4.7 Asynchronous pulse generator 128. . . . . . . . . . . . . . . . .
4.4.8 Random generator 130. . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.9 Stairway lighting switch 132. . . . . . . . . . . . . . . . . . . . . . . .
4.4.10 Multiple function switch 135. . . . . . . . . . . . . . . . . . . . . . . .
4.4.11 Weekly timer 138. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.12 Yearly timer 143. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.13 Up/down counter 146. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
vii
LOGO! Manual
A5E00228550-01
4.4.14 Hours counter 150. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.15 Threshold trigger 155. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.16 Analog threshold trigger 158. . . . . . . . . . . . . . . . . . . . . . .
4.4.17 Analog differential trigger 161. . . . . . . . . . . . . . . . . . . . . .
4.4.18 Analog comparator 165. . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.19 Analog value monitoring 170. . . . . . . . . . . . . . . . . . . . . . .
4.4.20 Analog amplifier 173. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.21 Latching relay 175. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.22 Pulse relay 176. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.23 Message texts 179. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.24 Softkey 186. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.25 Shift register 190. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5 Configuring LOGO! 193. . . . . . . . . . . . . . .
5.1 Selecting parameter assignment mode 194. . . . . . . . . .
5.1.1 Parameters 196. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1.2 Selecting the parameters 197. . . . . . . . . . . . . . . . . . . . . .
5.1.3 Modifying parameters 198. . . . . . . . . . . . . . . . . . . . . . . . .
5.2 Setting the time-of-day and date
(LOGO! ... C) 201. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6 LOGO! program module (card) 203. . . .
6.1 Security function (CopyProtect) 205. . . . . . . . . . . . . . . .
6.2 Inserting and removing
the program module (card) 208. . . . . . . . . . . . . . . . . . . . .
6.3 Copying data from the LOGO!
to the program module (card) 210. . . . . . . . . . . . . . . . . .
6.4 Copying data from the program module (card)
to LOGO! 212. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7 LOGO! Software 215. . . . . . . . . . . . . . . . .
7.1 Connecting the LOGO! to a PC 218. . . . . . . . . . . . . . . . .
Contents
LOGO! Manual
A5E00228550-01
viii
8 Applications 221. . . . . . . . . . . . . . . . . . . . .
8.1 Stairway or corridor lighting 223. . . . . . . . . . . . . . . . . . .
8.1.1 Requirements for a stairway lighting system 223. . . . . .
8.1.2 Previous solution 223. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.1.3 Lighting system with LOGO! 224. . . . . . . . . . . . . . . . . . . .
8.1.4 Special features and expansion options 226. . . . . . . . . .
8.2 Automatic door 227. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.2.1 Requirements of an automatic door 227. . . . . . . . . . . . .
8.2.2 Conventional solution 228. . . . . . . . . . . . . . . . . . . . . . . . .
8.2.3 Door control system with LOGO! 228. . . . . . . . . . . . . . . .
8.2.4 Special features and expansion options 231. . . . . . . . . .
8.2.5 Extended solution with LOGO! 230RC 231. . . . . . . . . . .
8.3 Air-conditioning System 234. . . . . . . . . . . . . . . . . . . . . . .
8.3.1 Requirements for an air-conditioning System 234. . . . .
8.3.2 Advantages of using LOGO! 237. . . . . . . . . . . . . . . . . . . .
8.4 Factory door 239. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.4.1 Requirements for a gate control system 239. . . . . . . . . .
8.4.2 Previous solution 240. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.4.3 Extended LOGO! solution 242. . . . . . . . . . . . . . . . . . . . . .
8.5 Centralized control and monitoring
of several factory doors 243. . . . . . . . . . . . . . . . . . . . . . . .
8.5.1 Requirements for a gate control system 244. . . . . . . . . .
8.6 Luminous rows 247. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.6.1 Requirements for a lighting system 247. . . . . . . . . . . . . .
8.6.2 Previous solution 248. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.6.3 Luminous row control system with LOGO! 230RC 249.
8.7 Service water pump 251. . . . . . . . . . . . . . . . . . . . . . . . . . .
8.7.1 Requirements for a control system
of a service water pump 252. . . . . . . . . . . . . . . . . . . . . . .
8.7.2 Previous solution 252. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.7.3 Service water pump system with LOGO! 230RC 253. .
8.7.4 Special features and expansions 254. . . . . . . . . . . . . . . .
8.8 Further fields of application 255. . . . . . . . . . . . . . . . . . .
Contents
ix
LOGO! Manual
A5E00228550-01
Appendix
A Technical data 259. . . . . . . . . . . . . . . . . . .
A.1 General technical data 259. . . . . . . . . . . . . . . . . . . . . . . . .
A.2 Technical data: LOGO! 230...
and LOGO! DM8 230R 261. . . . . . . . . . . . . . . . . . . . . . . . .
A.3 Technical data: LOGO! 24... and
LOGO! DM8 24 264. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.4 Technical data: LOGO! 24RC...
and LOGO! DM8 24 R 267. . . . . . . . . . . . . . . . . . . . . . . . .
A.5 Technical data: LOGO! 12/24... and
LOGO! DM8 12/24R 270. . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.6 Switching capacity and service life
of the relay outputs 273. . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.7 Technical data: LOGO! AM 2 274. . . . . . . . . . . . . . . . . . .
A.8 Technical data: LOGO! AM 2 PT100 275. . . . . . . . . . . . .
A.9 Technical data: LOGO!Power 12 V 277. . . . . . . . . . . . . .
A.10 Technical data: LOGO!Power 24 V 279. . . . . . . . . . . . . .
A.11 Technical data: LOGO! Contact 24/230 281. . . . . . . . . .
B Determining the cycle time 283. . . . . . . .
C LOGO! without display 285. . . . . . . . . . .
D LOGO! menu structure 289. . . . . . . . . . .
E Order numbers 291. . . . . . . . . . . . . . . . . . .
F Abbreviations 293. . . . . . . . . . . . . . . . . . . .
Index 295. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
LOGO! Manual
A5E00228550-01
x
Contents
1
LOGO! Manual
A5E00228550-01
1 Getting started with LOGO!
Here’s LOGO!
LOGO! is a universal logic module made by Siemens.
LOGO! integrates
Controls
Operator and display panel with background lighting
Power supply
Interface for expansion modules
Interface for the program module (card) and a PC cable
Pre-configured standard functions, e.g. on- and
off-delays, pulse relay and softkey
Timer
Digital and analog flags
Inputs and outputs, according to the device type.
What LOGO! can do for you
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, as well as for mechanical and apparatus engi-
neering (e.g. for gate control systems, air-conditioning sys-
tems, or rainwater 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 panel and display unit
are available for series production applications in small ma-
chine, apparatus, switching cabinet and installation engi-
neering.
LOGO! Manual
A5E00228550-01
2
Which devices are available?
LOGO! Basic is available in two voltage classes:
Class 1 24 V, i.e. 12 V DC, 24 V DC, 24 V AC
Class 2 > 24 V, i.e. 115...240 V AC/DC,
in the versions:
With display: 8 inputs and 4 outputs.
Without display (”LOGO! Pure”): 8 inputs and 4 out-
puts.
Each version is integrated into 4 subunits (SU), is equipped
with an expansion interface and provides 33 pre-configured
standard and special function blocks for the creation of
your circuit program.
Which expansion modules are available?
LOGO! digital modules are available for operation with
12 V DC, 24 V AC/DC and 115...240 V AC/DC, and are
equipped with four inputs and four outputs.
LOGO! analog modules are available for operation with
12 V DC and 24 V DC, and are equipped with two ana-
log inputs or two Pt100 inputs.
LOGO! communications modules (CM), for example the
communications module AS interface, that is described
in a separate documentation.
The digital/analog modules are integrated in two subunits.
Each one is equipped with two expansion interfaces for
connecting additional modules.
Devices no longer available
All versions with 6 inputs.
A long variant with 12 inputs and 8 outputs
The bus version with 12 inputs and 8 outputs.
The modular features of LOGO! replace this type of equip-
ment.
It’s your choice
The various LOGO! Basic versions and expansion modules
offer you a highly flexible and adaptive system to suit your
specific tasks.
Gettin
g
started with LOGO!
3
LOGO! Manual
A5E00228550-01
The LOGO! system offers you many solutions such as for
small domestic installations, simple automation tasks, and
even complex engineering tasks involving its integration
into a bus system (e.g. communications module AS inter-
face).
Note
LOGO! Basic may only be equipped with expansion mod-
ules of the same voltage class. Mechanical encoding pins
in the housing prevent you from connecting devices of a
different voltage class.
Exception: The left-hand interface of an analog module or
communication module is galvanically isolated.
This type of expansion module can therefore be connected
to devices of a different voltage class.
See also Chapter 2.1.
Each LOGO! Basic provides the following connections for
the creation of the circuit program, regardless of the num-
ber of connected modules:
Digital inputs I1 to I24
Analog inputs AI1 to AI8
Digital outputs Q1 to Q16
Analog outputs AQ1 and AQ2
Digital flag blocks M1 to M24, M8: Startup flag
Analog flag blocks AM1 to AM6
Shift register bits S1 to S8
4 cursor keys
16 blank outputs X1 to X16.
Gettin
g
started with LOGO!
LOGO! Manual
A5E00228550-01
4
The LOGO! structure
LOGO! Basic (e.g.: 230 RC)
12
3
I7 I8
Q1 Q2 Q3 Q4
4
35
72
L1 N
4
90
55
LOGO! expansion module
(e.g.: DM8 230R)
4Module slot with cap
5
6
RUN/STOP indicator
Control panel
(not for RCo)
LCD
(not for RCo)
I5 I6I2 I3 I4I1
Q4
Q1 Q2
35
L1 N I2 I3 I4I1
36
RUN/STOP
90
53
7
8
Mechanical coding
pins
3
12
9
910
9
Expansion interface
1
2
3Outputs
Power supply
Inputs
8
88
10 Mechanical coding
sockets
10
11
11 Slide
1 2 1 2 1 2 1 2
1 2 1 2
1 2 1 2
5
6
7
4
Q3
Gettin
g
started with LOGO!
5
LOGO! Manual
A5E00228550-01
LOGO! Basic (e.g.: 12/24 RC)
12
3
I7 I8
Q1 Q2 Q3 Q4
4
35
72
L+ M
4
6
5
90
55
LOGO! expansion module
(e.g.: DM8 12/24R)
4Module slot with cap
5
6
RUN/STOP indicator
Control panel
(not for RCo)
LCD
(not for RCo)
I5 I6I2 I3 I4I1
Q3 Q4
Q1 Q2
35
L+ M I2 I3 I4I1
36
RUN/STOP
90
53
7
8
Mechanical coding
pins
3
12
7
9
910
9
Expansion interface
1
2
3Outputs
Power supply
Inputs
1 2 1 2
1 2 1 2
8
88
10 Mechanical coding
sockets
10
11
11 Slide
1 2 1 2 1 2 1 2
4
Gettin
g
started with LOGO!
LOGO! Manual
A5E00228550-01
6
RUN/STOP indicator
I1
PE
INPUT2x(0..10V/0..20mA)
35
L+ M
36
RUN/STOP
90
53
7
8
Mechanical coding
pins
1
7
9
910
9
Expansion interface
1
2
Power supply
Inputs
88
10 Mechanical coding
sockets
LOGO! AM 2
11
11 Slide
M1U1 M2U2I2
PE terminal, for con-
necting earth and the
shielding of analog
measuring cables.
12
12
4
L+ M
2
RUN/STOP indicator
M1+
PE
35
L+ M
36
RUN/STOP
90
53
7
8
Mechanical coding
pins
1
7
9
910
9
Expansion interface
1
2
Power supply
Inputs
88
10 Mechanical coding
sockets
11
11 Slide
PE terminal, for con-
necting earth and the
shielding of analog
measuring cables.
12
12
4
L+ M
2
IC1 IC2M1-M2+ M2-
1
LOGO! AM 2 PT100
Gettin
g
started with LOGO!
7
LOGO! Manual
A5E00228550-01
How to identify the LOGO!
The LOGO! identifier informs you of various properties:
12: 12 V DC version
24: 24 V DC version
230: 115...240 V AC version
R: Relay outputs (without R: solid-state outputs)
C: Integrated Weekly timer
o: Version without display (“LOGO! Pure”)
DM: Digital module
AM: Analog module
CM: Communications module (e.g. AS interface)
SymbolsVersion with display unit is equipped with 8 inputs and
4 outputs
Version without display unit is equipped with 8 inputs and
4 outputs
The digital module is equipped with 4 digital inputs and
4 digital outputs
The analog module is equipped with 2 analog inputs
The communications module (CM) is equipped with
4 virtual inputs and 4 virtual outputs (e.g. AS interface)
Gettin
g
started with LOGO!
LOGO! Manual
A5E00228550-01
8
VersionsThe following LOGO! versions are available:
Symbol Designation Supply
voltage Inputs Outputs Properties
LOGO! 12/24 RC 12/24 V
DC 8 digital
(1) 4 relays
(10 A)
LOGO! 24 24 V DC 8 digital
(1) 4 solid
state
24V / 0.3A
no clock
LOGO! 24RC (3) 24 V AC/
24 V DC 8 digital 4 relays
(10A)
LOGO! 230RC (2) 115...240 V
AC/DC 8 digital 4 relays
(10A)
LOGO! 12/24RCo 12/24 V
DC 8 digital
(1) 4 relays
(10A) no display unit
no keyboard
LOGO! 24o 24 V DC 8 digital
(1) 4 solid
state
24 V / 0.3A
no display unit
no keyboard
no clock
LOGO! 24RCo (3) 24 V AC /
24 V DC 8 digital 4 relays
(10A) no display unit
no keyboard
LOGO! 230RCo (2) 115...240 V
AC/DC 8 digital 4 relays
(10A) no display unit
no keyboard
(1): Of those can be used alternatively: 2 analog inputs (0 ... 10V) and 2 fast
inputs.
(2): 230 V AC versions: Two groups consisting of 4 inputs each. Each group
must be connected to the same phase. It is possible to interconnect groups with
a different phase.
(3): The digital inputs can be operated with P or N action.
Gettin
g
started with LOGO!
9
LOGO! Manual
A5E00228550-01
Expansion modules
The following expansion modules can be connected to the
LOGO!:
Symbol Name Power supply Inputs Outputs
LOGO! DM 8 12/24R 12/24 V DC 4 digital 4 relays (5A)
LOGO! DM 8 24 24 V DC 4 digital 4 solid state
24 V / 0.3 A
LOGO! DM 8 24R (3) 24 V AC/DC 4 digital 4 relays (5A)
LOGO! DM 8 230 R 115...240 V AC/DC 4 digital (1) 4 relays (5A)
LOGO! AM 2 12/24 V DC 2 analog
0 ... 10 V or 0
... 20 mA (2)
none
LOGO! AM 2 PT100 12/24 V DC 2 Pt100
–50 °C to
+200 °C
none
(1): Different phases are not allowed within the inputs.
(2): 0 ... 10 V, 0 ... 20 mA can be connected optionally.
(3): Digital inputs can be operated either with P or with N action.
Certification and approvals
LOGO! is certified to cULus and FM.
cULus Haz. Loc.
Underwriters Laboratories Inc. (UL) to
– UL 508 (Industrial Control Equipment)
– CSA C22.2 No. 142 (Process Control Equipment)
– UL 1604 (Hazardous Location)
– CSA-213 (Hazardous Location)
APPROVED for use in
Class I, Division 2, Group A, B, C, D Tx
Class I, Zone 2, Group IIC Tx
FM Approval
Factory Mutual Research (FM) to
Approval Standard Class Number 3611, 3600, 3810
APPROVED for use in
Class I, Division 2, Group A, B, C, D Tx
Class I, Zone 2, Group IIC Tx
Gettin
g
started with LOGO!
LOGO! Manual
A5E00228550-01
10
Note
You will find current approvals on the rating plate of the
relevant module.
!Warning
Risk of personal injury and material damage.
In potentially explosive atmospheres, there is a risk of per-
sonal injury or damage to material if you disconnect con-
nectors when the system is in RUN.
In potentially explosive atmospheres, always switch off the
power supply to LOGO! and its components before you
disconnect any connectors.
LOGO! is issued with the CE Certificate of Conformity. It is
compliant with VDE 0631 and IEC 61131-2 and interfer-
ence-proof to EN 55011, Limit Class B.
Marine certification has been requested.
ABS (American Bureau of Shipping)
BV (Bureau Veritas)
DNV (Det Norske Veritas)
GL (Germanischer Lloyd)
LRS (Lloyds Register of Shipping)
Class NK (Nippon Kaiji Kyokai)
LOGO! is therefore suitable for use both in industry and in
the domestic area.
ID for Australia
Our products carrying the label shown at the side are com-
pliant with AS/NZS 2064:1997 (Class A) standard.
Recycling and Disposal
LOGO! units can be fully recycled, due to their low-pollutant
equipment. Contact a certified electronic waste disposal
center for environmentally acceptable recycling and dis-
posal of your old devices.
Gettin
g
started with LOGO!
11
LOGO! Manual
A5E00228550-01
2 LOGO! installation and wiring
General guidelines
Please note the following guidelines for the installation and
wiring of your LOGO! :
Always ensure that the wiring of your LOGO! is com-
pliant with current rules and standards. Also, conform
with all national and regional regulations when you
install and operate the devices. For information on stan-
dards and regulations that apply to your specific case,
contact your local authorities.
Always use cables with an appropriate conductor cross-
sections for the relevant current. You can wire the
LOGO! with cable conductor cross-sections from
1.5 mm2 to 2.5 mm2; see Chapter 2.3.
Do not exceed the screw torque of the terminals. The
maximum torque is: 0.5 N/m, see Chapter 2.3.
Keep the cabling as short as possible. If longer cables
are necessary, you should use shielded versions. You
should always route your cables in pairs: i.e. one neutral
conductor plus one phase conductor or signal line.
Always keep separate:
The AC wiring
High-voltage DC circuits with high-frequency switch-
ing cycles
Low-voltage signal wiring.
Ensure that the wires are installed with an appropriate
strain relief.
Provide a suitable lightning surge arrester for cables
installed in relevant areas of hazard.
LOGO! Manual
A5E00228550-01
12
Do not connect an external power supply in parallel to
the output load of a DC output. This could develop a
reverse current at the output if you have not installed a
diode or similar barrier device.
Note
LOGO! units may only be installed and wired by skilled
personnel who know and follow the general engineering
rules and the relevant regulations and standards.
LOGO! installation and wirin
g
13
LOGO! Manual
A5E00228550-01
2.1 Setup of the modular LOGO!
2.1.1 Maximum setup
Maximum setup of a LOGO!
with
analog inputs
(LOGO! 12/24 RC/RCo and LOGO! 24/24o)
LOGO! Basic, 4 digital modules and 3 analog modules
LOGO! Basic LOGO!
DM 8 LOGO!
DM 8 LOGO!
DM 8 LOGO!
DM 8 LOGO!
AM 2 LOGO!
AM 2 LOGO!
AM 2
I9...I12 I13...I16 I17...I20 I21...I24 AI3, AI4 AI5, AI6 AI7, AI8
I1......I6, I7, I8
AI1, AI2
Q1...Q4 Q5...Q8 Q9...Q12 Q13...Q16
Maximum setup of a LOGO!
without
analog inputs
(LOGO! 24 RC/RCo and LOGO! 230 RC/RCo)
LOGO! Basic, 4 digital modules and 4 analog modules
LOGO! Basic LOGO!
DM 8 LOGO!
DM 8 LOGO!
DM 8 LOGO!
DM 8 LOGO!
AM 2 LOGO!
AM 2 LOGO!
AM 2
I9...I12 I13...I16 I17...I20 I21...I24 AI3, AI4 AI5, AI6 AI7, AI8
I1 . . . . . . . . . . . I8 AI1 , AI2 LOGO!
AM 2
Q1...Q4 Q5...Q8 Q9...Q12 Q13...
Q16
High-speed/optimal communication performance
For optimal and high-speed communication performance
between LOGO! Basic and the various modules, we recom-
mend you install the “digital modules first, then the analog
modules” (example above).
LOGO! installation and wirin
g
LOGO! Manual
A5E00228550-01
14
2.1.2 Setup with different voltage classes
Rules Digital modules can only be connected to devices of the
same voltage class.
You may connect analog and communications modules to
devices of any voltage class.
Overview:
Connecting an expansion module to LOGO! Basic
LOGO!
Bi
Expansion modules
Basic DM 8
12/24R DM 8
24 DM 8
24R DM 8
230R AM2/
AM2
PT100
CM
LOGO! 12/24 RC x x x x x
LOGO! 24 x x x x x
LOGO! 24 RC x x x x x
LOGO! 230 RC x x x
LOGO! 12/24RCo x x x x x
LOGO! 24o x x x x x
LOGO! 24 RCo x x x x x
LOGO! 230 RCo x x x
LOGO! installation and wirin
g
15
LOGO! Manual
A5E00228550-01
Overview:
Connecting a further expansion module to an expansion
module
Expansion
dl
Further expansion modules
module DM 8
12/24R DM 8
24 DM 8
24R DM 8
230R AM2/
AM2
PT100
CM
DM 8 12/24 R x x x x x
DM 8 24 x x x x x
DM 8 24 R x x x x x
DM 8 230 R x x x
AM2 / AM2 PT100 x x x x x
CM AS interface x x x x x
LOGO! installation and wirin
g
LOGO! Manual
A5E00228550-01
16
2.2 Installing/removing LOGO!
Dimensions
The LOGO! installation dimensions are compliant with
DIN 43880.
LOGO! can be snap-mounted to 35 mm DIN rails to
EN 50022 or on the wall.
LOGO! width:
LOGO! Basic has a width of 72 mm, which corresponds
with 4 subunits.
LOGO! expansion modules have a width of 36 mm,
which corresponds with 2 subunits.
Note
The figure below shows you an example of the installation
and removal of a LOGO! 230 RC and a digital module.
The measures shown apply to all other LOGO! Basic ver-
sions and expansion modules.
!Warning
Always switch off power before you “remove” and “insert”
an expansion module.
LOGO! installation and wirin
g
17
LOGO! Manual
A5E00228550-01
2.2.1 DIN rail mounting
Mounting
How to mount a LOGO! Basic and a digital module onto a
DIN rail:
LOGO! Basic:
1. Hook the LOGO! Basic module onto the rail and
2. then push down the lower end to snap it on. The mount-
ing interlock at the rear must engage
1
2
3
4
5
6
LOGO! digital module:
3. On the right side of the LOGO! Basic/LOGO! expansion
module, remove the connector cap
4. Place the digital module onto the DIN rail on the right-
hand side of the LOGO! Basic
5. Slide the digital module towards the left until it contacts
the LOGO! Basic
LOGO! installation and wirin
g
LOGO! Manual
A5E00228550-01
18
6. Using a screwdriver, push the interlock to the left. In its
end position the slide interlock engages in the LOGO!
Basic.
Repeat steps 3 through 6 to mount further expansion mod-
ules.
Note
The expansion interface on the last expansion module
must be covered.
LOGO! installation and wirin
g
19
LOGO! Manual
A5E00228550-01
RemovalTo remove the LOGO!:
....... if you have installed only one LOGO! Basic:
Part A
1. Insert a screwdriver into the eyelet at the bottom of the
slide interlock and move the latch downward
2. Swing the LOGO! Basic off the DIN rail.
1
2
1
2
3
4
AB
LOGO! installation and wirin
g
LOGO! Manual
A5E00228550-01
20
....... if you have connected at least one expansion mod-
ule to the LOGO! Basic:
Part B
1. Using a screwdriver, push the integrate slide interlock
to the right
2. Slide the expansion module off towards the right
3. Insert a screwdriver into the eyelet at the bottom of the
slide interlock and lever it downward
4. Swing the expansion module off the profile rail.
Repeat steps 1 to 4 for all other expansion modules.
Note
If you have connected more than one expansion module, it
is advisable to start removal with the last module at the
right-hand side.
Make sure that the slide interlock of the module to be
installed/removed is not engaged in the next module.
LOGO! installation and wirin
g
21
LOGO! Manual
A5E00228550-01
2.2.2 Wall-mounting
For wall-mounting, first slide the mounting slides on the
rear side of the devices towards the outside. You can now
wall-mount the LOGO! by means of two mounting slides
and two M4 screws (tightening torque 0.8 to 1.2 N/m).
Mounting slides
LOGO! installation and wirin
g
LOGO! Manual
A5E00228550-01
22
Drilling template for wall-mounting
Before you can wall-mount the LOGO!, you need to drill
holes using the template shown below.
53.5 +/– 0.2 35.5 +/– 0.2
n x 35.5 +/– 0.2
98 +/– 0.3
Bore hole for M4 screw
Tightening torque 0.8 to 1.2 N/m
LOGO! Basic
LOGO! expansion module
12
1
2
All dimensions in mm
2 2
LOGO! installation and wirin
g
23
LOGO! Manual
A5E00228550-01
2.3 Wiring the LOGO!
Wire the LOGO! using a screwdriver with a 3-mm blade.
You do not need wire ferrules for the terminals. Permitted
conductor cross-sections:
1 x 2.5 mm2
2 x 1.5 mm2 for each second terminal chamber
Tightening torque: 0.4...0.5 N/m or 3...4 lbs/in
Note
Always cover the terminals after you have completed the
installation. To protect LOGO! adequately from impermissi-
ble contact to live parts, local standards must be complied
with.
2.3.1 Connecting the power supply
The 230-V versions of LOGO! are suitable for operation
with rated voltages of 115 V AC/DC and 240 V AC/DC. The
LOGO! 24-V and 12-V versions can be operated with a
24 VDC, 24 V AC or 12 VDC power supply. For information
on permissible voltage tolerances, line frequencies and
power consumption, refer to the installation instructions in
the Product Information supplied with your device and to
the technical data in Appendix A.
Note
A power failure may cause an additional edge triggering
signal at the special functions, for example.
Data of the last uninterrupted cycle are stored in LOGO!.
LOGO! installation and wirin
g
LOGO! Manual
A5E00228550-01
24
Connecting LOGO!
To connect LOGO! to the power supply:
L1
L+ N
M
LOGO! .....
with DC power supply LOGO! .....
with AC power supply
Protection with safety fuse
if required (recommended) for:
12/24 RC...: 0.8 A
24: 2.0 A
To suppress surge voltages,
install varistors (MOV) with an
operating voltage at least 20 %
above the rated voltage.
ML+ I1 I2 I3 I4 I5 I1 I2 I3 I4L1 N
Note
LOGO! is a double-insulated switchgear. It is not required
to connect an equipment grounding conductor.
Circuit protection with AC voltage
To suppress voltage peaks on the power supply lines, you
can install a metal oxide varistor (MOV) (MOV). Make sure
that the operating voltage of the varistor (MOV) used lies at
least 20 % above the rated voltage (for example S10K275).
LOGO! installation and wirin
g
25
LOGO! Manual
A5E00228550-01
2.3.2 Connecting LOGO! inputs
Requirements
At the inputs you connect sensor elements such as: mo-
mentary switches, switches, light barriers, daylight control
switches etc.
Sensor characteristics for LOGO!
LOGO! 12/24 RC/RCo
LOGO! DM8 12/24 R LOGO! 24/24o
LOGO! DM8 24
I1 ... I6 I7, I8 I1 ... I6 I7, I8
Signal status 0 < 5 VDC < 5 VDC < 5 VDC < 5 VDC
Input current < 1.0 mA < 0.05 mA < 1.0 mA < 0.05 mA
Signal status 1 > 8 V DC > 8 V DC > 8 V DC > 8 V DC
Input current > 1.5 mA > 0.1 mA > 1.5 mA > 0.1 mA
LOGO! 24
RC/RCo (AC)
LOGO! DM8
24 R (AC)
LOGO! 24
RC/RCo (DC)
LOGO! DM8
24 R (DC)
LOGO! 230
RC/RCo (AC)
LOGO! DM8
230 R (AC)
LOGO! 230
RC/RCo (DC)
LOGO! DM8
230 R (DC)
Signal status 0 < 5 V AC < 5 V DC < 40 V AC < 30 V DC
Input current < 1.0 mA < 1.0 mA < 003 mA < 003 mA
Signal status 1 > 12 V AC > 12 V DC > 79 V AC > 79 V DC
Input current > 2.5 mA > 2.5 mA > 0.08 mA > 0.08 mA
Note
The digital inputs of LOGO! 230 RC/RCo are divided into
two groups, each consisting of four inputs. Within the
same group, all inputs must be operated on the same
phase. Different phases are only possible between the
groups.
Example: I1 to I4 on phase L1, I5 to I8 on phase L2.
Inputs within the LOGO! DM8 230R may not be connected
to different phases.
LOGO! installation and wirin
g
LOGO! Manual
A5E00228550-01
26
Sensor connections
Connecting glow lamps and 2-wire proximity switches
(Bero) to LOGO! 230 RC/230 RCo or LOGO!
DM8 230 R (AC)
L1
N
NL1
C3SB1420-3D
Order number for C:
Siemens
Switchgear & Systems
X-capacitor 2.5 kV, 100 nF
Take the quiescent current of any 2-wire proximity switches
used into account. The level of the quiescent current of
some 2-wire proximity switches is high enough to trigger a
logical ”1” signal at the LOGO! input. You should therefore
compare the quiescent current of the proximity switches
with the technical data of inputs Appendix A.
LOGO! installation and wirin
g
27
LOGO! Manual
A5E00228550-01
Restrictions
Signal status transitions 0 1 / 1 0
After a 0 to 1 or 1 to 0 transition, the signal must remain
constant at the input at least for the duration of one pro-
gram cycle, so that LOGO! can detect the new signal sta-
tus.
The program execution time is determined by the size of
the circuit program. Appendix B contains a benchmark test
routine that you can use to determine the current scan
cycle time.
Special features of LOGO! 12/24 RC/RCo and LOGO! 24/24o
High-speed inputs: I5 and I6
These versions are also equipped with high-speed counting
inputs (Up/down counters, Threshold triggers). The restric-
tions mentioned earlier do not apply to these high-speed
inputs.
Note
The high-speed inputs I5 and I6 are the same as in the
previous versions 0BA0 to 0BA3, i.e. a circuit program
that is written in these versions can be transferred to the
new 0BA4 units by means of the programming software
LOGO! SoftComfort, without any changes to these fea-
tures. In contrast to this, you need to modify circuit pro-
grams written for a LOGO!...L version (high-speed inputs
I11/I12).
Expansion modules do not have high-speed inputs.
Analog inputs: I7 and I8
The inputs I7 and I8 of LOGO! versions 12/24RC/RCo and
24/24o can be used both as standard digital inputs and as
analog inputs. The input mode is defined in the LOGO! cir-
cuit program.
The inputs I7 / I8 provide digital functions, and the inputs
AI1 and AI2 provide analog functions.
See also Chapter 4.1.
LOGO! installation and wirin
g
LOGO! Manual
A5E00228550-01
28
Note
The LOGO! AM 2 expansion module provides further ana-
log inputs. The LOGO! AM 2 PT100 expansion module
provides Pt100 inputs.
Always use twisted and shielded cables for analog signals,
and keep these as short as possible.
Sensor connections
To connect sensors to the LOGO! :
LOGO! 12/24 ....
L+MThe inputs of these devices not iso-
lated and therefore require a com-
mon reference potential (chassis
ground ).
At the LOGO! 12/24RC/RCo and
LOGO! 24/24o modules, you can
tap analog signals between the
supply voltage and chassis ground.
ML+ I1 I2 I3 I4 I5 I8
LOGO! 230 ....
L1
N
L3
L2 The inputs of these de-
vices are arranged in 2
groups, each consisting
of 4 inputs. Different
phases are only possible
between blocks, but not
within the blocks.
NL1 I1 I2 I3 I4 I5 I6
LOGO! installation and wirin
g
29
LOGO! Manual
A5E00228550-01
!Warning
Current safety regulations (VDE 0110, ... and IEC 61131-2,
... as well as cULus) do not permit the connection of differ-
ent phases to an AC input group (I1 to I4 or I5 to I8) or to
the inputs of a digital module.
LOGO! AM 2
Current mea-
surement Voltage measurement
ML+
L
+
M
Current
U1 I2 M2 U2I1 M1
PE
L
+
M
Reference
current
0...20
mA
1
2
1
PE
Earth
Cable shielding
PE terminal for con-
necting earth and
the shielding of the
analog measuring
cable
33DIN rail
RUN/STOP
2
M
ML+
LOGO! installation and wirin
g
LOGO! Manual
A5E00228550-01
30
LOGO! AM 2 PT100
You can connect either a 2- or 3-wire Pt100 resistive ther-
mocouple to the module.
For a 2-wire connection, you need to short-circuit terminals
M1+ and IC1 or M2+ and IC2. Errors caused by the ohmic
resistance of the measuring line are not compensated with
this type of connection. A line resistance of 1 is propor-
tional to a measuring error of +2.5°C.
A 3-wire technique suppresses the influence of the cable
length (ohmic resistance) on the result of the measure-
ment.
M1+
PE
L+ M
RUN/
STOP
L+ M
IC1 IC2M1- M2+ M2-
Pt100
M1+
PE
L+ M
RUN/
STOP
L+ M
IC1 IC2M1- M2+ M2-
Pt100
2-wire technique 3-wire technique
Note
When you operate the LOGO! AM 2 PT100 expansion
module on an ungrounded (floating potential) power sup-
ply, the indicated temperature value may be subject to
heavy fluctuation.
In this case, connect the shielding of the thermocouple
cable to the negative output / chassis ground output of the
power supply module.
LOGO! installation and wirin
g
31
LOGO! Manual
A5E00228550-01
2.3.3 Connecting outputs
LOGO! ...R...
The LOGO! ...R... version is equipped with relay outputs.
The potential of the relay contacts is isolated from the
power supply and the inputs.
Requirements for relay outputs
You can connect various loads to the outputs, e.g. lamps,
fluorescent lamps, motors, contactor relays etc. For infor-
mation on the properties required for the loads connected
to the LOGO! ...R..., refer to Appendix A.
Connecting
This is how you connect the load to LOGO! ...R...:
Protection with automatic circuit-breaker, max. 16 A, characteristics
B16, e.g.: Power circuit-breaker 5SX2 116-6 (if required)
DM8...R
1 2
Q1 Q2
1 2
Q5 Q6
1 2 1 2
Load Load
LOGO! installation and wirin
g
LOGO! Manual
A5E00228550-01
32
LOGO! with solid-state outputs
LOGO! versions with solid-state outputs can be identified
by the fact that the letter R is missing from their type name.
The outputs are short circuit-proof and overload-proof. An
auxiliary load voltage supply is not necessary, because
LOGO! supplies the load voltage.
Requirements for solid-state outputs
The load connected to LOGO! must have the following
characteristics:
The maximum switched current is 0.3 A per output.
Connecting
This is how you connect the load to a LOGO! with solid-
state outputs:
Load: 24 V DC, 0.3 A max.
DM8 24
Q1 Q2MM
Q5 Q6MM
Load Load
LOGO! installation and wirin
g
33
LOGO! Manual
A5E00228550-01
2.4 Switching on the LOGO!/Power On
LOGO! does not have a power switch. The reaction of
LOGO! during startup depends on
Whether a circuit program is stored in LOGO!
Whether a program module (Card) is inserted
Whether this is a LOGO! version without display unit
(LOGO!...o)
The status of LOGO! at the time of power failure.
All possible reaction of LOGO! are described on the follow-
ing page.
LOGO! installation and wirin
g
LOGO! Manual
A5E00228550-01
34
2002-01-31
2002-01-31
Mo 09:00
2002-01-31
Mo
09:00
>Program..
Card..
Clock..
Start
With stored
program from
LOGO!
&
B1
Q1
No program in
memory
(empty)
(with program)
or
LOGO!
in RUN mode
(empty)
(with pro-
gram)
or
Program in
memory (empty)
or
with a pro-
gram copied
from the pro-
gram module
(Card) in
LOGO!
Before power off After power on
(with program)
with stored
program from
LOGO!
with program
copied from th
e
program modul
(Card) in
LOGO!
2003-01-27
Mo 09:00
......
......
>Program..
Card..
Clock..
Start
>Program..
Card..
Clock..
Start
No program
Press ESC
LOGO! in
RUN mode
No Program
Press ESC
Mo 09:00
I:
0.. 123456789
1..0123456789
2..01234
Q:
0.. 12345678
9
1..0123456
0.. 123456789
1..0123456789
2..01234
I:
B3:
Cnt = 0028
Par = 0300
0.. 123456789
1..0123456789
2..01234
I:
LOGO! installation and wirin
g
35
LOGO! Manual
A5E00228550-01
You can also memorize four simple rules for starting
LOGO! :
1. If neither the LOGO! nor the inserted program module
(Card) contains a circuit program, the LOGO! (with dis-
play unit ) reports: ’No Program / Press ESC’.
2. A circuit program on the program module (Card) is auto-
matically copied to LOGO!. The circuit program in the
LOGO! is overwritten.
3. If there is a circuit program in LOGO! or on the program
module (Card), LOGO! adopts the operational state it
had prior to POWER-OFF. Versions without display unit
(LOGO!...o) automatically change from STOP to RUN
(LED changes from red to green).
4. If you have enabled retentivity at least for one function,
or a function is permanently retentive, the current values
are retained at POWER-OFF.
Note
When a power failure occurs while you are entering a cir-
cuit program, the program in LOGO! will be deleted after
power is returned.
Before you modify the circuit program, you should there-
fore save a backup copy of your original to a program
module (Card) or to a computer (LOGO!Soft Comfort).
LOGO! installation and wirin
g
LOGO! Manual
A5E00228550-01
36
LOGO! Basic operating states
LOGO! Basic/Pure knows two operating states: STOP and
RUN
STOP RUN
The display shows:
’No Program’
(not LOGO!...o)
Switching LOGO! to pro-
gramming mode
(not LOGO!...o)
LED is red
(only LOGO!...o)
Display: Screen mask for
monitoring I/Os and mes-
sages (after START in the
main menu)
(not LOGO!...o)
Switching LOGO! to pa-
rameter assignment mode
(not LOGO!...o)
LED is green
(only LOGO!...o)
Action of LOGO!:
The inputs data are not
fetched.
The circuit program is not
executed
The relay contacts are per-
manently open or the solid-
state outputs are switched
off
Action of LOGO!:
LOGO! reads the status of
the inputs
LOGO! uses the circuit pro-
gram to calculate the sta-
tus of the outputs
LOGO! switches the relay/
solid-state outputs on or off
LOGO! expansion modules, operating states
LOGO! expansion modules know three operating states:
The LED is lit green, red or orange.
LED is lit
Green (RUN) Red (STOP) Orange
The expansion
module communi-
cates with the de-
vice to its left
The expansion
module does not
communicate with
the device to its left
Initialization phase
of the expansion
module
LOGO! installation and wirin
g
37
LOGO! Manual
A5E00228550-01
3 Programming LOGO!
Getting started with LOGO!
Programming in our context refers to the creation of a cir-
cuit program. A LOGO! circuit program program is actually
no more than a circuit diagram presented in a slightly differ-
ent form!
We have adapted this presentation to the LOGO! display
field. In this chapter we are going to show you how to use
LOGO! to create the LOGO! circuit programs for your ap-
plication.
At this point, we once again refer to LOGO!Soft Comfort,
which is the LOGO! programming software you can use to
quickly and easily create, test, modify save and print the
circuit programs. The topics in this manual relate only to
the creation of circuit programs on the actual LOGO!, be-
cause the programming software LOGO!Soft Comfort al-
ready contains an extensive Online Help.
See also Chapter 7.
Note
LOGO! versions without display unit, i.e. the LOGO! 24o,
LOGO! 12/24RCo, LOGO! 24RCo and LOGO! 230RCo
units, do not have an operator panel and display unit. They
are primarily designed for use in small machine and pro-
cess equipment engineering systems for series production.
LOGO!...o versions are not programmed directly at the
unit. Instead, the circuit program is downloaded to this de-
vice by means of LOGO!Soft Comfort or program modules
(Cards) of other LOGO! 0BA4 units.
LOGO! versions without display can not write data to pro-
gram modules (Cards).
See Chapter 6, 7 and Appendix C.
LOGO! Manual
A5E00228550-01
38
A small example in the first part of this chapter introduces
the operating principle of LOGO!.
We shall first show you the meaning of two basic terms,
namely the connector and the block.
In the next step, we shall create a circuit program based
on a simple conventional circuit, which you ...
can enter directly in LOGO! in the third step.
It will take you only a few pages of this manual store your
first executable circuit program in the LOGO! unit. With a
suitable hardware (switches etc.), you will then be able to
carry out first tests.
Pro
g
rammin
g
LOGO!
39
LOGO! Manual
A5E00228550-01
3.1 Connectors
The LOGO! is equipped with inputs and outputs
Example of a configuration with several modules:
L+ M I13I14I15I16
Q11
Q9
Q12
Q10
RUN/STOP
L+ M
A!3
RUN/STOP
L+ M I1 I2 I3 I4 I5 I6
Q1 Q2 Q3 Q4
Inputs
Outputs
AI1 AI2 L+ M I9 I10I11I12
Q7
Q5
Q8
Q6
RUN/STOP
M3U3AI4M4U4
Analog inputs
1 2 1
2
1 2 1 2
1 2 1 2 1 2 1 2
1 2 1 2
1 2 1 2
PE
INPUT 2x (..10 V/..20 mA)
L+ M
Each input is identified by the letter I plus a number. When
you take a look at the LOGO! from the front, you can see
the input terminals at the top. Only the analog modules
LOGO! AM 2 and AM 2 PT100 have the inputs at the bot-
tom.
Each output is identified by the letter Q plus a number. In
the figure, you can see the output terminals at the bottom.
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
40
Note
LOGO! can recognize, read and switch the I/O of all ex-
pansion modules, regardless of their type. The I/O are pre-
sented in the installation order of the modules.
The following I/Os and flag blocks are available for the cre-
ation of your circuit program: : I1 to I24, AI1 to AI8, Q1 to
Q16, AQ1 and AQ2, M1 to M24 and AM1 to AM6. Also
available are the shift register bits S1 to S8, 4 cursor keys
C, C , C and C , as well as 16 blank outputs X1 to
X16. More details are found in Chapter 4.1.
The following applies to the inputs I7 and I8 of LOGO!
12/24... and LOGO! 24/24o versions: If Ix is used in the
circuit program, this input signal is digital; signals at AIx
are analog. Input AIx can only represent the connector that
is actually capable of handling analog signals.
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.
We have introduced ’hi’, ’lo’ and ’x’ connectors to make it
easier for you to create the circuit program:
’hi’ (high) is assigned the status ’1’,
’lo’ (low) is assigned the status ’0’.
You do not have to use all the of connectors of a block. The
circuit program automatically assigns the unused connec-
tors a status that ensures proper functioning of the relevant
block. If you prefer to do so, you can identify unused con-
nectors with an ’x’.
For information on the meaning of the term “block”, refer to
Chapter 3.2.
Pro
g
rammin
g
LOGO!
41
LOGO! Manual
A5E00228550-01
LOGO! knows the following connectors:
Con-
nectors
LOGO! Basic / Pure
DM AM
Inputs LOGO! 230RC/RCo,
LOGO! 24 RC/RCo Two groups:
I1... I4 and
I5 ... I8
I9 ... I24 AI1...AI8
LOGO! 12/24RC/
RCo, LOGO! 24/24o I1... I6, I7, I8
AI1, AI2 I9 ... I24 AI3...AI8
Outputs Q1...Q4 Q5 ...
Q16 none
lo Logical ’0’ signals (off)
hi Logical ’1’ signals (on)
x An existing connection that is not used
DM: Digital module.
AM: Analog module.
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
42
3.2 Blocks and block numbers
This chapter shows you how to use LOGO! elements to
create complex circuits and how blocks and I/O are inter-
connected.
In Chapter 3.3 we are going to show you how to transform
a conventional circuit to obtain a LOGO! circuit program.
Blocks A block in LOGO! represents a function that is used to con-
vert input information into output information. Previously
you had to wire the individual elements in a control cabinet
or terminal box.
When you create the circuit program, you interconnect the
blocks. To do so, simply select the connection you require
from the Co menu The menu name Co is an abbreviation
of the term “Connector”.
Logic operations
The most elementary blocks are the logic operations:
AND
OR
...
I1
I2
x
1Inputs I1 and I2 are here connected
to the OR block. The last two inputs
of the block remain unused and are
identified be the creator of the circuit
program with an ’x’.
Q
x
These special functions offer you a significantly higher per-
formance:
Pulse relay
Up/down counter
On-delay
Softkey
....
In Chapter 4 you will find a full list of the LOGO! functions.
Pro
g
rammin
g
LOGO!
43
LOGO! Manual
A5E00228550-01
View of blocks on the LOGO! display
The figure below shows a typical view of the LOGO! dis-
play. As you can see, it can show only one block at a time.
We have therefore introduced block numbers to help you
check the circuit structure.
1
B2
I3 Q1
B1
View of the LOGO! display
x
Block number -
assigned by
LOGO!
A further block is con-
nectedat this point
Input
This connector is not required Output
Block
x
Assigning a block number
LOGO! assigns each new block a circuit program a block
number.
LOGO! uses these block numbers to indicate the block in-
terconnections. Hence, these numbers primarily represent
a help for your orientation in the circuit program.
I1
I2
I3
1
B1
B2
B2 1
B3 Q1
B1
B1
Scrolling the circuit program using the key
I4
I5
I6
1
B1
These blocks are
interconnected
Block numbers
Q1
x
B3
x
xx
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
44
The figure above shows you three views of the LOGO! dis-
play, which represent the circuit program. As you can see,
LOGO! interconnects the blocks using their numbers.
Advantages of the block numbers
You can connect almost any block to an input of the current
block by means of its block number. In this way, you can
reuse the interim results of logical or other operations, re-
duce programming effort, save memory space and clean
up your circuit layout. To do so, however, you need to know
how LOGO! has named the blocks.
Note
We advise you to create an organizational program chart.
You will find this a valuable help when you create the cir-
cuit program, because you can enter all block numbers
assigned by LOGO! in this chart.
By using the LOGO!Soft Comfort software to program the
LOGO!, you can directly create a function chart of your
circuit program. LOGO!Soft Comfort also allows you to as-
sign 8-character names to up to 64 blocks, and to view
these on the LOGO! display in parameter assignment and
programming mode (see Chapter 3.4).
Pro
g
rammin
g
LOGO!
45
LOGO! Manual
A5E00228550-01
3.3 The way to LOGO!, starting with the cir-
cuit diagram
View of a circuit diagram
You know, of course, how a circuit logic is represented in a
circuit diagram. Nevertheless, here is an example:
K1
S1 K1
S2
E1
The load E1 is switched on
and off by means of the
switches (S1 OR S2) AND S3.
S3 Relay K1 picks up when the
condition (S1 OR S2) AND S3
is met.
Creating this circuit with LOGO!
In LOGO! you create a circuit logic by interconnecting
blocks and connectors:
S1 ... S3 Wiring of the inputs
I3
xQ1
&1
I1
I2
x
Circuit program in LOGO!
Wiring of the outputs
L
1
N
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
46
Note
Although you have four inputs available for logic opera-
tions (Basic functions, see Chapter 4.2), most of the views
will only show three inputs for reasons of clarity. You pro-
gram this fourth input and assign parameters just like you
do with the other three inputs.
To create a circuit logic in LOGO!, start at the output.
The output is the load or relay that is to be switched.
Convert the circuit logic into blocks by working through the
circuit, starting at the output and ending at the input:
Step 1: The make contact S3 is interconnected in series to
output Q1 and to a further circuit element. A series connec-
tion corresponds with the AND block:
I3
xQ1
&
Step 2: S1 and S2 are connected in parallel. A parallel cir-
cuit corresponds with the OR block:
I3
xQ1
&1
I1
I2
x
Unused inputs
The circuit program automatically assigns the unused con-
nectors a status that ensures proper functioning of the rele-
vant block. If you like, you can label unused connectors
with an ’x’ identifier.
In our example we shall use only two inputs of the OR
block and two inputs of the AND block; the relevant unused
third and fourth inputs are identified at the connector with
an ’x’.
Now connect the I/Os to the LOGO! .
Pro
g
rammin
g
LOGO!
47
LOGO! Manual
A5E00228550-01
Wiring Connect the switches S1 to S3 to the screw terminals of
your LOGO! :
S1 to connector I1 of LOGO!
S2 to connector I2 of LOGO!
S3 to connector I3 of LOGO!
The output of the AND block controls the relay at output
Q1. The load E1 is connected to output Q1.
Wiring example
The following figure shows you the wiring, based on a
230 V AC version of LOGO!.
L1 NInput wiring
Output wiring
S
3
S
2
S
1
L1
N
NL1 I1 I2 I3 I4
1 2
Q1
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
48
3.4 The 4 Golden rules for the operation of
LOGO!
Rule 1
Changing the operating mode
You create the circuit program in programming mode.
After power is on, and when the display shows “No Pro-
gram / Press ESC”, press the ESC key to select pro-
gramming mode.
Timer and parameter values of an existing circuit pro-
gram can be edited both in parameter assignment
mode and in programming mode. During parameter
assignment the LOGO! is in RUN mode, i.e. it contin-
ues execution of the circuit program (see Chapter 5). To
work in programming mode, you need to terminate the
circuit program by calling the “Stop” command.
Select the ’Start’ command on the main menu to set
RUN mode.
When the system is in RUN, you can return to parame-
ter assignment mode by pressing the ESC key.
When parameter assignment mode is open and you
want to return to programming mode, select the
“Stop” command from the parameter assignment
menu, and confirm “Stop Prg” prompt with “Yes”. To
do so, move the cursor to “Yes” and confirm with OK.
For more details on operating modes, refer to Appendix D.
Note
The following applies to 0BA2 device versions and earlier:
You can open programming mode by pressing ++OK.
You set parameter assignment mode by pressing ESC+OK.
Pro
g
rammin
g
LOGO!
49
LOGO! Manual
A5E00228550-01
Rule 2
Outputs and inputs
Always create your circuit program by working from the
output to the input.
You can connect an output to several inputs, but not the
same input to several outputs.
Within the same program path you may not connect an
output to an upstream input. For such internal recur-
sions you should interconnect flags or outputs.
Rule 3
Cursor and cursor movement
The following applies when you edit a circuit program:
You can move the cursor when it appears in the form
of an underscore:
Press , , or to move the cursor in the circuit
program.
Press OK to change to ”Select connector/block”
Press ESCto exit programming mode.
You select a connector/block
when the cursor appears as solid square
Press or to select a connector or a block.
Confirm with OK.
Press ESC to return to the previous step.
Rule 4
PlanningBefore you start to create a circuit program, you should
either first create design on paper or program LOGO!
directly using LOGO!Soft Comfort.
LOGO! can only save complete and faultless circuit pro-
grams.
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
50
3.5 Overview of the LOGO! menus
>Program..
Card..
Clock..
Start
>Edit..
Clear Prg
Password
> Card
Card
CopyProtect
Main menu Programming menu
Transfer menu
>Stop
Set Param
Set Clock
Prg Name
OK
OK
ESC
ESC
Parameter assignment menu
Programming mode
Parameter assignment mode
= LOGO!
>Set Clock
S/W Time
Sync
Real-time clock menu
ESC
OK
For more details on these menus, refer to Appendix D.
Pro
g
rammin
g
LOGO!
51
LOGO! Manual
A5E00228550-01
3.6 Writing and starting the circuit program
After you have designed a circuit, you want to write it to
your LOGO! . The small example below shows how to do
this.
3.6.1 Select programming mode
You have connected the LOGO! to the power supply and
switched it on. The display now shows you the message:
No Program
Press ESC
Switch the LOGO! to programming mode by pressing the
ESC. This will take you to the main menu of the LOGO!:
>Program..
Card..
Clock..
Start
LOGO!’s main menu
The first character in the first line is the ”>” cursor. Press
and to move the ”>” cursor up and down. Move it to ”Pro-
gram..” and confirm with OK. LOGO! opens the program-
ming menu.
>Edit..
Clear Prg
Password
The LOGO!’s programming menu
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
52
Here you can also move the ”>” cursor by pressing and
. Move the ”>” cursor to ”Edit..” (for editing, i.e. input) and
confirm with OK.
>Edit Prg
Edit Name
Memory?
The Edit menu of LOGO!
Move the ”>” cursor to ”Edit Prg” (for editing the circuit
program) and confirm with OK. LOGO! now shows you the
first output:
The first output of LOGO!
Q1
You are now in programming mode. Press and to se-
lect the other outputs. Now start to edit your circuit pro-
gram.
Note
Because we have not yet saved a password for the circuit
program in LOGO!, you can directly enter editing mode.
When you select “Edit Prg“ after you have saved a pass-
word-protected circuit program, you are prompted to enter
a password and to confirm it with OK. You can only edit
the program after you have entered the correct password
(see Chapter 3.6.5.).
Pro
g
rammin
g
LOGO!
53
LOGO! Manual
A5E00228550-01
3.6.2 The first circuit program
Let us now take a look at the following parallel circuit con-
sisting of two switches.
Circuit diagram
The corresponding circuit diagram:
K1
S1 K1
S2
E1
The load is switched on with
S1 OR S2. LOGO! interprets
this parallel circuit as an ’OR’
logic, because S1 OR S2
switches on the output.
Translated into a LOGO! circuit program this means: Relay
K1 is at output Q1 is controlled by means of an OR block.
Circuit program
S1 is connected to the I1 and and S2 to the I2 input con-
nector of the OR block.
The corresponding layout of the circuit program in LOGO!:
I1
I2
xQ1
1
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
54
Wiring The corresponding wiring:
L1N I4 I5I6I7I8
Q1 Q2 Q3 Q4
L1
N
S1 S2
L
N
I1I1 I3I1I1 I1I1I1I2
1 2 1 2 1 2 1 2
S1 switches input I1, while S2 switches input I2. The load is
connected to the relay Q1.
3.6.3 Circuit program input
Let us now write the circuit program, starting at the output
and working towards the input. LOGO! initially shows the
output:
The first LOGO! output
Q1
Pro
g
rammin
g
LOGO!
55
LOGO! Manual
A5E00228550-01
You will see an underscore below the Q in Q1, which is the
cursor. The cursor indicates your current position in the
circuit program. You can move the cursor by pressing the
, , and keys. Now press the key. The cursor
moves to the left.
The cursor indicates your current posi-
tion in the circuit program.
Q1
At this point you enter only the first (OR) block. Press OK
to select editing mode.
The cursor is displayed as a solid
square: You can now select a connec-
tor or a block
Q1
Co
The cursor no longer appears in the form of an underscore;
but instead as a flashing solid square. LOGO! offers you
here various options.
Select GF (basic functions) by pressing the key until GF
appears, and confirm with OK. LOGO! now shows the first
block from the list of basic functions:
The AND is the first block of the basic
functions list. The solid square cursor
prompts you to select a block.
& B1
Q1
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
56
Now press or until the OR block appears on the dis-
play:
1B1
Q1
The solid square cursor is still posi-
tioned on the block.
Press OK to confirm your entries and exit the dialog.
1
The display now shows:
B1
Q1
B1
1
Q1
Your complete circuit
program layout
Block
number
You have now entered the first block. Each new block is
automatically assigned a block number. The only thing left
to do is to interconnect the block inputs. This is how it is
done:
Press OK.
1
The display now shows:
B1
Q1
Co
Select the Co list: Press OK
1
The display now shows:
B1
Q1
x
Pro
g
rammin
g
LOGO!
57
LOGO! Manual
A5E00228550-01
The first element of the Co list is the ”Input not used” char-
acter, namely the ’x’. Press or to select input I1.
Note
Press to go the start of the Co list: I1, I2 .... to lo, then
again ’x’. Press to go to the end of the Co list: lo, hi, Q
..... to I1, and once again ’x’.
1Q1
I1
B1
Press OK. I1 is now connected to the input of the OR
block. The cursor jumps to the next input of the OR block.
1
The display now shows:
B1
Q1 1
Q1
Your complete circuit program
in LOGO! up to now:
I1 I1
B1
Now you connect input I2 to the input of the OR block. You
already know how to do this:
1. Switch to editing mode: Press OK
2. To select the Co list: Press or
3. To confirm the Co list with: Press OK
4. To select I2: Press or
5. To apply I2: Press OK
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
58
I2 is now connected to the input of the OR block:
1
The display now shows:
B1
Q1 1
Q1
I1 I1
B1
I2
I2
Your circuit program layout in
LOGO! up to now
We do not need the last two inputs of the OR block for this
circuit program. You can mark the unused inputs with an ’x’.
Enter the ’x’ character twice:
1. Switch to editing mode: Press OK
2. To select the Co list: Press or
3. To accept the Co list: Press OK
4. To select ’x’: Press or
5. To apply x: Press OK
LOGO! returns to output Q1.
The display now shows:
1
Q1
This is the layout of your
circuit program
I1
B1
I2
Q1B1
x
Pro
g
rammin
g
LOGO!
59
LOGO! Manual
A5E00228550-01
Note
You can invert individual inputs of the basic and special
functions, i.e. if an input carries a logical “1” signal, the cir-
cuit program will output a logical “0”; vice versa, a logical
“0” is inverted into a logical “1” signal.
To invert an input, move the cursor to the relevant position,
e.g.:
1B1
Q1
I2
I3
x
I1
Confirm with OK.
Now press or to invert this input:
Next, press ESC.
1B1
Q1
I2
I3 1
Q1
Your circuit program layout
I2
B1
I3
x
x
I1
I1
You can review your first circuit program by pressing or
to move the cursor through the circuit program.
We shall now exit circuit programming mode. This is how it
is done:
Return to the programming menu: Press ESC
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
60
Note
LOGO! has now saved your circuit program to nonvolatile
memory. The circuit program remains in the LOGO! me-
mory until you explicitly delete it.
3.6.4 Assigning a circuit program name
You can assign your circuit program a name that consists
of up to 16 uppercase/lowercase letters, numbers and spe-
cial characters.
In the programming menu:
1. To move the “>” cursor to ’Edit..’: Press or
2. To accept ’Edit’: Press OK
3. Move the “>” cursor to ’Edit Name’: Press or
4. To accept ’Edit Name’: Press OK
Press and to list the alphabet from A (a) to Z (z), num-
bers and special characters, either in ascending or de-
scending order. You can select any letter, number or char-
acter.
To enter a space character, simply movie the cursor with
to the next position. This character is the first one in the list.
Examples: Press once to select an “ A
four times to select “ { ”, etc.
The following character set is available:
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 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 !
# $ % & ( ) * + , . / : ;
< = > ? @ [ \ ] ^ _ { | } ~
Pro
g
rammin
g
LOGO!
61
LOGO! Manual
A5E00228550-01
Let us assume you want to name your circuit program
ABC”:
5. Select “ A”: Press
6. Move to the next letter: Press
7. Select “ B”: Press
8. Move to the next letter: Press
9. Select “ C”: Press
10.To confirm the complete name: Press OK
Your circuit program is now named “ABC”, and you are re-
turned to the programming menu.
To change the name of your circuit program, proceed in
the same way.
Note
You can change the name of the circuit program only in
programming mode. You can read the name both in pro-
gramming and in parameter assignment mode
3.6.5 Password
You can protect a circuit program from unauthorized access
by assigning it a password.
To assign a password
A password may have a maximum length of 10 characters,
and consists only of uppercase letters (A to Z). Directly at
the LOGO!, the password can be assigned, edited or deac-
tivated only in the “Password” menu.
In the programming menu:
1. Move the “>” cursor to ’Password’: Press or
2. To confirm the ’Password’: Press OK
Press or to move up and down the alphabet to select
your letters. Because LOGO! only provides uppercase let-
ters for the password, you can quickly access to letters “at
the end“ of the alphabet by using the button:
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
62
Press once to select “Z
Press twice to select “Y”, etc.
Let us assign the password “AA” to our first circuit pro-
gram. The display now shows:
Old:
No Password
New:
This procedure is the same as for entering the name of the
circuit program. Select “New” and enter:
3. Select “ A”: Press
4. To move to the next letter: Press
5. Select “ A”: Press
The display now shows:
Old:
No Password
New:
6. To confirm the password: Press OK
Your circuit program is now protected with the password
AA”, and you are returned to the programming menu.
Pro
g
rammin
g
LOGO!
63
LOGO! Manual
A5E00228550-01
Note
You can cancel the input of a new password with ESC. In
this case, LOGO! returns to the programming menu with-
out saving the password.
You can also set your password using LOGO!Soft Comfort.
You can not edit a password-protected circuit program at
the LOGO! or upload it to LOGO!Soft Comfort unless you
enter the correct password.
To allow you to create and edit a circuit program for a pro-
tected module (Card), you first need to assign a password
to this new program (see Chapter 6.1).
Changing the Password
You need to know the current password in order to change
it.
In the programming menu:
1. Move the ’>’ cursor to ’Password’: Press or
2. To confirm the ’Password’: Press OK
Select “Old” and enter your old password (in our case: ’AA’)
by repeating steps 3 through 6 as described earlier.
The display now shows:
Old:
AA
New:
Now you can select “New” to enter the new password, e.g.
ZZ”:
3. Select “Z”: Press
4. To move to the next letter: Press
5. Select “Z”: Press
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
64
The display now shows:
Old:
AA
New:
ZZ
6. To confirm your new password: Press OK
Your new password “ZZ” is now set, and you are returned
to the programming menu.
Deactivating the Password
Let us assume you want to deactivate the password for
whichever reason. For example, you want to allow another
user to edit your circuit program. You must know your
current password (in our example “ZZ”), same as if you
were changing it.
In the programming menu:
1. Move the ’>’ cursor to ’Password’: Press or
2. To confirm the ’Password’: Press OK
Select “Old” and enter your current password under as
described in steps 3 to 5. Confirm your entries with OK.
The display shows:
Old:
ZZ
New:
Clear the password by leaving the input box blank:
3. To confirm the “blank” password: Press OK
The password is ”cleared”, and you are returned to the pro-
gramming menu.
Pro
g
rammin
g
LOGO!
65
LOGO! Manual
A5E00228550-01
Note
This action disables the password prompt, and thus per-
mits access without password.
Let the password prompt be deactivated for the time be-
ing, in order to accelerate progress in our further exercises
and examples.
Password: Wrong Password!
When the user inputs the wrong password and confirms
the input with OK, LOGO! does not open editing mode, but
returns to the programming menu. This repeats itself over
and again until you input the correct password.
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
66
3.6.6 Switching LOGO! to RUN mode
In the main menu, select RUN to start LOGO!.
1. To return to the main menu: Press ESC
2. Move the ’>’ cursor to ’Start’: Press or
3. To confirm ’Start’: Press OK
LOGO! runs the circuit program and and shows the follow-
ing display:
Display field of the LOGO! in RUN mode
Date and current time-of-day
(only for versions with real-
time clock). This element
flashes if the date and time
are not set.
2003-01-27
Mo 09:00
Press
Inputs I1 to I9
I:
0.. 123456789
1..0123456789
2..01234 Inputs I20 to I24
Inputs I10 to I19
Press
Q:
0.. 123456789
1..0123456
Outputs Q1 to Q9
Outputs Q10 to Q16
Press
Flags M1 to M9
M:
0.. 123456789
1..0123456789
2..01234 Flags M20 to M24
Flags M10 to M19
Press
ESC+Key 4 cursor keys for manual inter-
vention in the circuit program
(ESC+key)
Pro
g
rammin
g
LOGO!
67
LOGO! Manual
A5E00228550-01
What is meant by: ”LOGO! is in RUN”?
In RUN mode, LOGO! executes the circuit program. To do
so, LOGO! first reads the status at the inputs, determines
the status of the outputs by means of the user program,
and switches these on or off according to your settings.
This is how LOGO! indicates the I/O status:
Q:
0.. 123456789
1..0123456
Input/output status is ’1’:
inverted
Input/output status is ’0’:
not inverted
I:
In this example, only the inputs I1, I15, Q8 and Q12 are set
“high“.
0.. 123456789
1..0123456789
2..01234
Status indication on the display
I:
0.. 123456789
1..0123456789
2..01234
L1
N
S1 S2
=1 When switch S1 is closed,
the status at input I1 is hi.
LOGO! computes the output
states by means of the cir-
cuit program.
Output Q1 = ’1’, in this
case.
When Q1 = ’1’, LOGO! sets
relay Q1, and the load con-
nected to Q1 is supplied
with voltage.
I1 I2
Q1
Let us examine
this, using our
example:
Q:
0.. 123456789
1..0123456
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
68
3.6.7 Second circuit program
Up to this point, you have successfully created your first
circuit, and assigned it a name and, if desired, a password.
In this section we are going to show you how to modify ex-
isting circuit programs and how to use the special func-
tions.
Using this second circuit program, we are going to show
you how to:
Add a block to an existing circuit program.
Select a block for a special function.
Assign parameters.
Modifying circuits
We shall use the first circuit program as a basis for the sec-
ond, with some slight modifications.
Let us take a first look at the circuit diagram for the second
circuit program:
L1
N
S1 S2
You already know the first part of
the circuit. S1 and S2 switch a
relay, which is to be used to switch
on the load E1, and to switch off
the load with a delay of 12 minutes.
K1
K1 E1
In LOGO!, this is the circuit program layout:
1
Q1
I1
I2
xx
Par
This is the
new block
You can see the OR block and the output relay Q1 we have
already used in the first circuit program. The only difference
is the new off-delay block.
Pro
g
rammin
g
LOGO!
69
LOGO! Manual
A5E00228550-01
Editing the circuit program
Switch the LOGO! to programming mode.
As a reminder:
1. Switch the LOGO! to programming mode
(in RUN: Press ESC to enter the parameter assignment
mode. Select the ’Stop’ command, confirm with OK,
then move the ’>’ cursor to ’Yes’, and once again con-
firm with OK). See Page 48.
2. On the main menu, select ”Program
3. On the Programming menu, select “Edit”, confirm with
OK. Next, select ”Edit Prg” and confirm with OK.
If required, enter your password at the prompt and con-
firm with OK.
You can now modify the current circuit program.
Adding a block to a circuit program
Move the cursor to the B in B1 (B1 is the number of the OR
block):
Q1
B1
To move the cursor:
Press
We now insert the new block at this position.
Confirm with OK.
Q1
BN
LOGO! shows you the BN list
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
70
Press to select the SF list:
Q1
SF
The SF list contains the special
function blocks.
Press OK.
The block of the first special function is shown:
Trg
Par Q1
When you select a special or basic function
block, LOGO! shows you the relevant func-
tion block. The solid square cursor is posi-
tioned on the block. Press or to select
the required block.
Select your block (off-delay, see the next figure), and then
press OK:
R
The added block is assigned the block num
-
ber B2. The cursor is positioned at the top
input of the added block.
B1
Par Q1
B2
Before you press
’OK’, this shows
the entry Trg
The B1 block previously connected to Q1 is automatically
connected to the uppermost input of the new block. Note
that you can only interconnect digital inputs with digital out-
puts or analog inputs with analog outputs. The ’old’ block
will otherwise be lost.
The off-delay block has three inputs. At the top is the trig-
ger input (Trg) you use to start the off-delay time. In our
example, the OR block B1 triggers the off-delay. You reset
the time and the output with a signal at the reset input. Set
the off-delay time at parameter T of the input Par.
Pro
g
rammin
g
LOGO!
71
LOGO! Manual
A5E00228550-01
In our example we do not use the reset input of the off-
delay function, and we identify it with an ’x’ connector.
x
B1
Par Q1
B2 This is what the display should now show
Assigning block parameters
Now you set the off-delay time T:
1. Move the cursor to Par, if it not already at this position:
Press or
2. Switch to editing mode: Press OK
LOGO! shows the parameters in the parameter assignment
window:
“+” means: The parameter
is shown and can be modi-
fied in the parameter as-
signment mode.
“R” means: Retentivity is
enabled for this block.
T: The block pa-
rameter B2 is a
time function
B2 +R
T =00:00s
Time value Timebase
To change the time value:
Press and to position the cursor.
Press and to modify the value at the relevant posi-
tion.
Confirm your entries with OK.
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
72
Setting the time
Set the time T = 12:00 minutes:
1. Move the cursor to the first digit: Press or
2. Select the digit ’1’: Press or
3. Shift the cursor to the second digit: Press or
4. Select digit ’2’: Press or
5. Move the cursor to the unit: Press or
6. Select the timebase ’m’ (for minutes): Press or
Showing/hiding parameters – the parameter protection mode
If you want to show/hide the parameter and allow/prevent
its modification in parameter assignment mode:
1. Move the cursor to the protection mode: Press or
2. Select the protection mode: Press or
The display should now show:
or
Protection mode +:
The value of the time T
can be modified in pa-
rameter assignment
mode
Protection mode – :
The value of the time T
is hidden in parameter
assignment mode
T=12:00m
B2 +R T=12:00m
B2 –R
3. Confirm your entries with: OK
Enabling/disabling retentivity
To decide whether you want to retain your current data af-
ter a power failure or not:
1. Move the cursor to the retentivity setting: Press or
2. Select the retentivity setting: Press or
Pro
g
rammin
g
LOGO!
73
LOGO! Manual
A5E00228550-01
The display now shows:
or
Retentivity R: Current
data are retained Retentivity /: Current
data are not retained
T=12:00m
B2 –/
T=12:00m
B2 –R
3. Confirm your entries with OK
Note
For further information on the protection mode, refer to
Chapter 4.3.5.
For further information on retentivity,
refer to Chapter 4.3.4.
You can modify the protection mode and retentivity setting
only in programming mode, i.e. this is not possible in pa-
rameter assignment mode.
In this manual, the protection mode (”+” or “–”) and reten-
tivity (”R” or “/”) settings are only shown in the displays
where these can actually be changed.
Verification of the circuit program
This program branch for Q1 is now completed. LOGO!
shows you the output Q1. You can once again view the cir-
cuit program on the display. Use the keys to browse the
circuit program, i.e. press or to move from block to
block, and to move between the inputs at a block.
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
74
Closing the programming mode
Although you were shown how to exit the programming
mode when you created your first circuit program,
here is a reminder:
1. To return to the programming menu: Press ESC
2. To return to the main menu: Press ESC
3. To move the ’>’ cursor to ’Start’: Press or
4. To confirm ’Start’: Press OK
LOGO! is back in RUN mode:
You can press or
to scroll the pages and to monitor the I/O
states.
2003-01-27
Mo 09:30
3.6.8 Deleting a block
Let us assume you want to delete the block B2 from your
circuit program and connect B1 directly to Q1.
Q1
I1
I2
xx
Par
B1 B2
Proceed as follows:
1. Switch the LOGO! to programming mode
(as a reminder, refer to Page 48).
2. Select ’Edit’: Press or
3. Confirm ’Edit’: Press OK
4. Select ’Edit Prg’: Press or
5. Confirm ’Edit Prg’: Press OK
(If required, enter your password and confirm with OK).
Pro
g
rammin
g
LOGO!
75
LOGO! Manual
A5E00228550-01
6. To move the cursor to the input of Q1, i.e. to B2,
press :
B2 Q1
7. Confirm with OK.
8. Now replace block B2 with block B1 at output Q1.
The procedure:
Select the BN list: Press or
Accept the BN list: Press OK
Select ’B1’: Press or
Apply ’B1’: Press OK
Result: Block B2 is deleted, because it is no longer used in
the circuit. Block B1 has replaced B2 directly at the output.
3.6.9 Deleting block groups
Let us assume you want to delete the blocks B1 and B2
from the following circuit program (corresponds with the
circuit program in Chapter 3.6.7).
Q1
I1
I2
xx
Par
B1 B2
Proceed as follows:
1. Switch the LOGO! to programming mode
(as a reminder, refer to page 48).
2. To select ’Edit’: Press or
3. To confirm ’Edit’: Press OK
4. To select ’Edit Prg:Press or
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
76
5. To confirm ’Edit Prg’: Press OK
(if required, enter your password and confirm with OK).
6. To move the cursor to the input of Q1, i.e. to B2,
press :
B2 Q1
7. Confirm with OK.
8. Now set the connector ’x’ at output Q1 instead of block
B2. To do so:
Select the Co list: Press or
Accept the Co list: Press OK
Select ’x’: Press or
Apply ’x’: Press OK
Result: Block B2 is deleted, because it is no longer used in
the circuit. This includes all blocks connected to B2. In this
example, block B1 also.
3.6.10 Correcting typing errors
Programming errors can be corrected easily in LOGO! :
Provided editing mode is not yet closed, you can revert
by one step by pressing ESC.
If you have already configured all inputs, simply reconfi-
gure the faulty input:
1. Move the cursor to the faulty position
2. Change to editing mode. Press OK
3. Enter the correct input circuit.
You can only replace a block with a block that has exactly
the same number of inputs. However, you can delete the
old block and then insert a new one. You can choose any
new block.
Pro
g
rammin
g
LOGO!
77
LOGO! Manual
A5E00228550-01
3.6.11 Deleting the circuit program
To delete a circuit program:
1. Switch the LOGO! to programming mode
>Program..
Card..
Clock..
Start
LOGO! opens the main menu
2. On the main menu, press or to move the ’>’ cursor
to ’Program’. Press OK.
>Edit..
Clear Prg
Password
LOGO! changes to the programming
menu
3. Move the ’>’ cursor to ’Clear Prg’: Press or
4. Confirm ’Clear Prg’: Press OK
Clear Prg
>No
Yes
To cancel deletion of the circuit program, leave the ’>’ cur-
sor at ’No’ and press OK.
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
78
If you are sure that you want to delete the circuit program
from memory:
5. Move the ’>’ cursor to ’Yes’: Press or
6. Press OK.
To prevent unintentional deletion of
your circuit program, you are
prompted to enter your password
(provided you have assigned one).
Password?
ZZ
7. Enter your password.
8. Press OK. The circuit program is deleted.
Note
Although you may have forgotten your password, you can
still delete the circuit program by entering the wrong pass-
word four times.
3.6.12 Summertime/wintertime conversion
You can enable or disable automatic Summertime/winter-
time conversion in programming mode by calling the
“Clock” menu command.
1. Switch the LOGO! to programming mode.
2. You are now in the main menu and want to select the
Clock’ menu command: Press or
3. Confirm ’Clock’: Press OK
4. Move the ’>’ cursor to ’S/W Time’: Press or
5. Confirm ’S/W Time’: Press OK
Pro
g
rammin
g
LOGO!
79
LOGO! Manual
A5E00228550-01
LOGO! shows the following display:
>On
Off
S/W Time:
Off
The current setting of automatic S/W Time conversion is
shown in the bottom row. The default setting is ’Off’: dis-
abled.
Enabling summertime/wintertime conversion
You now want to enable this conversion and define or set
its parameters:
1. Move the ’>’ cursor to ’On’: Press or
2. Confirm ’On’: Press OK
The display shows:
>EU
3. Select the desired conversion: Press or
What is shown on the display ?:
EU’ represents the start and end of European summer-
time.
UK’ represents the start and end of summertime in the
United Kingdom.
US’ represents the start and end of summertime in the
United States.
AUS’ represents the start and end of Australian
summertime.
AUS-TAS’ represents the start and end of Australian/
Tasmanian summertime.
NZ’ represents the start and end of New Zealand
summertime.
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
80
. . : Here you can enter any month, day and time zone
difference.
The preset conversion data for EU, UK and US are found in
the table below:
Start of summertime End of summertime Time zone dif-
ference
EU Last Sunday in March:
02:00––>03:00 Last Sunday in Octo-
ber: 03:00––>02:00 60 Min.
UK Last Sunday in March:
01:00––>02:00 Last Sunday in Octo-
ber: 02:00––>01:00 60 Min.
US First Sunday in April:
02:00––>03:00 Last Sunday in Octo-
ber: 02:00––>01:00 60 Min.
AUS Last Sunday in Octo-
ber: 02:00––>03:00 Last Sunday in March:
03:00––>02:00 60 Min.
AUS-
TAS First Sunday in Octo-
ber: 02:00––>03:00 Last Sunday in March:
03:00––>02:00 60 Min.
NZ First Sunday in Octo-
ber: 02:00––>03:00 Third Sunday in March:
03:00––>02:00 60 Min.
.. Customizing the month
and the day: 02:00––>
02:00 + Time zone dif-
ference
Customizing the month
and the day: 03:00––>
03:00 – Time zone dif-
ference
User-defined
(resolution in
minutes)
Note
You can specify a time zone difference between 0 and
180 minutes.
Let us assume you want to enable European summertime/
wintertime conversion:
4. Move the ’>’ cursor to ’EU’: Press or
5. Confirm ’EU’: Press OK
Pro
g
rammin
g
LOGO!
81
LOGO! Manual
A5E00228550-01
LOGO! shows the following display:
>On
Off
S/W Time:
OnEU
LOGO! indicates that European S/W Time conversion is
enabled.
User-defined parameters
If none of the parameters/conversions apply to your coun-
try, you can customize these under menu item ’. .’. To do
so:
1. Confirm ’On’ once again: Press OK
2. Move the ’>’ cursor to ’. .’: Press or
3. Confirm the menu item ’. .’ : PressOK
The display shows:
MM–DD
+ : 01–01
– : 01–01
=000min
Month (MM) and Day (DD)
Start of summertime
End of summertime
The desired time zone difference in
[min]
0
Cursor / solid square
Let us assume you want to configure the following parame-
ters: Start of summertime = 31st of March, end of summer-
time = 1st of November, time difference of 120 minutes.
This is how you can enter your data:
Press or to move the solid square/cursor.
Press and to change the value at the cursor posi-
tion.
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
82
The display shows:
031. March
1. November
Time difference of 120 min
MM–DD
+ : 03–31
– : 11–01
=120 min
Confirm all your entries with OK.
You have now customized the summertime/wintertime con-
version. The LOGO! display now shows:
>On
Off
S/W Time:
On..
LOGO! indicates that summertime/wintertime conversion is
enabled, and that user-defined parameters ( ’..’ ) have been
set.
Note
To disable summertime/wintertime conversion in this
menu, you merely confirm ’Off’ with OK.
Pro
g
rammin
g
LOGO!
83
LOGO! Manual
A5E00228550-01
3.6.13 Synchronization
Time synchronization between LOGO! and the connected
expansion modules can be enabled/disabled in program-
ming mode by means of the real-time clock menu (“Clock”
menu item).
1. Switch the LOGO! to programming mode.
2. You are now in the main menu, and want to select
Clock’: Press or
3. Confirm ’Clock’: Press OK
4. Move the ’>’ cursor to ’Sync’: Press or
5. Apply ’Sync’: Press OK
LOGO! shows the following display:
>On
Off
Sync:
Off
The current setting of the automatic synchronization func-
tion is displayed in the bottom row. The default setting is
’Off’: disabled.
Enabling synchronization
You want to enable synchronization:
1. Move the ’>’ cursor to ’On’: Press or
2. Confirm ’On’: Press OK
LOGO! shows the following display:
>On
Off
Sync:
On
When synchronization is enabled, LOGO! transmits the
time-of-day to the expansion modules once daily, after each
transition to RUN mode and when the TOD is changed af-
ter a ’Set Clock’ is executed or after a summertime/winter-
time conversion.
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
84
3.7 Memory space and circuit dimensions
The size of a circuit program in LOGO! is limited by the
memory space (memory used by the blocks).
Memory areas
Program memory:
LOGO! allows only a limited number of blocks in your
circuit program.
The second limitation is based on the maximum number
of bytes a circuit program may contain. The total num-
ber of bytes used can be determined by adding up the
number of bytes used for the relevant function blocks.
Retentive memory (Rem):
In this area, LOGO! stores process variables which
need to be retentive, e.g. the hours counter value.
Blocks with optional retentivity use this memory area
only if this function is actually enabled.
Resources available in LOGO!
A circuit program in LOGO! can occupy the following maxi-
mum resources:
Bytes Blocks REM
2000 130 60
LOGO! monitors memory utilization, and offers only those
functions from the lists for which it can actually provide suf-
ficient memory space.
Pro
g
rammin
g
LOGO!
85
LOGO! Manual
A5E00228550-01
Memory requirements
The table below shows an overview of the memory require-
ments for the basic and special function blocks:
Function Program
memory Rem
memory*
Basic functions
AND 12
AND with edge evaluation 12
NAND (NOT AND) 12
NAND with edge evaluation 12
OR 12
NOR (NOT OR) 12
XOR (exclusive OR) 8
NOT (Negation) 4
Special functions
Times
On-delay 8 3
Off-delay 12 3
On-/Off-delay 12 3
Retentiveon-delay 12 3
Wiping relay (pulse output) 8 3
Edge triggered wiping relay 16 4
Asynchronous pulse generator 12 3
Random generator 12
Stairway lighting switch 12 3
Multiple function switch 16 3
Weekly timer 20
Yearly timer 8
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
86
Function Rem
memory*
Program
memory
Counter
Up/down counter 24 5
Hours counter 24 9
Threshold trigger 16
Analog
Analog threshold trigger 16
Analog differential trigger 16
Analog comparator 24
Analog value monitoring 20
Analog amplifier 12
Others
Latching relay 8 1
Pulse relay 12 1
Message texts 8
Softkey 8 2
Shift register 12 1
*: Bytes in the Rem memory area, if retentivity is enabled.
Utilization of memory areas
An indication of insufficient memory space is given, when
the system does not allow you to add a further block to
your circuit program. LOGO! offers you only the blocks for
which it can provide sufficient memory space. If LOGO! me-
mory space is insufficient to hold any further blocks you
select from a block list, the system will deny access to this
list.
If memory space is fully occupied, optimize your circuit pro-
gram, or install a second LOGO!.
Pro
g
rammin
g
LOGO!
87
LOGO! Manual
A5E00228550-01
Calculating memory requirements
When calculating the memory requirements of a circuit, you
must always take all individual areas of memory into ac-
count.
Example:
Q1x
I2
B1
B2
B3
x
B4
20
No 1
No 2
No 3
I1
Par
B5
B6
Par Q2
I3
I4
x
REM
Bytes
12 REM
Bytes
The sample circuit program contains:
Block
no
Function Memory area
no. Bytes Blocks REM
B1 OR 12 1
B2 AND 12 1
B3 Weekly timer 20 1
B4 On-delay* 8 1 3
B5 Stairway lighting switch 12 1 0
B6 AND 12 1
Resources used by the circuit pro-
gram 76 6 3
Memory space limits in LOGO! 2000 130 60
Still available in LOGO! 1924 124 57
*: Configured with retentivity.
Hence, this circuit program fits into LOGO!.
Pro
g
rammin
g
LOGO!
LOGO! Manual
A5E00228550-01
88
Indication of available memory space
LOGO! shows you the amount of free memory space.
Proceed as follows:
1. Switch the LOGO! to programming mode
(as a reminder, refer to page 48).
2. Select ’Edit’: Press or
3. Accept ’Edit’: Press OK
4. Select ’Memory?:Press or
5. Accept ’Memory?’: Press OK
The display now shows:
Free Memory:
Byte =1924
Block= 124
Rem = 57
Pro
g
rammin
g
LOGO!
89
LOGO! Manual
A5E00228550-01
4 LOGO! functions
Organization
LOGO! provides you with various elements in programming
mode. In order to maintain the overview, we have orga-
nized the elements in ’Lists’. These lists are:
Co: Connector list (Connector)
(see Chapter 4.1)
GF: List of the basic functions AND, OR, ...
(refer to Chapter 4.2)
SF: List of the 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!. Usually, this
includes all connectors, basic functions and special func-
tions the LOGO! knows. This includes all the blocks you
have created in LOGO! by the time you call the BN list.
If not all is shown
LOGO! does not show all elements if:
No further blocks may be added.
This is either an indication of insufficient memory space
or that the maximum number of blocks has been
reached.
A specific block’s memory space requirement would ex-
ceed the space available in LOGO!.
See Chapter 3.7.
LOGO! Manual
A5E00228550-01
90
4.1 Constants and connectors – Co
Constants and connectors (= Co) represent inputs, outputs,
flags and constant voltage levels (constants).
Inputs:
1) Digital inputs
Digital inputs are identified with an I. The number of the
digital inputs (I1, I2, ...) corresponds with the number of the
input connectors of the LOGO! Basic and of the connected
digital modules, in the order of their installation. See the
following figure.
2) Analog inputs
The LOGO! versions LOGO! 24, LOGO! 24o,
LOGO! 12/24RC and LOGO! 12/24RCo are equipped with
the inputs I7 and I8, which can also be programmed for use
as AI1 and AI2 inputs. Signals at the I7 and I8 inputs are
interpreted as digital values, and those at the AI1 and AI2
inputs are interpreted as analog values. The inputs of a
connected analog module are numbered according to the
already existing analog inputs. Special functions whose
inputs should only be connected to analog inputs are of-
fered in programming mode when you select the input sig-
nal, i.e. the analog inputs AI1...AI8, analog flags
AM1...AM6, the block numbers of a function with analog
output or the analog outputs AQ1 and AQ2.
Outputs:
1) Digital outputs
Digital outputs are identified by the character Q. The output
numbers (Q1, Q2, ... Q16) correspond with the numbers of
the output connectors at the LOGO! Basic and with those
of the expansion modules, in their order of installation. See
the following figure.
LOGO! functions
91
LOGO! Manual
A5E00228550-01
There are also 16 blank outputs available. These are identi-
fied with an x and can not be reused in a circuit program (in
contrast to flags, for example). The list shows all pro-
grammed blank outputs, and one blank output which is not
yet configured. A blank output, for example, is useful for the
special function “Message texts” (see Chapter 4.4.23), if
only the message text is of significance to a circuit pro-
gram.
2) Analog outputs
Analog outputs are identified by the letters AQ. Two analog
outputs are available, namely AQ1 and AQ2. You can only
set an analog value at the analog output, i.e. a function with
an analog output or analog flag AM.
L+ M I13I14I15I16
Q11
Q9
Q12
Q10
RUN/STOP
L+ M
A!3
RUN/STOP
L+ M I1 I2 I3 I4 I5 I6
Q1 Q2 Q3 Q4
Inputs
Outputs
AI1 AI2 L+ M I9 I10I11I12
Q7
Q5
Q8
Q6
RUN/STOP
M3U3AI4M4U4
Analog inputs
1 2 1
2
1 2
1 2
1 2 1 2 1 2 1 2
1 2 1
2
1 2
1 2
PE
INPUT 2x (..10 V/..20 mA)
L+ M
Flag blocks
Flag blocks are identified by the letters M or AM . These
are virtual outputs, which output the value of their inputs.
LOGO! provides 24 digital flags M1 ... M24 and 6 analog
flags AM1 ... AM6.
LOGO! functions
LOGO! Manual
A5E00228550-01
92
Startup flag
Flag M8 is set in the first cycle of the user program and can
thus be used in your circuit program as startup flag. This
signal is automatically reset after the circuit program has
completed its first cycle.
The M8 flag can be used in all further cycles for setting,
deletion and evaluation procedures in the same way as
other flags.
Note
The output of the flag always carries the signal of the pre-
vious program cycle. This value does not change within
the same program cycle.
Shift register bits
LOGO! provides the shift register bits S1 to S8, which are
assigned the read-only attribute in the circuit program. The
content of shift register bits can only be modified by means
of the “Shift register” special function (see Chapter 4.4.25).
Cursor keys
Up to four cursor keys are available to you, namely C ,
C, C and C (”C” = “Cursor”). Cursor keys are pro-
grammed for the circuit program in the same ways as other
inputs. You can set the cursor keys in the corresponding
display while the system is in RUN (see Chapter 3.6.6),
and in an active message text (ESC + Key). Cursor keys
can save switches and inputs, and allow operator control of
the circuit program.
Levels Voltage levels are designated hi and lo. A constant “1” = hi
or “0” = lo status at the block can be set by means of a per-
manent voltage level or constant value hi or lo.
Open connectors
Unused block connectors can be identified with an x.
LOGO! functions
93
LOGO! Manual
A5E00228550-01
4.2 Basic functions list – GF
Basic functions represent simple logical elements of Bool-
ean algebra.
You can invert the inputs of individual basic functions , i.e.
the circuit program inverts a logical “1” at a relevant input to
a logical “0”; if “0” is set at the input, the program sets a
logical “1”. A programming example is found in
Chapter 3.6.3.
The GF list contains the basic function blocks you can use
for your circuit program. The following basic functions are
available:
View in the circuit
diagram View in LOGO! Name of the basic
function
Series circuit
make contact
AND
(see page 95)
AND with edge
evaluation
(see page 96)
Parallel circuit with
break contacts
NAND
(NOT AND)
(see page 97)
NAND with edge
evaluation
(see page 98)
LOGO! functions
LOGO! Manual
A5E00228550-01
94
View in the circuit
diagram Name of the basic
function
View in LOGO!
Parallel circuit with
make contacts
OR
(see page 99)
Series circuit with
break contacts
NOR
(NOT OR)
(see page 100)
Double change-
over contact
XOR
(exclusive OR)
(see page 101)
Break
contact
NOT
(negation, inverter)
(see page 101)
LOGO! functions
95
LOGO! Manual
A5E00228550-01
4.2.1 AND
Circuit diagram of a series cir-
cuit with several make con-
tacts:
Symbol in LOGO!:
The output of the AND is only 1 if all inputs are 1, i.e. all
contacts are closed.
At an unused block input (x): x = 1.
Table of the AND logic
1234Q
0 0 0 0 0
00010
00100
00110
01000
01010
01100
01110
10000
10010
10100
10110
11000
11010
11100
11111
LOGO! functions
LOGO! Manual
A5E00228550-01
96
4.2.2 AND with edge evaluation
Symbol in LOGO!:
The output of an edge triggered AND is only 1 if all inputs
are 1 and if at least one input was low in the previous cy-
cle.
At an unused block input (x): x = 1.
Timing diagram for the AND with edge evaluation
1
Cycle
3
Q
2
123456789
10
4
LOGO! functions
97
LOGO! Manual
A5E00228550-01
4.2.3 NAND (NOT AND)
Parallel circuit with multiple break
contacts in the circuit diagram: Symbol in LOGO!:
The output of the NAND is only 0 if the status at all inputs
is 1, i.e. the contacts are closed.
At an unused block input (x): x = 1.
Table of the NAND logic
1234Q
0 0 0 0 1
00011
00101
00111
01001
01011
01101
01111
10001
10011
10101
10111
11001
11011
11101
11110
LOGO! functions
LOGO! Manual
A5E00228550-01
98
4.2.4 NAND with edge evaluation
Symbol in LOGO!:
The output status of the NAND with edge evaluation is only
1 if at least one input is 0 and if all inputs were 1 in the
previous cycle.
At an unused block input (x): x = 1.
Timing diagram for the NAND with edge evaluation
1
Cycle
3
Q
2
12345678910
4
LOGO! functions
99
LOGO! Manual
A5E00228550-01
4.2.5 OR
Circuit diagram of a parallel cir-
cuit with several make contacts: Symbol in LOGO!:
The output status of the OR element is only 1 if at least
one input is 1, i.e. at least one of the contacts is closed.
At an unused block input (x): x = 0.
Table of the OR logic
1234Q
0 0 0 0 0
00011
00101
00111
01001
01011
01101
01111
10001
10011
10101
10111
11001
11011
11101
11111
LOGO! functions
LOGO! Manual
A5E00228550-01
100
4.2.6 NOR (NOT OR)
Circuit diagram of a series cir-
cuit with several break contacts: Symbol in LOGO!:
The output status of the NOR is only 1 if all inputs are 0,
i.e. if switched off. The NOR output is set to 0 when one of
the inputs is switched on (logical 1 status).
At an unused block input (x): x = 0.
Table of the NOR logic
1234Q
0 0 0 0 1
00010
00100
00110
01000
01010
01100
01110
10000
10010
10100
10110
11000
11010
11100
11110
LOGO! functions
101
LOGO! Manual
A5E00228550-01
4.2.7 XOR (exclusive OR)
The XOR in a circuit diagram,
shown as series circuit with 2
changeover contacts:
Symbol in LOGO!:
The output status of the XOR is 1 if the inputs are not
equivalent.
At an unused block input (x): x = 0.
Table of the XOR logic
12Q
0 0 0
011
101
110
4.2.8 NOT (Negation, Inverter)
A break contact in the circuit
diagram: Symbol in LOGO!:
The output status is 1 if the input is 0. The NOT block in-
verts the input status.
Advantage of the NOT block, for example: The LOGO!
does not require break contacts. You simply use a make
contact and the NOT block to convert these into a break
contact.
Table of the NOT logic
1Q
0 1
10
LOGO! functions
LOGO! Manual
A5E00228550-01
102
4.3 Basics on special functions
Because of their different input designation, you can see
right away that there is a difference between the special
functions and basic functions. SFs contain timer functions,
retentive functions and various parameter assignment op-
tions, which allow you to adapt the circuit program to suit
your own requirements.
This section provides you with a brief overview of input
designations and with some particular background informa-
tion on SFs. The SFs in particular are described in
Chapter 4.4.
LOGO! functions
103
LOGO! Manual
A5E00228550-01
4.3.1 Designation of the inputs
Logical inputs
Here, you will find the description of the connectors you
can use to create a logical link to other blocks or to the in-
puts of the LOGO! unit.
S (Set):
A signal at input S sets the output to logical “1”.
R (Reset):
The reset input R takes priority over all other inputs and
resets the outputs.
Trg (Trigger):
This input is used to trigger the start of a function.
Cnt (Count):
This input is used for counting pulses.
Fre (Frequency):
Frequency signals to be evaluated are applied to this
input.
Dir (Direction):
This input determines the direction of count,
for example.
En (Enable):
This input enables a block function. When this input is
“0”, other signal from the block will be ignored.
Inv (Invert):
A signal at this input inverts the output signal of the
block.
Ral (Reset all):
All internal values are reset.
Connector X at SF inputs
SF inputs connected to connector x are set low. That is, the
inputs carry a ’lo’ signal.
LOGO! functions
LOGO! Manual
A5E00228550-01
104
Parameter inputs
At some of the inputs you do not apply any signals. You
configure the relevant block values instead. Examples:
Par (Parameter):
This input will not be connected. Here, you set the rele-
vant block parameters (times, on/off thresholds etc.).
No (Cam):
This input will not be connected. Here, you configure the
time patterns.
P (Priority):
This is an open input. Here, you define priorities and
specify whether a message is to be acknowledged in
RUN.
4.3.2 Time response
Parameter T
At some of the SFs it is possible to configure a time value
T. When you preset this time, note that your input values
are based on the timebase set:
Timebase _ _ : _ _
s (seconds) seconds : 1/100 seconds
m (minutes) minutes : seconds
h (hours) hours : minutes
B1 +
T =04:10h
Setting a time T of 250 minutes:
Unit in hours h:
04:00 hours 240 minutes
00:10 hours +10 minutes
= 250 minutes
Note
Always specify a time T in 0.02 s. The time T is not de-
fined for T 0.02 s.
LOGO! functions
105
LOGO! Manual
A5E00228550-01
Accuracy of T
Because of slight tolerances in the characteristics of elec-
tronic components, the set time T may deviate. The LOGO!
has a maximum tolerance of 0.02 %.
When 0.02 % of the time T is smaller than 0.02 seconds,
the maximum deviation is 0.02 seconds.
Example:
The maximum tolerance per hour (3600 seconds) is
0.02 %, which is proportional to 0.72 seconds.
The maximum toloerance per minute (60 seconds) is
0.02 seconds.
Accuracy of the timer (weekly/yearly timer)
To prevent timing inaccuracy of the real-time clock in C ver-
sions caused by this deviation, the timer value is continu-
ously compared with a high-precision timebase and cor-
rected. The resultant maximum timing inaccuracy is 5
s/day.
4.3.3 Backup of the real-time clock
Because the internal real-time clock of a LOGO! is backed
up, it continues operation after a power failure. The ambi-
ent temperature influences the backup time. At an ambient
temperature of 25°C , the typical backup time is 80 hours.
4.3.4 Retentivity
The switching states and counter values of SFs can be set
retentive. This means that current data are retained after a
power failure, and that the block resumes operation at the
break point. The timer is not reset, but resumes operation
until the time-to-go has expired, for example.
To enable this response, however, the relevant functions
must be set retentive. Two options are available:
R: The data are retained.
/: Current data are not retained (default). See the example
on Page 72.
The hours counter forms an exception, because this func-
tion is always retentive.
LOGO! functions
LOGO! Manual
A5E00228550-01
106
4.3.5 Parameter protection
In the parameter protection settings, you can determine
whether the parameters can be displayed and edited in
LOGO! parameter assignment mode or not. Two options
are available:
+: The parameter attribute permits read/write access in pa-
rameter assignment mode (default).
: The parameter settings are read/write protected in pa-
rameter assignment mode, and can be edited only in the
programming mode. See the example on Page 72.
4.3.6 Calculating the gain and offset of analog val-
ues
A sensor is connected to the analog input and converts a
process variable into an electrical signal. This value of sig-
nal lies within the typical range of this sensor.
LOGO! always converts the electrical signals at the analog
input into digital values from 0 to 1000.
A voltage of 0 to 10 V at input AI is transformed internally
into range of values from 0 to 1000. An input voltage ex-
ceeding 10 V is shown as internal value 1000.
Because you can not always process the range of values
from 0 to 1000 as predetermined by LOGO!, you can multi-
ply the digital values by a gain factor and then shift the zero
of the range of values (offset). This allows you to output an
analog value to the LOGO! display, which is proportional to
the actual process variable.
Parameter Minimum Maximum
Input voltage (in V) 0 10
Internal value 0 1000
Gain 00.00 10.00
Offset –10000 +10000
LOGO! functions
107
LOGO! Manual
A5E00228550-01
Mathematical rule
Actual value
Ax =
(internal value at input Ax gain) + offset
Gain and offset calculation
The gain and offset is calculated based on the relevant high
and low values of the function.
Example 1:
The available thermocouples have the following technical
data: –30 to +70C, 0 to 10 V DC (i.e. 0 to 1000 in LOGO!).
Actual value
= (internal value gain) + offset, thus
–30 = (0 A) + B, i.e. offset B = –30
+70 = (1000 A) –30, i.e. gain A = 0.1
Example 2:
A pressure sensor converts a pressure of 1000 mbar into a
voltage of 0 V, and a pressure of 5000 mbar into a voltage
of 10 V.
Actual value
= (internal value gain) + offset, thus
1000 = (0 A) + B, i.e. offset B = 1000
5000 = (1000 A) +1000, i.e. gain A = 4
LOGO! functions
LOGO! Manual
A5E00228550-01
108
Example of analog values
Process
variable Voltage
(V) Internal
value Gain Offset Value
shown
(Ax)
–30 C
0 C
+70 C
0
3
10
0
300
1000
0.1
0.1
0.1
–30
–30
–30
–30
0
70
1000 mbar
3700 mbar
5000 mbar
0
6.75
10
0
675
1000
4
4
4
1000
1000
1000
1000
3700
5000
0
5
10
0
500
1000
0.01
0.01
0.01
0
0
0
0
5
10
0
5
10
0
500
1000
1
1
1
0
0
0
0
500
1000
0
5
10
0
500
1000
10
10
10
0
0
0
0
5000
10000
0
5
10
0
500
1000
0.01
0.01
0.01
5
5
5
5
10
15
0
5
10
0
500
1000
1
1
1
500
500
500
500
1000
1500
0
5
10
0
500
1000
1
1
1
–200
–200
–200
–200
300
800
0
10 0
1000 10
10 –10000
–10000 –10000
0
0.02
0.02
0.02
0.02
2
2
2
2
0.01
0.1
1
10
0
0
0
0
0
0
2
20
A sample application is found in the description of the “Ana-
log comparator” SF on Page 165.
For further information on analog inputs,
refer to Chapter 4.1.
LOGO! functions
109
LOGO! Manual
A5E00228550-01
4.4 Special functions list – SF
When you create your circuit program in LOGO!, you find
the special function blocks in the SF list.
You can invert the inputs of SFs individually, i.e. the circuit
program converts a logical “1” at the input into a logical “0”;
a logical “0” it converts into a logical “1”. An example of the
program code found in Chapter 3.6.3.
The table also specifies whether the relevant function can
be set retentivity (Rem). The following SFs are available:
View
inLOGO! Name of the
special function Rem
Times On-delay
(see page 113)
REM
Off-delay
(see page 117)
REM
On-/Off-delay
(see Page 119)
REM
Retentive
on-delay
(see page 121)
REM
Wiping relay (pulse output)
(see page 123) REM
LOGO! functions
LOGO! Manual
A5E00228550-01
110
View
inLOGO! RemName of the
special function
Edge triggered
wiping relay
(see page 125)
REM
Asynchronous pulse gen-
erator
(see Page 128)
REM
Random generator
(see page 130)
Stairway lighting switch
(see page 132)
REM
Multiple function switch
(see page 135)
REM
Weekly timer
(see Page 138)
Yearly timer
(see Page 143)
LOGO! functions
111
LOGO! Manual
A5E00228550-01
View
inLOGO! RemName of the
special function
Counter Up/down counter
(see Page 146)
REM
Hours counter
(see page 150)
REM
Fre Threshold trigger
(see Page 155)
Analog Analog threshold trigger
(see page 158)
Analog differential trigger
(see page 161)
Analog comparator
(see Page 165)
Analog value monitoring
(see Page 170)
Analog amplifier
(see Page 173)
LOGO! functions
LOGO! Manual
A5E00228550-01
112
View
inLOGO! RemName of the
special function
Miscellaneous Latching relay
(see Page 175)
REM
Pulse relay
(see Page 176)
REM
P
Message texts
(see Page 179)
En
Par Q
Softkey
(see Page 186)
REM
Shift register
(see Page 190)
REM
LOGO! functions
113
LOGO! Manual
A5E00228550-01
4.4.1 On-delay
Short description
The output is only set after a configurable on-delay time
has expired.
Symbol in
LOGO! Wiring Description
Input Trg You start the on-delay with a
negative edge (1 to 0 transi-
tion) at input Trg (Trigger).
Parameter T represents the time after
which the output is switched
on (0 to 1 transition of the
output signal).
Retentivity:
/ = no retentivity
R = the status is retentive.
Output Q Q is switched on when the
set time T has expired, pro-
vided Trg is still set.
Parameter T
Please note the defaults for parameter T in Chapter 4.3.2.
The time for parameter T can also be preset based on the
actual value of another, already configured function. You
can use the actual values of the following functions:
Analog comparator (actual value Ax – Ay,
see Chapter 4.4.18)
Analog threshold trigger (actual value Ax,
see Chapter 4.4.16)
Analog amplifier (actual value Ax, see Chapter 4.4.20)
and
Counter (actual value Cnt, see Chapter 4.4.13).
Select the required function by means of the block number.
The timebase is adjustable. Please note the following list-
ing:
LOGO! functions
LOGO! Manual
A5E00228550-01
114
Valid ranges of the timebase, if T = parameter
Timebase max. value min. resolu-
tion Accuracy
s (seconds) 99:99 10 ms + 10 ms
m (minutes) 99:59 1s + 1 s
h (hours) 99:59 1 min + 1 min
The display in programming mode (example):
B12 +R
T =04:10h
Valid ranges of the timebase, if T = Actual value of an already
programmed function
Timebase max. value Meaning Accuracy
ms 99990 Number of
ms + 10 ms
s 5999 Number of s + 1 s
m 5999 Number of
min + 1 min
The display in programming mode (example):
B12 +R
TB006s
If the referenced block (B6, in the example) returns a value
that lies out of the valid range, the value is rounded up or
down to the next valid value.
LOGO! functions
115
LOGO! Manual
A5E00228550-01
Parameter preset = Actual value of an already programmed
function How to include the actual value of an actual value of an
already programmed function:
1. Press to move the cursor to the equal sign of parame-
ter T.
T =04:10h
B12 +R
T =04:10h
B12 +R B12 +RB12 +R
Press
twice T =04:10hT =04:10h
2. Press to change the equal sign into an arrow. If it ex-
ists, the last referenced block and its timebase is shown.
B12 +R
TB006s
3. Press to move the cursor to the “B” of the shown
block, and then press to select the required block
number.
4. Press to move the cursor to the block’s timebase and
press to select the required timebase.
B12 +R
TB006m
The view in parameter assignment mode (example):
T =04:10hT =04:10
Ta =02:00h
B12
or
B12 TB006m
Ta =02:00h
current
time
LOGO! functions
LOGO! Manual
A5E00228550-01
116
Timing diagram
Trg
TT
Ta expires
Q
The bold section of
the timing diagram is
also shown in the
on-delay icon.
Functional description
The time Ta is triggered with a 0 to 1 transition at input Trg
(Ta is the current LOGO! time).
If the status of input Trg is 1 at least for the duration of the
configured time T, the output is set to 1 on expiration of this
time (the output follows the input with on-delay).
The time is reset when the status at input Trg returns to 0
before the time T has expired.
The output is reset to 0 when the signal at input Trg is 0.
If retentivity is not set, output Q and the expired time are
reset after a power failure.
LOGO! functions
117
LOGO! Manual
A5E00228550-01
4.4.2 Off-delay
Short description
When an on-delay is set, the output is reset when the con-
figured time has expired.
Symbol in
LOGO! Wiring Description
Input Trg You start the off-delay time
with a negative edge (1 to 0
transition) at input Trg (Trig-
ger)
Input R A signal at input R resets
the on-delay time and the
output.
Parameter T is the time that expires af-
ter which the output is
switched off (1 to 0 transi-
tion of the output signal).
Retentivity:
/ = No retentivity
R = The status is retentive.
Output Q Q is set with a signal at in-
put Trg. It holds this state
until T has expired.
Parameter T
Please note the parameter T defaults specified in
Chapter 4.3.2.
The time for parameter T can be based on the actual value
of another, already configured function. You can use the
process variables of the following functions:
Analog comparator (actual value Ax – Ay,
see Chapter 4.4.18)
Analog threshold trigger (actual value Ax,
see Chapter 4.4.16)
LOGO! functions
LOGO! Manual
A5E00228550-01
118
Analog amplifier (actual value Ax, see Chapter 4.4.20)
and
Up/down counter (actual value Cnt,
see Chapter 4.4.13).
Select the required function by means of the block number.
The timebase is configurable. For information on valid time-
base ranges and parameter preset, refer to Chapter 4.4.1.
Timing diagram
Trg
T
TTa expires
Q
RThe bold section of
the timing diagram
also appears in the
off-delay symbol.
Functional description
Output Q is set to hi immediately when the input Trg
changes to hi.
The actual time Ta in LOGO! is retriggered at the 1 to 0
transition of Trg. The output remains set. Output Q is reset
to 0 with off-delay when Ta reaches the value configured at
T (Ta=T).
The time Ta is retriggered with a one-shot at input Trg.
You can set input R (Reset) to reset the time Ta and the
output before Ta has expired.
If retentivity is not set, output Q and the expired time are
reset after a power failure.
LOGO! functions
119
LOGO! Manual
A5E00228550-01
4.4.3 On-/Off-delay
Short description
The on-/off-delay function sets the output after the set on-
delay time has expired, and resets it upon expiration of the
off-delay time.
Symbol in
LOGO! Wiring Description
Input Trg A positive edge (0 to 1 tran-
sition) at input Trg (Trigger)
triggers the on-delay time
TH.
A negative edge (1 to 0
transition) at input Trg (Trig-
ger) triggers the off-delay
time TL.
Parameter TH is the time after which
the output is set hi (output
signal transition 0 to 1).
TL is the time after which
the output is reset ( output
signal transition 1 to 0).
Retentivity:
/ = No retentivity
R = The status is retentive.
Output Q Q is set when the config-
ured time TH has expired
and Trg is still set. It is reset
on expiration of the time TL,
if the trigger Trg has not
been set again.
LOGO! functions
LOGO! Manual
A5E00228550-01
120
Parameters TH and TL
Note the preset values for the parameters TH and TL in
Chapter 4.3.2.
Timing diagram
Trg
THTH
Ta expires
Q
TL
Ta expires TL
TH
TL
The bold section
of the timing dia-
gram is also
shown in the on/
off-delay symbol.
Functional description
The time TH is triggered with a 0 to 1 transition at input Trg.
If the status at input Trg is 1 at least for the duration of the
time TH, the output is set to 1 on expiration of the time TH
(the output follows the input with on-delay).
The time is reset when the signal at input Trg is reset to 0
before the time TH has expired..
A 1 to 0 transition at input Trg triggers the time TL.
If the status at input Trg is 0 at least for the duration of the
signal TL, the output is set to 0 on expiration of the time TL
(the output follows the input with off-delay).
The time is reset when the signal at input Trg changes to 1
again before the time TL has expired.
If retentivity is not set, output Q and the expired time are
reset after a power failure.
LOGO! functions
121
LOGO! Manual
A5E00228550-01
4.4.4 Retentive on-delay
Short description
A one-shot at the input triggers a configurable on-delay
time. The output is set when this time has expired.
Symbol in
LOGO! Wiring Description
Input Trg A signal at input Trg (Trig-
ger) triggers the on-delay
time.
Input R A signal at input R resets
the on-delay time and the
output.
Parameter T represents the on-delay
time for the output (output
status transition 0 to 1).
Retentivity:
/ = no retentivity
R = The status is retentive.
Output Q Q is set after the time T has
expired.
Parameter T
Note the defaults specified in Chapter 4.3.2.
The time for parameter T can be based on the process
variable of another, already programmed function. You can
use the process variables of the following functions:
Analog comparator (actual value Ax - Ay,
see Chapter 4.4.18)
Analog threshold trigger (actual value Ax,
see Chapter 4.4.16)
Analog amplifier (actual value Ax, see Chapter 4.4.20)
and
Up/down counter (actual value Cnt,
see Chapter 4.4.13).
LOGO! functions
LOGO! Manual
A5E00228550-01
122
Select the required function by means of the block number.
The timebase is configurable. For information on valid
ranges and parameter defaults, refer to Chapter 4.4.1.
Timing diagram
Trg
T
Ta expires
Q
R
T
The bold section of the timing diagram is also shown in the symbol of
the retentive on-delay.
Functional description
The 0 to 1 signal transition at input Trg triggers the current
time Ta . Output Q is set when Ta = T. A further signal at
input Trg does not influence the time Ta.
The output and the time Ta are reset with the next 1 signal
at input R.
If retentivity is not set, output Q and the expired time are
reset after a power failure.
LOGO! functions
123
LOGO! Manual
A5E00228550-01
4.4.5 Wiping relay (pulse output)
Short description
An input pulse generates a signal with a configurable pe-
riod at the output.
Symbol in
LOGO! Wiring Description
Input Trg A signal at input Trg (Trig-
ger) triggers the time for the
wiping relay function.
Parameter The output is switched off
after the time T has expired
(output signal transition 1 to
0).
Retentivity:
/ = No retentivity
R = The status is retentive.
Output Q A signal at input Trg sets Q.
If the input signal = 1, output
Q remains set for the time
Ta.
Parameter T
Please note the information on parameter T in Chapter
4.3.2.
Timing diagram
Trg
T has not expired
Ta is expiring
Q
The bold section of the timing dia-
gram also appears in the symbol of
the wiping relay.
T
LOGO! functions
LOGO! Manual
A5E00228550-01
124
Functional description
A 0 to 1 transition at input Trg sets the output, and triggers
a time Ta during which the output remains set.
Output Q is reset to lo (pulse output) when Ta reaches the
value preset at T (Ta = T).
The output is immediately reset if there is a 1 to 0 transition
at input Trg before the specified time has expired.
If retentivity is not set, output Q and the expired time are
reset after a power failure.
LOGO! functions
125
LOGO! Manual
A5E00228550-01
4.4.6 Edge triggered wiping relay
Short description
An input pulse generates a preset number of output pulses
with a defined pulse/pause ratio (retriggerable), after a con-
figured delay time has expired.
Symbol in
LOGO! Wiring Description
Input Trg A signal at input Trg (Trig-
ger) triggers the times for
the edge triggered wiping
relay.
Input R A signal at input R resets
the current time (Ta) and the
output.
Parameter The interpulse width TL and
the pulse width TH are confi-
gurable.
N determines the number of
pulse/pause cycles TL/TH:
Range of values: 1...9
Retentivity:
/ = No retentivity
R = The status is retentive.
Output Q Q is set after TL has ex-
pired, and reset after TH
has expired.
Parameter T
Please note the information on parameter T in
Chapter 4.3.2.
Timing diagram A
Trg
Ta is running
Q
The bold section of the timing
diagram also appears in the
symbol of the edge triggered
wiping relay.
THTHN=1
TL=0
LOGO! functions
LOGO! Manual
A5E00228550-01
126
Timing diagram B
Trg
N=2
Q
TLTH
TLTHTLTH
TLTH
Timing diagram for the sample
configuration
Functional description
A 0 to 1 transition at input Trg triggers the time TL (Time
Low). After the time TL has expired, output Q is set for the
duration of TH (Time High).
If there is a further 0 to 1 transition (retriggering pulse) at
input Trg before the preset time (TL + TH) has expired, Ta is
reset and the pulse/pause cycle is restarted.
If retentivity is not set, output Q and the time are reset after
a power failure.
Preset of the Par parameter
View in programming mode (example):
B25 1+R
TL =02:00s
TH =03:00s
Protection mode and retentivity
Interpulse width
Pulse width
Press
B25 2
N=1 Number of pulse/pause cycles
(example)
LOGO! functions
127
LOGO! Manual
A5E00228550-01
View in parameter assignment mode (example):
B25
TL =02:00s
TH =03:00s
Ta =01:15s Current pulse width TL or TH
LOGO! functions
LOGO! Manual
A5E00228550-01
128
4.4.7 Asynchronous pulse generator
Short description
The output pulse shape can be modified by reconfiguring
the pulse/pause ratio.
Symbol in
LOGO! Wiring Description
Input En You can use input EN to set
and reset the asynchronous
pulse generator.
Input INV Input INV can be used to in-
vert the output signal of the
active asynchronous pulse
generator.
Parameter You can configure the pulse
width TH and the interpulse
width TL.
Retentivity:
/ = No retentivity
R = The status is retentive.
Output Q Q is set and reset cyclically
according to the pulse/
pause ratio TH and TL.
Timing diagram
En
Inv
TH
Q
TLTH
TLTHTL
TH
LOGO! functions
129
LOGO! Manual
A5E00228550-01
Functional description
You can configure the pulse/interpulse width at the TH
(Time High) and TL (Time Low) parameters .
Input Inv can be used to invert the output signal, provided
the block is enabled with a signal at input EN.
If retentivity is not set, output Q and the expired time are
reset after a power failure.
LOGO! functions
LOGO! Manual
A5E00228550-01
130
4.4.8 Random generator
Short description
The output of the random generator is set or reset within a
configured time.
Symbol in
LOGO! Wiring Description
Input En A positive edge ( 0 to 1 tran-
sition) at input En (Enable)
triggers the on-delay time of
the random generator.
A negative edge ( 1 to 0
transition) at input En (En-
able) triggers the off-delay
time of the random genera-
tor.
Parameter The on-delay is set at ran-
dom to a value between 0 s
and TH.
The off-delay is set at ran-
dom to a value between 0 s
and TL.
Output Q Output Q is set when the
on-delay has expired and if
En is still set. It is reset
when the off-delay has ex-
pired, provided En was not
set again meanwhile.
Parameter TH and TL
Note the defaults of the TH and TL parameters listed in
Chapter 4.3.2.
LOGO! functions
131
LOGO! Manual
A5E00228550-01
Timing diagram
En
T is
busy
Q
TL
TH
The bold section of
the timing diagram
also appears in the
symbol of the random
generator.
Functional description
The 0 to 1 transition at input En triggers a random on-delay
time between 0 s and TH. The output is set when the on-
delay time has expired and if the signal at input En remains
hi at least for the duration of this time.
The time is reset if input En is reset before the on-delay
time has expired.
A 1 to 0 transition at input EN triggers a random on-delay
time between 0 s and TL.
The output is reset after the off-delay time has expired, pro-
vided input En remains lo at least for the duration of this
time.
The time is reset if the signal at input En changes to 1
again before the off-delay time has expired.
The time expired is reset after a power failure.
LOGO! functions
LOGO! Manual
A5E00228550-01
132
4.4.9 Stairway lighting switch
Short description
An input edge triggers a configurable and retriggerable
time. The output is reset after this time has expired. A
warning signal can be output before this time has expired
to warn of the impending shutdown.
Symbol in
LOGO! Wiring Description
Input Trg A signal at input Trg (Trig-
ger) triggers the off-delay
time for the stairway lighting
switch.
Parameter T represents the off-delay
time of the output (output
signal transition 1 to 0).
T! determines the triggering
time for the pre-warning.
T!L determines the length of
the pre-warning signal.
Retentivity:
/ = No retentivity
R = The status is retentive.
Output Q Q is reset after the time T
has expired. A warning sig-
nal can be output before
this time has expired.
Timing diagram
Ta is busy
T
Q
Trg
T!L T!
LOGO! functions
133
LOGO! Manual
A5E00228550-01
Functional description
A 0 to 1 signal transition at input Trg sets output Q. The
next 1 to 0 transition at Trg retriggers the current time Ta,
and output Q remains set.
Output Q is reset when Ta = T. You can output a warning
signal before the off-delay time (T – T!) has expired to reset
Q for the time of the pre-warning period T!L.
A further one-shot at input Trg during Ta retriggers the time
Ta .
If retentivity is not set, output Q and the expired time are
reset after a power failure.
Preset of the Par parameter
Note the defaults specified in Chapter 4.3.2.
Note
All times must have the same timebase.
View in programming mode (example):
B9 1+R
T =60:00s Protection mode and retentivity
Off-delay time
Press
B9 2
T! =05:00s
T!L =00:10s
Start of the off-warning period
(T – T!)
Off-warning time
LOGO! functions
LOGO! Manual
A5E00228550-01
134
View in parameter assignment mode (example):
B9 1
T =60:00s
Ta =06:00s Current value of T
LOGO! functions
135
LOGO! Manual
A5E00228550-01
4.4.10 Multiple function switch
Short description
Switch with two different functions:
Pulse switch with off-delay
Switch (permanent lighting)
Symbol in
LOGO! Wiring Description
Input Trg A signal at input Trg (Trig-
ger) sets output Q (perma-
nent light) or resets it with
off-delay. When active, out-
put Q can be reset with a
signal at input Trg.
Input R A signal at input R resets
the current time Ta and the
output.
Parameter T represents the time after
which f the output is reset
(output signal transition
1 to 0).
TL represents the time dur-
ing which the output must
be set to enable the perma-
nent lighting function.
T! represents the preset
time for the start of the off-
warning signal.
T!L represents the length of
the off-warning period.
Retentivity:
/ = No retentivity
R = The status is retentive.
Output Q A signal at Trg switches on
output Q. Depending on the
length of the input at Trg,
the output is switched off
again or switched on per-
manently, or it is reset with a
further signal at Trg.
LOGO! functions
LOGO! Manual
A5E00228550-01
136
Timing diagram
Ta is busy
T
Q
Trg TL
TL
T!L
T!
Functional description
A 0 to 1 transition at input Trg sets output Q.
If output Q = 0, and input Trg is set hi at least for the dura-
tion of TL, the permanent lighting function is enabled and
output Q is set accordingly.
The off-delay T is triggered when input Trg returns to 0 be-
fore TL has expired.
Output Q is reset when Ta = T.
You can output an off-warning signal prior to the expiration
of the off-delay time (T – T!), to reset Q for the duration of
the off-warning signal T!L. A further signal at Trg always
resets T and the output Q.
If retentivity is not set, output Q and the expired time are
reset after a power failure.
Preset of the Par parameter
Note the defaults specified in Chapter 4.3.2.
Note
T, T! and T!L must all have the same timebase.
View in programming mode (example):
B5 1+R
T =60:00s
TL =10:00s
Protection mode and retentivity
Off-delay
Permanent light on-time
LOGO! functions
137
LOGO! Manual
A5E00228550-01
Press
B5 2
T! =30:00s
T!L =20:00s
Start of the off-warning period
(T – T!)
Off-warning time
View in parameter assignment mode (example):
B5 1
T =60:00s
TL =10:00s
Ta =06:00s Current value of the time T L or T
LOGO! functions
LOGO! Manual
A5E00228550-01
138
4.4.11 Weekly timer
Short description
The output is controlled by means of a configurable on/off
date. The function supports any combination of weekdays.
You select the active weekdays by hiding the inactive days.
Note
Because the LOGO! 24/24o does not have a real-time
clock, the weekly timer function is not available for this ver-
sion.
Symbol in
LOGO! Wiring Description
Cam
parameters
No1, No2, No3
At the Cam parameters, you
set the on- and off-times of
the weekly timer for each
Cam switch. Here you also
configure the days and the
time-of-day.
Output Q Q is set when the config-
ured cam is actuated.
Timing diagram (three examples)
Monday Wednesday
Tuesday Saturday
Friday
Thursday Sunday
Q
1
Cam 13
123111
1
Cam No1: Daily: 06:30 h to 08:00 h
Cam No2: Tuesday: 03:10 h to 04:15 h
Cam No3: Saturday and Sunday: 16:30 h to 23:10 h
LOGO! functions
139
LOGO! Manual
A5E00228550-01
Functional description
Each weekly timer has three cams you can use to config-
ure a time hysteresis. You specify the on- and off-times at
the Cam parameters. The weekly timer sets the output at a
certain on-time, if this is not already set.
The weekly timer resets the output at a certain off-time, if it
is not switched off already. You will cause a conflict if the
on- and off-times you set for the weekly timer are identical,
though set on different cams. In this case, cam3 takes
priority over cam2, whereas cam2 takes priority over cam1.
The switching state of the weekly timer is determined by
the status of all three cams.
Parameter assignment screen form
View of the parameter assignment screen form, for exam-
ple for Cam1:
B1 1+
D=MTWTFSS
On =06:30
Off=08:00
On-time (06.30 h)
See Showing/hiding parame-
ters – Parameter protection
mode on page 72
Off-time (08:00 h)
Block B1 Cam No1
Weekdays (daily)
WeekdayThe suffix of “D=” (Day) has the following meaning:
M : Monday
T : Tuesday
W: Wednesday
T : Thursday
F : Friday
S : Saturday
S : Sunday
The uppercase letter indicates: A weekday is selected. A
“–” means: A weekday has not been selected.
LOGO! functions
LOGO! Manual
A5E00228550-01
140
On-/Off-times
Possible is any time between 00:00 h and 23:59 h.
––:–– means: No on-/off-times set.
Setting the weekly timer
To set the on-/off-times:
1. Move the cursor to one of the Cam parameters of the
timer (e.g. No1).
2. Press OK. LOGO! opens the Cam parameter assign-
ment screen form. The cursor is positioned on the week-
day.
3. Press and to select one or several weekdays.
4. Press to move the cursor to the first position of the
on-time.
5. Set the on-time.
Modify the value at the respective position, using the
keys and . Move to the cursor to the various posi-
tions, using the keys and . At the first position, you
can only select the value ––:–
(––:–– means: No on-/off-times set).
6. Press to move the cursor to the first position of the
off-time.
7. Set the off-time (in same way as in step 5).
8. Confirm your entries with OK.
The cursor is now positioned on the No2 parameter
(Cam2) and you can configure a further cam.
Note
For information on timer accuracy, refer to the technical
data and to Chapter 4.3.2.
LOGO! functions
141
LOGO! Manual
A5E00228550-01
Weekly timer: Example
The output of the weekly timer switch is to be set daily from
05:30 h to 07:40 h. The output should also be set every
Tuesday from 03:10 h to 04:15 h, and at the weekends
from 16:30 h to 23:10 h.
This requires three cams.
Here are the parameter assignment screen forms of the
cams No 1, 2 and 3, based on the timing diagram shown
earlier.
Cam1 Cam No1 must set the output of the weekly timer daily from
05:30 h to 07:40 h.
B1 1+
D=MTWTFSS
On =05:30
Off=07:40
Cam2 Cam No2 must set the output of the weekly timer every
Tuesday from 03:10 h to 04:15 h.
B1 2
D=–T–––––
On =03:10
Off=04:15
LOGO! functions
LOGO! Manual
A5E00228550-01
142
Cam3 Cam No3 must set the output of the weekly timer switch
every Saturday and Sunday from 16:30 h to 23:10 h.
B1 3
D=–––––SS
On =16:30
Off=23:10
Result
1
Cam
Monday Wednesday
Tuesday Saturday
Friday
Thursday Sunday
13123Q
111
1
LOGO! functions
143
LOGO! Manual
A5E00228550-01
4.4.12 Yearly timer
Short description
The output is controlled by means of a configurable on/off
date.
Note
Because LOGO! 24/24o does not have a real-time clock,
the yearly timer is not available for this version.
Symbol in
LOGO! Wiring Description
Cam
parameter At the Cam parameter, you
configure the on-/off-times
for the cam of the yearly
timer.
Output Q Q is set when the config-
ured cam is actuated.
Timing diagram
MM.DD
On=02.20
Off=04.03
On
Off
February 20 at
00:00 h April 3
at 00:00 h
Feb. Mar. Apr.
Functional description
The yearly timer sets the output at a specific on-time, and
resets it at a specific off-time. The off-date identifies the day
on which the output is reset again. The first value identifies
the month, the second the day. For “MM” you can select a
placeholder (**), so that the on- and off-time is set for a
specific day each month.
LOGO! functions
LOGO! Manual
A5E00228550-01
144
Sample configuration
The output of a LOGO! is to be set annually on March 1,
reset on April 4, set again on July 7, and reset again on
November 19. You need to configure two yearly timers with
corresponding on-times. The outputs are then logically
linked by means of an OR block
B1 +
MM–DD
On =03–01
Off=04–04 On-time March 1
Off-time April 4
B2 +
MM–DD
On =07–07
Off=11–19
In addition:
On-time July 7
Off-time November 19
Result On
Off
March 1
at 00:00 h
April 4
at 00:00 h
B1 B2
July 7
at 00:00 h
November 19
at 00:00 h
LOGO! functions
145
LOGO! Manual
A5E00228550-01
Further examples
B11 +
**–DD
On =**–01
Off=**–02
On-time is the first,
and off-time the second day each month.
B12 +
**–DD
On =**–10
Off=**–20 Each month, from the 10th through
to the 20th
B13 +
**–DD
On =**–25
Off=**–05 In the next month,
from the 25th through the 5th
LOGO! functions
LOGO! Manual
A5E00228550-01
146
4.4.13 Up/down counter
Short description
An input pulse increments or decrements an internal value,
depending on the parameter setting. The output is set or
reset when a configured threshold is reached. The direction
of count can be changed with a signal at input Dir.
Symbol in
LOGO! Wiring Description
Input R A signal at input R resets
both the internal count value
and the output to zero.
Input Cnt The function counts the 0 to
1 transitions at input Cnt. 1
to 0 transitions are not
counted.
Use
inputs I5/I6 for high-
speed counting (only
LOGO! 12/24 RC/RCo
and LOGO! 24/24o):
max. 2 kHz.
any other input or circuit
component for counting
low frequency signals
(5 Hz).
Input Dir You set the direction of
count at input Dir:
Dir = 0: Up count
Dir = 1: Down count
LOGO! functions
147
LOGO! Manual
A5E00228550-01
Symbol in
LOGO! DescriptionWiring
Parameter On: On threshold
Range of values:
0...999999
Off: Off threshold
Range of values:
0...999999
Retentivity for internal
counter value Cnt:
/ = No retentivity
R = The status is retentive.
Output Q Q is set or reset, depending
on the current value at Cnt
and the set thresholds.
Timing diagram
R
Dir
On=Off=5
Cnt
0
Internal
count value
Cnt
Q
Functional description
The internal counter increments (Dir = 0) or decrements
(Dir = 1) by one count with every positive edge at input Cnt.
You can use input R to reset the output and the internal
count value to ’000000’. As long as R = 1, the output is also
lo and the pulses at input Cnt are not counted.
If retentivity is not set, output Q and the expired time are
reset after a power failure.
Q is set or reset depending on the current value at Cnt and
the set thresholds. See the calculation rule below.
LOGO! functions
LOGO! Manual
A5E00228550-01
148
Calculation rule
If the On threshold Off threshold, then:
Q = 1, if Cnt On
Q = 0, if Cnt < Off.
If the On threshold < Off threshold, then Q = 1,
if On Cnt < Off.
Default on/off parameters
The default limits for the on and/or off parameters can be
derived from another, already programmed function. You
can use the actual values of the following functions:
Analog comparator (actual value Ax – Ay,
see Chapter 4.4.18)
Analog threshold trigger (actual value Ax, see Chapter
4.4.16)
Analog amplifier (actual value Ax, see Chapter 4.4.20)
and
Up/down counter (actual value Cnt).
Select the required function by means of the block number.
For information on parameter defaults,
refer to Chapter 4.4.1.
Note
The system scans the counter limit value cyclically.
Thus, if the pulse frequency at the fast inputs I5/I6 is faster
than the cycle time, the special function might not switch
until after the specified limit value is exceeded.
Example: Up to 100 pulses per cycle can be counted; 900
pulses have been counted so far. On = 950; Off = 10000.
The output is set in the next cycle, after the value has
reached 1000. (The output would not be set at all if the
value Off = 980.)
LOGO! functions
149
LOGO! Manual
A5E00228550-01
View in programming mode (example):
B3 +R
On =001234
Off=000000 or
B3 +R
On =123456
OffB021
If the referenced block (B6, in the example) returns a value
that lies out of the valid range, the value is rounded to the
next valid value.
The view in parameter assignment mode (example):
B3
On =001234
Off=000000
Cnt=000120
or B3
On =123456
OffB021
Cnt=000120
Current
count value
LOGO! functions
LOGO! Manual
A5E00228550-01
150
4.4.14 Hours counter
Short description
A configured time is triggered with a signal at the monitor-
ing input. The output is set when this time has expired.
Symbol in
LOGO! Wiring Description
Input R A positive edge (0 to 1 transi-
tion) at input R resets output Q
and sets a configured value MI
at the counter for the duration
of the time-to-go (MN).
Input En En is the monitoring input.
LOGO! scans the on-time of
this input.
Input Ral A positive edge at input Ral
(Reset all) resets both the
hours counter (OT) and the
output, and sets the configured
value MI at the counter to for
the duration of the time-to-go
(MN). That is,
output Q = 0,
measured operating time
OT = 0 and
the time-to-go of the main-
tenance interval
MN = MI.
LOGO! functions
151
LOGO! Manual
A5E00228550-01
Symbol in
LOGO! DescriptionWiring
Parameter MI: Maintenance interval to be
preset in hour units
Range of values:
0000...9999 h
OT: Total operating time
Range of values:
00000...99999 h
Q0:
When “R” is selected:
Q = 1, if MN = 0;
Q = 0, if R = 1 or Ral = 1
When “R+En” is se-
lected:
Q = 1, if MN = 0;
Q = 0, if R = 1 or Ral = 1
or En = 0.
Output Q The output is set when the
time-to-go MN = 0.
The output is reset:
When “Q0:R+En”, if
R = 1 or Ral = 1 or En = 0
When “Q0:R”, if R = 1 or
Ral = 1.
MI = Configured time interval
MN= Time-to-go
OT= Total time expired since the last hi signal at input Ral
These values are always retentive!
LOGO! functions
LOGO! Manual
A5E00228550-01
152
Timing diagram
MI = Configured time interval
MN = Time-to-go
OT = Total time expired since the last hi signal at input Ral
Par:
Q
R
Ral
En
MN=MI
OT
MN=0
MI=5h
Functional description
The hours counter monitors input En. When En = 1, LOGO!
computes the time expired and the time-to-go MN. LOGO!
shows these times in parameter assignment mode. Output
Q is set when the time-to-go MN = 0.
A signal at reset input R resets output Q and sets the pre-
set value of MI at the counter for the duration of MN. The
hours counter OT continues the count.
With a signal at the reset input Ral, you reset output Q and
set the preset value of MI at the counter for the duration of
MN. The hours counter OT is reset to zero.
Depending on your configuration of parameter Q, the out-
put is either reset with a signal at input
R or Ral (”Q0:R”), or when a reset signal is set hi, or the
En signal is set lo (”Q0:R+En”).
LOGO! functions
153
LOGO! Manual
A5E00228550-01
Viewing the MI, MN and OT values
LOGO! Basic with display unit: You can open the param-
eter assignment mode when the system is in RUN to
view the actual values of MI, MN and OT.
LOGO! Basic without display unit: In LOGO!Soft Com-
fort, you can use the Online Test to read these values
(for further information, see Chapter 7).
Limit value of OT
The value of the operating hours in OT are retained when
you reset the hours counter with a signal at input R. The
hours counter OT continues the count as long as En = 1,
irrespective of the status at the reset input R.
The counter limit of OT is 99999 h.
The hours counter stops when it reaches this value.
In programming mode, you can set the initial value of OT.
The counter starts operation at any value other than zero.
MN is automatically calculated at the START, based on the
MI and OT values
(Example: MI = 100, OT = 130, the result is MN = 70).
Preset of the Par parameter
View in programming mode:
B16 +
or
B16 + MI = 0100h
Q0:R
OT =00000h
Time ex-
pired
MI = 0100h
Q0:R+En
OT =00000h
MI is the configurable time interval. Its permissible range of
values lies between 0 and 9999 hours.
LOGO! functions
LOGO! Manual
A5E00228550-01
154
View in parameter assignment mode:
B16
MI = 0100h
MN = 0017h
OT =00083h Time-to-go
Total operating hours
Time interval
LOGO! functions
155
LOGO! Manual
A5E00228550-01
4.4.15 Threshold trigger
Short description
The output is set and reset with two configurable threshold
triggers.
Symbol in
LOGO! Wiring Description
Fre Input Fre The function counts the 0 to 1
transitions at input Fre. 1 to 0
transitions are not counted.
Use
inputs I5/I6 for high-speed
counting (only LOGO!
12/24 RC/RCo and LOGO!
24/24o): max. 2 kHz.
any other input or circuit
component for counting low
frequency signals (5 Hz).
Parameter On: On threshold
Range of values:
0000...9999
Off: Off threshold
Range of values:
0000...9999
G_T: Time interval or gate time
during which the input
pulses are measured.
Range of values:
00:05 s...99:99 s
Output Q Q is set and reset at the
thresholds.
Timing diagram
Q
Off = 5
fa = 9 fa = 10 fa = 8 fa = 4
G_T
Fre On = 9
fa = Input frequency
LOGO! functions
LOGO! Manual
A5E00228550-01
156
Functional description
The threshold trigger measures the signals at input Fre.
The pulses are recorded across a configurable time G_T.
Output Q is set and reset in accordance with the set thresh-
olds. See the calculation rule below.
Calculation rule
If the On threshold Off threshold, then:
Q = 1, if fa > On
Q = 0, if fa Off.
If the On threshold < Off threshold, then Q = 1 if
On fa < Off.
Preset of the Par parameter
Note
The system scans the counter limit value once per interval
G_T.
View in programming mode (example):
B15 1+
On =0009
Off =0005
Parameter protection mode
On threshold
Off threshold
Press
B15 2
G_T=01:00s Time interval for pulses
(example)
LOGO! functions
157
LOGO! Manual
A5E00228550-01
Note
The “seconds” timebase is here set as permanent default.
When you preset a time G_T of 1 s, the LOGO! returns the
current frequency in parameter fa in Hz.
View in parameter assignment mode (example):
B15
On =0009
Off =0005
fa =0010
On threshold
Off threshold
Q = 1 (fa > On)
Note
fa always represents the total pulses measured per time
unit G_T.
LOGO! functions
LOGO! Manual
A5E00228550-01
158
4.4.16 Analog threshold trigger
Short description
The output is set and reset at two configurable thresholds.
Symbol in
LOGO! Wiring Description
Input Ax You apply the analog signal
to be analyzed at input Ax.
Use the analog inputs
AI1...AI8 (*), the analog
flags AM1...AM6, the block
number of a function with
analog output, or the analog
outputs AQ1 and AQ2.
Parameter A: Gain
Range of values:
00.00...10.00
B: Zero offset
Range of values:
10.000
On: On threshold
Range of values:
20.000
Off: Off threshold
Range of values:
20.000
p: Number of decimals
Range of values:
0, 1, 2, 3
Output Q Q is set or reset by the
threshold triggers.
* AI1...AI8: 0...10 V corresponds with 0...1000 (internal value).
LOGO! functions
159
LOGO! Manual
A5E00228550-01
Gain and offset parameters
Please note the information on gain and offset parameters
in Chapter 4.3.6.
Parameter p (number of decimals)
Does not apply to the display of On, Off and Ax values in a
message text.
Does not apply to the comparison of On and Off values!
(The compare function ignores the decimal point.)
Timing diagram
Q
1000
0
Ax
On
Off
Functional description
The function fetches the analog signal at input Ax.
Ax is multiplied by the value of the A (gain) parameter, and
the value at parameter B (offset) is added to product, i.e.
(Ax gain) + offset = actual value of Ax.
Output Q is set or reset, depending on the set thresholds.
See the calculation rule below.
Calculation rule
If the On threshold Off threshold, then:
Q = 1, if the actual value Ax > On
Q = 0, if the actual value Ax Off.
If the On threshold < Off threshold, then Q = 1 if
On actual value Ax < Off.
LOGO! functions
LOGO! Manual
A5E00228550-01
160
Preset of the Par parameter
The gain and offset parameters are used to adapt the sen-
sors to the relevant application.
View in programming mode (example):
B3 1+
On =+04000
Off =+02000
Parameter protection mode
On threshold
Off threshold
Press
Decimals in the message text
B3 2
A =01.00
B =+00000
p=2 Offset
Gain
View in parameter assignment mode (example):
B3
On =+04000
Off =+02000
Ax =+05000
On threshold
Off threshold
Q = 1 (Ax > On)
View in the message text (example):
+050.00 Ax, when p = 2
Q = 1 (Ax > On)
LOGO! functions
161
LOGO! Manual
A5E00228550-01
4.4.17 Analog differential trigger
Short description
The output is set and reset depending on a configurable
threshold and a differential value.
Symbol in
LOGO! Wiring Description
Input Ax You apply the analog signal
to be analyzed at input Ax.
Use the analog inputs
AI1...AI8 (*), the analog
flags AM1...AM6, the block
number of a function with
analog output, or the analog
outputs AQ1 and AQ2.
Parameter A: Gain
Range of values:
00.00...10.00
B: Zero offset
Range of values:
10.000
On: On/Off threshold
Range of values:
20.000
: Differential value for
calculating the off
parameter
Range of values:
20.000
p: Number of decimals
Range of values:
0, 1, 2, 3
Output Q Q is set or reset, depending
on the threshold and differ-
ence values.
* AI1...AI8: 0...10 V corresponds with 0...1000 (internal value).
LOGO! functions
LOGO! Manual
A5E00228550-01
162
Gain and offset parameters
Please note the information on gain and offset parameters
in Chapter 4.3.6.
Parameter p (number of decimals)
Does not apply to the display of On, Off and Ax values in a
message text.
Timing diagram A: Function with negative difference
Q
O
n
Ax
Off = On +
Timing diagram B: Function with positive difference
Q
Off = On +
Ax
On
Functional description
The function fetches the analog signal at input Ax.
Ax is multiplied by the value of the A (gain) parameter, and
the value at parameter B (offset) is added to product, i.e.
(Ax gain) + offset = actual value of Ax.
Output Q is set or reset, depending on the set (On) thresh-
old and difference value (). The function automatically
calculates the Off parameter: Off = On + , whereby
may be positive or negative. See the calculation rule below.
LOGO! functions
163
LOGO! Manual
A5E00228550-01
Calculation rule
When you set a negative differential value , the On
threshold Off threshold, and:
Q = 1, if the actual value Ax > On
Q = 0, if the actual value Ax Off.
See the timing diagram A.
When you set a positive differential value , the On
threshold < the Off threshold, and Q = 1, if:
On actual value Ax < Off.
See the timing diagram B.
Preset of the Par parameter
The gain and offset parameters are used to adapt the sen-
sors to the relevant application.
View in programming mode (example):
B3 1+
On =+04000
=–02000
Parameter protection mode
On/off threshold
Differential value for the on/off
threshold
Press
Decimals in the message text
B3 2
A =01.00
B =+00000
p=2 Offset
Gain
View in parameter assignment mode (example):
B3
On =+04000
=–02000
Ax =+05000
On threshold
Differential value for the
off threshold
Q = 1 (Ax > On)
LOGO! functions
LOGO! Manual
A5E00228550-01
164
Press
B3
Off =+02000 Off threshold
LOGO! functions
165
LOGO! Manual
A5E00228550-01
4.4.18 Analog comparator
Short description
The output is set and reset, depending on the difference
Ax Ay and on two configurable thresholds.
Symbol in
LOGO! Wiring Description
Inputs Ax and
Ay You apply the analog sig-
nals whose difference you
want to analyze at the in-
puts Ax and Ay.
Use the analog inputs
AI1...AI8 (*), the analog
flags AM1...AM6, the block
number of a function with
analog output, or the analog
outputs AQ1 and AQ2.
Parameter A: Gain
Range of values:
00.00...10.00
B: Zero offset
Range of values:
10.000
On: On threshold
Range of values:
20.000
Off: Off threshold
Range of values:
20.000
p: Number of decimals
Range of values:
0, 1, 2, 3
Output Q Q is set or reset, depending
on the difference Ax – Ay
and the set thresholds..
* AI1...AI8: 0...10 V corresponds with 0...1000 (internal value).
LOGO! functions
LOGO! Manual
A5E00228550-01
166
Gain and offset parameters
For more information on the gain and offset parameters,
refer to Chapter 4.3.6.
Parameter p (number of decimals)
Does not apply to Ax, Ay, On, Off and values displayed
in a message text.
Does not apply to the comparison of on and off values!
(The compare function ignores the decimal point.)
Timing diagram
Q
for Ax - Ay > 200,
if On = Off = 200
Ax
1000
0
Ay
1000
0
Ax–Ay
1000
0
200
Functional description
The function fetches the analog values from the inputs Ax
and Ay.
Ax and Ay are each multiplied by the value of the A (gain)
parameter, and the value at parameter B (offset) is then
added to the relevant product, i.e.
(Ax gain) + offset = actual value Ax or
(Ay gain) + offset = actual value Ay.
The function forms the difference (””) between the actual
values Ax – Ay.
Output Q is set or reset, depending on difference of the
actual values Ax – Ay and the set thresholds. See the cal-
culation rule below.
LOGO! functions
167
LOGO! Manual
A5E00228550-01
Calculation rule
If the On threshold Off threshold, then:
Q = 1, if:
(actual value Ax – actual value Ay) > On
Q = 0, if:
(actual value Ax – actual value Ay) Off.
If the On threshold < Off threshold, then Q = 1, if:
On (actual value Ax – actual value Ay) < Off.
Preset of the Par parameter
The gain and offset parameters are used to adapt the sen-
sors to the relevant application.
View in programming mode:
B3 1+
On =+00000
Off =+00000
Parameter protection mode
On threshold
Off threshold
Press
Decimals in the message text
B3 2
A =00.00
B =+00000
p=0 Offset
Gain
ExampleIn a heating control system, the supply Tv and return line
temperatures Tr are to be compared, for example with a
sensor at AI2.
A control signal is to be triggered (for example ”heater
On”), when the difference between the supply and return
line temperatures is greater than 15 . The control signal is
reset when the difference is less than 5 C.
The process variable of the temperature is to be shown in
parameter assignment mode.
LOGO! functions
LOGO! Manual
A5E00228550-01
168
The thermocouples available have the the following techni-
cal data: –30 to +70C, 0 to 10 VDC.
Application Internal mapping
–30 to +70 C = 0 to 10 V DC 0 to 1000
0C 300
Offset = –30
Range of values:
–30 to +70 C = 100 1000
Gain = 100/1000 = 0.1
On threshold = 15 CThreshold = 15
Off threshold = 5 CThreshold = 5
See also Chapter 4.3.6.
Configuration (example):
B3 1+
On =+00015
Off =+00005
Protection mode
On threshold
Off threshold
Press
Decimals in the message text
(if used)
B3 2
A =00.10
B =–00030
p=0 Offset
Gain
View in parameter assignment mode (example):
B3 1
On =+00015
Off =+00005 On threshold
Off threshold
LOGO! functions
169
LOGO! Manual
A5E00228550-01
Press
B3 2
Ax =+00010
Ay =–00020
 =+00030 Q = 1 (differential value > On)
Temperature values
View in the message text (example):
Ax =+00010
Ay =–00020
Reducing the input response of the analog comparator
You can selectively delay the output of an analog compara-
tor by means of the “On-delay” and “Off-delay” special
functions. With on-delay, output Q is only set if the pulse
width of the triggering signal at input Trg ( =analog
comparator output) is longer than the on-delay time. With
off-delay, output Q is only reset if the pulse width of the trig-
gering signal at input Trg is longer than the off-delay time.
Using this method, you will obtain a virtual hysteresis and
reduce the input response to short signals.
Function block diagram
Q1
AI
A
AI
AI1
AI2
B1
B2
B3
Analog comparator
On-delay
Off-delay
LOGO! functions
LOGO! Manual
A5E00228550-01
170
4.4.19 Analog value monitoring
Short description
This special function saves the process variable of an ana-
log input to memory, and sets the output when the output
variable exceeds or drops below this stored value plus a
configurable offset.
Symbol in
LOGO! Wiring Description
Input En A positive edge (0 to 1 transi-
tion) at input En saves the ana-
log value at input Ax (”Aen”) to
memory and starts monitoring
of the analog range Aen .
Input Ax You apply the analog signal to
be monitored at input Ax.
Use the analog inputs AI1...AI8
(*), the analog flags
AM1...AM6, the block number
of a function with analog out-
put, or the analog outputs AQ1
and AQ2.
Parameter A: Gain
Range of values:
00.00...10.00
B: Zero offset
Range of values: 10.000
: Difference value for the
Aen on/off threshold
Range of values: 20.000
p: Number of decimals
Range of values:
0, 1, 2, 3
Output Q Q is set/reset, depending on
the stored analog value and
the offset.
* AI1...AI8: 0...10 V corresponds with 0...1000 (internal value).
LOGO! functions
171
LOGO! Manual
A5E00228550-01
Gain and offset parameters
For more information on gain and offset parameters, refer
to Chapter 4.3.6.
Parameter p (number of decimals)
Applies only to the Aen, Ax and values displayed in a
message text.
Timing diagram
Q
Aen +
Ax
En
Aen –
Aen
Functional description
A 0 to 1 transition at input En saves the value of the signal
at the analog input Ax. This saved process variable is re-
ferred to as “Aen”.
Both the analog actual values Ax and Aen are multiplied by
the value at parameter A (gain), and parameter B (offset) is
then added to the product, i.e.
(Ax gain) + offset = Actual value Aen, when input En
changes from 0 to 1, or
(Ax gain) + offset = Actual value Ax.
Output Q is set when the signal at input En = 1 and if the
actual value at input Ax is out of range of Aen .
Output Q is reset, when the actual value at input Ax lies
within the range of Aen , or when the signal at input
En changes to lo.
LOGO! functions
LOGO! Manual
A5E00228550-01
172
Preset of the Par parameter
The gain and offset parameters are used to adapt the used
sensors to the respective application.
View in programming mode:
B3 1+
=00000 Parameter protection mode
Differential value for the
on/of f threshold
Press
Decimals in the message text
B3 2
A =00.00
B =+00000
p=0 Offset
Gain
View in parameter assignment mode (example):
B3
=00010
Aen =–00020
Ax=+00005 Q = 1 (Ax is out of the range of
Aen )
LOGO! functions
173
LOGO! Manual
A5E00228550-01
4.4.20 Analog amplifier
Short description
This special function amplifies the value of an analog input
and outputs the result at an analog output.
Symbol in
LOGO! Wiring Description
Input Ax You apply the analog signal to
be amplified at input Ax.
Use the analog inputs AI1...AI8
(*), the analog flags
AM1...AM6, the block number
of a function with analog out-
put, or the analog outputs AQ1
and AQ2.
Parameter A: Gain
Range of values:
00.00...10.00
B: Zero offset
Range of values: 10.000
p: Number of decimals
Range of values:
0, 1, 2, 3
Output AQ This special function has an
analog output! This output can
only be connected with the
analog input of a function or
with an analog flag.
Range of values for AQ:
–32768...+32767
* AI1...AI8: 0...10 V corresponds with 0...1000 (internal value).
Gain and offset parameters
Please note the information on gain and offset parameters
in Chapter 4.3.6.
Parameter p (number of decimals)
Applies only to the AQ value in a message text.
LOGO! functions
LOGO! Manual
A5E00228550-01
174
Functional description
The function fetches the analog signal of input Ax.
This value is multiplied by the value of the A (gain) parame-
ter, and parameter B (offset) is then added to the product,
i.e. (Ax gain) + offset = actual value Ax.
The actual value Ax is output at AQ.
Preset of the Par parameter
The gain and offset parameters are used to adapt the sen-
sors to the relevant application.
View in programming mode (example):
Decimals in the message text
B3 +
A =02.50
B =–00300
p=0 Offset
Gain
View in parameter assignment mode (example):
B3
AQ =–00250
LOGO! functions
175
LOGO! Manual
A5E00228550-01
4.4.21 Latching relay
Short description
Input S sets output Q, input R resets output Q again.
Symbol in
LOGO! Wiring Description
Input S You set output Q with a sig-
nal at input S.
Input R You reset output Q with a
signal at input R. If S and
R = 1, the output is reset.
Parameter Retentivity:
/ = No retentivity
R = The status is retentive.
Output Q Q is set with a signal at in-
put S, and reset with a sig-
nal at input R.
Timing diagram
S
R
Q
Switching response
A latching relay represents a simple binary element. The
output value depends on the status at the inputs and on the
previous output status. The following table shows the logic
once again:
SnRnQComment
0 0 x The status is retentive
010Reset
101Set
1 1 0 Reset (takes priority over Set)
When retentivity is enabled, the current status of the output
signal is retained after a power failure.
LOGO! functions
LOGO! Manual
A5E00228550-01
176
4.4.22 Pulse relay
Short description
A short pulse at the input sets and resets the output.
Symbol in
LOGO! Wiring Description
Input Trg You set and reset output Q
with a signal at input Trg
(Trigger).
Input S You set output Q with a sig-
nal at input S.
Input R You reset output Q with a
signal at input R.
Parameter Selection:
RS (R input priority) or
SR (S input priority)
Retentivity:
/ = No retentivity
R = The status is retentive.
Output Q Q is set with a signal at Trg,
and reset with the next sig-
nal at Trg, if S and R = 0.
Timing diagram
Trg
Q
R
The bold printed section of the
timing diagram is also shown in
the symbol for the pulse relay.
S
LOGO! functions
177
LOGO! Manual
A5E00228550-01
Functional description
Output Q changes its status, i.e. the output is set or reset,
with each 0 to 1 transition at input Trg and if the inputs S
and R = 0.
The signal at input Trg does not influence the special func-
tion when S or R = 1.
You set the pulse relay with a signal at input S, i.e. the out-
put is set hi.
You reset the pulse relay with a signal at input R, i.e. the
output is set lo.
Status diagram
Par Qn–1 S R Trg Qn
* 0 0 0 0 0
*00 0 0 –>1 1**
* 0 0 1 0 0
* 0 0 1 0 –>1 0
* 0 1 0 0 1
* 0 1 0 0 –>1 1
RS 0 1 1 0 0
RS 0 1 1 0 –>1 0
SR 0 1 1 0 1
SR 0 1 1 0 –>1 1
* 1 0 0 0 1
*10 0 0 –>1 0**
* 1 0 1 0 0
* 1 0 1 0 –>1 0
* 1 1 0 0 1
* 1 1 0 0 –>1 1
RS 1 1 1 0 0
RS 1 1 1 0 –>1 0
LOGO! functions
LOGO! Manual
A5E00228550-01
178
Par Qn
TrgRSQn–1
SR 1 1 1 0 1
SR 1 1 1 0 –>1 1
*: RS or SR
**: Triggering signal is effective, because S and R = 0.
Depending on your configuration, either input R takes prior-
ity over input S (i.e. input S is not effective when R = 1), or
vice versa (i.e. input R is not effective when S = 1).
After a power failure, the pulse relay and output Q are reset
if you have not enabled retentivity.
View in programming mode:
B29 R
Par=RS B29 R
Par=SR
Press
or 
This special function is not available in parameter assign-
ment mode.
Note
If Trg = 0 and Par = RS, the special function “Pulse relay”
corresponds with the special function “Latching relay” (see
Chapter 4.4.21).
LOGO! functions
179
LOGO! Manual
A5E00228550-01
4.4.23 Message texts
Short description
View of a configured message text in RUN mode.
Symbol in
LOGO! Wiring Description
Input En A 0 to 1 transition at input
En (Enable) starts the out-
put of the message text.
Input P P: Priority of the message
text
Range of values: 0...30
Quit: Acknowledgment of
the message text.
Parameter Text: Input of the message
text
Par:Parameter or actual va-
lue of another, already
programmed function
(see “Visible parame-
ters or process vari-
ables”)
Time: Display of the contin-
uously updated time-of-
day
Date: Display of the continu-
ously updated date
EnTime: Display of the time
of the 0 to 1 transition
of the signal at input En
EnDate: Display of the date
of the 0 to 1 transition
of the signal at input En
Output Q Q remains set as long as
the message text is set.
LOGO! functions
LOGO! Manual
A5E00228550-01
180
Restriction
A maximum of 10 message text functions are available.
Functional description
With the 0 to 1 transition of the signal at input En and when
the system is in RUN, the message text you have config-
ured (process variable, text, time-of-day, date) is output to
the display.
Acknowledgment disabled (Quit = Off):
The message text is hidden when the status of the signal at
input En changes from 1 to 0.
Acknowledgment enabled (Quit = On):
When the status of the signal at input En changes from 1 to
0, the message text is output until it is acknowledged with
OK. When En = 1, you can not acknowledge the message
text.
When multiple message text functions are triggered with
En=1, the message text that has the highest priority is
shown (0 = lowest, 30 = highest). This also means, that a
newly activated message text is shown only if its priority is
higher than that of previously activated message texts.
After a message text is disabled or acknowledged, the
function automatically shows the previously active mes-
sage text that takes the highest priority.
You can change the view and the message texts by press-
ing the keys and .
LOGO! functions
181
LOGO! Manual
A5E00228550-01
ExampleThis is how tow message texts could be shown:
Display field of the LOGO! in RUN mode
Date and current time-of-day
(only for versions with real-time
clock).
2003-01-27
Mo 09:00
Key
Motor 2
3000
hours
MAINTENANCE! Example: Message text with
priority 10
Motor 5
STOP AT
10:12
!!Action!! Example: Message text with
priority 30
Press
Input P configuration
To configure the priority and the acknowledgment (pro-
gramming mode):
Priority
Status of the acknowledgment
B33 +
Priority
00
Quit=Off
“+” means: The parameters and actual
values in an active message text can be
edited
1. Increase the priority to 1: Cursor on ’0’ +
2. Change to ’Quit’: Press
3. Enable ’Quit’: Press or
LOGO! functions
LOGO! Manual
A5E00228550-01
182
LOGO! shows:
B33 +
Priority
01
Quit=On Priority 1
Status of acknowledgment ’On’
4. Confirm the entries with OK
Visible parameters or process variables
The following parameter or process variables can be dis-
played in a message text:
Special function Parameter or process vari-
able visible in a message
text
Times
On-delay T, Ta
Off-delay T, Ta
On-/Off-delay Ta, TH, TL
Retentive on-delay T, Ta
Wiping relay
(pulse output) T, Ta
Edge triggered
wiping relay Ta, TH, TL
Asynchronous pulse generator Ta, TH, TL
Random generator TH, TL
Stairway lighting switch Ta, T, T!, T!L
Multiple function switch Ta, T, TL, T!, T!L
Weekly timer 3*on/off/day
Yearly timer On, Off
Counter
Up/down counter Cnt, On, Off
Hours counter MI, Q, OT
LOGO! functions
183
LOGO! Manual
A5E00228550-01
Special function Parameter or process vari-
able visible in a message
text
Threshold trigger fa, On, Off, G_T
Analog
Analog threshold trigger On, Off, A, B, Ax
Analog differential trigger On, , A, B, Ax, Off
Analog comparator On, Off, A, B, Ax, Ay, A
Analog value monitoring , A, B, Ax, Aen
Analog amplifier A, B, Ax
Miscellaneous
Latching relay
Pulse relay
Message texts
Softkey On/Off
Shift register
Changing parameters in the active message text
You can allow editing of parameter and process variables in
an active message text by entering a “+” in the first line. To
prevent changes, enter a “–” sign.
When the message text is active, press ESC to select the
editing mode.
Note
You must keep the ESC key pressed at least for one sec-
ond.
Press and to select the relevant line (you can only se-
lect lines that contain parameters). Press OK to change the
parameter. Use the keys , , and .
LOGO! functions
LOGO! Manual
A5E00228550-01
184
Confirm your changes with OK. You can now edit further
parameters in the message text (if any exist). Press ESC to
exit editing mode.
Key input simulation in the active message text
You can enable the four cursor keys C , C , C and
C in an active message text by pressing ESC plus the
relevant cursor key.
Preset of the Par parameter
To configure the message text (programming mode):
..
..
..
..
Parameter assignment
screen form for Par
Press to select a line for the message text.
Press and to select the relevant type of message text
(Text, Par, Time...). Confirm with OK.
Further entries are required when “Text” or “Par” are se-
lected:
Press and to select the letter to be displayed in the
text. To move the cursor from one position to the other,
press and .
The list of available characters is here the same as for the
circuit program name. The character set is found in Chap-
ter 3.6.4.
Press OK to confirm your changes, and press ESC to exit
the editing mode.
To output a parameter (e.g. a process variable or function
value) as message text, select the relevant line with and
then press :
Par
..
..
..
LOGO! functions
185
LOGO! Manual
A5E00228550-01
Press OK to open the editing mode:
B01>T
Press and to select the blocks to be displayed and the
corresponding parameters.
Press and to select the block or parameter you want to
view.
Select the parameter by pressing OK.
Press ESC to exit the parameter assignment mode and to
apply your changes.
LOGO! functions
LOGO! Manual
A5E00228550-01
186
4.4.24 Softkey
Short description
This special function has the effect of a mechanical push-
button or switch.
Symbol in
LOGO! Wiring Description
En
Par QInput En Output Q is set with a 0 to 1
transition of the signal at in-
put En (Enable), and if
’Switch=On’ was confirmed
in parameter assignment
mode.
Parameter Programming mode:
Selecting the function for
pushbutton action for the
duration of one cycle, or for
switching action.
Start: On or off state, initial-
ized at the first start of
the program if retentiv-
ity is disabled.
Retentivity:
/ = No retentivity
R = The status is retentive.
Parameter assignment
mode (RUN mode):
Switch: Switches the mo-
mentary pushbutton or
switch on or off.
Output Q Switches on if En=1 and
Switch=On was confirmed
with OK.
Factory setting
The default setting at ’Par’ is ’Momentary pushbutton’
action.
LOGO! functions
187
LOGO! Manual
A5E00228550-01
Timing diagram
Switch
En
Q
Functional description
In parameter assignment mode, the output is set with a sig-
nal at input En, if the ’’Switch’ parameter is set to ’On’ and
confirmed with OK. Whether the function was configured
for pushbutton or switching action is here of no concern.
The output is reset to ’0’ in the following three cases:
After a 0 to 1 transition at input En.
When the function was configured for momentary push-
button action, and one cycle has expired since it was
switched on.
When the position ’Off’ was selected at the ’Switch’ pa-
rameter and confirmed with OK in parameter assign-
ment mode.
If retentivity is not set, output Q is initialized after a power
failure according to your configuration at the “Start” param-
eter.
Preset of the Par parameter
View in programming mode (example):
1. Select the ’Softkey’ function.
2. Select input En and confirm with OK. The cursor is now
positioned below ’Par’.
3. Change to the input mode of ’Par’: Confirm with OK
(the cursor is now positioned to ’On’)
B33 +/
On=
Start=On The function is set for ’momentary
pushbutton’ action
The status is not retentive
Q is set in the first cycle after the
program start
LOGO! functions
LOGO! Manual
A5E00228550-01
188
To change ’Par’ to ’Switch’ action and the initialization sta-
tus after the program start:
4. To select ’Momentary pushbutton’ or ’Switch’ action:
Press or
B33 +/
On/Off
Start=On ’Switch’ function
The status is not retentive
Q is set in the first cycle after the
program start
5. To change to the start state: Press or
6. To change the start state: Press or
B33 +/
On/Off
Start=Off ’Switch’function
The status is not retentive
Q is reset in the init cycle after the
program start
7. Confirm your entries with OK
View in parameter assignment mode (example):
Here, you can set or reset the ’Switch’ parameter (On/Off).
When in RUN, the LOGO! shows the following display:
B33
Switch=Off The pushbutton/switch is here
switched off
Let us assume you want to set ’Switch’ (On).
1. Change to the editing mode: Confirm with OK
(the cursor is now positioned on ’Off’)
2. To change from ’Off’ to ’On’: Press or
3. Confirm your entries with Press OK
LOGO! functions
189
LOGO! Manual
A5E00228550-01
B33
Switch=On The momentary pushbutton/switch
is here switched on
LOGO! functions
LOGO! Manual
A5E00228550-01
190
4.4.25 Shift register
Short description
You can use the shift register function to read the value of
an input and to shift its bits left or right. The output value
corresponds with the configured shift register bit. The shift-
ing direction can be changed at a special input.
Symbol in
LOGO! Wiring Description
Input In Input read at the start of the
function.
Input Trg A positive edge (0 to 1 tran-
sition) at input Trg (Trigger)
starts the special function.
1 to 0 transitions are irrele-
vant.
Input Dir The signal at input Dir de-
termines the shifting direc-
tion for the shift register bits
S1...S8 an:
Dir = 0: Shift up (S1 >> S8)
Dir = 1: Shift down (S8 >>
S1)
Parameter Shift register bit that deter-
mines the value at output Q.
Possible settings:
S1 ... S8
Retentivity:
/ = No retentivity
R = The status is retentive.
Output Q The output value corre-
sponds with the configured
shift register bit.
LOGO! functions
191
LOGO! Manual
A5E00228550-01
Functional description
The function reads the value at input In with a positive edge
(0 to 1 transition) at input Trg (Trigger).
This value is applied to shift register bit S1 or S8, depend-
ing on the shifting direction:
Shift up: The value at input In is set at S1; the previous
value at S1 is shifted to S2; the previous value at S2 is
shifted to S3 etc.
Shift down: The value at input In is set at S8; the pre-
vious value at S8 is shifted to S7; the previous value at
S7 is shifted to S6 etc.
Output Q returns the value of the configured shift register
bit.
If retentivity is disabled, the shift function restarts at S1 or
S8 after a power failure. When enabled, retentivity always
applies to all shift register bits.
Note
The special function shift register can be used only once in
the circuit program.
Timing diagram
Trg
In
Q
Dir
S1 0101101
S2 0010111
S3 0001010
S4 0000101
S5 1000010
S6 1100000
S7 0110000
S8 0011001
S4 = Q (example)
Shift up Shift down
LOGO! functions
LOGO! Manual
A5E00228550-01
192
Preset of the Par parameter
View in programming mode:
Preset
Retentivity enabled
B3 R
Q=S8
Press
B3 R
Q=S7
etc. You can select S8...S1.
This special function is not available in parameter assign-
ment mode.
LOGO! functions
193
LOGO! Manual
A5E00228550-01
5 Configuring LOGO!
When speaking of ’parameter assignment’, we refer to the
configuration of the block parameters. You can set delay
times for time functions, the switching times of the timers,
the counter threshold value, the monitoring interval of an
hours counter and the on and off thresholds of the trigger.
You can configure the parameters
In programming mode
In parameter assignment mode
In programming mode, the author of the circuit program
also sets the parameters.
We have added the parameter assignment mode to allow
the editing of parameters without having to modify the cir-
cuit program. This feature is available for the user to edit
parameters, without having to change to programming
mode, for example. The advantage: The circuit program
remains protected, but can be adapted by the user to meet
specific requirements.
Note
In parameter assignment mode, the LOGO! continues exe-
cution of the circuit program.
LOGO! Manual
A5E00228550-01
194
5.1 Selecting parameter assignment mode
Press ESC to change from RUN to parameter assignment
mode:
2003-01-27
Mo 09:00 Press
ESC
...
Note
The following applies to earlier device versions up to
0BA2:
You open parameter assignment mode by pressing
ESC+OK.
LOGO! changes to parameter assignment mode and opens
the parameter assignment menu:
>Stop
Set Param
Set Clock
Prg Name
Confi
g
urin
g
LOGO!
195
LOGO! Manual
A5E00228550-01
Description of the four menu items of the parameter assignment
menu
Stop
You select this command to stop your circuit program and
thus change to the main menu of programming mode. To
do so:
1. To move the ’>’ cursor to ’Stop’: Press or
2. To confirm ’Stop’: Press OK
Stop Prg
>No
Yes
3. To move the ’>’ cursor to ’Yes’: Press or
4. To confirm ’Yes’: Press OK
LOGO! shows the main menu of the programming mode:
>Program..
Card..
Clock..
Start
Set Param
For information on the various parameters, refer to the
Chapters 5.1.1 to 5.1.3.
Set clock
The ’Set Clock’ command is only executed if your LOGO! is
equipped with a real-time clock (LOGO!..C). You set the
real-time clock of LOGO! by means of the ’Set Clock’ com-
mand. For details, refer to Chapter 5.2.
Prg Name
This menu command only allows you to read the name of
your circuit program. It is not possible to modify this name
in parameter assignment mode. (see Chapter 3.6.4.)
Confi
g
urin
g
LOGO!
LOGO! Manual
A5E00228550-01
196
5.1.1 Parameters
Note
In the following discourse on parameters, we presume that
the respective default parameter protection mode (”+”) has
been maintained. This is prerequisite for viewing and edit-
ing parameter in the parameter assignment mode!
See Chapter 4.3.5 and the example on Page 72.
Parameters are, for example:
The delay times of a timer relay.
The switching times (cams) of a timer switch.
Counter thresholds
The monitoring time for hour counters
The trigger thresholds.
Each one of the parameters is identified by its block num-
ber (Bx) and the shortname of the parameter. Examples:
T: ...is a configurable time.
MI: ...is a configurable time interval.
Note
LOGO!Soft Comfort also allows you to assign names to
blocks (for more information, refer to Chapter 7).
Confi
g
urin
g
LOGO!
197
LOGO! Manual
A5E00228550-01
5.1.2 Selecting the parameters
To select a parameter:
1. On the parameter assignment menu, select
Set Param’: Press
or
Stop
>Set Param
Set Clock
Prg Name
2. Confirm with OK.
LOGO! shows the first parameter. If no parameter can
be set, you can press ESC to return to the parameter
assignment menu.
B9 1 Display number for functions with
several displays
The value set at pa-
rameter T (Time)
The current time in the
LOGO!
Press ESC
No Param No parameters for editing:
Press ESC to return to the paramet
e
ment menu
T =60:00s
Ta =06:00s
Block number
3. Now, select the desired parameter:
Press or .
4. Select the parameter you want to edit, and press OK.
Confi
g
urin
g
LOGO!
LOGO! Manual
A5E00228550-01
198
5.1.3 Modifying parameters
You first select the parameter you want to edit (see Chapter
5.1.2).
You change the value of the parameter in the same way as
you did in programming mode:
1. Move the cursor to the point at which you want to make
the change: Press or
2. To change this value: Press or
3. To apply the value: OK
B9
Ta =06:00s
Move: Press or
Done: OK
T =80:00s
Change: Press or
Note
Alongside with a change of the time parameters when the
system is in RUN, you can also change the timebase (s =
seconds, m = minutes, h = hours). This does not apply if
the time parameter represents the result of another func-
tion (for an example, see Chapter 4.4.1). In this case you
can neither change the value nor the timebase.
The current time is reset to zero when you change the
timebase.
Current value of a time T
View of a time T in parameter assignment mode:
B9
Ta =06:00s
T =80:00s Configured time T
Current time Ta
You can change the configured time T.
Confi
g
urin
g
LOGO!
199
LOGO! Manual
A5E00228550-01
Current timer value
View of a timer cam in parameter assignment mode:
B1 1
Off=10:00
D=M–W–F––
On =09:00
You can change the on/off times and the day.
Current value of a counter
View of a counter parameter in parameter assignment
mode:
B3
On =001234
Off=000000
Cnt=000120
or B3
On =123456
OffB021
Cnt=000120
Current
count value
You can change the on/off threshold. This does not apply if
the on or off threshold represents the result of another
function (in the example, this is B21, see Chapter 4.4.13).
Current value of an hour counter
View of an hour counter parameter in parameter assign-
ment mode:
B16
MI = 0100h
MN = 0017h
OT =00083h Time-to-go
Total operating hours
Time interval
You can edit the configured time interval MI.
Confi
g
urin
g
LOGO!
LOGO! Manual
A5E00228550-01
200
Current value of a threshold trigger
View of the parameter of a threshold trigger in parameter
assignment mode:
B15
On =0009
Off =0005
fa =0010
On threshold
Off threshold
Process variable
You can change the on/off threshold.
Confi
g
urin
g
LOGO!
201
LOGO! Manual
A5E00228550-01
5.2 Setting the time-of-day and date
(LOGO! ... C)
You can set the TOD and the date
In parameter assignment mode
In programming mode.
To set the TOD and the date in parameter assignment mode:
1. Select parameter assignment mode. (see Chapter 5.1.)
2. On the parameter menu, select ’Set Clock
(Press or ), and then press OK.
Set Clock
Mo 15:30
YYYY-MM-DD
2003-01-27
The cursor is positioned
on the weekday.
3. Select the day of the week: Press or
4. Move the cursor to the next position: Press or
5. To change the value: Press or
6. To set the correct TOD, repeat steps 4 and 5.
7. To set the correct date, repeat steps 4 and 5
8. To confirm your entries: Press OK
To set the TOD and the date in programming mode:
1. Select programming mode (ESC / >Stop). (see Chapter
3.6.1.)
2. On the main menu, select ’Clock.. (Press or ),
and then press OK.
3. Go to the clock menu, and select ’Set Clock
(Press or ), and the press OK.
You can now set the weekday and the time as described
earlier (as of step 3.).
Confi
g
urin
g
LOGO!
LOGO! Manual
A5E00228550-01
202
Confi
g
urin
g
LOGO!
203
LOGO! Manual
A5E00228550-01
6 LOGO! program module (card)
LOGO! allows you to store only one circuit program in its
memory. If you want to modify the circuit program or create
a further one without deleting the first, you must archive it
somewhere. One of the options is to use a program mod-
ule/card.
The circuit program stored in LOGO! can be copied to a
program module (card). You can then insert the program
module/card in another LOGO! to copy the circuit program.
using the program module (card), you can:
Archiving circuit programs
Reproducing circuit programs
Send circuit programs by mail
Write and test your circuit program at the office, and
then transfer it to a LOGO! in the switching cabinet.
LOGO! is supplied with a hood. The program module (card)
is supplied separately.
Note
You do not need a module to backup the circuit program in
your LOGO!.
The LOGO! circuit program is automatically stored in non-
volatile memory when you exit the programming mode.
We shall now introduce the program module (Card) you
can order for LOGO! The card can backup all data in the
LOGO! circuit program memory.
The order number is found in the appendix.
LOGO! Manual
A5E00228550-01
204
Compatibility
... to current versions (0BA4 devices):
Data written to the program module (card) in a 0BA4 ver-
sion can be read in all other 0BA4 versions.
... to earlier versions (0BA0 to 0BA3 devices):
A program module (card) that contains data written in ear-
lier versions (0BA0...0BA3 devices) can not be used in
LOGO! devices of the 0BA4 generation. When the LOGO!
system detects such an ’old’ program module (card), the
message “Unknown Card / Press ESC” is output to the dis-
play.
Vice versa, an 0BA4 program module (card) can not be
used in LOGO! devices of the 0BA0...0BA3 family.
Upward compatibility of circuit programs
Circuit programs written for the previous versions
0BA0...0BA3 can only be applied in 0BA4 units by means
of LOGO!Soft Comfort.
LOGO! program module (card)
205
LOGO! Manual
A5E00228550-01
6.1 Security function (CopyProtect)
We principally distinguish between program modules (card)
with and without circuit program/copy protection.
Unprotected program module (card)
You can edit circuit programs without restrictions, and ex-
change data between the program module (Card) and the
device.
Protected program module (card)
A circuit program is protected when it is transferred from a
protected program module (card) to the LOGO!.
To execute this circuit program in LOGO!, the protected
program module (card) must remain inserted during RUN,
i.e. the circuit program stored on the program module
(card) can not be copied to other LOGO! devices.
Over and above that, a protected circuit program is write–
protected.
A circuit program with password protection is no longer
protected after the correct password has been entered, i.e.
you can then edit the program and remove the module.
Note
You need to assign a password when you create the circuit
program for a protected module (card) to be able to edit it
at a later time (see Chapter 3.6.5).
LOGO! program module (card)
LOGO! Manual
A5E00228550-01
206
Correlation between the password and the protective function
Password Protec-
tion Editing Copying Deleting
Yes Yes Yes
Yes Yes, with
password Yes Yes, with
password
Yes No No Yes
Yes Yes Yes, with
password Yes, with
password Yes, with
password
Assigning a security function
To assign a circuit program and copy protection function to
the program module (card), open the programming mode
and select “Card”.
1. Switch the LOGO! to programming mode (ESC / >Stop).
2. The main menu opens. To select the ’Card’ command:
Press or
3. To apply you entry in ’Card’: Press OK
4. Move the ’>’ cursor to ’CopyProtect’: Press or
5. To apply ’CopyProtect’: Press OK
LOGO! shows the following display:
>No
Yes
CopyProtect:
No
The current protection setting is shown in the bottom line.
This function is disabled by default (”No“: disabled).
LOGO! program module (card)
207
LOGO! Manual
A5E00228550-01
Enabling the security function
To set the security function:
1. Move the ’>’ cursor to ’Yes’: Press or
2. Confirm ’Yes’: Press OK
LOGO! shows the following display:
>No
Yes
CopyProtect:
Yes
Note
This only generates a circuit program and copy protection
for the program module (card); the circuit program itself
must be copied separately from the LOGO! to the program
module (card) (can also be done initially).
You can always change the “No” status (security function
disabled) to “Yes” (security function enabled).
A status change from “Yes” (security function enabled) to
“No” (security function disabled) is only possible if the pro-
gram module (card) does not contain a circuit program.
LOGO! program module (card)
LOGO! Manual
A5E00228550-01
208
6.2 Inserting and removing the program
module (card)
When you remove a program module (card) with circuit
program and copy protection attribute, note the following:
The circuit program stored on the program module (card)
can only be executed if the card remains inserted during
system runtime.
After you have removed the program module (card),
LOGO! outputs the message’No Program’. A removal of
the program module (card) during RUN will lead to imper-
missible operating states.
Always heed the following warning:
!Warning
Do not touch the open slot of the program module (card)
neither with your fingers, nor with a metallic or conductive
object.
The program module (card) socket may be under voltage if
the polarity is reversed at L1 and N by accident.
The program module (card) may only be removed by quali-
fied personnel.
LOGO! program module (card)
209
LOGO! Manual
A5E00228550-01
Removing the program module (card)
To remove the program module (card):
Carefully insert a screwdriver into the groove on the upper
end of the program module (card) and lever the module
partially out of the slot.
You can now remove the program module (card).
Inserting a program module (card)
The entry of the program module (card) slot is chamfered
on its bottom right. The edge of the program module (card)
is chamfered accordingly. This encoding prevents you from
inserting the program module (card) the wrong way round.
Insert the program module (card) into the slot and push it in
until it engages.
LOGO! program module (card)
LOGO! Manual
A5E00228550-01
210
6.3 Copying data from the LOGO! to the pro-
gram module (card)
To copy the circuit program to the program module (card):
1. Insert the program module (card) into the slot.
2. Switch the LOGO! to programming mode (ESC / >Stop).
>Program..
Card..
Clock..
Start
LOGO! main menu
3. The main menu opens. To select the ’Card’ command:
Press or
4. Press OK. The transfer menu opens.
> Card
Card
CopyProtect = LOGO!
5. Move the ’>’ cursor to ’LOGO Card’ (if required)
Press or
6. Press OK.
LOGO! now copies the circuit program to the program mod-
ule (card).
When LOGO! has finished copying, it automatically returns
you to the main menu:
>Program..
Card..
Clock..
Start
The circuit program backup is now stored on your program
module (card) and you can remove the card. Do not forget
to replace the cap.
LOGO! program module (card)
211
LOGO! Manual
A5E00228550-01
If power fails while LOGO! is copying the circuit program,
repeat the process after Power On.
Note
The password X of a protected circuit program in LOGO!
also applies to the copied program version on your pro-
gram module (card).
LOGO! program module (card)
LOGO! Manual
A5E00228550-01
212
6.4 Copying data from the program module
(card) to LOGO!
You have a program module (card) that contains your cir-
cuit program. There are two ways to copy it to LOGO!:
Automatically during the startup of LOGO!
(POWER ON) or
by means of the “Card” menu of LOGO!.
Note
If the program on the module/card is protected with the
password X, the copied program in the LOGO! is also pro-
tected with the same password.
Automatic copying during the startup of LOGO!
Proceed as follows:
1. Switch off the power supply to the LOGO!
(POWER OFF)
2. Remove the slot cover.
3. Insert the program module/card into the relevant slot.
4. Switch on the power supply to the LOGO!
LOGO! copies the program from the program module/card
to LOGO!. When LOGO! has finished copying, it opens the
main menu:
>Program..
Card..
Clock..
Start
LOGO! program module (card)
213
LOGO! Manual
A5E00228550-01
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.
1. Move the ’>’ cursor to ’Start’: Press or
2. Press OK.
Copying by means of the “Card”menu
For information on the replacement of a program module
(card), also note Chapter 6.2.
To copy a program from the program module (card) to
LOGO!:
1. Insert the program module (card)
2. Switch the LOGO! to programming mode (ESC / >Stop).
>Program..
Card..
Clock..
Start
3. Move the ’>’ cursor to ’Card’: Press or
4. Press OK. The transfer menu opens.
5. Move the ’>’ cursor to ’Card LOGO’:
Press or
= LOGO!
Card
>Card
CopyProtect
6. Press OK.
LOGO! copies the circuit program from the program mod-
ule (card) to LOGO!. When LOGO! has finished copying, it
automatically returns to the main menu.
LOGO! program module (card)
LOGO! Manual
A5E00228550-01
214
LOGO! program module (card)
215
LOGO! Manual
A5E00228550-01
7 LOGO! Software
LOGO!Soft Comfort is available as a programming pack-
age for the PC. This software provides many features, for
example:
A graphic interface for offline creation of your circuit pro-
gram by means of Ladder Diagram (contact chart / cir-
cuit diagram) or Function Block Diagram (function chart)
Simulation of your circuit program on the PC
Generating and printing of an overview chart for the cir-
cuit program
Saving a backup of the circuit program on the hard drive
or other media
Comparing circuit programs
Easy configuration of blocks
Transferring the circuit program
from the LOGO! to the PC and
from the PC to LOGO!
Reading the values of the hour counter
Setting the TOD
Summertime/wintertime conversion
Online test: Display of status changes and process vari-
ables of LOGO! in RUN mode:
Status of a digital I/O, flags, shift register bits and
cursor keys
The values of all analog I/Os and flags
The results of all blocks
The current values (including the times) of selected
blocks
Stopping circuit program execution via the PC (STOP).
LOGO! Manual
A5E00228550-01
216
The LOGO! alternative
As you can see, LOGO!Soft Comfort represents an alterna-
tive to conventional engineering methods:
1. You start by developing the circuit program on your
desktop.
2. You simulate the circuit program on your computer and
verify its functions, before you actually implement it in
your system.
3. You can add comments to the circuit program and
create hardcopies.
4. You save a copy of your circuit program to the file sys-
tem on your PC, to make it directly available for any
modifications.
5. It takes only a few key actions to download the circuit
program to LOGO!.
LOGO!Soft Comfort
LOGO!Soft Comfort allows you the efficient, easy and con-
cise creation of your circuit programs on the PC (”Wiring by
means of Softkey“). After you have created the circuit pro-
gram, you can either let the system decide which LOGO!
version it requires for your program, or predetermine the
relevant LOGO! version for the circuit program.
Particularly user-friendly functions are;
Offline program simulation
Simultaneous display of the status of several special
functions
Extensive options of circuit program documentation
Display of the states and process variables of LOGO! in
RUN mode
a comprehensive Online Help.
LOGO! Software
217
LOGO! Manual
A5E00228550-01
LOGO!Soft Comfort runs under Windows 95/98,
Windows NT 4.0, Windows Me, Windows 2000,
Windows XP, Linuxand Mac OS X. LOGO!Soft Com-
fort is capable of client/server operation and offers you a
high degree of freedom and comfort for creating your circuit
program.
LOGO!Soft Comfort V4.0
This is the current version of LOGO!Soft Comfort. You will
find all the functions and the functionality of the devices
described in this manual in the version 4.0 and later.
Updating LOGO!Soft Comfort versions V1.0 up to V3.0
The update can only be installed for the full version of
LOGO!Soft Comfort V1.0, V2.0 or V3.0.
order numbers are found in Appendix E.
Updates and info
You can download demo versions of the software free of
charge from the Internet address specified in the preface.
LOGO! Software
LOGO! Manual
A5E00228550-01
218
7.1 Connecting the LOGO! to a PC
Connecting the PC cable
To connect the LOGO! to a PC, you need the LOGO! PC
cable (order number is found in Appendix E).
Remove the cap or program module (card) from your
LOGO! and connect the cable to this socket. Connect the
other end of the cable to the serial port of your PC.
Connecting the PC cable to the USB port
If your PC is only equipped with a USB interface (Universal
Serial Bus), you will need a converter and a device driver to
connect the LOGO! cable to this port. Follow the instruc-
tions on the screen when you install the driver for the con-
verter.Make sure you specify the correct Windows OS ver-
sion when you select the driver.
Switching LOGO! to PCLOGO mode
1. Switch the LOGO! with/without display to STOP from
your PC (refer to the LOGO!Soft Comfort Online Help),
or select the ESC / >Stop command on a device with
display and confirm the entry with ’Yes’.
When LOGO! is in STOP and online with the PC, the fol-
lowing PC commands are accepted:
Switch LOGO! to RUN
Read/write the circuit program
Read/write the summertime/wintertime
2. When you start the upload/download in STOP, the fol-
lowing display appears automatically:
PC= LOGO!
LOGO! Software
219
LOGO! Manual
A5E00228550-01
Note
Earlier versions up to 0BA3 with/without display are auto-
matically switched to PCLOGO mode as follows:
1. Switch off the power supply to the LOGO!.
2. Remove the cover or the program module (card) and
connect the cable to this socket.
3. Switch on power.
LOGO! switches automatically to PC LOGO mode.
The PC can now access the LOGO! For information on
this function, refer to the LOGO!Soft Comfort Online Help.
For more information on LOGO! versions without display,
refer to Appendix C.
Closing the PCLOGO mode
When the data transfer is completed, the connection to the
PC is shut down automatically.
Note
If the circuit program created with LOGO!Soft Comfort is
password protected, both the circuit program and the
password are downloaded to LOGO!. The password
prompt is enabled at the end of the data transfer.
The upload of a password protected program created in
LOGO! is only possible after the correct password is en-
tered in LOGO!Soft Comfort.
LOGO! Software
LOGO! Manual
A5E00228550-01
220
LOGO! Software
221
LOGO! Manual
A5E00228550-01
8 Applications
We have provided a small collection of applications in this
manual to give you an impression of the versatility of
LOGO!. For these examples we have recorded once again
the original solution of the circuit diagram, and compared it
with the LOGO! solutions.
You can find solutions for the following tasks: Page
Stairway or corridor lighting system 223
Automatic door 227
Ventilation system 234
Factory gate 239
Central controlling and monitoring of several
factory gates 243
Luminous rows 247
Service water pump 251
Further applications 255
LOGO! Manual
A5E00228550-01
222
Note
LOGO! applications are available to all our customers free
of charge. The examples provided are noncommittal, serve
as general information about the fields of application for
LOGO!, and may be different to user-specific solutions.
The user operates the system at his own responsibility. We
refer to the relevant national standards and system-related
installation regulations.
Although you have four inputs available for logic opera-
tions (basic functions, see Chapter 4.2), the following fig-
ures will only show a maximum of three inputs for reasons
of clarity. You program this fourth input and assign parame-
ters just like the other three inputs.
Errors can not be ruled out, and the right to make changes
is reserved.
These application and tips for further applications are also
found on the Internet under the URL specified earlier in the
preface.
Applications
223
LOGO! Manual
A5E00228550-01
8.1 Stairway or corridor lighting
8.1.1 Requirements for a stairway lighting system
The basic requirements for a stairway lighting system are
as follows:
When someone is using the stairway, the lighting should
be switched on.
If no-one is in the stairway, the lights should be switched
off in order to save energy.
8.1.2 Previous solution
The two conventional options for switching the lights:
With a pulse relay
With an automatic stairway lighting switch
The wiring of both these lighting systems is identical.
ÎÎÎ
ÎÎÎ
Lights
Push-
buttons
Distribution with
pulse relay
or
automatic
stairway
lighting switch
Distribution box
Components used
Momentary switches
Automatic stairway lighting switch or pulse relay
Applications
LOGO! Manual
A5E00228550-01
224
Lighting system with pulse relay
Function of a lighting system with pulse relay:
Press any pushbutton: The lighting is switched on
Press any of the pushbuttons once again: The lighting is
switched off.
Disadvantage: People often forget to switch off the lights.
Lighting system with an automatic stairway lighting switch
Function of a lighting system with automatic stairway light-
ing switch:
Press any pushbutton: The lighting is switched on
The lights are switched off automatically when the pre-
set time has expired.
Disadvantage: The lights can not be switched on for a lon-
ger period of time (e.g. when cleaning the stairway). The
switch for permanent lighting is usually located on the auto-
matic stairway lighting switch and may be difficult or impos-
sible to access.
8.1.3 Lighting system with LOGO!
A LOGO! system allows you to replace the automatic
stairway lighting switch or the pulse relay. You can also im-
plement both functions (timed off-delay and pulse relay) in
a single unit. What is more, you can incorporate extra func-
tions without making any alterations to the wiring. Here are
some examples:
Pulse relay with LOGO!
Automatic stairway lighting switch with LOGO!
Multiple function switch with LOGO!
Switch light on
Switch on permanent lighting
Switch light off
Applications
225
LOGO! Manual
A5E00228550-01
Wiring of a lighting system with LOGO! 230RC
ÏÏ
ÏÏ
ÏÏ
ÏÏ
Lamps
Switches
L1N I1 I3I6I7I8
Q1 Q2 Q3 Q4
L
N
PE
I4 I5I1 I2 I3I1 I2 I3
The external wiring of a lighting system with a LOGO! is no
different than it is for a conventional stairway and corridor
lighting system. Only the automatic stairway lighting switch/
pulse relay is replaced. Supplementary functions are en-
tered directly in LOGO!.
Pulse relay with LOGO!
I1Switch: Q1
Lamps
x
Output Q1 is toggled with a pulse signal at input I1.
Automatic stairway lighting switch with LOGO!
I1
Momentary
switch: Q1
Lights
T
06:00m
Output Q1 is set for the duration of 6 minutes with a pulse
signal at input I1.
Applications
LOGO! Manual
A5E00228550-01
226
Multiple function switch with LOGO!
I1
Switch: Q1
Lights
TH / TL
Output Q1 is set for the duration of a preset time TH with a
pulse signal at input I1.
The permanent lighting function is enabled by keeping the
momentary switch pressed for a specified time TL.
8.1.4 Special features and expansion options
Other options for increasing comfort or saving energy are,
for example:
A flashing function that indicates that the light is about to
be switched off automatically.
You can integrate various central functions:
Central off
Central on (panic button)
Control of all lamps or individual circuits by means of
a daylight control switch
Controlling by means of an integrated timer
(e.g. permanent lighting only until 24.00 h; disabled
at specific times)
Automatically switching off the permanent lighting on
expiration of a preset time (e.g. after 3 hours)
Applications
227
LOGO! Manual
A5E00228550-01
8.2 Automatic door
You often find automatic door control systems at the en-
trance to supermarkets, public buildings, banks, hospitals
etc.
8.2.1 Requirements of an automatic door
When a person approaches the door, it must open auto-
matically.
The door must remain open until the doorway is cleared.
When the doorway is cleared, the door must close auto-
matically with a short delay.
ÌÌÌÌÌ
ÑÑÑÑÑ
ÑÑÑÑ
ÑÑÑÑ
ÑÑÑÑ
ÑÑÑÑ
ÑÑÑÑ
ÑÑÑÑ
ÑÑÑÑ
ÑÑÑÑ
ÌÌÌÌ
ÌÌÌÌ
ÌÌÌÌ
ÌÌÌÌ
ÌÌÌÌ
ÌÌÌÌ
ÌÌÌÌ
ÌÌÌÌ
Out-
side
Inside
B1
B2
Limit switch
closed Limit switch
open
Master switch
Q1
S1 S2
Motion detector
Master switch
Motion detector
Motion detector
The door is usually driven by a motor that is 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.
Applications
LOGO! Manual
A5E00228550-01
228
8.2.2 Conventional solution
K1 K2
K2 K1
K3 K3
Open Close
S2 S1
K3
B1 B2 K3
K4
K4
B2
K3
B1
S2
Open door Waiting time
Auxiliary circuit
L1
N
When someone enters the detection range of one of the
motion sensors B1 or B2, the door opening motion is initi-
ated by setting K3.
After the detection range of the two motion sensors has
been cleared at least for a minimum time, K4 enables the
closing motion.
8.2.3 Door control system with LOGO!
LOGO! can simplify this circuit considerably. You only need
to connect the motion sensors, limit switches and the con-
tactor relays to the LOGO! .
Applications
229
LOGO! Manual
A5E00228550-01
Wiring of a door control system with LOGO! 230RC
L1N I4 I5I6I7I8
Q1 Q2 Q3 Q4
K1 K2
Open Close
B1 B2 S2S1
L1
N
I1 I2 I3
1 2 1 2 1 2 1 2
Components used
K1 contactor relay
open
K2 contactor relay
Close
S1
(break contact)
limit switch
Closed
S2
(break contact)
limit switch
Open
B1
(make contact)
infrared motion sensor
outside
B2
(make contact)
infrared motion sensor
inside
Applications
LOGO! Manual
A5E00228550-01
230
Door control system with LOGO!circuit diagram
&
1
1
1
&
I4
I3
Q2
Q1
RS
I1
I2
1
I4 T=
4s
Close
Open
x &
x
Q1
Q2
This is what the circuit diagram of the conventional solution
looks like.
You can simplify this circuit if you make use of the LOGO!
functions. You can use the off-delay function to replace the
latching relay and the on-delay. The block diagram below
illustrates this simplification:
&
1
1
1
&
I4
I3
I1
I2
x
Q2
Q1
x
10 s
Close
Open
Limit switch
Door closed
Limit switch
Door open
Motion
detector Q1
Q2
Applications
231
LOGO! Manual
A5E00228550-01
8.2.4 Special features and expansion options
Options for increasing comfort and user friendliness are, for
example:
You can connect an additional control switch with the
positions: Open – Automatic – Closed (O-A-C)
You can connect a buzzer to an output of the LOGO! to
warn of the closing of the door.
You can enable opening of the door time and direction-
dependent, i.e. opening only during business hours, and
opening only from the inside after closing time.
8.2.5 Extended solution with LOGO! 230RC
Wiring the LOGO! extended solution
L1N I4 I5I6I7I8
K1 K2
Open Close
B1 B2 S2S1
L1
N
Buzzer
S3 O-A-C
H1
Q1 Q2 Q3 Q4
I1 I2 I3
1 2 1 2 1 2 1 2
Applications
LOGO! Manual
A5E00228550-01
232
Block diagram of the extended LOGO! solution
x
x
x
x
Cam1:
Day= Mo..Fr
On = 09:00
Off =18:00
Cam2:
Day= Sa
On = 08:00
Off =13:00
Cam1:
Day= Mo..Fr
On = 09:00
Off =19:00
Cam2:
Day= Sa
On = 08:00
Off =14:00
I1
I2
Motion detector B1
Motion detector B2
T= 10 s
x
I5
Control switch
Door open
Q2Close output
I4
Limit switch
Door open
Q1
Open
Q2
Close
x
Q1
I1
I2
Open output
Motion detector B1
Motion detector B2
I3
Limit switch
Door closed
I6
Control switch
Close door
Detecting motion
Actuate motor for opening
Actuate motor for closing
Applications
233
LOGO! Manual
A5E00228550-01
Detecting motion
During business hours, the motion detector B1 initiates the
opening of the door when somebody wants to enter the
shop. Motion detector B2 initiates the opening of the door
when 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.
Actuating the motor for opening
Output Q1 is set and opens the door when:
The control switch at I5 is actuated (the door is perma-
nently open), or
The motion detectors indicate that somebody is ap-
proaching the door, and
The door has not yet fully opened (limit switch at I4).
Actuating the motor for closing
Output Q2 is set to close the door when:
The control switch at I6 is actuated (the door is perma-
nently closed) or
The motion detectors indicate that there is nobody near
the door, and
The door has not yet fully closed (limit switch at I3).
Buzzer Connect the buzzer to output Q3. The buzzer gives a brief
warning (in this case 1 second) when the door is closing.
Enter the following circuit at Q3 in the circuit program:
T= 1 s
xQ3
Buzzer
Q2
Close output
Applications
LOGO! Manual
A5E00228550-01
234
8.3 Air-conditioning System
8.3.1 Requirements for an air-conditioning System
The air-conditioning system supplies fresh air to a room or
exhausts the contaminated air from a room. Let us examine
following example:
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
Fresh-air fan
Flow sensor
Exhaust fan
Flow sensor
The room is equipped with an exhaust fan and a fresh-
air fan.
Both fans are monitored by means of a flow sensor.
An excess atmospheric pressure may never develop in
the room.
The fresh-air fan must only be switched on if safe func-
tioning of the exhaust fan is signaled by the flow sensor.
A warning lamp indicates failure of a fan.
Applications
235
LOGO! Manual
A5E00228550-01
The circuit diagram for conventional solutions is as follows:
K1 K5
K5
S1
Exhaust air Fresh air
S0
K3K2
Operation
Auxiliary circuit
L1
N
S2
K1
v>
S2
H1
K4
S3v>
K5
Error
H2
K2 K4
The fans are monitored by means of flow sensors. If no air
flow is registered within a short waiting time, the system is
switched off and an error message is output. This message
can be acknowledged by pressing the OFF button.
In addition to the flow sensors, the fan monitoring system
also requires an evaluating circuit with several switching
devices. This evaluating circuit can be replaced by a single
LOGO! unit.
Wiring of an air-conditioning system with LOGO! 230RC
L1 N I1 I3 I6 I7 I8
Q1 Q2 Q3 Q4
K1 K2
Exhaust
fan Fresh-air
fan
S1
L1
N
S2 S3 v>
v>
H1 H2
S0
I4 I5I1 I2 I3I1 I2 I3
1 2 1 2 1 2 1 2
Applications
LOGO! Manual
A5E00228550-01
236
Components used
K1 contactor relay
K2 contactor relay
S0
(break contact)
STOP pushbutton
S1
(make contact)
START pushbutton
S2
(make contact)
flow sensor
S3
(make contact)
flow sensor
H1 signal lamp
H2 signal lamp
Block diagram of the LOGO! solution
The block diagram of the air-conditioning system with
LOGO! :
x
I1On
Q3Error
I2Off
Q1
Exhaust
fan
Q2
Fresh-air
fan
Q1
Exhaust fan
I3
Exhaust air
flow sensor
x
I2Off Error
x
T=
10 s
x
T= 10 s
x
x
x
I3
Exhaust air flow
sensor
I4
Fresh-air flow
sensor
Exhaust fan Q1
Fresh-air fan Q2
Q3
Applications
237
LOGO! Manual
A5E00228550-01
8.3.2 Advantages of using LOGO!
The LOGO! solution requires less switchgear. That saves
you installation time and space in the control cabinet. You
might even be able to use a smaller switching cabinet.
Additional LOGO! options
The free output (Q4) can be used as isolated signal con-
tact for reporting faults or power failure.
It is possible to switch off of the fans by means of a se-
quential circuit.
These functions can be implemented without additional
switchgear.
Block diagram of the extended LOGO! solution
The fans at Q1 and Q2 are switched on and off by means
of the following circuit:
x
T=
10 s
T=
30 s
Q1
Exhaust
fan
Q2
Fresh-air
fan
On
I2
Off
Fault Q3
x
x
I3Exhaust air flow
sensor
I2Off Error
T=
10 s
T=
10 s
x
x
x
I3
Exhaust air flow
sensor
I4
Fresh-air flow
sensor
Q1 exhaust fan
Fresh-air fan Q2
Q3
I1
Applications
LOGO! Manual
A5E00228550-01
238
You can also generate a message at output Q4:
Q3
Error Q4
Message
The relay contacts of output Q4
are always closed when
the system is in operation. Relay Q4 does not drop off un-
less there is a power failure or a fault in the system. This
contact can be used for remote monitoring, for example.
Applications
239
LOGO! Manual
A5E00228550-01
8.4 Factory door
ÔÔ
ÔÔ
ÔÔ
ÔÔ
ÔÔ
ÔÔ
ÔÔ
ÔÔ
ÔÔ
ÔÔ
ÔÔ
ÔÔ
ÔÔ
ÔÔ
ÔÔ
ÔÔ
Indicator
lamp
Safety pressure bar
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 porter.
8.4.1 Requirements for a gate control system
The gate is opened and closed by means of pushbut-
tons in the gatehouse. The porter can monitor the op-
eration of the gate at the same time.
The gate is normally fully opened or fully closed. The
gate motion can be interrupted at any time.
An indicator lamp is switched on five seconds before the
gate starts moving and when the gate is in motion.
A safety pressure bar prevents harm to persons and
objects from getting trapped or damaged when the gate
is closing.
Applications
LOGO! Manual
A5E00228550-01
240
8.4.2 Previous solution
Various control systems are used to operate automatic
gates. The circuit diagram below shows one of these op-
tions.
K1 K5
K3
S1
Open Close
S0
K3K2
Indicator lamp
Auxiliary circuit
L1
N
K1
H1
K4
S5 p>
K6
K6
K1
S2
S2 K3
K2 K4
Open Close
K5
S5 p>
S1
K3 K1
S4S3
Wiring of a gate control system with LOGO! 230RC
L1 N I4 I5 I6 I7 I8
Q1 Q2 Q3 Q4
K1 K3
Open Close
S4S3
L1
N
S1 S2
S0 S5
p>
S5 p>
Indicator lamp
H1
OpenClose
Stop
I1 I2 I3
1 2 1 2 1 2 1 2
Applications
241
LOGO! Manual
A5E00228550-01
Components used
K1 contactor relay
K2 contactor relay
S0
(break contact)
STOP pushbutton
S1
(make contact)
OPEN pushbutton
S2
(make contact)
CLOSE pushbutton
S3
(break contact)
Position sensor OPEN
S4
(break contact)
Position sensor CLOSED
S5
(break contact)
Safety bar
Block diagram of the LOGO! solution
T=
5 s
T=
5 s
x
x
x
x
Q1
Open
Q3
Signal
lamp
Q2
Close
I3
I4
I3
I6
I5
I1
I2
Q2
Q1
Safety bar
Gate is closed
Gate is open
STOP
pushbutton
Start
pushbutton
OPEN
STOP pushbutton
CLOSE
pushbutton
TH=
TL=2 s
Inv=lo
I2
I1
OPEN push-
button
CLOSE push-
button
Start push-
button
CLOSED
The OPEN or CLOSE pushbuttons initiate the gate motion,
provided it is not already moving in the other direction. The
gate is stopped by means of the STOP pushbutton or the
relevant limit switch. A safety bar furthermore interrupts the
closing motion of the gate.
Applications
LOGO! Manual
A5E00228550-01
242
8.4.3 Extended LOGO! solution
Our extended control circuit is to open the gate automati-
cally when the safety bar is actuated.
x
x
I6
Safety bar
x
Q2
I3
I4
Gate is open
STOP pushbutton
x
I1
Q2
OPEN pushbutton
T=
5 s
Q1
Open
T=
5 s
x
Q2
Close
I3
I6
I5
I2
Q1
Safety bar
Gate is closed
STOP pushbutton
CLOSE push-
button
Q3
Signal
lamp
TH=
TL=2 s
Inv=lo
Applications
243
LOGO! Manual
A5E00228550-01
8.5 Centralized control and monitoring of
several factory doors
Ô
Ô
Ô
Ô
ÔÔ
ÔÔ
ÔÔ
ÔÔ
Ô
Ô
Ô
ÔÔ
ÔÔ
ÔÔ
1 Safety bar
2 flashing warning light
Master
Ô
Ô
Ô
ÔÔ
ÔÔ
ÔÔ
12
12
12
AS
interf.
AS
interf.
AS
interf.
Door I
Door II
Door III
Often, a company’s premises can be entered at several
locations. Not all of the gates can always be monitored lo-
cally by personnel. They must therefore be able to be moni-
tored and operated by the porter who sits in a central gate-
house.
It must also be possible for a member of staff to open and
close the gate locally.
For each gate we are going to use one LOGO! 230RC and
one communication module AS interface. The modules and
the master are interconnected by means of a bus system.
This chapter describes a gate control system. The struc-
tures of the other gate control systems are identical.
Applications
LOGO! Manual
A5E00228550-01
244
8.5.1 Requirements for a gate control system
Every gate is opened and closed by means of a cord-
operated switch. The gate is will be fully opened or fully
closed.
All gate can be opened and closed locally by means of
pushbuttons.
The gate can be opened and closed at the gatehouse
by means of the bus system. The GATE OPEN or GATE
CLOSED status is indicated.
An indicator lamp is switched on five seconds before the
gate starts moving and when the gate is in motion.
A safety pressure bar prevents harm to persons and
objects from getting trapped or damaged when the gate
closes.
Wiring of the gate control system with LOGO! 230RC and
CM AS interface
N
L1 N I3 I4 I5 I6 I7 I8
K1 K2
L1
GateGate Indicator lamp
S0 S1 S2 S3 S4 S5 S6
p>
S6
p>
I2I1
Q1 Q2 Q3 Q4
AS interface
1 2 1 2 1 2 1 2
Applications
245
LOGO! Manual
A5E00228550-01
Components used
K1 contactor relay open
K2 contactor relay Close
S0
(make contact)
cord operated switch OPEN
S1
(make contact)
cord operated switch CLOSE
S2
(make contact)
OPEN pushbutton
S3
(make contact)
CLOSE pushbutton
S4
(break contact)
position sensor GATE IS OPEN
S5
(break contact)
position sensor
GATE IS CLOSED
S6
(break contact)
Safety bar
Master control system
Q5 position sensor GATE IS OPEN
Q6 position sensor GATE IS CLOSED
I9 external pushbutton OPEN GATE
I10 external pushbutton CLOSE GATE
Applications
LOGO! Manual
A5E00228550-01
246
Block diagram of the LOGO! solution
1
Closed
Safety bar
Gate is closed
Gate is closed
T=
5 s
1
Q1
I1
I2
I3
I5
I9
x
I6
I4 Q2
x
I10
Open
gate
&
1
&
=1 & &
&
& 1
1
I5
x
I5 x
x
I7 x
I6
I7 x
I6
I7 xQ3
Q5
x
Q6
I5
I6
T=
5 s
TH=
TL=2 s
Inv=lo
Close
gate
Indica-
tor
lamp
Gate is open
Open gate
Open gate
Gate is open
Gate is open
Open gate by hand
Close gate by hand
Safety bar
Safety bar
Close
Gate is closed
Gate is closed
Gate is open
Close
Open
The OPEN GATE and CLOSE GATE pushbuttons initiate
the gate motion, provided it is not already moving in the
other direction. The gate motion ends at the respective limit
switch. Closing of the gate is also interrupted by the safety
bar.
Applications
247
LOGO! Manual
A5E00228550-01
8.6 Luminous rows
ÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉ
Luminous rows 2Luminous rows 1
Luminous rows 4Luminous rows 3
ÉÉÉ
ÉÉ
ÉÉ
É
É
ÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ
Corridor
Office
When planning lighting systems for commercial locations,
the type and number of lamps used is determined by the
luminance required. For reasons of cost efficiency, the
installation often consists of fluorescent tubes arranged in
luminous rows, and are divided into separate switching cir-
cuits, according to the way the room is used.
8.6.1 Requirements for a lighting system
The various luminous rows are switched on and off lo-
cally.
If there is sufficient daylight, the rows on the window
side of the room are automatically switched off by
means of a daylight control switch.
The lights are switched off automatically at 20.00 h.
Local manual operation of the lighting must be possible
at all times.
Applications
LOGO! Manual
A5E00228550-01
248
8.6.2 Previous solution
B1
L1
N
E1
E1
lx> K6
E5
K5
E4
K4
E3
K3
E2
K3 K4 K5 K6
S1 S2 S3 S4
K1 K2
K2K2K1
The lamps are switched on and off with pulse relays, by
means of pushbutton control at the door. Regardless of
this, they are reset with a timer or daylight control switch
signal at the
central off
input. The pulse width of the off
commands must be reduced by means of wiping relays to
allow operation of the lights after they are switched off.
Components required:
Pushbuttons S1 to S4
Daylight control switch B1
Timer E1
Wiping relays K1 and K2
Pulse switches K3 to K6 with central OFF function
Disadvantages of the previous solution
A substantial amount of switchgear needs to be installed
to implement the necessary functions.
Due to the large number of mechanical components,
high wear and tear and maintenance expenditure is to
be expected.
The modification of functions involves considerable ef-
fort.
Applications
249
LOGO! Manual
A5E00228550-01
8.6.3 Luminous row control system with
LOGO! 230RC
L1 N I1 I3 I6 I7 I8
Q1 Q2 Q3 Q4
L1
NI2 I3 I4
B1
lx<
Luminous
row 1
I5
Luminous
row 2 Luminous
row 3 Luminous
row 4
S1 S2 S3 S4
I1 I3I1 I3I4 I5I1 I2 I3I1 I2 I3I1 I2 I3I1 I2 I3
1 2 1 2 1 2 1 2
Components used
S1 to S4
(make contact)
momentary pushbutton
B1
(make contact)
daylight control switch
Applications
LOGO! Manual
A5E00228550-01
250
Block diagram of the LOGO! solution
x
T=
1s
Q2
Mo..Su
20:00 - 20.01
Mo..Su
21:00 - 21.01
Off pulse triggered with timer
I5
T=
1s
Daylight con-
trol switch
x
I5
Off pulse triggered with daylight control switch
I1
I2
I3
I4
x
x
Q1
Q4
Q3
Luminous
row 3
Corridor side
Luminous
row 4
Corridor side
Luminous
row 1
Window side
Luminous
row 2
Window side
Advantages of the LOGO! solution
You can connect the lamps directly to the LOGO!, pro-
vided the power consumption does not exceed the
switching capacity of the various outputs. Higher loads
should be switched with a contactor relay.
Connect the daylight control switch directly to an input of
the LOGO! .
You do not need an external timer, because this function
is integrated in the LOGO! .
Due to the reduced amount of switchgear, you can
install a smaller and space-saving distribution cabinet.
Fewer devices are required
The lighting system can be easily modified.
Additional switching times can be set as required (se-
quential circuit for the off pulses at the end of the day).
The function of the daylight control switch can be easily
applied to all lamps or to a modified group of lamps.
Applications
251
LOGO! Manual
A5E00228550-01
8.7 Service water pump
The use of rainwater as an addition to the drinking water
supply is gaining importance in the domestic housing area.
This saves money and helps to protect the environment.
For example, rainwater can be used for:
Washing clothes
Irrigation system for gardens
Watering indoor plants
Car wash
Toilet flushing installations
The sketch below illustrates how such a rainwater utiliza-
tion system is operated:
ÕÕÕ
ÕÕÕ
ÕÕÕ
ŠŠŠ
ŠŠŠ
ÎÎÎ
ÎÎÎ
ÎÎÎ
ÎÎÎ
ÎÎÎ
ÎÎÎ
Dry-run protection On
Drinking water supply On
Dry-run protection Off
Drinking water supply Off
Pump Pressure tank
Pressure switch
S1
ÕÕÕ
ÕÕÕ
S2
S3
S4
M1
Rainwater
reservoir Service water
connection
Control in the
distribution box
Drinking water supply line
K4
Rainwater
supply line
The rainwater is collected in a reservoir. From the reservoir,
a pumping station supplies a respective line system. From
there it can be tapped in the same way as normal drinking
water. If the reservoir should run dry it can be topped up
with drinking water.
Applications
LOGO! Manual
A5E00228550-01
252
8.7.1 Requirements for a control system of a service
water pump
Service water must be available at all times. In case of
emergency, the control system must automatically
switch over to drinking water supply.
When switching over to the drinking water supply, the
ingress of rainwater into the drinking water system must
be prevented.
The service water pump may not be switched on if the
reservoir has run low of rainwater (dry-run protection).
8.7.2 Previous solution
K1 K2
K3
Pump Tracking time
S1
K3
S4 K3
Dry-run
protection
Auxiliary circuit
L1
NK4
S3 K4
Drinking water
supply line
p<
K2
S3 S2
Y1
The pump and a solenoid valve are controlled by means of
a pressure switch and 3 float switches, which are installed
in the rainwater reservoir. The pump must be switched on
when the pressure level in the boiler drops below minimum.
After the operating pressure is reached, the pump is
switched off again after a tracking time of a few seconds
has expired. The tracking time prevents oscillation of the
water pump if water is drawn off over a longer period of
time.
Applications
253
LOGO! Manual
A5E00228550-01
8.7.3 Service water pump system with
LOGO! 230RC
L1 N I4 I5 I6 I7 I8
Q1 Q2 Q3 Q4
K1 Y1
Pump
S4S3
L1
N
S1 S2
p<
Drinking water supply line
I1 I2 I3
1 2 1 2 1 2 1 2
Apart from the LOGO!, all you need is a pressure switch
and the float switches to control the pump. If you are using
a 3-phase AC motor, you must use a contactor relay to
switch the pump. For single-phase AC pump systems you
must provide a contactor relay if the power consumption of
the AC motor exceeds the capacity of the output relay Q1.
The power consumption of a solenoid valve is usually low
enough to allow direct controlling.
K1 contactor relay
Y1 solenoid valve
S1
(make contact)
pressure switch
S2
(make contact)
float switch
S3
(break contact)
float switch
S4
(break contact)
float switch
Applications
LOGO! Manual
A5E00228550-01
254
Block diagram of the LOGO! solution
I2
Float switch for drin-
king water supply ON Drinking water
supply line
Q2
Float switch for drinking water supply OFF
I1
Pressure
switch
I3
Float switch for dry-
run protection ON I4
Float switch for dry-
run protection OFF
x
T = 20 s x Pump
Q1
I3
8.7.4 Special features and expansions
The block diagram shows how you can interconnect the
pump controls and the solenoid valve. The layout corre-
sponds with the circuit diagram. You also have the option to
integrate further functions for specific applications, which
can only be implemented in a conventional circuitry by add-
ing further switchgear, e.g.:
Enabling the pump at specific times
Indication of imminent or existing water shortage
Reporting of system faults
Applications
255
LOGO! Manual
A5E00228550-01
8.8 Further fields of application
In addition to the application samples shown above, we
have placed further sample applications on the Internet
(see the preface for the URL).
There you can find, for example:
Irrigation system for greenhouse plants
Conveyor control system
Bending machine control system
Shop window lighting
Bell system (e.g. in a school)
Parking lot surveillance
Outdoor lighting
Shutter control system
Domestic outdoor and indoor lighting system
Control system of a cream stirrer
Sports hall lighting
Constant load on 3 consumers
Sequential control system for cable-welding machines
for large cross-sections
Step switch (e.g. for fans)
Sequential control for boilers
Control system for several pump sets with centralized
operator control
Cutting device (e.g. for detonating fuses)
Monitoring periods of utilization, e.g. of a solar energy
system
Intelligent foot switches, e.g. for speed preselection)
Elevating platform controls
Impregnation of textiles, heating and conveyor belt con-
trols
Silo-filling system
and lots more.
Applications
LOGO! Manual
A5E00228550-01
256
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. If you have
installed LOGO!Soft Comfort on your computer, you can
simply click the disk icon to download the relevant circuit
programs, which you can then adapt to suit your application
and download to the LOGO! directly via the PC cable.
Benefits of LOGO!
LOGO! is a particularly useful feature
For replacing auxiliary switchgear with the integrated
LOGO! functions
For saving wiring and installation work - because
LOGO! keeps the wiring ”in its head”.
For reducing space requirements for components in the
control cabinet/distribution box. A smaller control cabi-
net/distribution box may provide sufficient space.
For adding or changing functions, without having to
install additional switchgear or change the wiring.
For offering your customers new, additional functions for
domestic and commercial housing installations. Exam-
ples:
Domestic security systems: LOGO! switches on a
lamp at regular intervals or opens and closes the
shutters while you are on holiday.
Central heating: LOGO! runs the circulation pump
only when water or heating is actually required.
Refrigerating systems: LOGO! can defrost refrigerat-
ing systems at regular intervals to save energy costs.
You can illuminate aquaria and terraria on a time-de-
pendent basis.
Last not least you can:
Use commonly available switches and pushbuttons,
which makes it easy to install a domestic system.
Connect LOGO! directly to your domestic installation;
the integrated power supply makes it possible.
Applications
257
LOGO! Manual
A5E00228550-01
Do you want more Info?
For more information about LOGO!, see our web page
(see the preface for the URL).
Do you have any suggestions?
There are definitely many more useful applications for the
LOGO! . If you know of one, why not write to us? We will
collect all the suggestions made and distribute as many of
them as we can. No matter whether your LOGO! circuit is
particularly complex or simple, simply write to us. We shall
be delighted to receive all your suggestions.
Write to:
Siemens AG
A&D AS SM MA
PO box 48 48
D-90327 Nuremberg
Applications
LOGO! Manual
A5E00228550-01
258
Applications
259
LOGO! Manual
A5E00228550-01
A Technical data
A.1 General technical data
Criterion Tested in accor-
dance with Values
LOGO!Basic:
Dimensions (WxHxD) 72 x 90 x 55 mm
Weight Approx. 190 g
Installation on a 35 mm profile rail
4 module widths
or wall mounting
LOGO! expansion
module:
Dimensions (WxHxD) 36 x 90 x 55 mm
Weight Approx. 90 g
Installation on a 35 mm profile rail
4 module widths
or wall mounting
Climatic conditions
Ambient temperature
Horizontal installation Low temperature to
IEC 60068-2-1
High tem
p
erature
0 ... 55 °C
Vertical installation
Hi
g
h
t
empera
t
ure
to
IEC 60068-2-2 0 ... 55 °C
Storage/shipping –- 40 °C ... +70 °C
Relative humidity IEC 60068-2-30 From 10 to 95 %
no condensation
Air pressure 795 ... 1080 hPa
Pollutants IEC 60068-2-42
IEC 60068-2-43 SO2 10 cm3 /m3,
4 days
H2S 1 cm3 /m3,
4 days
LOGO! Manual
A5E00228550-01
260
Criterion ValuesTested in accor-
dance with
Ambient mechanical conditions
Protection mode IP20
Vibrations: IEC 60068-2-6 5 ... 9 Hz (constant
amplitude 3.5 mm)
9 ... 150 Hz (constant
acceleration 1 g)
Shock IEC 60068-2-27 18 shocks
(half-sine wave
15g/11 ms)
Drop IEC 60068-2-31 Drop height 50 mm
Free fall (packaged) IEC 60068-2-32 1 m
Electromagnetic compatibility (EMC)
Noise emission EN 55011/A
EN 55022/B
EN 50081-1
(domestic area)
Limit class B group 1
Electrostatic discharge IEC 61000-4-2
Severity 3 8 kV air discharge
6 kV contact discharge
Electromagnetic fields IEC 61000-4-3 Field strength 10 V/m
HF currents on cables and
cable shielding IEC 61000-4-6 10 V
Burst pulses IEC 61000-4-4
Severity 3 2 kV (supply and sig-
nal lines)
High-energy surge pulse
(applies only to
LOGO! 230 ...)
IEC 61000-4-5
Severity 3 1 kV (power lines)
symmetrical
2 kV (power lines)
asymmetrical
Safety to IEC / VDE
Clearance and creepage
distance rating IEC 60664,
IEC 61131-2,
EN 50178
cULus to UL 508,
CSA C22.2 No.
142
With LOGO!
230 R/RC,
also VDE 0631
Fulfilled
Insulation strength IEC 61131-2 Fulfilled
Technical data
261
LOGO! Manual
A5E00228550-01
A.2 Technical data: LOGO! 230...
and LOGO! DM8 230R
LOGO! 230 RC
LOGO! 230 RCo LOGO! DM8 230R
Power supply
Input voltage 115...240 V AC/DC 115...240 V AC/DC
Permissible range 85 ... 265 V AC
100 ... 253 V DC 85 ... 265 V AC
100 ... 253 V DC
Permissible mains frequency 47 ... 63 Hz 47 ... 63 Hz
Power consumption
115 V AC 10 ...40 mA 10 ... 30 mA
240 V AC 10 ... 25 mA 10 ... 20 mA
115 V DC 5 ... 25 mA 5 ... 15 mA
240 V DC 5 ... 15 mA 5 ... 10 mA
Voltage failure buffering
115 V AC/DC
ty
p
10 ms
ty
p
10 ms
11
5
V
AC/DC
typ.
10
ms typ.
10
ms
240 V AC/DC
y
ty
p
20 ms
y
ty
p
20 ms
240
V
AC/DC
t
y
p
.
20
ms
t
y
p
.
20
ms
Power loss at
115 V AC 1.1 ... 4.6 W 1.1 ... 3.5 W
240 V AC 2.4 ... 6.0 W 2.4 ... 4.8 W
115 V DC 0.5 ... 2.9 W 0.5 ... 1.8 W
240 V DC 1.2 ... 3.6 W 1.2 ... 2.4 W
Backup of the real-time clock
at 25 Ctyp. 80 h
Accuracy of the real-time
clock typ. 2 s / day
Digital inputs
Number 8 4
Electrical isolation No No
Technical data
LOGO! Manual
A5E00228550-01
262
LOGO! DM8 230RLOGO! 230 RC
LOGO! 230 RCo
Input voltage L1
Signal 0
Signal 1
Signal 0
Signal 1
< 40 V AC
> 79 V AC
< 30 V DC
> 79 V DC
< 40 V AC
> 79 V AC
< 30 V DC
> 79 V DC
Input current at
Signal 0
Signal 1
< 0.03 mA
>008mA
< 0.03 mA
>008mA
Si
gna
l
1
>
0
.
08
m
A
>
0
.
08
m
A
Delay time at
0 to 1 typ. 50 ms typ. 50 ms
1 to 0
y
typ. 50 ms
y
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
Control of a digital input Yes Yes
Continuous current Ith max. 10 A per relay max. 5 A per relay
Incandescent lamp load
(25000 switching cycles) at
230/240 V AC
115/120 V AC 1000 W
500 W 1000 W
500 W
Fluorescent tubes with ballast
(25000 switching cycles) 10 x 58 W
(at 230/240 V AC) 10 x 58 W
(at 230/240 V AC)
Fluorescent tubes, conven-
tionally compensated (25000
switching cycles)
1 x 58 W
(at 230/240 V AC) 1 x 58 W
(at 230/240 V AC)
Technical data
263
LOGO! Manual
A5E00228550-01
LOGO! DM8 230RLOGO! 230 RC
LOGO! 230 RCo
Fluorescent tubes, uncom-
pensated (25000 switching
cycles)
10 x 58 W (at
230/240 V AC) 10 x 58 W (at
230/240 V AC)
Short circuit-proof cos 1 Power protection
B16
600A
Power protection
B16
600A
Short-circuit proof cos
0.5 to 0.7 Power protection
B16
900A
Power protection
B16
900A
Derating none; across the
entire temperature
range
none; across the
entire temperature
range
Parallel output circuits for
power increase Not permitted Not permitted
Protection of output relay
(if desired) max. 16 A,
characteristic B16 max. 16 A,
characteristic B16
Switching rate
Mechanical 10 Hz 10 Hz
Ohmic load/lamp load 2 Hz 2 Hz
Inductive load 0.5 Hz 0.5 Hz
Technical data
LOGO! Manual
A5E00228550-01
264
A.3 Technical data: LOGO! 24... and
LOGO! DM8 24
LOGO! 24
LOGO! 24o LOGO! DM8 24
Power supply
Input voltage 24 V DC 24 V DC
Permissible range 20.4 ... 28.8 V DC 20.4 ... 28.8 V DC
Reverse polarity protection Yes Yes
Permissible mains frequency
Power consumption from
24 V DC 30 ... 55 mA
0.3 A per output 30 ... 45 mA
0.3 A per output
Voltage failure buffering
Power loss at 24 V 0.7 ... 1.3 W 0.8 ... 1.1 W
Backup of the real-time clock
at 25 C
Accuracy of the real-time
clock
Digital inputs
Number 8 4
Electrical isolation No No
Input voltage L+ L+
Signal 0 < 5 V DC < 5 V DC
g
Signal 1 > 8 V DC > 8 V DC
Technical data
265
LOGO! Manual
A5E00228550-01
LOGO! DM8 24LOGO! 24
LOGO! 24o
Input current at
Signal 0 < 1.0 mA (I1...I6)
< 0.05 mA (I7, I8) < 1.0 mA
Signal 1
(, )
> 1.5 mA (I1... I6)
> 0.1 mA (I7, I8) > 1.5 mA
Delay time at
0 to 1 typ. 1.5 ms (I1...I4)
<1.0 ms (I5, I6)
typ. 300 ms (I7,I8)
typ. 1.5 ms
1 to 0
y()
typ. 1.5 ms (I1...I4)
<1.0 ms (I5, I6)
typ. 300 ms (I7,I8)
typ. 1.5 ms
Line length (unshielded) 100 m 100 m
Analog inputs
Number 2 (I7 and I8)
Range 0 ... 10 V DC
input impedance
76 k
max. input voltage 28.8 V DC
Line length (shielded and
twisted) 10 m
Digital outputs
Number 4 4
Output type Transistor,
current-sourcing Transistor,
current-sourcing
Electrical isolation No No
In groups of
Control of a digital input Yes Yes
Output voltage Supply voltage Supply voltage
Output current max. 0.3 A max. 0.3 A
Technical data
LOGO! Manual
A5E00228550-01
266
LOGO! DM8 24LOGO! 24
LOGO! 24o
Continuous current Ith
Incandescent lamp load
(25000 switching cycles) at
Fluorescent tubes with ballast
(25000 switching cycles)
Fluorescent tubes, conven-
tionally compensated (25000
switching cycles)
Fluorescent tubes, uncom-
pensated (25000 switching
cycles)
Short circuit-proof and over-
load-proof Yes Yes
Short-circuit current limitation Approx. 1 A Approx. 1 A
Derating none; across the
entire temperature
range
none; across the
entire temperature
range
Short circuit-proof cos 1
Short-circuit proof cos 0.5 to
0.7
Parallel output circuit for
power increase Not permitted Not permitted
Protection of output relay (if
desired)
Switching rate
Mechanical
Electrical 10 Hz 10 Hz
Ohmic load/lamp load 10 Hz 10 Hz
Inductive load 0.5 Hz 0.5 Hz
Technical data
267
LOGO! Manual
A5E00228550-01
A.4 Technical data: LOGO! 24RC... and
LOGO! DM8 24 R
LOGO! 24RC
LOGO! 24RCo LOGO! DM8 24 R
Power supply
Input voltage 24 V AC/DC 24 V AC/DC
Permissible range 20.4 ... 26.4 V AC
20.4 ... 28.8 V DC 20.4 ... 26.4 V AC
20.4 ... 28.8 V DC
Reverse polarity protection
Permissible mains frequency 47 ... 63 Hz 47 ... 63 Hz
Power consumption
24 V AC
24 V DC 40 ... 110 mA
20 ... 75 mA 40 ... 110 mA
20 ... 75 mA
Voltage failure buffering typ. 5 ms typ. 5 ms
Power loss
24 V AC
24 V DC 0.9 ... 2.7 W
0.4 ... 1.8 W 0.9 ... 2.7 W
0.4 ... 1.8 W
Backup of the real-time clock
at 25 Ctyp. 80 h typ. 80 h
Accuracy of the real-time
clock typ. 2 s / day
Digital inputs
Number 8,
optional P action or
N action
4,
optional P action or
N action
Electrical isolation No No
Input voltage L L
Signal 0 < 5 V AC/DC < 5 V AC/DC
g
Signal 1 > 12 V AC/DC > 12 V AC/DC
Technical data
LOGO! Manual
A5E00228550-01
268
LOGO! DM8 24 RLOGO! 24RC
LOGO! 24RCo
Input current at
Signal 0 < 1.0 mA < 1.0 mA
Signal 1 > 2.5 mA > 2.5 mA
Delay time at
0 to 1 typ. 1,5 ms typ. 1.5 ms
1 to 0 typ. 15 ms typ. 15 ms
Line length (unshielded) 100 m 100 m
Analog inputs
Number
Range
max. Input voltage
Digital outputs
Number 4 4
Output type Relay outputs Relay outputs
Electrical isolation Yes Yes
In groups of 1 1
Control of a digital input Yes Yes
Output voltage
Output current
Continuous current Ith max. 10 A per relay max. 5 A per relay
Incandescent lamp load
(25000 switching cycles) at 1000 W 1000 W
Fluorescent tubes with ballast
(25000 switching cycles) 10 x 58 W 10 x 58 W
Technical data
269
LOGO! Manual
A5E00228550-01
LOGO! DM8 24 RLOGO! 24RC
LOGO! 24RCo
Fluorescent tubes, conven-
tionally compensated (25000
switching cycles)
1 x 58 W 1 x 58 W
Fluorescent tubes, uncom-
pensated (25000 switching
cycles)
10 x 58 W 10 x 58 W
Short circuit-proof and over-
load-proof
Short-circuit current limitation
Derating none; across the
entire temperature
range
none; across the
entire temperature
range
Short circuit-proof cos 1 Power protection
B16,
600A
Power protection
B16,
600A
Short-circuit proof cos 0.5 to
0.7 Power protection
B16,
900A
Power protection
B16,
900A
Parallel output circuits for
power increase Not permitted Not permitted
Protection of output relay (if
desired) max. 16 A,
characteristic B16 max. 16 A,
characteristic B16
Switching rate
Mechanical 10 Hz 10 Hz
Electrical
Ohmic load/lamp load 2 Hz 2 Hz
Inductive load 0.5 Hz 0.5 Hz
Technical data
LOGO! Manual
A5E00228550-01
270
A.5 Technical data: LOGO! 12/24... and
LOGO! DM8 12/24R
LOGO! 12/24RC
LOGO! 12/24RCo LOGO! DM8
12/24R
Power supply
Input voltage 12/24 V DC 12/24 V DC
Permissible range 10.8 ... 28.8 V DC 10.8 ... 28.8 V DC
Reverse polarity protection Yes Yes
Power consumption
12 V DC
24 V DC 30 ... 140 mA
20 ... 75 mA 30 ... 140 mA
20 ... 75 mA
Voltage failure buffering
12 V DC
24 V DC typ. 2 ms
typ. 5 ms typ. 2 ms
typ. 5 ms
Power loss
12 V DC
24 V DC 0.3 ... 1.7 W
0.4 ... 1.8 W 0.3 ... 1.7 W
0.4 ... 1.8 W
Backup of the real-time clock
at 25 Ctyp. 80 h
Accuracy of the real-time
clock typ. 2 s / day
Electrical isolation No No
Digital inputs
Number 8 4
Electrical isolation No No
Input voltage L+
Signal 0 < 5 V DC < 5 V DC
g
Signal 1 > 8 V DC > 8 V DC
Technical data
271
LOGO! Manual
A5E00228550-01
LOGO! DM8
12/24R
LOGO! 12/24RC
LOGO! 12/24RCo
Input current at
Signal 0
Si l 1
< 1.0 mA (I1...I6)
< 0.05 mA (I7, I8)
1 5 A (I1 I6)
< 1.0 mA
Signal 1 > 1.5 mA (I1... I6)
> 0.1 mA (I7, I8) > 1.5 mA
Delay time at
0 to 1 typ. 1.5 ms
<1.0 ms (I5, I6)
typ. 300 ms (I7,I8)
typ. 1.5 ms
1 to 0
y()
typ. 1.5 ms
<1.0 ms (I5, I6)
typ. 300 ms (I7,I8)
typ. 1.5 ms
Line length (unshielded) 100 m 100 m
Analog inputs
Number 2 (I7, I8)
Range 0 ... 10 V DC
input impedance
76 k
max. Input voltage 28.8 V DC
Line length (shielded and
twisted) 10 m
Digital outputs
Number 4 4
Output type Relay outputs Relay outputs
Electrical isolation Yes Yes
In groups of 1 1
Control of a digital input Yes Yes
Output voltage
Output current
Technical data
LOGO! Manual
A5E00228550-01
272
LOGO! DM8
12/24R
LOGO! 12/24RC
LOGO! 12/24RCo
Continuous current Ith (per
terminal) max. 10 A per relay max. 5 A per relay
Incandescent lamp load
(25000 switching cycles) at 1000 W 1000 W
Fluorescent tubes with ballast
(25000 switching cycles) 10 x 58 W 10 x 58 W
Fluorescent tubes, conven-
tionally compensated (25000
switching cycles)
1 x 58 W 1 x 58 W
Fluorescent tubes, uncom-
pensated (25000 switching
cycles)
10 x 58 W 10 x 58 W
Short circuit-proof and over-
load-proof
Short-circuit current limitation
Derating none; across the
entire temperature
range
none; across the
entire temperature
range
Short circuit-proof cos 1 Power protection
B16
600A
Power protection
B16
600A
Short-circuit proof cos 0.5 to
0.7 Power protection
B16
900A
Power protection
B16
900A
Parallel output circuits for
power increase Not permitted Not permitted
Protection of output relay (if
desired) max. 16 A,
characteristic B16 max. 16 A,
characteristic B16
Switching rate
Mechanical 10 Hz 10 Hz
Electrical
Ohmic load/lamp load 2 Hz 2 Hz
Inductive load 0.5 Hz 0.5 Hz
Technical data
273
LOGO! Manual
A5E00228550-01
A.6 Switching capacity and service life of the
relay outputs
Ohmic load
Switching cycles/million
Switched current/A
0.1
0.2
0.3
0.4
0.5
246810
Maximum 10 A
Maximum 10 A
Maximum 10 A
Maximum 0.2 A
Maximum 0.1 A
12/24 V AC/DC
115/120 V AC
230/240 V AC
120 V DC
240 V DC
Figure A Switching capacity and service life of the contacts with ohmic
load (heating)
Inductive load
Switching cycles/million
Switched current/A
0.1
0.2
0.3
0.4
0.5
3
21
0.6
0.7
0.8
0.9
1.0 Maximum 2 A
Maximum 3 A
Maximum 3 A
Maximum 0.2 A
Maximum 0.1 A
12/24 V AC/DC
115/120 V AC
230/240 V AC
120 V DC
240 V DC
Figure B Switching capacity and service life of the contacts with high in-
ductive load to IEC 947-5-1 DC 13/AC 15 (contactors, solenoid
coils, motors)
Technical data
LOGO! Manual
A5E00228550-01
274
A.7 Technical data: LOGO! AM 2
LOGO! AM 2
Power supply
Input voltage 12/24 V DC
Permissible range 10.8 ... 28.8 V DC
Power consumption 25 ... 50 mA
Voltage failure buffering typ. 5 ms
Power loss at
12 V
24 V 0.3 ... 0.6 W
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 DC (input impedance 76 k)
or
0 ... 20 mA (input impedance <250 )
Resolution 10 bit, normalized to 0 ... 1000
Cycle time for analog value
generation 50 ms
Electrical isolation No
Line length (shielded and
twisted) 10 m
Encoder supply voltage none
Error limit +/– 1.5 %
Interference frequency suppres-
sion 55 Hz
Technical data
275
LOGO! Manual
A5E00228550-01
A.8 Technical data: LOGO! AM 2 PT100
LOGO! AM 2 PT100
Power supply
Input voltage 12/24 V DC
Permissible range 10.8 ... 28.8 V DC
Power consumption 25 ... 50 mA
Voltage failure buffering typ. 5 ms
Power loss at
12 V
24 V 0.3 ... 0.6 W
0.6 ... 1.2 W
Electrical isolation No
Reverse polarity protection Yes
Ground terminal for connecting ground and shielding of
the measuring line
Sensor inputs
Number 2
Type Resistive thermocouple Pt100
Connection of sensors
2-wire technique
3-wire technique Yes
Yes
Measurement range -50 °C ... +200 °C
–58 °F ... +392 °F
Settings for the measurement
display on the basic module:
1 °C steps
0.25 °C steps
(rounded to one decimal)
1 °C steps
0.25 °C steps
(rounded to one decimal)
Offset: –200, Gain: 25
Offset: –200, Gain: 250
Offset: –128, Gain: 45
Offset: –128, Gain: 450
Technical data
LOGO! Manual
A5E00228550-01
276
LOGO! AM 2 PT100
Curve linearization No
Measuring current Ic 1.1 mA
Measurement rate depends on the installation
typical: 50 ms
Resolution 0.25 °C
Error limits
0 °C ... +200 °C
-50 °C ... +200 °C
of the final measured value:
+/– 1.0 %
+/– 1.5 %
Electrical isolation No
Cable length (shielded) 10 m
Interference frequency suppres-
sion 55 Hz
Technical data
277
LOGO! Manual
A5E00228550-01
A.9 Technical data: LOGO!Power 12 V
LOGO! Power 12 V is a primary-switched power supply unit
for LOGO! devices. Two current ranges are available.
LOGO! Power
12 V / 1.9 A LOGO! Power
12 V / 4.5 A
Input data
Input voltage 120 ... 230 V AC
Permissible range 85 ... 264 V AC
Permissible mains frequency 47 ... 63 Hz
Voltage failure buffering > 40 ms (at 187 V AC)
Input current 0.3 ... 0.18 A 0.73 ... 0.43 A
Make current (25°C) 15 A 30 A
Device protection Internal
Recommended circuit
breaker (IEC 898) in mains
line
> 6 A characteristic D
> 10 A characteristic C
Output data
Output voltage
Overall tolerance
Adjustment range
Residual ripple
12 V DC
+/–3 %
11.1 ... 12.9 V DC
< 200 mVpp
Output current
Overcurrent limiting 1.9 A
2.4 A 4.5 A
4.5 A
Efficiency 80 %
Parallel circuit for power in-
crease Yes
Electromagnetic compatibility
Interference suppression EN 50081-1, EN 55022 Class B
Interference immunity EN 50082-2
Technical data
LOGO! Manual
A5E00228550-01
278
LOGO! Power
12 V / 4.5 A
LOGO! Power
12 V / 1.9 A
Safety
Electrical isolation, primary/
secondary Yes, SELV (to EN 60950/VDE 0805)
Safety class II (to IEC 536/VDE 0106 T1)
Protection mode IP 20 (to EN 60529/VDE 470 T1)
CE marking
UL/CSA certification
FM approval
Yes
Yes; UL 508 / CSA 22.2
In preparation
General details
Ambient temperature range –20 ... +55°C, natural convection
Storage and shipping tempe-
rature –40 ... +70°C
Connections at input One terminal (1 x 2.5 mm2 or 2 x 1.5 mm2)
per L1 and N
Connections at output Two terminals (1x.2.5 mm2 or
2 x 1.5 mm2) per L+ and M
Installation On 35 mm DIN rail, snap-on
Dimensions in mm (WxHxD) 72 x 80 x 55 126 x 90 x 55
Approx. weight 0.2 kg 0.4 kg
Technical data
279
LOGO! Manual
A5E00228550-01
A.10 Technical data: LOGO!Power 24 V
LOGO! Power 24 V is a primary-switched power supply
module for LOGO! devices. Two current ranges are avail-
able.
LOGO! Power
24 V / 1.3 A LOGO! Power
24 V / 2.5 A
Input data
Input voltage 120 ... 230 V AC
Permissible range 85 ... 264 V AC
Permissible mains frequency 47 ... 63 Hz
Voltage failure buffering 40 ms (at 187 V AC)
Input current 0.48 ... 0.3 A 0.85 ... 0.5 A
Inrush current (25°C) < 15 A < 30 A
Device protection Internal
Recommended circuit
breaker (IEC 898) in mains
line
> 6 A characteristic D
> 10 A characteristic C
Output data
Output voltage
Overall tolerance
Adjustment range
Residual ripple
24 V DC
+/- 3 %
22.2 ... 25.8 V DC
< 250 mVpp
Output current
Overcurrent limiting 1.3 A
1.6 A 2.5 A
2.8 A
Efficiency > 80 %
Parallel circuit for power in-
crease Yes
Electromagnetic compatibility
Interference suppression EN 50081-1, EN 55022 Class B
Interference immunity EN 50082-2
Technical data
LOGO! Manual
A5E00228550-01
280
LOGO! Power
24 V / 2.5 A
LOGO! Power
24 V / 1.3 A
Safety
Electrical isolation, primary/
secondary Yes, SELV (to EN 60950/VDE 0805)
Safety class II (to IEC 536/VDE 0106 T1)
Protection mode IP 20 (to EN 60529/VDE 470 T1)
CE marking
UL/CSA certification
FM approval
Yes
Yes; UL 508 / CSA 22.2
Yes; Class I, Div. 2, T4
General details
Ambient temperature range –20 ... +55°C, natural convection
Storage and shipping tempe-
rature –40 ... +70°C
Connections at input One terminal (1 x. 2.5 mm2 or 2 x 1.5 mm2)
per L1 and N
Connections at output Two terminals (1x.2.5 mm2
or 2 x 1.5 mm2) per L+ and M
Installation On 35 mm DIN rail, snap-on
Dimensions in mm (WxHxD) 72 x 80 x 55 126 x 90 x 55
Approx. weight 0.2 kg 0.4 kg
Technical data
281
LOGO! Manual
A5E00228550-01
A.11 Technical data: LOGO! Contact 24/230
LOGO! Contact 24 and LOGO! Contact 230 are switching
modules for direct switching of ohmic loads up to 20 Amps
and motors up to 4 kW (without noise emission, hum-free).
LOGO!
Contact 24 LOGO!
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
Output with three-phase loads at 400 V 20 A
13 kW
Utilization category AC-2, AC-3: Motor
with slip ring induction/cage armature
Operating current at 400 V
Output with three-phase loads at 400 V 8.4 A
4 kW
Short-circuit protection:
Assignment type 1
Assignment type 2 25 A
10 A
Connecting leads Fine-wire with wire end ferrules
Solid wire
2 x (0.75 to 2.5) mm2
2 x (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
Technical data
LOGO! Manual
A5E00228550-01
282
Technical data
283
LOGO! Manual
A5E00228550-01
B Determining the cycle time
The program cycle is the complete execution of the circuit
program, that is, primarily the reading in of the inputs, the
processing of the circuit program and the subsequent read-
ing out of the outputs. The cycle time is the time required to
execute a circuit program once in full.
The time required for a program cycle can be determined
using a short test program. This test program is created in
LOGO! and returns a value during its execution in parame-
ter assignment mode from which the current cycle time is
derived.
Test program
1. Create the test program by linking an output to a thresh-
old trigger and connecting the trigger input with an in-
verted flag.
Par Qx
B1 Output Qx or
other flag Mx
M1
M1
M1 1
B2
2. Configure the threshold trigger as shown below. A pulse
is generated in each program cycle due to the inverted
flag. The trigger interval is set to 2 seconds.
LOGO! Manual
A5E00228550-01
284
B1 1+
On =1000
Off=0000
B1 2
G_T=02:00s
Press
3. Now start the circuit program and switch LOGO! to pa-
rameter assignment mode. In this mode, view the trigger
parameters.
B1
On =1000
Off =0000
fa =0086 fa= total of measured pulses per timeb
a
4. The reciprocal value of fa is equivalent to the LOGO!
execution time of the current circuit program in its me-
mory.
1/fa = cycle time in s
Explanation
The inverted flag block changes its output signal at each
program execution. 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 trigger indicates the ratio of periods per 2
seconds, which results in the ratio of cycles per second.
Edge transition of the inverted flag at
each circuit program execution
Cycle
time
Period
1 period = 1 pulse = 2 cycles
Determining the cycle
285
LOGO! Manual
A5E00228550-01
C LOGO! without display
Because some specific applications do not require operator
control and monitoring units such as buttons or a display,
we provide the LOGO! 12/24RCo, LOGO! 24o,
LOGO! 24RCo and LOGO! 230RCo versions without dis-
play.
View of a LOGO! 230RCo, for example:
I4 I5 I6
Q1 Q2 Q3 Q4
L1 N
RUN/STOP
I7 I8
I1 I2 I3
I1 I2 I3
I1 I2 I3
I1 I2 I3
I1 I2 I3
I1 I2 I3
I1 I2 I3
I1 I2 I3
1 2 1 2 1 2 1 2
Less is definitely more!
The versions without display offer you the following bene-
fits:
Even more cost-effective without the operating element.
Requires less switch cabinet space than conventional
hardware.
Substantial benefits with regard to flexibility and prime
costs compared to stand-alone electronic switchgear.
Of advantage even for applications in which merely two
or three conventional switching devices can be re-
placed.
Very easy to use.
Access protected.
Compatible to LOGO! versions with display.
Offers the option to read data by means of LOGO!Soft
Comfort.
LOGO! Manual
A5E00228550-01
286
Creating a circuit program without operator panel
There are two ways to create a circuit program for a LOGO!
without display:
You create the circuit program with LOGO!Soft Comfort
on your PC and then download it to the LOGO!
(see Chapter 7).
You download the circuit program from a LOGO! pro-
gram module (card) to your LOGO! without display
(see Chapter 6).
Operating characteristics
LOGO! is ready for operation when power is switched on.
Switching off a LOGO! without display is equivalent to dis-
connecting the power supply, e.g. as if you were removing
the plug.
The circuit program of LOGO!...o versions can not be star-
ted or stopped by means of buttons. This is why the
LOGO!...o versions have other startup characteristics:
Startup characteristics
If there is no circuit program in the LOGO! or on the in-
serted program module (card), LOGO! remains in STOP.
If there is a valid circuit program in LOGO! memory, the
LOGO! automatically switches from STOP to RUN when
power is switched on.
The circuit program on an inserted program module (card)
is automatically copied to the LOGO!, immediately after
power is switched on. The existing circuit program in
LOGO! memory is overwritten. The system automatically
changes from STOP to RUN.
Provided the PC cable is connected to the LOGO!, you can
download the circuit program to LOGO! and start it by
means of the LOGO!Soft Comfort PC software
(see Chapter 7.1).
LOGO! without display
287
LOGO! Manual
A5E00228550-01
Operating status indication
Operating states, e.g. Power On, RUN and STOP are indi-
cated by an LED on the front hood.
Red LED: Power On/STOP
Green LED: Power On/RUN
The red LED is lit after Power On and in all LOGO! states
other than RUN. The green LED is lit when LOGO! is in
RUN mode.
Reading current data
LOGO!Soft Comfort (see Chapter 7) provides an online test
for reading the current data of all functions while the sys-
tem is in RUN.
If your LOGO! without display holds a protected program
module (card), you can not read the current data unless
you enter the correct password for your the circuit program.
The circuit program is otherwise deleted from LOGO! me-
mory when you remove the program module (card) to con-
nect the PC cable, for example (see Chapter 6.1).
LOGO! without display
LOGO! Manual
A5E00228550-01
288
LOGO! without display
289
LOGO! Manual
A5E00228550-01
D LOGO! menu structure
>Stop
Set Param
Set Clock
Prg Name
>Program
Card
Clock
Start
Menu overview
See “Main menu”
Mo 09:00
2003-01-27
See “Start menu“
Press ESC
No Program
Circuit program is
busy (RUN)
No Program
Parameter setting (Chapter 5.1.1 cont.)
Clock/date setting (Chapter 5.2)
Display of the program name
>Program..
Card..
Clock..
Start
>Yes
Parameter assign-
ment menu
Main menu (ESC / >Stop)
See “Programming menu”
>Edit..
> –>Card
>Set
Clock
See “Transfer menu”
See “Clock menu”
See “Start menu“
>Stop/>Yes
Mo 09:00
2003-01-27
Programming menu (ESC / >Stop >Program)
>Edit..
>Clear Prg
>Password
>Edit Prg Password? Editing the program
(Chapter 3.6 cont.)
>Edit Name
>Memory?
Editing the program
name (Chapter 3.6.4)
Show available memory
space (Chapter 3.7)
Deleting the program
(Chapter 3.6.11)
Input/change of pass-
word (Chapter 3.6.5)
LOGO! Manual
A5E00228550-01
290
Transfer menu (ESC / >Stop >Card)
Clock menu (ESC / >Stop >Clock)
> –>Card
>Card–>
>CopyProtect
Copying the program from the program mod-
ule (card) to LOGO! (Chapter 6.4)
Setting the program/copy protection
(Chapter 6.1)
Copying the circuit program from LOGO!
to the program module (card) (Chapter 6.3)
Start menu (RUN)
>Set Clock
>S/W Time
>Sync
Setting the summertime/wintertime (Chapter 3.6.12)
Synchronizing the times of LOGO! Basic
and expansion modules (Chapter 3.6.13)
Setting the time/date (Chapter 5.2)
Everything
clear?
LOGO!
Mo 09:00
2003–01–27
Date/time
max. 10 message texts
Inputs
I:
0.. 123456789
1..0123456789
2..01234
Cursor keys
Q:
0.. 123456789
1..0123456
M:
0.. 123456789
1..0123456789
2..01234
ESC+Key
Outputs Flags
Parameter assignment menu
>Stop
Set Param
Set Clock
Prg Name
LOGO! Menu structure
291
LOGO! Manual
A5E00228550-01
E Order numbers
Table A
Variant Designation Order number
Basic LOGO! 12/24 RC *
LOGO! 24):
LOGO! 24 RC (AC)
LOGO! 230 RC
6ED1052-1MD00-0BA4
6ED1052-1CC00-0BA4
6ED1052-1HB00-0BA4
6ED1052-1FB00-0BA4
Basic
without display
(pure)
LOGO! 12/24 RCo *
LOGO! 24o *
LOGO! 24 RCo (AC)
LOGO! 230 RCo
6ED1052-2MD00-0BA4
6ED1052-2CC00-0BA4
6ED1052-2HB00-0BA4
6ED1052-2FB00-0BA4
Digital modules LOGO! DM 8 12/24R
LOGO! DM 8 24
LOGO! DM 8 24R
LOGO! DM 8 230R
6ED1055-1MB00-0BA1
6ED1055-1CB00-0BA0
6ED1055-1HB00-0BA0
6ED1055-1FB00-0BA1
Analog modules LOGO! AM 2
LOGO! AM 2 PT100 6ED1055-1MA00-0BA0
6ED1055-1MD00-0BA0
*: Also with analog inputs
LOGO! Manual
A5E00228550-01
292
Table B
Accessories Designation Order number
Software LOGO!Soft Comfort V4.0
Upgrade to
LOGO!Soft Comfort V4.0
6ED1058-0BA00-0YA0
6ED1058-0CA00-0YE0
Program mod-
ule (card) LOGO! Card 6ED1056-5CA00-0BA0
Switching mod-
ules LOGO!Contact 24 V
LOGO!Contact 230 V 6ED1057–4CA00–0AA0
6ED1057–4EA00–0AA0
Power modules LOGO!Power 12V/1.9A
LOGO!Power 12V/4.5A
LOGO!Power 24V/1.3A
LOGO!Power 24V/2.5A
6EP1321–1SH01
6EP1322–1SH01
6EP1331–1SH01
6EP1332–1SH41
Others PC cable
Manual 6ED1057–1AA00–0BA0
6ED1050–1AA00–0BE5
Order numbers
293
LOGO! Manual
A5E00228550-01
F Abbreviations
AM Analog module
B1 Block number B1
BN Block Number
C LOGO! device designation: integrated clock
CM Communication Module
Cnt Count = Counter input
Co Connector
Dir Direction (of count, for example)
DM Digital Module
En Enable = switching on
(clock generators, for example)
Fre Input for frequency signals to be analyzed
GF Basic Functions
Inv Input for inverting the output signal
No Cam (parameter of the timer)
o in LOGO! designations: without display
Par Parameter
R Reset input
R in LOGO! designations: Relay outputs
Ral Reset all = Input for resetting all internal values
S Set (latching relay, for example)
SF Special functions
SU Subunit
T Time = parameter
Trg Trigger (parameter)
0BA4 devices: the latest LOGO! Basic version, described in
this Manual.
LOGO! Manual
A5E00228550-01
294
Order numbers
295
LOGO! Manual
A5E00228550-01
Index
A
Abbreviations, 293
AM. See Analog module
Amplifier, analog, 173
Analog
comparator, 165
values, 106
Analog amplifier, 173
Analog differential trigger, 161
Analog module, 2, 7
Analog threshold trigger, 158
Analog value monitoring, 170
AND, 95
Applications, 221
AS interface, 2, 243
Asynchronous pulse generator,
128
B
Basic functions, 93
AND, 95
with edge, 96
NAND, 97
with edge, 98
NOR, 100
NOT, 101
OR, 99
XOR, 101
Basics on special functions, 102
BF, 89
Blank outputs, 40
blank outputs, 91
Block, 42
deleting, 74
block groups, 75
inserting, 69
number, 42
assigning, 43
BN, 89
C
Cap, 17
Card. See Program module
(card)
CE label, 10
Certification, 9
Character set, 60
Circuit diagram, 45
Circuit program, input, 54
circuit program, 84
deleting, 77
Circuit program name, assigning,
60
Circuit programs
archiving, 203
reproduce, 203
send by mail, 203
Closing the programming mode,
74
LOGO! Manual
A5E00228550-01
296
CM. See Communications mo
dule
Co, 89, 90
Communication module, AS in
terface, 243
Communications module, 2
AS interface, 2, 7
Compatibility, Versions, 204
Connecting
Inputs, 25
outputs, 31
Connector, 17
Connectors, 39, 90
blank, 40
hi, 41
inputs, 41
lo, 41
LOGO!'s, 40
open, 92
outputs, 41
unused, 46
x, 40, 41, 46, 103
Constants, 90
Control panel, 4, 5
Conversion, Summertime and
wintertime, 78
Correcting typing errors, 76
Counter
Operating hours, 150
Up/down, 146
CSA, 9
cULus , 9
Cursor, 49
Cursor keys, 40, 92, 184
Cursor movement, 49
Cycle time, 283
D
Demo versions, 217
Device types, LOGO!, 2
Digital module, 2, 7
Dimensions, 16
DIN rail, 16
Display, 43
Display view, 43
Disposal, 10
DM. See Digital module
E
Earth connection, 24
Edge evaluation, 96, 98
Editing, 69
Example
Air-conditioning system, 234
Automatic door, 227
Factory door, 239
factory door
controlling, 243
Monitoring, 243
further options, 255
lighting
corridor, 223
stairway, 223
Luminous rows, 247
Service water pump, 251
Index
297
LOGO! Manual
A5E00228550-01
exclusive OR, 101
Expansion modules, 2
Analog module, 2, 41
Communications module, 2
Digital module, 41
digital module, 2
Operating state, 36
expansion modules, 39
F
Flag blocks, 91
FM, 9
Four golden rules, 48
Function blocks, 42
Functions, 89
G
Gain, 106
GF, 93
Golden rules, 48
Guidelines, 11
H
Hiding, 72
high-speed counting, 27
Hours counter, 150
Reading the MN and OT va
lues, 153
Hysteresis, 169
I
Inputs, 90
Analog inputs, 27, 90
connection, 25
Cursor keys, 40, 92
Digital Inputs, 90
Groups, 25
inverting, 59, 93, 109
unused, 46
inputs, High-speed inputs, 27
Inserting, 69
Installation guidelines, 11
Interlock, 18, 20
Interpulse, width, 129
Inverter, 101
L
Latching relay, 175
LCD, 4, 5
LED, 287
Levels, 92
List
BF, 89
BN, 89
Co, 89, 90
SF, 89, 109
List , GF, 93
Logic module, 1
Logical inputs, 103
LOGO!
connecting to PC, 218
Index
LOGO! Manual
A5E00228550-01
298
Guidelines, 11
identifying, 7
Installing, 16
Operating states, 36
removing, 16
Structure of, 4
switching on, 33
Versions, 8
wiring, 23
LOGO! menus, 50
LOGO! software, 215
LOGO!Soft Comfort, 216
M
Memory
areas, 84
free, 88
limitation, 84
requirements, 85
space, 84
Menu structure, 289
Menus
Main menu, 50
Parameter assignment menu,
50
Programming menu, 50
Real-time clock menu, 50
Transfer menu, 50
Message texts, 179
Character set, 184
Mode
Parameter assignment, 194
parameter assignment, 50
PC-LOGO, 218
programming, 50
Mounting
DIN rail mounting, 17
Drilling template, 22
Wall-mounting, 21
Multiple function switch, 135
N
Name, 60
NAND, 97
Negation, 101
of a BF input, 93
of an input, 59
of an SF input, 109
NOR , 100
NOT , 101
NOT AND, 97
NOT OR, 100
O
Off-delay, 117
Off-time, 140
Offset, 106
On-/Off-delay, 119
On-delay, 113
retentive, 121
On-time, 140
Open connectors, 92
Operating
characteristics, 286
Index
299
LOGO! Manual
A5E00228550-01
Status indication, 287
Operating mode
Changing the operating mode,
48
Programming mode, 51
OR, 99
Order numbers, 291
Outputs, 90
Analog outputs, 91
blank, 40, 91
connecting, 31
Digital outputs, 90
P
Parameter, 196
'Set Param', 195
Inputs, 104
selecting, 197
setting, 193
T, 104
Parameter assignment, 71
Parameter assignment menu, 194
Parameter assignment screen
form, 139, 181
Parameter protection, 106
Parameters, modifying, 198
parameters, showing/hiding, 72
Password
assigning, 61
changing, 63
deactivating, 64
wrong, 65
PC cable, 218
USB, 218
PC-LOGO, 218
Planning, 49
Power
off, 34
On, 33
on, 34
switch, 33
Power supply, connecting, 23
Program memory, 84
Program chart, 44
Program cycle, 283
Program module (card)
'Card --> LOGO', 213
'CopyProtect', 206
'LOGO --> Card', 210
copying, 212
Enabling the security function,
207
inserting, 208, 209
removing, 208, 209
Security function, 205
Program name
change, 61
character set, 60
read, 195
Programs
'Clear Prg', 77
'Edit Name', 60
'Edit Prg', 52
'Password', 61
modifying, 68
Protection mode, 72
Pulse
Pause, 126
width, 126
width , 129
Index
LOGO! Manual
A5E00228550-01
300
pulse generator, Asynchronous ,
128
Pulse output, 123
Pulse relay, 176
R
Random generator, 130
Recycling, 10
Relay outputs, 31, 273
service life, 273
switching capacity, 273
Removal, 19
Resources, 84
Retentive memory, 84
Retentive on-delay, 121
Retentivity, 105
enabling/disabling, Retentivity
setting, 72
Rules, Four golden, 48
RUN, 'Start', 66
S
Sensor Characteristics, 25
Sensor connections, 28
Set clock, 'Set Clock', 201
Setting, time, 72
Setting the date, 201
Setting the time-of-day, 201
'Set clock', 195
Setup, 13
Maximum setup, 13
with different voltage classes,
14
SF, 89, 109
SFs, Delay, On, 113
Shift register, 190
Shift register bits, 40, 92
Showing, 72
Signal status transitions, 27
Simulation, 215
Size of a circuit, 84
Softkey, 186
Software, 215
Solid-state outputs, 32
Special functions, 109
Analog amplifier, 173
Analog Comparator, 165
Analog differential trigger, 161
Analog threshold trigger, 158
Analog value monitoring, 170
Basics, 102
Counter
Hours counter, 150
Up/down, 146
Delay
Off, 117
On/Off, 119
delay, ret. on, 121
Message texts, 179
Pulse generator, asynchronous,
128
Random generator, 130
Relay, Latch, 175
Index
301
LOGO! Manual
A5E00228550-01
relay, Pulse, 176
Shift register, 190
Softkey, 186
Switch
Comfort, 135
Stairway lighting, 132
Threshold trigger, Frequency,
155
Timer
Week, 138
Year, 143
Trigger, Analog threshold, 158
Wiping relay
edge triggered, 125
Pulse output, 123
Stairway lighting switch, 132
Start, 66
Startup characteristics, 286
Startup flag, 92
Stop, 195
Subunits, 16
Summertime, 78
Summertime/Wintertime Con
version, 'S/W Time', 78
Summertime/wintertime conver
sion, 78
disabling, 82
enabling, 79
user-define parameters, 81
Switch
Multiple function, 135
Stairway lighting, 132
Switched current, maximum, 32
Symbols, 7
Synchronization, 83
'Sync', 83
enabling, 83
T
T, Parameter, 105
Technical data, 259
general, 259
LOGO! 12..., 270
LOGO! 230...., 261
LOGO! 24/24o, 264
LOGO! 24RC/24RCo, 267
LOGO! AM 2 PT100, 275
LOGO! AM2, 274
LOGO! DM8 12/24R, 270
LOGO! DM8 230R, 261
LOGO! DM8 24, 264
LOGO! DM8 24R, 267
LOGO!Contact, 281
LOGO!Power 12 V, 277
Threshold trigger, Frequencies,
155
Time, Accuracy of, 104
Time response, 104
Timebase, 71, 104, 113
Timer, 1
accuracy, 105
Timing inaccuracy , 105
Trigger, Analog threshold, 158
trigger, Analog, Differential, 161
type of equipment, LOGO!, 2
Index
LOGO! Manual
A5E00228550-01
302
U
Unused connectors, 46
unused connectors, 40
Unused inputs, 46
Up/down counter, 146
Update, 217
Upward compatibility, 204
USB, 218
V
Verification, 73
Voltage levels , 92
Voltage supply, connecting, Cir
cuit protection, 24
W
Weekday, 139
Weekly timer, 7, 140
Examples, 141
setting, 140
Weekly timer , 138
Wintertime, 78
Wiping relay
edge triggered, 125
Pulse output, 123
Wire ferrules, 23
without display, 285
creating a circuit program, 37
PC-LOGO mode, 218
reading current data, 287
X
XOR , 101
Y
Yearly timer, 143
Z
Zero offset, 106
Index
A5E00324307-01
Copyright 2004 by Siemens AG
Produktinformation
07.2004
Produktinformation zum Handbuch LOGO!; ab Ausgabe 06/2003
(A5E00228104-01)
Vorbemerkung
Diese Produktinformation enthält wichtige Informationen zu LOGO!
Sie ist als separater Bestandteil aufzufassen und in Zweifelsfällen in der Verbind-
lichkeit anderen Aussagen in Handbüchern und Katalogen übergeordnet.
Diese Produktinformation enthält die Ergänzungen für die LOGO!-Erweiterungs-
module DM16 24, DM16 24R und DM16 230R.
2Produktinformation LOGO!
A5E00324307-01
1.1 Welche Erweiterungsmodule gibt es?
LOGO! Digitalmodule DM8... gibt es für 12 V DC, 24 V AC/DC und
115...240 V AC/DC mit 4 Eingängen und 4 Ausgängen.
LOGO! Digitalmodule DM16... gibt es für 24 V DC und 115...240 V AC/DC mit
8 Eingängen und 8 Ausgängen.
LOGO! Analogmodule gibt es für 12 V DC und 24 V DC mit 2 Analogeingängen
bzw. mit 2 Pt100-Eingängen.
LOGO! Kommunikationsmodule (CM), wie z.B. Kommunikationsmodul AS-In-
terface, das in einer eigenen Dokumentation beschrieben wird.
Digital- und Analogmodule sind in 2 bzw. 4 TE integriert und besitzen jeweils zwei Er-
weiterungsschnittstellen, so dass an jedes ein weiteres Modul angeschlossen sein
kann.
1.2 So ist LOGO! aufgebaut
LOGO! Erweiterungsmodul
(z.B.: DM16 24R)
4
5
Anzeige des Zustandes
RUN/STOP
Schieber
35
72
90
53
6
Mechanische Codierung –
Stifte
3
12
7
78
7
Erweiterungsschnitt-
stelle
1
2
3Ausgänge
Spannungsversorgung
Eingänge
66
8Mechanische Codierung –
Buchsen
4
Q2
Q6
Q1 Q2
L+ M I2 I3 I4I1
RUN/STOP
Q5 Q8
Q3
I5 I6 I8I7
Q7
Q4
12
1212 1212
121212
4
5
SymboleDigitalmodul verfügt über 4 Digitaleingänge und 4 Digitalausgänge
Digitalmodul verfügt über 8 Digitaleingänge und 8 Digitalausgänge
3
Produktinformation LOGO!
A5E00324307-01
1.3 Erweiterungsmodule
An LOGO! können folgende Erweiterungsmodule angeschlossen werden:
Symbol Bezeichnung Versorgung Eingänge Ausgänge
LOGO! DM 8 12/24R 12/24 V DC 4 Digital 4 Relais je 5A
LOGO! DM 8 24 24 V DC 4 Digital 4 Transistor
24V / 0,3A
LOGO! DM 8 24R (3) 24 V AC/DC 4 Digital 4 Relais je 5A
LOGO! DM 8 230R 115...240 V AC/DC 4 Digital (1) 4 Relais je 5A
LOGO! DM 16 24 24 V DC 8 Digital 8 Transistor
24V / 0,3A
LOGO! DM 16 24R 24 V DC 8 Digital 8 Relais je 5A
LOGO! DM 16 230R 115...240 V AC/DC 8 Digital (4) 8 Relais je 5A
LOGO! AM 2 12/24 V DC 2 Analog
0 ... 10V oder
0 ... 20mA (2)
keine
LOGO! AM 2 PT100 12/24 V DC 2 Pt100
–50 °C bis
+200 °C
keine
(1): Keine unterschiedlichen Phasen innerhalb der Eingänge erlaubt.
(2): 0 ... 10V, 0 ... 20 mA sind wahlweise anschließbar.
(3): Digitaleingänge können wahlweise P-schaltend oder N-schaltend
betrieben werden.
(4): Eingänge in zwei Gruppen von 4. Innerhalb der Gruppe nur eine gleiche
Phase, zwischen den Gruppen verschiedene Phasen möglich.
1.4 Aufbau mit unterschiedlichen Spannungsklassen
Regeln Digitalmodule können Sie nur an Geräte der gleichen Spannungsklasse anschließen.
Analogmodule und Kommunikationsmodule können Sie an Geräte mit beliebiger
Spannungsklasse anschließen.
Sie können ohne eine Änderung des Schaltprogramms zwei gleiche DM8-Erweite-
rungsmodule durch ein gleichartiges DM16-Erweiterungsmodul ersetzen (und umge-
kehrt).
Achtung
Zwei DM8 12/24R können nur bei einer Versorgungsspannung von 24 V DC gegen
ein DM16 24R getauscht werden.
Zwei DM8 24R können nur in der Betriebsart DC, P-schaltend gegen ein DM16 24R
getauscht werden.
4Produktinformation LOGO!
A5E00324307-01
Übersicht:
Erweiterungsmodul an LOGO! Basic anschließen
LOGO!
Bi
Erweiterungsmodule
Basic DM8 12/24R,
DM16 24R DM8 24,
DM16 24 DM8 24R DM8 230R,
DM16 230R AM2,
AM2 PT100 CM
LOGO! 12/24RC x x x x x
LOGO! 24 x x x x x
LOGO! 24RC x x x x x
LOGO! 230RC x x x
LOGO! 12/24RCo x x x x x
LOGO! 24o x x x x x
LOGO! 24RCo x x x x x
LOGO! 230RCo x x x
Übersicht:
Erweiterungsmodul an Erweiterungsmodul anschließen
Erweiterungs-
dl
Weitere Erweiterungsmodule
modul DM8 12/24R,
DM16 24R DM8 24,
DM16 24 DM 8 24R DM8 230R,
DM16 230R AM2,
AM2 PT100 CM
DM 8 12/24R,
DM 16 24R x x x x x
DM 8 24,
DM 16 24 x x x x x
DM 8 24R x x x x x
DM 8 230R,
DM 16 230R x x x
AM2 / AM2 PT100 x x x x x
CM x x x x x
5
Produktinformation LOGO!
A5E00324307-01
1.5 Abmessungen
LOGO! besitzt die Abmessungen für Installationsgeräte gemäß DIN 43880.
LOGO! kann auf eine 35 mm breite Hutschiene nach DIN EN 50022 aufgeschnappt
oder an die Wand montiert werden.
Breite von LOGO!:
LOGO! Basic ist 72 mm breit, das entspricht 4 Teilungseinheiten.
LOGO! Erweiterungsmodule sind 36 mm bzw. 72 mm (DM16...) breit, das ent-
spricht 2 bzw. 4 Teilungseinheiten.
1.6 Eingänge von LOGO! anschließen
Sensoreigenschaften für LOGO!
LOGO! DM16
24 R LOGO! DM16
24 LOGO! DM16
230 R (AC) LOGO! DM16
230 R (DC)
Schaltzustand 0 < 5 V DC < 5 V DC < 40 V AC < 30 V DC
Eingangsstrom < 1 mA < 1 mA < 0,05 mA < 0,05 mA
Schaltzustand 1 > 12 V DC > 12 V DC > 79 V AC > 79 V DC
Eingangsstrom > 2 mA > 2 mA > 0,08 mA > 0,08 mA
Achtung
Die Digitaleingänge der LOGO! 230 RC/RCo und des Erweiterungsmoduls
DM16 230R sind in zwei Gruppen aufgeteilt, die jeweils über 4 Eingänge verfügen.
Innerhalb einer Gruppe muss an allen Eingängen die gleiche Phase verwendet
werden. Verschiedene Phasen sind nur zwischen den Gruppen möglich.
Beispiel: I1 bis I4 an Phase L1, I5 bis I8 an Phase L2.
Bei LOGO! DM8 230R dürfen innerhalb der Eingänge keine unterschiedlichen
Phasen angeschlossen werden.
Sensoranschlüsse
Anschließen von Glimmlampen, 2-Draht-Näherungsschalter (Bero) an LOGO!
230RC/230RCo oder LOGO! DM8 230R (AC) und LOGO! DM16 230R (AC)
L1
N
NL1
C3SB1420-3D
Bestellbezeichnung für C:
Siemens
Schaltgeräte & Systeme
X-Kondensator 2,5 kV, 100 nF
6Produktinformation LOGO!
A5E00324307-01
1.7 Technische Daten
Allgemeine Technische Daten
Kriterium Prüfung nach Werte
LOGO!Basic
Abmessungen BxHxT 72 x 90 x 55 mm
Gewicht ca. 190 g
Montage auf Hutschiene 35 mm
4 Teilungseinheiten breit
oder W andmontage
LOGO! Erweiterungsmodule
DM8..., AM...
Abmessungen BxHxT 36 x 90 x 53 mm
Gewicht ca. 90 g
Montage auf Hutschiene 35 mm
2 Teilungseinheiten breit
oder W andmontage
LOGO! Erweiterungsmodule
DM16...
Abmessungen BxHxT 72 x 90 x 53 mm
Gewicht ca. 190 g
Montage auf Hutschiene 35 mm
4 Teilungseinheiten breit
oder W andmontage
Klimatische Umgebungsbedingungen
Umgebungstemperatur
waa
g
rechter Einbau Kälte nach IEC
60068-2-1 0 ... 55 °C
waagrechter Einbau
senkrechter Einbau Wärme nach
IEC 60068-2-2
0
...
55 C
0 ... 55 °C
Lagerung / Transport -40 °C ... +70 °C
Relative Feuchte IEC 60068-2-30 von 10 bis 95%
keine Betauung
Luftdruck 795 ... 1080 hPa
Schadstoffe IEC 60068-2-42
IEC 60068-2-43 SO2 10 cm3 /m3, 4 Tage
H2S 1 cm3 /m3, 4 Tage
Mechanische Umgebungsbedingungen
Schutzart IP 20
Schwingungen IEC 60068-2-6 5 ... 9 Hz (konstante Ampli-
tude 3,5 mm)
9 ... 150 Hz (konstante Be-
schleunigung 1 g)
Schock IEC 60068-2-27 18 Schocks
(Halbsinus 15g/11ms)
Kippfallen IEC 60068-2-31 Fallhöhe 50 mm
Freier Fall, verpackt IEC 60068-2-32 1 m
7
Produktinformation LOGO!
A5E00324307-01
Kriterium WertePrüfung nach
Elektromagnetische Verträglichkeit (EMV)
Störaussendung EN 55011/A
EN 55022/B
EN 50081-1
(Wohnbereich)
Grenzwertklasse B Gruppe 1
Elektrostatische Entladung IEC 61000-4-2
Schärfegrad 3 8 kV Luftentladung
6 kV Kontaktentladung
Elektromagnetische Felder IEC 61000-4-3 Feldstärke 10 V/m
HF-Bestromung auf Leitungen und
Leitungsschirmen IEC 61000-4-6 10 V
Burst Impulse IEC 61000-4-4
Schärfegrad 3 2 kV (Versorgungs- und Si-
gnalleitungen)
Energiereicher Einzelimpuls
(Surge)
(nur bei LOGO! 230....)
IEC 61000-4-5
Schärfegrad 3 1 kV (Versorgungsleitungen)
symmetrisch
2 kV (Versorgungsleitungen)
asymmetrisch
Angaben über IEC- / VDE-Sicherheit
Bemessung der Luft- u. Kriech-
strecken IEC 60664,
IEC 61131-2, EN 50178
cULus nach UL 508,
CSA C22.2 No. 142
Bei LOGO! 230R/RC
auch VDE 0631
erfüllt
Isolationsfestigkeit IEC 61131-2 erfüllt
8Produktinformation LOGO!
A5E00324307-01
Technische Daten: LOGO! DM16 230R
LOGO! DM16 230R
Stromversorgung
Eingangsspannung 115 ... 240 V AC/DC
Zulässiger Bereich 85 ... 265 V AC
100 ... 253 V DC
Zulässige Netzfrequenz: 47 ... 63 Hz
Stromaufnahme
115 V AC 10 ... 60 mA
240 V AC 10 ... 40 mA
115 V DC 5 ... 25 mA
240 V DC 5 ... 20 mA
Spannnungsausfallüberbrückung
115 V AC/DC
typ 10 ms
11
5
V AC/DC
typ.
10
ms
240 V AC/DC
yp
typ 20 ms
240 V AC/DC
t
y
p
.
20 ms
Verlustleistung bei
115 V AC 1,1 ... 4,5 W
240 V AC
,,
2,4 ... 5,5 W
115 V DC
,,
0,6 ... 2,9 W
240 V DC 1,2 ... 4,8 W
Puf ferung der Uhr bei 25 _C
Ganggenauigkeit der Echtzeituhr
Digitaleingänge
Anzahl 8
Potentialtrennung nein
Eingangsspannung L1
Signal 0
Signal 1
Signal 0
Signal 1
< 40 V AC
> 79 V AC
< 30 V DC
> 79 V DC
Eingangsstrom bei
Signal 0 < 0,05 mA
g
Signal 1 > 0,08 mA
Verzögerungszeit bei
0 nach 1 typ. 50 ms
1 nach 0
yp
typ. 50 ms
Leitungslänge (ungeschirmt) 100 m
Digitalausgänge
Anzahl 8
Typ der Ausgänge Relaisausgänge
Potentialtrennung ja
in Gruppen zu 1
Ansteuerung eines Digitaleingangs ja
9
Produktinformation LOGO!
A5E00324307-01
LOGO! DM16 230R
Dauerstrom Ith max. 5 A je Relais
Glühlampenlast (25.000 Schaltspiele) bei
230/240 V AC
115/120 V AC 1000 W
500 W
Leuchtstoffröhren mit elektr. Vorschaltgerät (25.000
Schaltspiele) 10 x 58 W (bei 230/240 V AC)
Leuchtstoffröhren konventionell kompensiert (25.000
Schaltspiele) 1 x 58 W (bei 230/240 V AC)
Leuchtstoffröhren unkompensiert (25.000 Schalt-
spiele) 10 x 58 W (bei 230/240 V AC)
Kurzschlussfest cos 1 Leistungsschutz B16
600A
Kurzschlussfest cos 0.5 bis 0.7 Leistungsschutz B16
900A
Derating kein; im gesamten Temperaturbereich
Parallelschaltung von Ausgängen zur Leistungser-
höhung nicht zulässig
Absicherung eines Ausgangsrelais (falls gewünscht) max. 16 A,
Charakteristik B16
Schaltfrequenz
mechanisch 10 Hz
Ohmsche Last/Lampenlast 2 Hz
Induktive Last 0,5 Hz
10 Produktinformation LOGO!
A5E00324307-01
Technische Daten: LOGO! DM16 24
LOGO! DM16 24
Stromversorgung
Eingangsspannung 24 V DC
Zulässiger Bereich 20,4 ... 28,8 V DC
Verpolschutz ja
Zulässige Netzfrequenz
Stromaufnahme aus 24 V 30 ... 45 mA
0,3 A je Ausgang
Spannnungsausfallüberbrückung
Verlustleistung bei 24 V 0,8 ... 1,7 W
Puf ferung der Uhr bei 25 _C
Ganggenauigkeit der Echtzeituhr
Digitaleingänge
Anzahl 8
Potentialtrennung nein
Eingangsspannung L+
Signal 0 < 5 V DC
g
Signal 1 > 12 V DC
Eingangsstrom bei
Signal 0 < 1 mA
g
Signal 1 > 2 mA
Verzögerungszeit bei
0 nach 1 typ. 1,5 ms
1 nach 0
yp
typ. 1,5 ms
Leitungslänge (ungeschirmt) 100 m
Digitalausgänge
Anzahl 8
Typ der Ausgänge Transistor,
P-schaltend
Potentialtrennung nein
in Gruppen zu
Ansteuerung eines Digitaleingangs ja
Ausgangsspannung ¢ Versorgungsspannung
Ausgangsstrom max. 0,3 A
Dauerstrom Ith
Glühlampenlast (25.000 Schaltspiele) bei
Leuchtstoffröhren mit elektr. Vorschaltgerät (25.000
Schaltspiele)
Leuchtstoffröhren konventionell kompensiert (25.000
Schaltspiele)
Leuchtstoffröhren unkompensiert (25.000 Schalt-
spiele)
11
Produktinformation LOGO!
A5E00324307-01
LOGO! DM16 24
Kurzschlussfest und überlastsicher ja
Kurzschlussstrombegrenzung ca. 1 A
Derating kein; im gesamten Temperaturbereich
Kurzschlussfest cos 1
Kurzschlussfest cos 0.5 bis 0.7
Parallelschaltung von Ausgängen zur Leistungser-
höhung nicht zulässig
Absicherung eines Ausgangsrelais (falls gewünscht)
Schaltfrequenz
mechanisch
elektrisch 10 Hz
Ohmsche Last/Lampenlast 10 Hz
Induktive Last 0,5 Hz
12 Produktinformation LOGO!
A5E00324307-01
Technische Daten: LOGO! DM16 24R
LOGO! DM16 24R
Stromversorgung
Eingangsspannung 24 V DC
Zulässiger Bereich 20,4 ... 28,8 V DC
Verpolschutz ja
Stromaufnahme
24 V DC 30 ... 90 mA
Spannnungsausfallüberbrückung
24 V DC typ. 5 ms
Verlustleistung
24 V DC 0,7 ... 2,5 W
Puf ferung der Uhr bei 25 _C
Ganggenauigkeit der Echtzeituhr
Potentialtrennung nein
Digitaleingänge
Anzahl 8
Potentialtrennung nein
Eingangsspannung L+
Signal 0 < 5 V DC
g
Signal 1 > 12 V DC
Eingangsstrom bei
Signal 0 < 1 mA
g
Signal 1 > 2 mA
Verzögerungszeit bei
0 nach 1 typ. 1,5 ms
1 nach 0
yp
typ. 1,5 ms
Leitungslänge (ungeschirmt) 100 m
Digitalausgänge
Anzahl 8
Typ der Ausgänge Relaisausgänge
Potentialtrennung ja
in Gruppen zu 1
Ansteuerung eines Digitaleingangs ja
Ausgangsspannung
Ausgangsstrom
Dauerstrom Ith (je Klemme) max. 5 A je Relais
Glühlampenlast (25.000 Schaltspiele) 1000 W
Leuchtstoffröhren mit elektr. Vorschaltgerät (25.000
Schaltspiele) 10 x 58 W
Leuchtstoffröhren konventionell kompensiert (25.000
Schaltspiele) 1 x 58 W
13
Produktinformation LOGO!
A5E00324307-01
LOGO! DM16 24R
Leuchtstoffröhren unkompensiert (25.000 Schalt-
spiele) 10 x 58 W
Kurzschlussfest und überlastsicher
Kurzschlussstrombegrenzung
Derating kein; im gesamten Temperaturbereich
Kurzschlussfest cos 1 Leistungsschutz B16
600A
Kurzschlussfest cos 0.5 bis 0.7 Leistungsschutz B16
900A
Parallelschaltung von Ausgängen zur Leistungser-
höhung nicht zulässig
Absicherung eines Ausgangsrelais (falls gewünscht) max. 16 A,
Charakteristik B16
Schaltfrequenz
mechanisch 10 Hz
elektrisch
Ohmsche Last/Lampenlast 2 Hz
Induktive Last 0,5 Hz
1.8 Bestellnummern
Tabelle A
Variante Bezeichnung Bestellnummer
Basic LOGO! 12/24RC *
LOGO! 24 *
LOGO! 24RC (AC)
LOGO! 230RC
6ED1 052-1MD00-0BA4
6ED1 052-1CC00-0BA4
6ED1 052-1HB00-0BA4
6ED1 052-1FB00-0BA4
Basic
ohne Display
(Pure)
LOGO! 12/24RCo *
LOGO! 24o *
LOGO! 24RCo (AC)
LOGO! 230RCo
6ED1 052-2MD00-0BA4
6ED1 052-2CC00-0BA4
6ED1 052-2HB00-0BA4
6ED1 052-2FB00-0BA4
Digitalmodule LOGO! DM 8 12/24R
LOGO! DM 8 24
LOGO! DM 8 24R
LOGO! DM 8 230R
LOGO! DM 16 24
LOGO! DM 16 24R
LOGO! DM 16 230R
6ED1 055-1MB00-0BA1
6ED1 055-1CB00-0BA0
6ED1 055-1HB00-0BA0
6ED1 055-1FB00-0BA1
6ED1055-1CB10-0BA0
6ED1055-1NB10-0BA0
6ED1055-1FB10-0BA0
Analogmodule LOGO! AM 2
LOGO! AM 2 PT100 6ED1 055-1MA00-0BA0
6ED1 055-1MD00-0BA0
*: zusätzlich mit Analogeingängen
14 Produktinformation LOGO!
A5E00324307-01
Bestellnummern
A5E00324307-01
Copyright 2004 by Siemens AG
Product information
07.2004
Product Information on Manual LOGO!; from Edition 06/2003
(A5E00228550-01)
Preliminary remarks
This Product Information contains additional information about LOGO!
It is a separate component and should be considered more up-to-date than the
information in the manuals and catalogs if uncertainties arise.
This Product Information provides information about LOGO! expansion modules
DM16 24, DM16 24R and DM16 230R.
16 Product information LOGO!
A5E00324307-01
2.1 Which expansion modules are available?
LOGO! digital modules DM8... are available for operation with 12 V DC, 24 V
AC/DC and 115...240 V AC/DC, and are equipped with four inputs and four
outputs.
LOGO! digital modules DM16... are available for operation with 24 V DC and
115...240 V AC/DC, and are equipped with eight inputs and eight outputs.
LOGO! analog modules are available for operation with
12 V DC and 24 V DC, and are equipped with two analog inputs or two Pt100
inputs.
LOGO! communications modules (CM), for example the communications
module AS interface, that is described in a separate documentation.
The digital/analog modules are integrated in two or four subunits. Each one is
equipped with two expansion interfaces for connecting additional modules.
2.2 The LOGO! structure
LOGO! expansion module
(e.g.: DM16 24R)
4
5
RUN/STOP indicator
Slide
35
72
90
53
6
Mechanical coding
pins
3
12
7
78
7
Expansion interface
1
2
3Outputs
Power supply
Inputs
66
8Mechanical coding
sockets
4
Q2
Q6
Q1 Q2
L+ M I2 I3 I4I1
RUN/STOP
Q5 Q8
Q3
I5 I6 I8I7
Q7
Q4
12
1212 1212
121212
4
5
SymbolsThe digital module is equipped with 4 digital inputs and 4 digital outputs
The digital module is equipped with 8 digital inputs and 8 digital outputs
17
Product information LOGO!
A5E00324307-01
2.3 Expansion modules
The following expansion modules can be connected to the LOGO!:
Symbol Name Power supply Inputs Outputs
LOGO! DM 8 12/24R 12/24 V DC 4 digital 4 relays (5A)
LOGO! DM 8 24 24 V DC 4 digital 4 solid state
24V / 0.3A
LOGO! DM 8 24R (3) 24 V AC/DC 4 digital 4 relays (5A)
LOGO! DM 8 230R 115...240 V AC/DC 4 digital (1) 4 relays (5A)
LOGO! DM 16 24 24 V DC 8 digital 8 solid state
24V / 0.3A
LOGO! DM 16 24R 24 V DC 8 digital 8 relays (5A)
LOGO! DM 16 230R 115...240 V AC/DC 8 digital (4) 8 relays (5A)
LOGO! AM 2 12/24 V DC 2 analog
0 ... 10V or 0
... 20mA (2)
none
LOGO! AM 2 PT100 12/24 V DC 2 Pt100
–50 °C to
+200 °C
none
(1): Different phases are not allowed within the inputs.
(2): 0 ... 10 V, 0 ... 20 mA can be connected optionally.
(3): Digital inputs can be operated either with P or with N action.
(4): Two groups consisting of 4 inputs each. Each group must be connected to
the same phase. It is possible to interconnect groups with a different phase.
2.4 Setup with different voltage classes
Rules Digital modules can only be connected to devices of the same voltage class.
You may connect analog and communications modules to devices of any voltage
class.
You may replace two similar DM8 expansion modules by one appropriate DM16 ex-
pansion module (and vice versa) without having to change the circuit program.
Note
Two DM8 12/24R may be replaced by one DM16 24R only if operated with a power
supply of 24 V DC.
Two DM8 24R may be replaced by one DM16 24R only if operated with DC and
P action.
18 Product information LOGO!
A5E00324307-01
Overview:
Connecting an expansion module to LOGO! Basic
LOGO!
Bi
Expansion modules
Basic DM8 12/24R,
DM16 24R DM8 24,
DM16 24 DM8 24R DM8 230R,
DM16 230R AM2,
AM2 PT100 CM
LOGO! 12/24RC x x x x x
LOGO! 24 x x x x x
LOGO! 24RC x x x x x
LOGO! 230RC x x x
LOGO! 12/24RCo x x x x x
LOGO! 24o x x x x x
LOGO! 24RCo x x x x x
LOGO! 230RCo x x x
Overview:
Connecting a further expansion module to an expansion module
Expansion
dl
Further Expansion modules
module DM8 12/24R,
DM16 24R DM8 24,
DM16 24 DM 8 24R DM8 230R,
DM16 230R AM2,
AM2 PT100 CM
DM 8 12/24R,
DM 16 24R x x x x x
DM 8 24,
DM 16 24 x x x x x
DM 8 24R x x x x x
DM 8 230R,
DM 16 230R x x x
AM2 / AM2 PT100 x x x x x
CM x x x x x
19
Product information LOGO!
A5E00324307-01
2.5 Dimensions
The LOGO! installation dimensions are compliant with DIN 43880.
LOGO! can be snap-mounted to 35 mm DIN rails to EN 50022 or on the wall.
LOGO! width:
LOGO! Basic has a width of 72 mm, which corresponds with 4 subunits.
LOGO! expansion modules have a width of 36 mm or 72 mm (DM16...), which cor-
responds with 2 or 4 subunits.
2.6 Connecting LOGO! inputs
Sensor characteristics for LOGO!
LOGO! DM16
24 R LOGO! DM16
24 LOGO! DM16
230 R (AC) LOGO! DM16
230 R (DC)
Signal status 0 < 5 V DC < 5 V DC < 40 V AC < 30 V DC
Input current < 1 mA < 1 mA < 0.05 mA < 0.05 mA
Signal status 1 > 12 V DC > 12 V DC > 79 V AC > 79 V DC
Input current > 2 mA > 2 mA > 0.08 mA > 0.08 mA
Note
The digital inputs of LOGO! 230 RC/RCo and of expansion module DM16 230R are
divided into two groups, each consisting of four inputs. Within the same group, all
inputs must be operated on the same phase. Different phases are only possible
between the groups.
Example: I1 to I4 on phase L1, I5 to I8 on phase L2.
Inputs within the LOGO! DM8 230R may not be connected to different phases.
Sensor connections
Connecting glow lamps and 2-wire proximity switches (Bero) to LOGO!
230 RC/230 RCo or LOGO! DM8 230 R (AC) and LOGO! DM16 230R (AC)
L1
N
NL1
C3SB1420-3D
Order number for C:
Siemens
Switchgear & Systems
X-capacitor 2.5 kV, 100 nF
20 Product information LOGO!
A5E00324307-01
2.7 Technical data
General technical data
Criterion Tested in accordance
with Values
LOGO!Basic
Dimensions (WxHxD) 72 x 90 x 55 mm
Weight Approx. 190 g
Installation on a 35 mm profile rail
4 module widths
or wall mounting
LOGO! expansion modules
DM8..., AM...
Dimensions (WxHxD) 36 x 90 x 53 mm
Weight Approx. 90 g
Installation on a 35 mm profile rail
2 module widths
or wall mounting
LOGO! expansion modules
DM16...
Dimensions (WxHxD) 72 x 90 x 53 mm
Weight Approx. 190 g
Installation on a 35 mm profile rail
4 module widths
or wall mounting
Climatic conditions
Ambient temperature
Horizontal installation
Low temperature to IEC
60068-2-1
0 ... 55
°
C
Horizontal installation
Vertical installation
60068 2 1
High temperature to
IEC 60068-2-2
0
...
55 C
0 ... 55 °C
Storage/shipping -40 °C ... +70 °C
Relative humidity IEC 60068-2-30 From 10 to 95 %
no condensation
Air pressure 795 ... 1080 hPa
Pollutants IEC 60068-2-42
IEC 60068-2-43 SO2 10 cm3 /m3, 4 days
H2S 1 cm3 /m3, 4 days
Ambient mechanical conditions
Protection mode IP20
Vibrations: IEC 60068-2-6 5 ... 9 Hz (constant amplitude
3.5 mm)
9 ... 150 Hz (constant accel-
eration 1 g)
Shock IEC 60068-2-27 18 shocks
(half-sine wave 15g/11 ms)
Drop IEC 60068-2-31 Drop height 50 mm
Free fall (packaged) IEC 60068-2-32 1 m
Electromagnetic compatibility (EMC)
Noise emission EN 55011/A
EN 55022/B
EN 50081-1
(domestic area)
Limit class B group 1
21
Product information LOGO!
A5E00324307-01
Criterion ValuesTested in accordance
with
Electrostatic discharge IEC 61000-4-2
Severity 3 8 kV air discharge
6 kV contact discharge
Electromagnetic fields IEC 61000-4-3 Field strength 10 V/m
HF currents on cables and cable
shielding IEC 61000-4-6 10 V
Burst pulses IEC 61000-4-4
Severity 3 2 kV (supply and signal lines)
High-energy surge pulse
(applies only to
LOGO! 230 ...)
IEC 61000-4-5
Severity 3 1 kV (power lines)
symmetrical
2 kV (power lines)
asymmetrical
Safety to IEC / VDE
Clearance and creepage distance
rating IEC 60664,
IEC 61131-2, EN 50178
cULus to UL 508, CSA
C22.2 No. 142
With LOGO!
230 R/RC,
also VDE 0631
Fulfilled
Insulation strength IEC 61131-2 Fulfilled
22 Product information LOGO!
A5E00324307-01
Technical data: LOGO! DM16 230R
LOGO! DM16 230R
Power supply
Input voltage 115 ... 240 V AC/DC
Permissible range 85 ... 265 V AC
100 ... 253 V DC
Permissible mains frequency 47 ... 63 Hz
Power consumption
115 V AC 10 ... 60 mA
240 V AC 10 ... 40 mA
115 V DC 5 ... 25 mA
240 V DC 5 ... 20 mA
Voltage failure buffering
115 V AC/DC
typ 10 ms
11
5
V AC/DC
typ.
10
ms
240 V AC/DC
yp
typ 20 ms
240 V AC/DC
t
y
p
.
20 ms
Power loss at
115 V AC 1.1 ... 4.5 W
240 V AC 2.4 ... 5.5 W
115 V DC 0.6 ... 2.9 W
240 V DC 1.2 ... 4.8 W
Backup of the real-time clock at 25 _C
Accuracy of the real-time clock
Digital inputs
Number 8
Electrical isolation No
Input voltage L1
Signal 0
Signal 1
Signal 0
Signal 1
< 40 V AC
> 79 V AC
< 30 V DC
> 79 V DC
Input current at
Signal 0 < 0.05 mA
g
Signal 1 > 0.08 mA
Delay time at
0 to 1 typ. 50 ms
1 to 0
yp
typ. 50 ms
Line length (unshielded) 100 m
Digital outputs
Number 8
Output type Relay outputs
Electrical isolation Yes
In groups of 1
Control of a digital input Yes
23
Product information LOGO!
A5E00324307-01
LOGO! DM16 230R
Continuous current Ith max. 5 A per relay
Incandescent lamp load (25000 switching cycles) at
230/240 V AC
115/120 V AC 1000 W
500 W
Fluorescent tubes with ballast (25000 switching
cycles) 10 x 58 W (at 230/240 V AC)
Fluorescent tubes, conventionally compensated
(25000 switching cycles) 1 x 58 W (at 230/240 V AC)
Fluorescent tubes, uncompensated (25000 switch-
ing cycles) 10 x 58 W (at 230/240 V AC)
Short circuit-proof cos 1 Power protection B16
600A
Short-circuit proof cos
0.5 to 0.7 Power protection B16
900A
Derating None; across the entire temperature
range
Parallel output circuits for power increase Not permitted
Protection of output relay
(if desired) max. 16 A,
characteristic B16
Switching rate
Mechanical 10 Hz
Ohmic load/lamp load 2 Hz
Inductive load 0.5 Hz
24 Product information LOGO!
A5E00324307-01
Technical data: LOGO! DM16 24
LOGO! DM16 24
Power supply
Input voltage 24 V DC
Permissible range 20.4 ... 28.8 V DC
Reverse polarity protection Yes
Permissible mains frequency
Power consumption from 24 V DC 30 ... 45 mA
0.3 A per output
Voltage failure buffering
Power loss at 24 V 0.8 ... 1.7 W
Backup of the real-time clock at 25 _C
Accuracy of the real-time clock
Digital inputs
Number 8
Electrical isolation No
Input voltage L+
Signal 0 < 5 V DC
g
Signal 1 > 12 V DC
Input current at
Signal 0 < 1 mA
g
Signal 1 > 2 mA
Delay time at
0 to 1 typ. 1.5 ms
1 to 0
yp
typ. 1.5 ms
Line length (unshielded) 100 m
Digital outputs
Number 8
Output type Transistor,
current-sourcing
Electrical isolation No
In groups of
Control of a digital input Yes
Output voltage ¢ Supply voltage
Output current max. 0.3 A
Continuous current Ith
Incandescent lamp load (25000 switching cycles) at
Fluorescent tubes with ballast (25000 switching
cycles)
Fluorescent tubes, conventionally compensated
(25000 switching cycles)
Fluorescent tubes, uncompensated (25000
switching cycles)
25
Product information LOGO!
A5E00324307-01
LOGO! DM16 24
Short circuit-proof and overload-proof Yes
Short-circuit current limitation Approx. 1 A
Derating None; across the entire temperature
range
Short circuit-proof cos 1
Short-circuit proof cos 0.5 to 0.7
Parallel output circuit for power increase Not permitted
Protection of output relay (if desired)
Switching rate
Mechanical
Electrical 10 Hz
Ohmic load/lamp load 10 Hz
Inductive load 0.5 Hz
26 Product information LOGO!
A5E00324307-01
Technical data: LOGO! DM16 24R
LOGO! DM16 24R
Power supply
Input voltage 24 V DC
Permissible range 20.4 ... 28.8 V DC
Reverse polarity protection Yes
Power consumption from 24 V DC 30 ... 90 mA
Voltage failure buffering
24 V DC typ. 5 ms
Power loss at 24 V
24 V DC 0.7 ... 2.5 W
Backup of the real-time clock at 25 _C
Accuracy of the real-time clock
Electrical isolation No
Digital inputs
Number 8
Electrical isolation No
Input voltage
Signal 0 < 5 V DC
g
Signal 1 > 12 V DC
Input current at
Signal 0 < 1 mA
g
Signal 1 > 2 mA
Delay time at
0 to 1 typ. 1.5 ms
1 to 0
yp
typ. 1.5 ms
Line length (unshielded) 100 m
Digital outputs
Number 8
Output type Relay outputs
Electrical isolation Yes
In groups of 1
Control of a digital input Yes
Output voltage
Output current
Continuous current Ith max. 5 A per relay
Incandescent lamp load (25000 switching cycles) at 1000 W
Fluorescent tubes with ballast (25000 switching
cycles) 10 x 58 W
Fluorescent tubes, conventionally compensated
(25000 switching cycles) 1 x 58 W
27
Product information LOGO!
A5E00324307-01
LOGO! DM16 24R
Fluorescent tubes, uncompensated (25000
switching cycles) 10 x 58 W
Short circuit-proof and overload-proof
Short-circuit current limitation
Derating None; across the entire temperature
range
Short circuit-proof cos 1 Power protection B16
600A
Short-circuit proof cos 0.5 to 0.7 Power protection B16
900A
Parallel output circuit for power increase Not permitted
Protection of output relay (if desired) max. 16 A,
characteristic B16
Switching rate
Mechanical 10 Hz
Electrical
Ohmic load/lamp load 2 Hz
Inductive load 0.5 Hz
2.8 Order numbers
Table A
Variant Designation Order number
Basic LOGO! 12/24RC *
LOGO! 24 *
LOGO! 24RC (AC)
LOGO! 230RC
6ED1 052-1MD00-0BA4
6ED1 052-1CC00-0BA4
6ED1 052-1HB00-0BA4
6ED1 052-1FB00-0BA4
Basic
without display
(pure)
LOGO! 12/24RCo *
LOGO! 24o *
LOGO! 24RCo (AC)
LOGO! 230RCo
6ED1 052-2MD00-0BA4
6ED1 052-2CC00-0BA4
6ED1 052-2HB00-0BA4
6ED1 052-2FB00-0BA4
Digital modules LOGO! DM 8 12/24R
LOGO! DM 8 24
LOGO! DM 8 24R
LOGO! DM 8 230R
LOGO! DM 16 24
LOGO! DM 16 24R
LOGO! DM 16 230R
6ED1 055-1MB00-0BA1
6ED1 055-1CB00-0BA0
6ED1 055-1HB00-0BA0
6ED1 055-1FB00-0BA1
6ED1055-1CB10-0BA0
6ED1055-1NB10-0BA0
6ED1055-1FB10-0BA0
Analog modules LOGO! AM 2
LOGO! AM 2 PT100 6ED1 055-1MA00-0BA0
6ED1 055-1MD00-0BA0
*: Also with analog inputs
28 Product information LOGO!
A5E00324307-01
Bestellnummern