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!