Safety Guidelines
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring to property damage only have no safety alert symbol. The notices shown below are graded according to the degree of danger.

! ! !

Danger
indicates that death or severe personal injury will result if proper precautions are not taken.

Warning
indicates that death or severe personal injury may result if proper precautions are not taken.

Caution
with a safety alert symbol indicates that minor personal injury can result if proper precautions are not taken.

Caution
without a safety alert symbol indicates that property damage can result if proper precautions are not taken.

Attention
indicates that an unintended result or situation can occur if the corresponding notice is not taken into account. If more than one degree of danger is present, the warning notice representing the highest degree of danger will be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property damage.

Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and operation of a device/system may only be performed by qualified personnel. Within the context of the safety notices in this documentation qualified persons are defined as persons who are authorized to commission, ground and label devices, systems and circuits in accordance with established safety practices and standards.

Prescribed Usage

Note the following:

!
Trademarks

Warning
This device and its components may only be used for the applications described in the catalog or the technical description, and only in connection with devices or components from other manufacturers which have been approved or recommended by Siemens. Correct, reliable operation of the product requires proper transport, storage, positioning and assembly as well as careful operation and maintenance.

All names identified by  are registered trademarks of the Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.

Copyright Siemens AG 2004 All rights reserved
The distribution and duplication of this document or the utilization and transmission of its contents are not permitted without express written permission. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility model or design, are reserved Siemens AG Automation and Drives Postfach 4848, D-90327 Nuernberg Siemens Aktiengesellschaft

Disclaim of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions.

Siemens AG 2004 Technical data subject to change. A5E00380835-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 creation of circuit programs, about the installation and use of LOGO! 0BA5 devices and expansion modules, and about their compatibility with the previous 0BA0-0BA4 versions (0BAx are the last four characters of the order number and differentiate the device series).

LOGO!’s place in information technology
The wiring information in your LOGO! manual is also found in the LOGO! Product Info included with all devices. For further information on programming the LOGO! on your PC, refer to the Online Help for LOGO!Soft Comfort. LOGO!Soft Comfort is the programming software for PCs. It runs under WindowsR, LinuxR, Mac OS XR and helps you to get started with LOGO! and to write, test, print out and archive your programs, independent of the LOGO! .

interface were added. Description of changes and new features of the series 0BA5 devices.

Main differences compared to previous devices (0BA0 to 0BA4)

S Display contrast may be changed. S Default setting for the start screen may be changed. S Analog output values for RUN/STOP transition may be
selected.

S Analog inputs and analog outputs have been added to the
RUN mode display.

New features of the current devices (0BA5)

S The “Analog ramp” special function enables you to use a S S

two-step speed control. The “Analog multiplexer” special function enables you to select 1 of 4 analog values to be output. The “PI controller” special function enables you to use a PI controller function.

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 as follows: Phone: +49 (0)180 5050-222 Fax: +49 (0)180 5050-223 E-Mail: adsupport@siemens.com

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. Special versions without operator panel and display unit are available for series production applications in small machine. switching cabinet and installation engineering.g.g.1 Getting started with LOGO!
Here’s LOGO! LOGO! is a universal logic module made by Siemens. according to the device type. sun blinds. switch cabinet engineering.). for control signal processing and. or rainwater pumps etc. air-conditioning systems.g. for stairway lighting. LOGO! can also be implemented for special control systems in conservatories or greenhouses. as well as for mechanical and apparatus engineering (e.
S S S S S S
What LOGO! can do for you LOGO! offers solutions for domestic and installation engineering (e. apparatus.). e. for gate control systems. ASi) for distributed local controlling of machines and processes.and off-delays. shutters. by connecting a communication module (e.
LOGO! Manual A5E00380835-01
1
. pulse relay and softkey S Timer S Digital and analog flags S Inputs and outputs.g. shop window lighting etc. external lighting. on.

115. and are equipped with four inputs and four outputs..240 V AC/DC.240 V AC/DC. are available for operation with 24 V DC and 115.e. 12 V DC. and are equipped with two analog inputs or two Pt100 inputs or two analog outputs. 24 V AC Class 2 > 24 V.
2
LOGO! Manual A5E00380835-01
. in the versions: S With display: 8 inputs and 4 outputs..e.. The digital/analog modules are integrated in two or four subunits. 24 V DC. i.... Each version is integrated into 4 subunits (SU). Each one is equipped with two expansion interfaces for connecting additional modules. and are equipped with eight inputs and eight outputs. S Without display (”LOGO! Pure”): 8 inputs and 4 outputs.240 V AC/DC. S LOGO! analog modules are available for operation with 24 V DC and (some) with 12 V DC... 24 V AC/DC and 115.. are available for operation with 12 V DC.Getting started with LOGO! Which devices are available? LOGO! Basic is available in two voltage classes: S Class 1 24 V. i. S LOGO! digital modules DM16. Which expansion modules are available? S LOGO! digital modules DM8. is equipped with an expansion interface and provides 36 pre-configured standard and special function blocks for the creation of your circuit program..

It’s your choice The various LOGO! Basic versions. CM EIB/KNX makes it possible to communicate with other EIB devices. The LOGO! system offers you many solutions such as for small domestic installations. The module enables four data bits to be transferred from the LOGO! Basic to the AS-Interface system and vice versa. that is described in more detail in a separate documentation.Getting started with LOGO! Which communication modules are available? S LOGO! communication module (CM) AS interface. expansion modules and communication modules offer you a highly flexible and adaptive system to suit your specific tasks. communication module AS interface). S LOGO! communication module (CM) EIB/KNX. and acts as an interface between an AS-Interface system and a LOGO! system.
LOGO! Manual A5E00380835-01
3
. you store a configuration in the CM EIB/KNX that specifies the inputs/outputs of the LOGO! to the EIB bus that are to be mapped. To do this.g. The communication module has four virtual inputs and outputs. simple automation tasks. As an interface to EIB. You can interconnect the corresponding inputs/outputs using LOGO! functions. that is described in more detail in a separate documentation. CM EIB/KNX is a communication module (CM) for connecting the LOGO! to the EIB. and even complex engineering tasks involving its integration into a bus system (e.

Each LOGO! Basic provides the following connections for the creation of the circuit program. This type of expansion module can therefore be connected to devices of a different voltage class.1. regardless of the number of connected modules: S Digital inputs I1 to I24 S Analog inputs AI1 to AI8 S Digital outputs Q1 to Q16 S Analog outputs AQ1 and AQ2 S Digital flag blocks M1 to M24. 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.
4
LOGO! Manual A5E00380835-01
. M8: Startup flag S Analog flag blocks AM1 to AM6 S Shift register bits S1 to S8 S 4 cursor keys S 16 blank outputs X1 to X16. See also Chapter 2.Getting started with LOGO! Note LOGO! Basic may only be equipped with expansion modules of the same voltage class.

Limit Class B. It is compliant with VDE 0631 and IEC 61131-2 and interference-proof to EN 55011. S ABS (American Bureau of Shipping) S BV (Bureau Veritas) S DNV (Det Norske Veritas) S GL (Germanischer Lloyd) S LRS (Lloyds Register of Shipping) S Class NK (Nippon Kaiji Kyokai) LOGO! is therefore suitable for use both in industry and in the domestic area.
!
LOGO! Manual A5E00380835-01
13
. In potentially explosive atmospheres.Getting started with LOGO! Warning Risk of personal injury and material damage. Marine certification has been requested. due to their low-pollutant equipment. Recycling and Disposal LOGO! units can be fully recycled. there is a risk of personal injury or damage to material if you disconnect connectors when the system is in RUN. LOGO! is issued with the CE Certificate of Conformity. Contact a certified electronic waste disposal center for environmentally acceptable recycling and disposal of your old devices. ID for Australia Our products carrying the label shown at the side are compliant with AS/NZS 2064:1997 (Class A) standard. always switch off the power supply to LOGO! and its components before you disconnect any connectors. In potentially explosive atmospheres.

Getting started with LOGO!
14
LOGO! Manual A5E00380835-01
.

S Always use cables with appropriate conductor cross-sections for the relevant current. For information on standards and regulations that apply to your specific case.
LOGO! Manual A5E00380835-01
15
.5 N/m.3. conform with all national and regional regulations when you install and operate the devices. see Chapter 2. one neutral conductor plus one phase conductor or signal line.2 LOGO! installation and wiring
General guidelines Please note the following guidelines for installing and wiring your LOGO! : S Always ensure that the wiring of your LOGO! is compliant with current rules and standards.5 mm2 to 2.3. S Do not exceed the screw torque of the terminals. S Keep the cabling as short as possible. – The EIB bus cable may also be laid in parallel to other signal lines. S Provide a suitable lightning surge arrester for cables installed in hazardous areas. S Always switch off power before you wire or install/remove a module.e. S Always keep separate: – The AC wiring – High-voltage DC circuits with high-frequency switching cycles – Low-voltage signal wiring. Also.5 mm2. you should use shielded versions. The maximum torque is: 0. S Ensure that the wires are installed with appropriate strain relief. You should always route your cables in pairs: i. If longer cables are necessary. You can wire the LOGO! with cable conductor cross-sections from 1. see Chapter 2. contact your local authorities.

It is permissible to operate LOGO! from its front at any time. What you must note when installing LOGO! is designed for fixed and enclosed installation in the housing or the control cabinet.
!
Warning Open facilities Death. Access to the housings or cabinets must only be possible by using a key or a tool and only authorized or approved personnel may be allowed access.
LOGO! Manual A5E00380835-01
16
. S Reliable functioning of the equipment is only ensured with certified components! Note LOGO! units may only be installed and wired by skilled personnel who are familiar with and follow general engineering rules and relevant regulations and standards. serious bodily injury or considerable damage to property can occur. Modules of a LOGO! are open facilities.LOGO! installation and wiring
S Do not connect an external power supply in parallel to
the output load of a DC output.
Safety of electronic control equipment Introduction The notes below apply regardless of the type or manufacturer of the electronic control. This means you must install LOGO! only in a housing or cabinet. This could develop a reverse current at the output if you have not installed a diode or similar barrier device.

g. processors. S Measures preventing static charge when handling MOS ICs. etc. This means that you will avoid any danger to the plant or to people in it during operation. S Visual checks at different stages of manufacture. memory. using on-line tests (cyclic interrupt for the CPU.LOGO! installation and wiring Reliability Maximum reliability of LOGO! devices and components is achieved by implementing extensive and cost-effective measures during development and manufacture.). etc. Before finally commissioning a system you should carry out complete functional testing as well as all necessary safety testing. however. S Monitoring of major control components. Also include in testing any predictable faults that can occur. S Worst-case design of all circuits.). S Systematic and computer-aided testing of all components. S Statistical evaluation of all returned systems and components to enable the immediate initiation of suitable corrective measures. These measures are referred to as basic measures. Carrying out tests You must. S Continuous heat-run test at elevated ambient temperature over a period of several days. ensure safety in your plant. S Burn-in of all large-scale integrated circuits (e. This includes the following: S Use of high-quality components. S Careful computer-controlled final testing.
LOGO! Manual A5E00380835-01
17
.

As of a certain degree of hazard the basic measures mentioned above are no longer sufficient. System-specific and special regulations exist for such applications. Important information The instructions in the operating manual must be followed exactly. VDE 0116 for burner control systems).
18
LOGO! Manual A5E00380835-01
. Incorrect handling can render measures intended to prevent dangerous faults ineffective. special measures must be taken to enhance the safety of the installation and therefore also of the situation. They must be observed on installing the control system (e.g. Additional measures must be implemented and approved for the controller. For electronic control equipment with a safety function.LOGO! installation and wiring Risks In all cases where the occurrence of failures can result in material damage or injury to persons. or generate additional sources of danger. the measures that have to be taken to prevent or rectify faults are based on the risks involved in the installation.

communication between the LOGO! system and the expansion modules. Two DM8 24R may be replaced by one DM16 24R only if operated with DC and P action.) Note CM EIB/KNX must always be installed as the last module on the right-hand side of the LOGO! as no further interface modules may be connected to the CM EIB/KNX. which are arranged to the right of the LOGO! CM AS Interface expansion module.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 communication modules to devices of any voltage class.
2.
20
LOGO! Manual A5E00380835-01
. is interrupted. You may replace two similar DM8 expansion modules by one appropriate DM16 expansion module (and vice versa) without having to change the circuit program.LOGO! installation and wiring We recommend that you position the CM AS Interface on the far right-hand side.1. (If the AS Interface voltage fails. Note Two DM8 12/24R may be replaced by one DM16 24R only if operated with a power supply of 24 V DC.

which corresponds with 4 subunits. which corresponds with 2 or 4 subunits. LOGO! width: S LOGO! Basic has a width of 72 mm. LOGO! can be snap-mounted to 35 mm DIN rails to EN 50022 or on the wall.).2 Installing/removing LOGO!
Dimensions The LOGO! installation dimensions are compliant with DIN 43880.
LOGO! Manual A5E00380835-01
23
.
!
Warning Always switch off power before you “remove” and “insert” an expansion module. 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 versions and expansion modules. S LOGO! expansion modules have a width of 36 mm or 72 mm (DM16.LOGO! installation and wiring
2.

2. Place the digital module onto the DIN rail on the right-hand side of the LOGO! Basic 5. The mounting interlock at the rear must engage
1 3 5
6
2
4
LOGO! digital module: 3. remove the connector cap 4. Slide the digital module towards the left until it contacts the LOGO! Basic
LOGO! Manual A5E00380835-01
24
.LOGO! installation and wiring
2. then push down the lower end to snap it on.1 DIN rail mounting
Mounting How to mount a LOGO! Basic and a digital module onto a DIN rail: LOGO! Basic: 1. On the right side of the LOGO! Basic/LOGO! expansion module. Hook the LOGO! Basic module onto the rail and 2.

LOGO! installation and wiring 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 modules. Note The expansion interface on the last expansion module must be covered.

LOGO! Manual A5E00380835-01

25

LOGO! installation and wiring Removal To 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

2 1

4 3

A

B

26

LOGO! Manual A5E00380835-01

LOGO! installation and wiring ....... if you have connected at least one expansion module 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! Manual A5E00380835-01

27

LOGO! installation and wiring

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 O M4 screws (tightening torque 0.8 to 1.2 N/m).

Mounting slides

28

LOGO! Manual A5E00380835-01

LOGO! installation and wiring Drilling template for wall-mounting Before you can wall-mount the LOGO!, you need to drill holes using the template shown below.

2.2.3 Labeling LOGO!
The gray rectangular areas on the modules are intended for labeling the LOGO! modules. In the case of expansion modules, you can use the gray areas for labeling the inputs and outputs, for example. In this connection, you can enter a delta factor of +8 for the inputs or +4 for the outputs if the basic module already has 8 inputs or 4 outputs.

LOGO! Manual A5E00380835-01

29

LOGO! installation and wiring

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. You can use conductors with cross-sections of up to the following thicknesses: S 1 x 2.5 mm2 S 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 impermissible 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. The CM EIB/KNX has been designed as a communication module for the LOGO! controller and must be supplied with a mains voltage of 12/24 V AC/DC. The AS Interface bus requires a special AS Interface power supply (30 V DC) that enables simultaneous transmission of data and power for the encoders via a single line.

30

LOGO! Manual A5E00380835-01

with DC power supply L+ M L1 N LOGO! . It is not required to connect an equipment grounding conductor..
Connecting LOGO! To connect LOGO! to the power supply:
LOGO! .LOGO! installation and wiring Note A power failure may cause an additional edge triggering signal at the special functions. you can install a metal oxide varistor (MOV).0 A EIB/KNX 0...
Note LOGO! is a double-insulated switchgear.. Make sure that the operating voltage of the varistor (MOV) used lies at least 20 % above the rated voltage (for example S10K275).08 A
To suppress surge voltages.. for example. with AC power supply
L+
M
I1
I2
I3
I4
I5
L1
N
I1
I2
I3
I4
Protection with safety fuse if required (recommended) for: 12/24 RC. Data of the last uninterrupted cycle are stored in LOGO!.8 A 24: 2. install varistors (MOV) with an operating voltage at least 20 % above the rated voltage.
LOGO! Manual A5E00380835-01
31
.: 0.. Circuit protection with AC voltage To suppress voltage peaks on the power supply lines.....

5 kV. however. Example: I1 to I4 on phase L1. Different phases are only possible between the groups. Within the same group. you use a switch whose glow lamp is fitted with a power supply. all inputs must be operated on the same phase.LOGO! installation and wiring Note The digital inputs of LOGO! 230 RC/RCo and of expansion module DM16 230R are divided into two groups. Inputs within the LOGO! DM8 230R may not be connected to different phases. I5 to I8 on phase L2. each consisting of four inputs. 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) The figure below shows how you connect a switch with a glow lamp to the LOGO! The current that flows through the glow lamp allows LOGO! to detect a ”1” signal even though the switch contact is not closed.
L1 N C
L1 N
Order number for C: Siemens Switchgear & Systems 3SB1420-3D X-capacitor 2. If. 100 nF
LOGO! Manual A5E00380835-01
33
. this response does not occur.

LOGO! installation and wiring Take the quiescent current of any 2-wire proximity switches used into account. the voltage between N and an input I(n) must not be greater than 40 V to guarantee a ”0” signal. this type of capacitor safely disconnects. so that LOGO! can detect the new signal status.
34
LOGO! Manual A5E00380835-01
. The restrictions mentioned earlier do not apply to these high-speed inputs. Restrictions S Signal status transitions 0 ! 1 / 1 ! 0 After a 0 to 1 or 1 to 0 transition. Special features of LOGO! 12/24 RC/RCo and LOGO! 24/24o S High-speed inputs: I5 and I6 These versions are also equipped with high-speed counting inputs (Up/down counters. Appendix B contains a benchmark test routine that you can use to determine the current scan cycle time. Threshold triggers). You can connect approximately ten glow lamps to the capacitor. you can also use an X capacitor rated at 100 nF and 2. Remedy To suppress this response. You must choose the voltage level for which the capacitor is rated such that it is not destroyed in the case of overvoltage! At 230 V AC. use Siemens components with the following order number: Capacitor 3SB 1420–3D. As an alternative. You should therefore compare the quiescent current of the proximity switches with the technical data of inputs Appendix A. In a destructive situation. the signal must remain constant at the input at least for the duration of one program cycle. 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.5 kV. The program execution time is determined by the size of the circuit program.

The inputs I7 / I8 provide digital functions. When using inputs I7 and I8 as analog ones.
S 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. without any changes to these features. only the range from 0 to 10 V DC is available. you must connect a series resistor on the potentiometer’s input side regardless of the input voltage (see figure below). We suggest the following sizes of potentiometers and associated series resistors: Voltage 12 V 24 V Potentiometer 5 kW 5 kW Series Resistor – 6. you need to modify circuit programs written for a LOGO!.6 kW
LOGO! Manual A5E00380835-01
35
.LOGO! installation and wiring Note The high-speed inputs I5 and I6 are the same as in the previous versions 0BA0 to 0BA4. In contrast to this. Connecting a potentiometer to inputs I7 / I8 To allow you to achieve 10 V as the maximum value when you completely turn the potentiometer once. i. and the inputs AI1 and AI2 provide analog functions. a circuit program that is written in these versions can be transferred to the new 0BA5 units by means of the programming software LOGO! SoftComfort.. See also Chapter 4. The input mode is defined in the LOGO! circuit program.1..L version (high-speed inputs I11/I12). Expansion modules do not have high-speed inputs.e.

LOGO! installation and wiring When using a potentiometer and 10 V input voltage as the maximum value. and keep these as short as possible. Note The LOGO! AM 2 expansion module provides additional analog inputs. With a voltage of 12 V. The LOGO! AM 2 PT100 expansion module provides Pt100 inputs. this can be neglected... you can tap analog signals between the supply voltage and chassis ground (* = series resistor with 24 V DC). you must ensure that with a connected input voltage of 24 V. Sensor connections To connect sensors to the LOGO! : LOGO! 12/24 .
36
LOGO! Manual A5E00380835-01
. 14 V must release via the series resistor so that a maximum of 10 V are supplied when you turn the potentiometer one full rotation. Always use twisted and shielded cables for analog signals.
I8
L+ M
I1 I2
I3 I4
I5
At the LOGO! 12/24RC/RCo and LOGO! 24/24o modules..
L+ M *) The inputs of these devices not isolated and therefore require a common reference potential (chassis ground ).

each consisting of 4 inputs. Different phases are only possible between blocks...LOGO! installation and wiring LOGO! 230 . as well as cULus) do not permit the connection of different phases to an AC input group (I1 to I4 or I5 to I8) or to the inputs of a digital module..20 mA
2 M
Current measurement
Voltage measurement
LOGO! Manual A5E00380835-01
37
.
L3 L2 L1 N The inputs of these devices are arranged in 2 groups... .
LOGO! AM 2
L + M
PE
L+ M
L+ M
PE terminal for connecting earth and the shielding of the analog measuring cable
1 Earth 2 Cable shielding 3
RUN/STOP
3 DIN rail 1
PE
M
L +
Reference current
I1 M1 U1 I2 M2 U2
Current 0. and IEC 61131-2.
L1 N
I1
I2
I3
I4
I5
I6
!
Warning Current safety regulations (VDE 0110. but not within the blocks.... ..

M2+ IC2 M2-
M1+ IC1 M1. Connecting a two-wire sensor to the LOGO! AM 2 Wire up the two-wire sensor’s connecting wires as follows: 1.LOGO! installation and wiring The illustration above shows an example of four-wire current measurement and two-wire voltage measurement.. Errors caused by the ohmic resistance of the measuring line are not compensated with this type of connection. For a 2-wire connection. A line resistance of 1 W is proportional to a measuring error of +2.. LOGO! AM 2 PT100 You can connect either a 2.5 °C. 3.or 3-wire Pt100 resistive thermocouple to the module. 10 V voltage measurement) or to connection I (0 . you need to short-circuit terminals M1+ and IC1 or M2+ and IC2. 20 mA current measurement) of the AM 2 module. 2.
2-wire technique
L+ M L+ M
3-wire technique
L+ M L+ M
PE
RUN/ STOP
PE
RUN/ STOP
M1+ IC1 M1. A 3-wire technique suppresses the influence of the cable length (ohmic resistance) on the result of the measurement. Connect the plus connector on the sensor to the 24 V supply voltage (L+).. Connect the sensor’s output to connection U (0 . Connect the ground connection on the sensor to the corresponding M input (M1 or M2) on the AM 2 module..M2+ IC2 M2-
Pt100
Pt100
38
LOGO! Manual A5E00380835-01
.

S Clamp the encoder wire on one side only and clamp it only to the PE terminal on the AM 2 / AM 2 PT100 / AM 2 AQ expansion module. If you cannot avoid this.LOGO! installation and wiring Note Fluctuating analog values are due to screening on the connecting wire from the analog valuator device to the analog AM 2 / AM 2 PT100 LOGO! expansion module (encoder wire) that has either been mounted incorrectly or not at all. S Shorten the encoder wire as much as possible. The encoder wire must not be more than 10 meters long.
LOGO! Manual A5E00380835-01
39
. connect the negative output/ground output on the power supply to the shielding on the resistance thermometer’s measuring wires. proceed as follows: S Use only shielded encoder wires. To avoid fluctuating analog values when using these expansion modules. S Avoid operating the LOGO! AM 2 PT100 expansion module on a power supply that is not grounded (potential–free). S Connect ground on the encoder supply to the PE terminal on the expansion module.

version is equipped with relay outputs. The potential of the relay contacts is isolated from the power supply and the inputs.R. contactor relays etc. Connecting This is how you connect the load to LOGO! ..R.. refer to Appendix A.:
DM8.. max.. characteristics B16.... fluorescent lamps. 16 A...LOGO! installation and wiring
2. lamps.R..3. e.: Power circuit-breaker 5SX2 116-6 (if required)
40
LOGO! Manual A5E00380835-01
.. For information on the properties required for the loads connected to the LOGO! ....g.R
1 Q5 2 1 Q1 2 1 Q2 2 1 Q6 2
Load
Load
Protection with automatic circuit-breaker.R.. motors. e..g.3 Connecting outputs
LOGO! . The LOGO! .. Requirements for relay outputs You can connect various loads to the outputs...

LOGO! Manual A5E00380835-01
41
. Connecting This is how you connect the load to a LOGO! with solid-state outputs:
DM8 24
Q5 M Q1 M Q2 M Q6 M
Load
Load
Load: 24 V DC. The outputs are short circuit-proof and overload-proof.3 A per output. An auxiliary load voltage supply is not necessary. 0. because LOGO! supplies the load voltage.3 A max.LOGO! installation and wiring 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. Requirements for solid-state outputs The load connected to LOGO! must have the following characteristics: S The maximum switched current is 0.

the AS-Interface voltage must be disconnected beforehand. you need an addressing unit. Note The button “Prog ↓” should not be pressed too firmly. Use each address once only. You can set the address on the AS interface bus before or after installation.
2. the LED lights up orange.5 Connecting the AS interface bus
To set the address of the module on the AS interface bus. In programming mode.e. If the bus connection is OK. in particular the Micro Automation Set 8. inputs or outputs which are not occupied on the LOGO! can be occupied via the EIB. This is necessary for safety reasons. the LED lights up green. Valid addresses are in the range of 1 to 31.3.
Networking on the EIB bus The CM EIB/KNX takes over the communication between the LOGO! and EIB and makes communication available via EIB inputs/outputs. i. If the module is addressed via the address socket in the installed condition.LOGO! installation and wiring Press the button “Prog ↓” to switch the CM EIB/KNX to programming mode. Note For detailed information about the networking of LOGO! on the EIB bus please refer to the LOGO! CM EIB/KNX documentation.
LOGO! Manual A5E00380835-01
43
. The application of the CM EIB/KNX fills the complete LOGO! process image.

UL 508. to IEC 61131–2. you also need S an AS interface power supply and S an AS interface master (e.g.
!
Warning The AS-Interface and LOGO! systems must never be connected together electrically! Use safe isolation acc.2 No. 142.
44
LOGO! Manual A5E00380835-01
. you need a communications-capable LOGO! variant: S LOGO! basic module + CM AS-I. CSA C22. To be able to send data across the AS interface bus to the LOGO! and to receive data from it in the same way. LOGO! can only be accepted as a slave on the AS interface bus. Data is always exchanged across the AS interface master. This means that it is not possible to directly exchange data between two LOGO! devices. EN 50178. an S7-200 with a CP243-2 or a DP/AS-I Link 20 E).LOGO! installation and wiring
RUN/STOP AS-I
AS-I ADDR + – + –
Networking on the AS interface bus To make the connection to the AS interface bus.

Note Ensure that there is enough space for the inputs/outputs of the AS interface in the LOGO!’s address space.
LOGO! Manual A5E00380835-01
45
.LOGO! installation and wiring Logic Assignments
LOGO! system Inputs In In+1 In+2 In+3 Outputs Qn Qn+1 Qn+2 Qn+3 AS Interface system Output data bits D0 D1 D2 D3 Output data bits D0 D1 D2 D3
”n” depends on the plug-in position of the expansion module relative to the LOGO! Basic. It indicates the number of the input or output in LOGO! program code. in particular the Micro Automation Sets 7 and 16. it is no longer possible to operate the CM AS interface! For detailed information about the networking of LOGO! on the AS interface bus please refer to the LOGO! CM AS Interface documentation. If you are already using more than 12 physical outputs or more than 20 physical inputs.

. The reaction of LOGO! during startup depends on
S Whether a circuit program is stored in LOGO! S Whether a program module (Card) is inserted S Whether this is a LOGO! version without display unit
(LOGO!.
46
LOGO! Manual A5E00380835-01
.4 Putting into operation
2. check the following: S Has the sliding contact between the LOGO! and the expansion module snapped into place properly? S Is the power supply connected to the expansion module? S In addition.o)
S The status of LOGO! at the time of power failure.. always ensure that you switch on the power supply to the expansion module first before activating the power supply to the LOGO! basic module (or activate both power supplies at the same time).LOGO! installation and wiring
2. To ensure that the expansion module on the LOGO! changes to RUN mode.
All possible reaction of LOGO! are described on the following page. the system does not detect the expansion module when you start up the LOGO! basic module.4. if you do not do this.1 Switching on the LOGO!/Power On
LOGO! does not have a power switch.

.0123456789 in LOGO!
2. Start
with stored program from LOGO! with program copied from the program module (Card) in LOGO!
Program in memory
(with program)
LOGO! Manual A5E00380835-01
47
..01234 Q: 0...
B1 & Q1
or (empty)
>Program..01234
.... Start
Mo 09:00 2003-01-27 I:
0.......... Card.. 123456789 1. Card...
LOGO! in RUN mode
(with program)
LOGO! in RUN mode with a program copied from Mo 09:00 the program 2002-01-31 I: 0....0123456789 2. Setup.. 123456789 1.. Card.0123456
or (empty)
B3: Par = 0300 Cnt = 0028
Mo 09:00 09:00 2002-01-31 I:
0.LOGO! installation and wiring
Before power off After power on
No Program Press ESC
or (empty)
No program Press ESC
No program in memory
(with program)
>Program.123456789 1...01234
with stored program from LOGO!
.0123456789 2. 123456789 module (Card) 1.. Start >Program.. Setup. Setup..

3.LOGO! installation and wiring You can also memorize four simple rules for starting LOGO! : 1. If you have enabled retentivity at least for one function. Versions without display unit (LOGO!.. Note When a power failure occurs while you are entering a circuit program. 4.
48
LOGO! Manual A5E00380835-01
. the LOGO! (with display unit ) reports: ’No Program / Press ESC’. The circuit program in the LOGO! is overwritten.o) automatically change from STOP to RUN (LED changes from red to green). LOGO! adopts the operational state it had prior to POWER-OFF. the current values are retained at POWER-OFF. Before you modify the circuit program.. 2. the program in LOGO! will be deleted after power is returned. If there is a circuit program in LOGO! or on the program module (Card). you should therefore save a backup copy of your original to a program module (Card) or to a computer (LOGO!Soft Comfort). A circuit program on the program module (Card) is automatically copied to LOGO!. If neither the LOGO! nor the inserted program module (Card) contains a circuit program. or a function is permanently retentive.

Any further details about EIB commissioning can be found in the corresponding documentation. the LED lights up orange. 11.3 Operating states
LOGO! Basic operating states LOGO! Basic/Pure knows two operating states: STOP and RUN.
2. In programming mode.2. Note The button “Prog ↓” should not be pressed too firmly. 8. 6.2 Putting into operation of CM EIB/KNX
1. The application program is loaded into the devices via the EIB interface.4. Press the button of the CM EIB/KNX to switch the CM EIB/KNX to programming mode. 2. You can now mark the physical address on the device. 5. the programming of the physical address has finished. 7. Click on ”Program Physical Address” in ETS. The application program can now be run. Connect the PC to the serial EIB interface. Composition of the physical address: Area / Line / Device XX / XX / XXX 9. Bus voltage and supply voltage must be present.siemens. If the LED is extinguished. If the bus connection is OK. 3.If several CM EIB/KNX are installed in an EIB system. Start software ETS.LOGO! installation and wiring
2.de/logo). V 1. The application program is available on the LOGO! home page (http://www. 4.4. steps 1 to 9 must be repeated for each CM EIB/KNX.
LOGO! Manual A5E00380835-01
49
. 10. the LED lights up green. LED lights up orange. Configure the application program in ETS2. The device is then ready for operation. using ETS2 version 1.2.

50
LOGO! Manual A5E00380835-01
... when loaded. operating states LOGO! expansion modules know three operating states: The LED (RUN/STOP) is lit green..
S LOGO! reads the status of
the inputs
S The circuit program is not
executed
S LOGO! uses the circuit S LOGO! switches the
S The relay contacts are
program to calculate the status of the outputs relay/solid-state outputs on or off
permanently open or the solid-state outputs are switched off
Note After switching the mains on..o) (only LOGO!. the system briefly switches through the outputs on the LOGO 24/24o...o)
S LED is red
S Switching LOGO! to
S LED is green
Action of LOGO!:
Action of LOGO!:
S The inputs data are not
fetched.o)
monitoring I/Os and messages (after START in the main menu) (not LOGO!...o) parameter assignment mode (not LOGO!. red or orange. this time reduces to a matter of microseconds. With an open circuit...o)
S Display: Screen mask for
S Switching LOGO! to
programming mode (not LOGO!.o) (only LOGO!.. a voltage of > 8 V can occur for up to approximately 100 ms.LOGO! installation and wiring
STOP RUN
S The display shows:
’No Program’ (not LOGO!. LOGO! expansion modules..

LED BUS is lit Green Red Orange Programming mode active and bus connection OK Bus connection OK. Bus connection communication OK. Recommendation: Position LOGO! CM AS-Interface on the far right-hand side! S If communication is interrupted.LOGO! installation and wiring
LED (RUN/STOP) is lit Green (RUN) The expansion module communicates with the device to its left Red (STOP) The expansion module does not communicate with the device to its left Orange/Yellow Initialization phase of the expansion module
CM AS Interface. red or flashes red/yellow. red or orange. is interrupted. communication states The CM AS Interface knows three communication states: The LED is lit green. interrupted no programming mode
LOGO! Manual A5E00380835-01
51
. communication between the LOGO! system and the expansion modules. the switching outputs are reset after about 40 to 100 ms. CM EIB/KNX.
LED AS-I is lit Green AS Interface communication OK Red AS Interface communication failed Red/Yellow Slave has address ”0”
CM AS Interface. behaviour on communication failure S If the AS-Interface voltage fails. which are arranged to the right of the LOGO! CM AS-Interface expansion module. communication states The CM EIB/KNX knows three communication states: The LED is lit green.

The inputs are read by the EIB depending on the parameterisation. S CM EIB/KNX voltage failure All the inputs of the LOGO! master on the EIB are set to 0 by the LOGO! master. S LOGO! voltage recovery LOGO! starts up again. behaviour on communication failure S LOGO! voltage failure If there is a power failure of the LOGO! or a disruption in the communication to the LOGO! master or to the communication partner on the left-hand side. CM EIB/KNX sends the parameterised states.
52
LOGO! Manual A5E00380835-01
.LOGO! installation and wiring CM EIB/KNX. S Bus recovery The behaviour can be parameterised in the LOGO! configuration window. The RUN/STOP LED lights up red after a second. the outputs are set to 0. After 5 s. S Short circuit on the bus or bus interruption The behaviour can be parameterised in the LOGO! configuration window of the application program in ETS (EIB Tool Software). the red LED is set. S CM EIB/KNX voltage recovery All the outputs of the LOGO! master on the EIB are updated.

LOGO! 24RCo and LOGO! 230RCo units.. In this chapter we are going to show you how to use LOGO! to create the LOGO! circuit programs for your application. At this point. A LOGO! circuit program program is actually nothing more than a circuit diagram presented in a slightly different form! We have adapted this presentation to the LOGO! display field. See also Chapter 7. LOGO! versions without a display can not write data to program modules (Cards).
LOGO! Manual A5E00380835-01
53
. do not have an operator panel and display unit. 7 and Appendix C. the circuit program is downloaded to this device by means of LOGO!Soft Comfort or program modules (Cards) of other LOGO! 0BA5 units. LOGO!. Note LOGO! versions without display unit. modify save and print the circuit programs.o versions are not programmed directly on the unit. because the programming software LOGO!Soft Comfort already contains extensive Online Help.e.. test.3 Programming LOGO!
Getting started with LOGO! Programming in our context refers to creating a circuit program. They are primarily designed for use in small machine and process equipment engineering systems for series production. which is the LOGO! programming software you can use to quickly and easily create. the LOGO! 24o. See Chapters 6. Instead. The topics in this manual relate only to the creation of circuit programs on the actual LOGO!. i. we once again refer to LOGO!Soft Comfort. LOGO! 12/24RCo.

S We shall first show you the meaning of two basic terms. which you . S As the next step. With a suitable hardware (switches etc. we shall create a circuit program based on a simple conventional circuit.Programming LOGO! A small example in the first part of this chapter introduces the operating principle of LOGO!... namely the connector and the block. S 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.). you will then be able to carry out first tests.
54
LOGO! Manual A5E00380835-01
.

The digital I/O status can be ’0’ or ’1’. For information on the meaning of the term “block”. You do not have to use all the of connectors of a block. C ". signals at AI1 or AI2 are analog. Q1 to Q16. The following applies to inputs I7 and I8 of LOGO! 12/24. Status ’0’ means that the input does not carry a voltage. refer to Chapter 3. Also available are the shift register bits S1 to S8. you can identify unused connectors with an ’x’.1. M1 to M24 and AM1 to AM6. The circuit program automatically assigns the unused connectors a status that ensures proper functioning of the relevant block. this input signal is digital. ’lo’ and ’x’ connectors have been introduced to make it easier for you to create the circuit program: ’hi’ (high) is assigned the status ’1’. and LOGO! 24/24o versions: If I7 or I8 is used in the circuit program. More details are found in Chapter 4. If you prefer to do so. The following I/Os and flag blocks are available for creating your circuit program: : I1 to I24. The ’hi’. LOGO!’s connectors The term connector refers to all connections and states in LOGO! . 4 cursor keys C Y.. The I/Os are presented in the installation order of the modules.. AQ1 and AQ2. ’lo’ (low) is assigned the status ’0’.3.Programming LOGO! Note LOGO! can recognize. read and switch the I/O of all expansion modules regardless of their type. C B and C A. Status ’1’ means that the input carries voltage. as well as 16 blank outputs X1 to X16.
56
LOGO! Manual A5E00380835-01
. AI1 to AI8.

the division of the input and output area of the LOGO! can be defined as a “hardware channel” and as a “virtual channel” on the EIB/KNX bus. when the status of the EIB/KNX bus changes. Functions of the application program S Specification of the hardware configuration (number of local digital inputs and outputs. you must parameterize customizing in the ETS. analog inputs) S Selection of time master or slave S Use of I24 as a bus status signal S Behaviour on bus voltage failure/recovery S Input type as monoflop/normal for digital inputs via the EIB/KNX S Output type as normal/dimmer/edge evaluation for digital outputs via the EIB/KNX
58
LOGO! Manual A5E00380835-01
. The behaviour of the communication objects of the communication module CM EIB/KNX. The settings for analog values in the LOGO! (Offset. This characteristic also applies for analog processing.2 EIB inputs/outputs
The application program “20 CO LOGO! 900E02” controls the communication between the LOGO! and the EIB/KNX bus via the communication module CM EIB/KNX. A communication object is assigned to each “hardware channel” and each “virtual channel“ of the LOGO! module. In this case. Gain) do not affect the analog values for the CM EIB/KNX communication module (the output values of the CM EIB/KNX are always the raw values between 0 and 1000).Programming LOGO!
3. The real-time clock of the LOGO! can be used as a master or slave via the EIB/KNX bus. By configuring the application program in ETS (EIB Tool Software). a bus voltage failure can be reported. can also be parameterised. A “virtual input channel“ can be used as a bus state.e. i.

de/logo
LOGO! Manual A5E00380835-01
59
.de/gamma http://www.siemens. adaptation. For the application program see Siemens product database from version J onwards or: http://www.Programming LOGO!
S Data type.siemens. cyclical sending and sending on
change in value for analog outputs via the EIB/KNX and analog inputs on the LOGO! Any further details about configuring the application program in ETS can be found in the current application program description.

. The last two inputs of the block remain unused and are identified by the creator of the circuit program with an ’x’.. Previously you had to wire the individual elements in a control cabinet or terminal box. When you create the circuit program. Logic operations The most elementary blocks are the logic operations: S AND S OR S .4 we are going to show you how to transform a conventional circuit to obtain a LOGO! circuit program.
LOGO! Manual A5E00380835-01
60
. I1 I2 x x 1
Q
Inputs I1 and I2 are here connected to the OR block.3 Blocks and block numbers
This chapter shows you how to use LOGO! elements to create complex circuits and how blocks and I/O are interconnected. In Chapter 4 you will find a full list of the LOGO! functions.. you interconnect the blocks. To do so.
These special functions offer you significantly higher performance: S Pulse relay S Up/down counter S On-delay S Softkey S ...Programming LOGO!
3. In Chapter 3. simply select the connection you require from the Co menu The menu name Co is an abbreviation of the term “Connector”. Blocks A block in LOGO! represents a function that is used to convert input information into output information.

We have therefore introduced block numbers to help you check the circuit structure. As you can see. it can show only one block at a time.
Block numbers
B2 x I1 I2 I3 x I4 I5 I6
w1
B1 B3
These blocks are interconnected
B1 x B2 B3 x
w1
B1
w1
Q1 B1 Q1
Scrolling the circuit program using the key
LOGO! Manual A5E00380835-01
61
.
View of the LOGO! display A further block is connected at this point Block number assigned by LOGO!
Input
x B2 I3 x
w1
B1 Q1
This connector is not required
Block
Output
Assigning a block number LOGO! assigns each new block a circuit program a block number. This means that these numbers mainly represent an aid to your orientation in the circuit program.Programming LOGO! View of blocks on the LOGO! display The figure below shows a typical view of the LOGO! display. LOGO! uses these block numbers to indicate the block interconnections.

To do so. You will find this a valuable aid when you create the circuit program because you can enter all the block numbers that LOGO! assigns in this chart. save memory space and clean up your circuit layout.Programming LOGO! The figure above shows you three views of the LOGO! display. which represent the circuit program. Advantages of block numbers You can connect almost any block to an input of the current block by means of its block number. you can reuse the interim results of logical or other operations. you need to know how LOGO! has named the blocks. As you can see. however.5). By using the LOGO!Soft Comfort software to program the LOGO!. LOGO! interconnects the blocks using their numbers. and to view these on the LOGO! display in parameter assignment mode (see Chapter 3. Note We advise you to create an organizational program chart. you can directly create a function chart of your circuit program.
62
LOGO! Manual A5E00380835-01
. LOGO!Soft Comfort also allows you to assign eight-character names to up to 64 blocks. reduce programming effort. In this way.

S3
I1 I2 x
w1
I3 x
& Q1
N
Wiring of the outputs
LOGO! Manual A5E00380835-01
63
. starting with the circuit diagram
View of a circuit diagram You know. Relay K1 picks up when condition (S1 OR S2) AND S3 is met. of course.Programming LOGO!
3. here is an example:
Load E1 is switched on and off by means of the switches (S1 OR S2) AND S3.
S1 S3 K1
S2
K1
E1
Creating this circuit with LOGO! In LOGO! you create a circuit logic by interconnecting blocks and connectors:
L 1 Wiring of the inputs Circuit program in LOGO!
S1 .4 The way to LOGO!. how a circuit logic is represented in a circuit diagram.. Nevertheless..

To create a circuit logic in LOGO!. Convert the circuit logic into blocks by working through the circuit. start at the output.Programming LOGO! Note Although you have four inputs available for logic operations (Basic functions. the relevant unused third and fourth inputs are identified at the connector with an ’x’. A parallel circuit corresponds with the OR block: I1 I2 x w1 I3 x & Q1 & Q1
Unused inputs The circuit program automatically assigns the unused connectors a status that ensures proper functioning of the relevant block. You program this fourth input and assign parameters just like you do with the other three inputs. 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. Now connect the I/Os to the LOGO! .2). 64
LOGO! Manual A5E00380835-01
. 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. see Chapter 4. most of the views will only show three inputs for reasons of clarity. A series connection corresponds with the AND block: I3 x Step 2: S1 and S2 are connected in parallel. If you like. The output is the load or relay that is to be switched.

Programming LOGO! Wiring Connect the switches S1 to S3 to the screw terminals of your LOGO! : S S1 to connector I1 of LOGO! S S2 to connector I2 of LOGO! S 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 N
N

L1

I1

S S S 1 2 3
I2 I3

Input wiring

I4

1

Q1

2

L1

Output wiring

N

LOGO! Manual A5E00380835-01

65

Programming LOGO!

3.5 The four golden rules for operating LOGO!
Rule 1 Changing the operating mode S You create the circuit program in programming mode. After power is on, and when the display shows “No Program / Press ESC”, press the ESC key to select programming mode. S Timer and parameter values of an existing circuit program can be edited both in parameter assignment mode and in programming mode. During parameter assignment the LOGO! is in RUN mode, i.e. it continues 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. S Select the ’Start’ command on the main menu to set RUN mode. S When the system is in RUN, you can return to parameter assignment mode by pressing the ESC key. S 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:

S You can open programming mode by pressing A+"+OK. S You set parameter assignment mode by pressing ESC+OK.

66

LOGO! Manual A5E00380835-01

Programming LOGO! Rule 2 Outputs and inputs S Always create your circuit program by working from the output to the input. S You can connect an output to several inputs, but not the same input to several outputs. S Within the same program path you may not connect an output to an upstream input. For such internal recursions you should interconnect flags or outputs. Rule 3 Cursor and cursor movement The following applies when you edit a circuit program: S 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 ESC to exit programming mode. S You select a connector/block S 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 Planning

S Before you start to create a circuit program, you should

either first create design on paper or program LOGO! directly using LOGO!Soft Comfort. S LOGO! can only save complete and faultless circuit programs.

>Stop Set Param Set.. Prg Name
For more details on these menus, refer to Appendix D.

68

LOGO! Manual A5E00380835-01

Programming LOGO!

3.7 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.7.1 Selecting 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.. Setup.. 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 ”Program..” and confirm with OK. LOGO! opens the programming menu.

>Edit.. Clear Prg Password

The LOGO!’s programming menu

LOGO! Manual A5E00380835-01

69

Programming LOGO! 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 AQ in Stop 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 select the other outputs. Now start to edit your circuit program. 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“ after you have saved a passwordprotected 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.7.5.).

70

LOGO! Manual A5E00380835-01

Programming LOGO!
3. because S1 OR S2 switches on the output.7. Circuit program S1 is connected to the I1 and and S2 to the I2 input connector of the OR block. The corresponding layout of the circuit program in LOGO!: I1 I2 x w1
Q1
LOGO! Manual A5E00380835-01
71
. LOGO! interprets this parallel circuit as an ’OR’ logic.
K1
E1
Translated into a LOGO! circuit program this means: Relay K1 is at output Q1 is controlled by means of an OR block. Circuit diagram The corresponding circuit diagram:
S1 S2 K1 The load is switched on with S1 OR S2.2 The first circuit program
Let us now take a look at the following parallel circuit consisting of two switches.

The cursor indicates your current position in the circuit program. You can move the cursor by pressing the .
LOGO! Manual A5E00380835-01
73
. . LOGO! now shows the first block from the list of basic functions:
&
B1 Q1
The AND is the first block of the basic functions list.
–
Q1
At this point you enter only the first (OR) block.Programming LOGO! You will see an underscore below the Q in Q1.
The cursor is displayed as a solid square: You can now select a connector or a block
Co
Q1
The cursor no longer appears in the form of an underscore. and keys. which is the cursor. but instead as a flashing solid square. The cursor indicates your current position in the circuit program. The solid square cursor prompts you to select a block. LOGO! offers you here various options. The cursor moves to the left. Now press the key. and confirm with OK. Press OK to select editing mode. Select GF (basic functions) by pressing the key until GF appears.

The display now shows:
–
w1
B1 Q1
Block number
Your complete circuit program layout B1
w1 Q1
You have now entered the first block. The only thing left to do is to interconnect the block inputs.
The display now shows:
Co w1
B1 Q1
Select the Co list: Press OK
The display now shows:
x
w1
B1 Q1
74
LOGO! Manual A5E00380835-01
. Each new block is automatically assigned a block number. This is how it is done: Press OK.Programming LOGO! Now press play: or until the OR block appears on the dis-
w1
B1 Q1
The solid square cursor is still positioned on the block.
Press OK to confirm your entries and exit the dialog.

Programming LOGO! The first element of the Co list is the ”Input 1” character... To apply I2: Press OK
LOGO! Manual A5E00380835-01
75
. to lo. Switch to editing mode: Press OK 2.
The display now shows:
I1 –
w1
B1 Q1
Your complete circuit program in LOGO! up to now: B1 I1
w1 Q1
Now you connect input I2 to the input of the OR block. To select the Co list: Press or 3.. .. To confirm the Co list with: Press OK 4. I2 . hi. You already know how to do this: 1. To select I2: Press or 5. The cursor jumps to the next input of the OR block. to I1. I1 is now connected to the input of the OR block. Note Press B to go the start of the Co list: I1..
B1 I1 w1 Q1
Press OK. Press Y to go to the end of the Co list: lo.. namely ’I1’..

You can mark the unused inputs with an ’x’. To select the Co list: Press or 3. To select ’x’: Press or 5.Programming LOGO! I2 is now connected to the input of the OR block:
The display now shows:
I1 I2
w1
B1 Q1
I1 I2
Your circuit program layout in LOGO! up to now B1
w1 Q1
We do not need the last two inputs of the OR block for this circuit program. To accept the Co list: Press OK 4. To apply x: Press OK
The display now shows: This is the layout of your circuit program B1 I1 I2 x
B1
Q1
w1 Q1
76
LOGO! Manual A5E00380835-01
. Enter the ’x’ character twice: 1. Switch to editing mode: Press OK 2.

Your circuit program layout I1 I2 I3 x B1
I1 I2 I3 x
w1
B1 Q1
w1 Q1
You can review your first circuit program by pressing or to move the cursor through the circuit program.Programming LOGO! Note You can invert individual inputs of the basic and special functions. a logical “0” is inverted into a logical “1” signal.e. Now press B or Y to invert this input: Next. the circuit program will output a logical “0”. We shall now exit circuit programming mode. i. e. To invert an input. move the cursor to the relevant position.:
I1 I2 I3 x
w1
B1 Q1
Confirm with OK.g. On the other hand. press ESC. This is how it is done: Return to the programming menu: Press ESC
LOGO! Manual A5E00380835-01
77
. if an input carries a logical “1” signal.

To move the “>” cursor to ’Edit.. you must enable this option. To accept ’Edit’: Press OK 3. You can select any letter. Move the “>” cursor to ’Edit Name’: Press or 4.4 Assigning a circuit program name
You can assign your circuit program a name that consists of up to 16 uppercase/lowercase letters. To accept ’Edit Name’: Press OK Press and to list the alphabet from A (a) to Z (z).Programming LOGO! Note LOGO! has now saved your circuit program to nonvolatile memory. numbers and special characters. The Retentive parameter is deactivated in the basic status (i. number or character. etc. To use it. You can save the actual values of special functions in the case of a power outage assuming that these functions support the ”Retentive” parameter and that the necessary program memory is available.
3. This character is the first one in the list. simply movie the cursor with to the next position. The circuit program remains in the LOGO! memory until you explicitly delete it.7. numbers and special characters.’: Press or 2. either in ascending or descending order. To enter a space character. The following character set is available: A P 78 Q B R C S D T E U F V G H I Y J Z K a L b M c N d O e
W X
LOGO! Manual A5E00380835-01
. In the programming menu: 1.e. when inserting the function). Examples: Press once to select an “ A ” four times to select “ { ”.

Select “ B”: Press 8. the password can be assigned. and consists only of uppercase letters (A to Z). Select “ A”: Press 6. To assign a password A password may have a maximum length of 10 characters.7.
LOGO! Manual A5E00380835-01
79
. proceed in the same way. Directly at the LOGO!. Select “ C”: Press 10. and you are returned to the programming menu.
@ [
Let us assume you want to name your circuit program “ABC”: 5. To change the name of your circuit program.Programming LOGO! f v ” < g w # = h x $ > i y % ? j z & k 0 ’ l 1 ( \ m 2 ) ] n 3 * ^ o 4 + _ p 5 . Move to the next letter: Press 9. You can read the name both in programming and in parameter assignment mode
3.5 Password
You can protect a circuit program from unauthorized access by assigning it a password.To confirm the complete name: Press OK Your circuit program is now named “ABC”. Note You can change the name of the circuit program only in programming mode. | s 8 / } t 9 : ~ u ! . ‘ q 6 – { r 7 . edited or deactivated only in the “Password” menu. Move to the next letter: Press 7.

To move to the next letter: Press 5. you can quickly access to letters “at the end“ of the alphabet by using the button: Press once to select “Z” Press twice to select “Y”. Move the “>” cursor to ’Password’: Press or 2. Let us assign the password “AA” to our first circuit program. The display now shows:
Old: No Password New:
This procedure is the same as for entering the name of the circuit program. Because LOGO! only provides uppercase letters for the password.
80
LOGO! Manual A5E00380835-01
. Select “ A”: Press 4. Select “New” and enter: 3. To confirm the password: Press OK Your circuit program is now protected with the password “AA”. Select “ A”: Press The display now shows:
Old: No Password New:
6. etc.Programming LOGO! In the programming menu: 1. To confirm the ’Password’: Press OK Press or to move up and down the alphabet to select your letters. and you are returned to the programming menu.

In the programming menu: 1.Programming LOGO! Note You can cancel the input of a new password with ESC. Changing the Password You need to know the current password in order to change it. 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 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. e. The display now shows:
Old: AA New:
Now you can select “New” to enter the new password. LOGO! returns to the programming menu without saving the password. you first need to assign a password to this new program (see Chapter 6. Move the ’>’ cursor to ’Password’: Press or 2. You can also set your password using LOGO!Soft Comfort. To allow you to create and edit a circuit program for a protected module (Card).1). In this case. “ZZ”: 3. Select “Z”: Press
LOGO! Manual A5E00380835-01
81
. To move to the next letter: Press 5.g. Select “Z”: Press 4.

Move the ’>’ cursor to ’Password’: Press or 2. same as if you were changing it. and you are returned to the programming menu. You must know your current password (in our example “ZZ”).Programming LOGO! The display now shows:
Old: AA New: ZZ
6. you want to allow another user to edit your circuit program. Deactivating the Password Let us assume you want to deactivate the password for whichever reason. In the programming menu: 1. 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”. 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. To confirm your new password: Press OK Your new password “ZZ” is now set. and you are returned to the programming menu.
82
LOGO! Manual A5E00380835-01
. For example.

Let the password prompt be deactivated for the time being.
LOGO! Manual A5E00380835-01
83
. in order to accelerate progress in our further exercises and examples. LOGO! does not open editing mode.
Password: Wrong Password! When the user inputs the wrong password and confirms the input with OK. but returns to the programming menu. and thus permits access without password.Programming LOGO! Note This action disables the password prompt. This repeats itself over and again until you input the correct password.

. determines the status of the outputs by means of the user program. 123456789 1... I15. To do so.Programming LOGO!
AI:
7: 00000 8: 00000
Analog inputs AI7 to AI8
Press AQ:
1: 00000 2: 01000
Analog outputs AQ1 to AQ2
Press M:
0. Q8 and Q12 are set “high“.01234
Flags M1 to M9 Flags M10 to M19 Flags M20 to M24
Press ESC+C 4 cursor keys for manual intervention in the circuit program (ESC+key)
What is meant by: ”LOGO! is in RUN”? In RUN mode.
LOGO! Manual A5E00380835-01
85
.. and switches these on or off according to your settings.01234
Input/output status is ’1’: inverted Input/output status is ’0’: not inverted
Q:
0. 123456789 1. This is how LOGO! indicates the I/O status:
I:
0. 123456789 1.0123456789 2..0123456
In this example. LOGO! first reads the status at the inputs. LOGO! executes the circuit program.0123456789 2... only the inputs I1..

we are going to show you how to: S Add a block to an existing circuit program.
LOGO! Manual A5E00380835-01
87
. Using this second circuit program. and assigned it a name and. you have successfully created your first circuit. with some slight modifications. if desired. S Assign parameters. Modifying circuits We shall use the first circuit program as a basis for the second. The only difference is the new off-delay block.Programming LOGO!
3. and to switch off the load with a delay of 12 minutes. this is the circuit program layout:
I1 I2 x
w1
x Par
This is the new block Q1
You can see the OR block and the output relay Q1 we have already used in the first circuit program. S Select a block for a special function.7.7 Second circuit program
Up to this point. a password. S1 and S2 switch a relay. In this section we are going to show you how to modify existing circuit programs and how to use the special functions. Let us take a first look at the circuit diagram for the second circuit program:
L1 S1 S2 K1
You already know the first part of the circuit. which is to be used to switch on the load E1.
K1 N
E1
In LOGO!.

Select the ’Stop’ command. Confirm with OK. On the main menu. and once again confirm with OK). See Page 66. If required.Programming LOGO! Editing the circuit program Switch the LOGO! to programming mode. confirm with OK. select ”Program” 3. enter your password at the prompt and confirm with OK. Adding a block to a circuit program Move the cursor to the B in B1 (B1 is the number of the OR block):
To move the cursor: Press
B1
Q1
We now insert the new block at this position. select ”Edit Prg” and confirm with OK. On the Programming menu. 2. then move the ’>’ cursor to ’Yes’. As a reminder: 1.
LOGO! shows you the BN list
BN
Q1
88
LOGO! Manual A5E00380835-01
. You can now modify the current circuit program. Switch the LOGO! to programming mode (in RUN: Press ESC to enter the parameter assignment mode. confirm with OK. Next. select “Edit”.

The ’old’ block will otherwise be lost. Note that you can only interconnect digital inputs with digital outputs or analog inputs with analog outputs. The solid square cursor is positioned on the block. The block of the first special function is shown:
Trg Par
Q1
When you select a special or basic function block.
LOGO! Manual A5E00380835-01
89
. LOGO! shows you the relevant function block. Set the off-delay time at parameter T of the input Par. Press B or Y to select the required block. At the top is the trigger input (Trg) you use to start the off-delay time.Programming LOGO! Press B to select the SF list:
The SF list contains the special function blocks.
The B1 block previously connected to Q1 is automatically connected to the uppermost input of the new block. the OR block B1 triggers the off-delay. this shows the entry Trg
B1 R Par
B2 Q1
The added block is assigned the block number B2.
Select your block (off-delay.
SF
Q1
Press OK. You reset the time and the output with a signal at the reset input. and then press OK:
Before you press ’OK’. The off-delay block has three inputs. see the next figure). In our example. The cursor is positioned at the top input of the added block.

Time value
Timebase
To change the time value: S Press and to position the cursor. S Press and to modify the value at the relevant position. Switch to editing mode: Press OK LOGO! shows the parameters in the parameter assignment window:
T: The block parameter B2 is a time function
B2 +R T =00:00s
“+” means: The parameter is shown and can be modified in the parameter assignment mode.Programming LOGO! In our example we do not use the reset input of the offdelay function. and we identify it with an ’x’ connector. S Confirm your entries with OK.
90
LOGO! Manual A5E00380835-01
. “R” means: Retentivity is enabled for this block. if it not already at this position: Press or 2. Move the cursor to Par.
B1 x Par
B2 Q1
This is what the display should now show
Assigning block parameters Now you set the off-delay time T: 1.

Select the timebase ’m’ (for minutes):
Press Press Press Press Press Press
or or or or or 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. Select the retentivity setting: Press or
LOGO! Manual A5E00380835-01
91
. Move the cursor to the retentivity setting: Press or 2. Move the cursor to the protection mode: Press or 2. Move the cursor to the first digit: 2. Confirm your entries with:
OK
Enabling/disabling retentivity To decide whether you want to retain your current data after a power failure or not: 1.Programming LOGO! Setting the time Set the time T = 12:00 minutes: 1. Move the cursor to the unit: 6. Select the digit ’1’: 3. Select digit ’2’: 5. Select the protection mode: Press or The display should now show:
B2 T=12:00m
+R
or
B2 T=12:00m
–R
Protection mode +: The value of the time T can be modified in parameter assignment mode
Protection mode – : The value of the time T is hidden in parameter assignment mode
3. Shift the cursor to the second digit: 4.

this is not possible in parameter assignment mode. You can once again view the circuit program on the display.4. Use the keys to browse the circuit program. Verification of the circuit program This program branch for Q1 is now completed. You can modify the protection mode and retentivity setting only in programming mode. i. refer to Chapter 4.Programming LOGO! The display now shows:
B2 T=12:00m
–R
or
B2 T=12:00m
–/
Retentivity R: Current data are retained
Retentivity /: Current data are not retained
3. Confirm your entries with Note
OK
For further information on the protection mode.3. In this manual. refer to Chapter 4.5. i.3. the protection mode (”+” or “–”) and retentivity (”R” or “/”) settings are only shown in the displays where these can actually be changed. and to move between the inputs at a block.e.e. LOGO! shows you the output Q1. press or to move from block to block. For further information on retentivity.
92
LOGO! Manual A5E00380835-01
.

8 Deleting a block
Let us assume you want to delete the block B2 from your circuit program and connect B1 directly to Q1.
3. Confirm ’Edit Prg’: Press OK
LOGO! Manual A5E00380835-01
93
. enter your password and confirm with OK. refer to Page 66). To return to the programming menu: Press ESC 2. 2.) 4. To move the ’>’ cursor to ’Start’: Press or 4. To confirm ’Start’: Press OK LOGO! is back in RUN mode:
Mo 09:30 2005-01-27
You can press or to scroll the pages and to monitor the I/O states. Select ’Edit Prg’: Press or 5. Select ’Edit’: Press or 3. here is a reminder: 1. Switch the LOGO! to programming mode (as a reminder.7. To return to the main menu: Press ESC 3.
B1 B2 I1 I2 x x Par
Q1
Proceed as follows: 1.Programming LOGO! Closing the programming mode Although you were shown how to exit the programming mode when you created your first circuit program. Confirm ’Edit’: Press OK (If required.

because it is no longer used in the circuit. press :
B2
Q1
7. to B2. Confirm with OK. 2. Block B1 has replaced B2 directly at the output.7.Programming LOGO! 6.
3.
B1 B2 I1 I2 x x Par
Q1
Proceed as follows: 1. refer to page 66). To move the cursor to the input of Q1. Now replace block B2 with block B1 at output Q1. To confirm ’Edit’: Press OK (If required. To select ’Edit’: Press or 3.) 4.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.7). i. 8. Switch the LOGO! to programming mode (as a reminder. 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.e. enter your password and confirm with OK.7. To select ’Edit Prg’: Press or
94
LOGO! Manual A5E00380835-01
.

you can delete the old block and then insert a new one. You can only replace a block with a block that has exactly the same number of inputs. Confirm with OK.7. press :
B2
Q1
7. In this example. To move the cursor to the input of Q1.10 Correcting typing errors
Programming errors can be corrected easily in LOGO! : S Provided editing mode is not yet closed. to B2. block B1 also. This includes all blocks connected to B2.
3. Enter the correct input circuit.
LOGO! Manual A5E00380835-01
95
. Press OK 3. simply reconfigure the faulty input: 1.e. i.Programming LOGO! 5. Change to editing mode. because it is no longer used in the circuit. Now set the connector ’x’ at output Q1 instead of block B2. You can choose any new block. Move the cursor to the faulty position 2. 8. 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. S If you have already configured all inputs. However. To confirm ’Edit Prg’: Press OK 6. you can revert by one step by pressing ESC.

In the programming menu: 1. The default setting is ’Last’. depending on the setting. Select the desired output setting: Press or . analog output values are set to specific values).e. To accept ’AQ in Stop’: Press OK LOGO! shows the following display:
>Defined Last AQ in Stop Last
The current setting for the analog output channels is shown on the bottom row. You can select either ’Last’ value (i. Move the “>” cursor to ’Edit.7. Move the ’>’ cursor to ’Defined’: Press or 2. When LOGO! changes from RUN mode to STOP mode. analog output values are held at their last value) or ’Defined’ value (i.11 Selecting analog output values for RUN/STOP transition
You can select the analog values that are output at the two analog outputs when LOGO! changes from RUN mode to STOP mode. 5.Programming LOGO!
3.e. Move the “>” cursor to ’AQ in Stop’: Press or 4. To accept ’Edit’: Press OK 3. To confirm your entry: Press OK Defining a specific analog output value You want to output a specific analog value at the two analog outputs.’: Press or 2. the values of the analog outputs change as well.. 1. 6. Confirm ’Defined’: Press OK The display shows:
96
LOGO! Manual A5E00380835-01
.

The circuit program is deleted. Move the ’>’ cursor to ’Yes’: Press or 6. Enter your password.
98
LOGO! Manual A5E00380835-01
.7.” menu command S in programming mode by calling the “Setup” menu command. 8. you are prompted to enter your password (provided you have assigned one).Programming LOGO! If you are sure that you want to delete the circuit program from memory: 5. Press OK. Note Although you may have forgotten your password. Press OK. you can still delete the circuit program by entering the wrong password four times..
7.13 Summertime/wintertime conversion
You can enable or disable automatic Summertime/wintertime conversion S in parameter assignment mode by calling the “Set.
Password? ZZ
To prevent unintentional deletion of your circuit program.
3.

You can now enable/disable automatic S/W Time conversion. The default setting is ’Off’: disabled. 2. Move the ’>’ cursor to ’Clock’: Press or 5. Confirm ’Clock’: Press OK 6. To enable/disable automatic S/W Time conversion in parameter assignment mode: If you want to enable/disable automatic S/W Time conversion in parameter assignment mode. You are now in the main menu and want to select the ’Setup’ menu command: Press or 3.Programming LOGO! To enable/disable automatic S/W Time conversion in programming mode: 1. then menus ’Clock’ and ’S/W Time’.’. Move the ’>’ cursor to ’S/W Time’: Press or 7. Confirm ’Setup’: Press OK 4. Switch the LOGO! to programming mode.. Confirm ’On’: Press OK
LOGO! Manual A5E00380835-01
99
. select in the parameter assignment menu ’Set. 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 ’S/W Time’: Press OK LOGO! shows the following display:
>On Off S/W Time: Off
The current setting of automatic S/W Time conversion is shown on the bottom row.

S ’UK’ represents the start and end of summertime in the United Kingdom. S .Programming LOGO! The display shows:
>EU
3. : Here you can enter any month. Select the desired conversion: Press or What is shown on the display ?: S ’EU’ represents the start and end of European summertime. 60 Min. S ’NZ’ represents the start and end of New Zealand summertime. 60 Min. UK and US is found in the table below:
Start of summertime EU UK US AUS Last Sunday in March: 02:00––>03:00 Last Sunday in March: 01:00––>02:00 First Sunday in April: 02:00––>03:00 Last Sunday in October: 02:00––>03:00 End of summertime Last Sunday in October: 03:00––>02:00 Last Sunday in October: 02:00––>01:00 Last Sunday in October: 02:00––>01:00 Last Sunday in March: 03:00––>02:00 Time zone difference ∆ 60 Min. . day and time zone difference. S ’AUS’ represents the start and end of Australian summertime. S ’US’ represents the start and end of summertime in the United States. S ’AUS-TAS’ represents the start and end of Australian/ Tasmanian summertime.
100
LOGO! Manual A5E00380835-01
. 60 Min. The preset conversion data for EU.

LOGO! Manual A5E00380835-01
101
.First Sunday in OctoTAS ber: 02:00––>03:00 NZ .Programming LOGO!
Start of summertime AUS. Confirm ’EU’: Press OK LOGO! shows the following display:
>On Off S/W Time: On"EU
LOGO! indicates that European S/W Time conversion is enabled. 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. First Sunday in October: 02:00––>03:00 Customizing the month and the day: 02:00––> 02:00 + Time zone difference End of summertime Last Sunday in March: 03:00––>02:00 Third Sunday in March: 03:00––>02:00 Customizing the month and the day: 03:00––> 03:00 – Time zone difference Time zone difference ∆ 60 Min. Move the ’>’ cursor to ’EU’: Press or 5. 60 Min..

Confirm ’On’ once again: Press OK 2. The LOGO! display now shows:
102
LOGO! Manual A5E00380835-01
. . March 1. time difference of 120 minutes.Programming LOGO! User-defined parameters If none of the parameters/conversions apply to your country. you can customize these under menu item ’. The display shows:
MM–DD + : 0 03–31 – : 11–01 D =120 min
31.’: Press or 3. This is how you can enter your data: S Press or to move the solid square/cursor.’. end of summertime = 1st of November. To do so: 1. Move the ’>’ cursor to ’. Confirm the menu item ’.
You have now customized the summertime/wintertime conversion. S Press and to change the value at the cursor position. . . November Time difference of 120 min
S Confirm all your entries with OK.’ : PressOK The display shows:
Cursor / solid square
MM–DD + : 0 01–01 – : 01–01 D =000min
Month (MM) and Day (DD) Start of summertime End of summertime The desired time zone difference in [min]
Let us assume you want to configure the following parameters: Start of summertime = 31st of March.

3.
3.
LOGO! Manual A5E00380835-01
103
. It does not function when LOGO! is in buffered operation (see Chapter 4.Programming LOGO!
>On Off S/W Time: On"..
LOGO! indicates that summertime/wintertime conversion is enabled.7. LOGO! can receive the time-of-day from a communication module EIB/KNX (version 0AA1 upwards).3).14 Synchronization
Time synchronization between LOGO! and a connected communication module EIB/KNX (version 0AA1 upwards!) can be enabled/disabled S in parameter assignment mode by means of the set menu (“Clock” menu item) S in programming mode by means of the setup menu (“Clock” menu item). and that user-defined parameters ( ’.. you merely confirm ’Off’ with OK. Note To disable summertime/wintertime conversion in this menu. Note Summertime/wintertime conversion only functions when LOGO! is operating (in RUN or STOP status).’ ) have been set. When synchronization is enabled.

To enable/disable synchronization in programming mode: 1. but without communication module EIB/KNX (version 0AA1 upwards). Apply ’Sync’: Press OK LOGO! shows the following display:
>On Off Sync: Off
The current setting of the automatic synchronization function is displayed on the bottom row. and want to select ’Setup’: Press or 3. Switch the LOGO! to programming mode.
104
LOGO! Manual A5E00380835-01
. 2. time synchronization must not be activated! You must check whether time synchronization is deactivated (’Sync’ must be set to ’Off’). Move the ’>’ cursor to ’Clock’: Press or 5. Confirm ’Setup’: Press OK 4. and when the TOD is changed (after a ’Set Clock’ is executed or after a summertime/wintertime conversion). You are now in the main menu.e. Move the ’>’ cursor to ’Sync’: Press or 7. The default setting is ’Off’. Confirm ’Clock’: Press OK 6. Note When using a LOGO! basic module with digital or analog expansion modules.Programming LOGO! Whether synchronization is enabled or disabled. disabled. i. the timeof-day is always sent to the expansion modules at power-up. every hour (STOP mode or RUN mode).

then menus ’Clock’ and ’Sync’. You can now enable/disable automatic synchronization..Programming LOGO! To enable/disable synchronization in parameter assignment mode: If you want to enable/disable automatic synchronization in parameter assignment mode.’. Move the ’>’ cursor to ’On’: Press or 2. Confirm ’On’: Press OK LOGO! shows the following display:
>On Off Sync: On
LOGO! Manual A5E00380835-01
105
. Enabling synchronization You want to enable synchronization: 1. select in the parameter assignment menu ’Set.

Programming LOGO!
3.g.
106
LOGO! Manual A5E00380835-01
. LOGO! stores process variables which need to be retentive. The second limitation is based on the maximum number of bytes a circuit program may contain. and offers only those functions from the lists for which it can actually provide sufficient memory space.8 Memory space and circuit dimensions
The size of a circuit program in LOGO! is limited by the memory space (memory used by the blocks). e. the hours counter value. Resources available in LOGO! A circuit program in LOGO! can occupy the following maximum resources:
Bytes 2000 Blocks 130 REM 60
LOGO! monitors memory utilization. The total number of bytes used can be determined by adding up the number of bytes used for the relevant function blocks. Blocks with optional retentivity use this memory area only if this function is actually enabled. S Retentive memory (Rem): In this area. Memory areas S Program memory: LOGO! allows only a limited number of blocks in your circuit program.

8.. If not all is shown LOGO! does not show all elements if: S No further blocks may be added. we have organized the elements in ’Lists’. basic functions and special functions the LOGO! knows. (refer to Chapter 4. OR.4) S ±BN: List of reusable blocks configured in the circuit program List contents All lists show the elements available in LOGO! Usually.
LOGO! Manual A5E00380835-01
111
. These lists are: S ±Co: Connector list (Connector) (see Chapter 4. This includes all the blocks you have created in LOGO! by the time you call the ±BN list. This is either an indication of insufficient memory space or that the maximum number of blocks has been reached. S A specific block’s memory space requirement would exceed the space available in LOGO! See Chapter 3.2) S ±SF: List of the special functions (refer to Chapter 4. . this includes all connectors.1) S ±GF: List of the basic functions AND.4 LOGO! functions
Organization LOGO! provides you with various elements in programming mode. In order to maintain the overview..

Special functions whose inputs should only be connected to analog inputs are offered in programming mode when you select the input signal. 2) Analog inputs The LOGO! versions LOGO! 24. Outputs: 1) Digital outputs Digital outputs are identified by the character Q.. The output numbers (Q1. LOGO! 12/24RC and LOGO! 12/24RCo are equipped with the inputs I7 and I8. the block numbers of a function with analog output or the analog outputs AQ1 and AQ2. The number of the digital inputs (I1. Q16) correspond with the numbers of the output connectors at the LOGO! Basic and with those of the expansion modules. flags and constant voltage levels (constants). analog flags AM1.) corresponds to the number of the input connectors of the LOGO! Basic and of the connected digital modules. See the figure below. which can also be programmed for use as AI1 and AI2 inputs. Inputs: 1) Digital inputs Digital inputs are identified with an I. .LOGO! functions
4. the analog inputs AI1.e. i. See the following figure. and those at the AI1 and AI2 inputs are interpreted as analog values.1 Constants and connectors – Co
Constants and connectors (= Co) represent inputs..AM6. The inputs of a connected analog module are numbered according to the already existing analog inputs. I2.AI8. in their order of installation..... .. in the order of their installation.
112
LOGO! Manual A5E00380835-01
. Signals at the I7 and I8 inputs are interpreted as digital values. Q2. LOGO! 24o. outputs..

25). Cursor keys are programmed for the circuit program in the same ways as other inputs. which are assigned the read-only attribute in the circuit program. The M8 flag can be used in all further cycles for setting. The content of shift register bits can only be modified by means of the “Shift register” special function (see Chapter 4. This signal is automatically reset after the circuit program has completed its first cycle. C B and C A (”C” = “Cursor”). Cursor keys can save switches and inputs. C ". Cursor keys Up to four cursor keys are available to you. namely C Y. Note The output of the flag always carries the signal of the previous program cycle.
LOGO! Manual A5E00380835-01
114
. This value does not change within the same program cycle. deletion and evaluation procedures in the same way as other flags. A constant “1” = hi or “0” = lo status at the block can be set by means of a permanent voltage level or constant value hi or lo.LOGO! functions 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.7.6). You can set the cursor keys in the corresponding display while the system is in RUN (see Chapter 3. and allow operator control of the circuit program. Open connectors Unused block connectors can be identified with an x.4. Shift register bits LOGO! provides the shift register bits S1 to S8. and in an active message text (ESC + Key). Levels Voltage levels are designated hi and lo.

the program sets a logical “1”.2 Basic functions list – GF
Basic functions represent simple logical elements of Boolean algebra. the circuit program inverts a logical “1” at a relevant input to a logical “0”. The following basic functions are available:
View in the circuit diagram Series circuit make contact View in LOGO! Name of the basic function AND
(see page 117)
AND with edge evaluation
(see page 118)
NAND (NOT AND)
(see page 119)
Parallel circuit with break contacts NAND with edge evaluation
(see page 120)
LOGO! Manual A5E00380835-01
115
. i.3. if “0” is set at the input. The GF list contains the basic function blocks you can use for your circuit program.e.LOGO! functions
4. You can invert the inputs of individual basic functions .7. A programming example is found in Chapter 3.

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 cycle. At an unused block input (x): x = 1.2.LOGO! functions
4. Timing diagram for the AND with edge evaluation
1 2 3 4 Q
Cycle 1 2 3 4 5 6 7 8 9 10
118
LOGO! Manual A5E00380835-01
.

LOGO! functions
4. Advantage of the NOT block.2. 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. You simply use a make contact and the NOT block to convert these into a break contact. for example: The LOGO! does not require break contacts. At an unused block input (x): x = 0.2. Inverter)
A break contact in the circuit diagram: Symbol in LOGO!:
The output status is 1 if the input is 0. Table of the XOR logic 1
0 0 1 1
2
0 1 0 1
Q
0 1 1 0
4. Table of the NOT logic 1
0 1
Q
1 0
LOGO! Manual A5E00380835-01
123
.7 XOR (exclusive OR)
The XOR in a circuit diagram.8 NOT (Negation. The NOT block inverts the input status.

3 Basics on special functions
Because of their different input designation. which allow you to adapt the circuit program to suit your own requirements. SFs contain timer functions. retentive functions and various parameter assignment options.4. This section provides you with a brief overview of input designations and with some particular background information on SFs. The SFs in particular are described in Chapter 4.LOGO! functions
4.
124
LOGO! Manual A5E00380835-01
. you can see right away that there is a difference between the special functions and basic functions.

That is.
LOGO! Manual A5E00380835-01
125
. S Trg (Trigger): This input is used to trigger the start of a function. S Inv (Invert): A signal at this input inverts the output signal of the block. S En (Enable): This input enables a block function. When this input is “0”. S Dir (Direction): This input determines the direction of count.3. for example. S S (Set): A signal at input S sets the output to logical “1”. S Ral (Reset all): All internal values are reset. other signals to the block will be ignored. S R (Reset): The reset input R takes priority over all other inputs and resets the outputs.1 Designation of the inputs
Logical inputs Here.LOGO! functions
4. the inputs carry a ’lo’ signal. you will find the description of the connectors you can use to create a logical link to other blocks or to the inputs of the LOGO! unit. Connector X at SF inputs SF inputs connected to connector x are set low. S Cnt (Count): This input is used for counting pulses. S Fre (Frequency): Frequency signals to be evaluated are applied to this input.

Here.LOGO! functions Parameter inputs At some of the inputs you do not apply any signals. you set the relevant block parameters (times. Here. note that your input values are based on the timebase set: Timebase s (seconds) m (minutes) h (hours) __ seconds minutes hours : : : : __
1/ 100
seconds
seconds minutes
B1 + T =04:10h
Setting a time T of 250 minutes: Unit in hours h: 04:00 hours 00:10 hours = 240 minutes +10 minutes 250 minutes
Note Always specify a time T in w 0.02 s.
4.02 s. Here. S P (Priority): This is an open input.3. When you preset this time.
LOGO! Manual A5E00380835-01
126
. Examples: S Par (Parameter): This input will not be connected. on/off thresholds etc. you configure the time patterns. You configure the relevant block values instead.). S No (Cam): This input will not be connected. you define priorities and specify whether a message is to be acknowledged in RUN.2
Time response
Parameter T At some of the SFs it is possible to configure a time value T. The time T is not defined for T t0.

02 seconds. At an ambient temperature of 25°C . which is proportional to " 0. it continues operation after a power failure. if necessary. the set time T may deviate. the clock is set to “Sunday 00:00 1 January”. which trigger actions.02 seconds. however.72 seconds.02 % of the time T is smaller than 0. the maximum deviation is 0. still stopped.3.LOGO! functions Accuracy of T Because of slight tolerances in the characteristics of electronic components. The LOGO! has a maximum tolerance of " 0. the clock is set to “Sunday 00:00 1 January”. the system processes the time switches. Example: The maximum tolerance per hour (3600 seconds) is " 0. as shown below: S Equipment series 0BA0: On restarting. The maximum toloerance per minute (60 seconds) is " 0. the timer value is continuously compared with a high-precision timebase and corrected. the typical backup time is 80 hours. In the RUN status.3 Backup of the real-time clock
Because the internal real-time clock of a LOGO! is backed up.02 seconds.02 %. LOGO! is back in the status that it was in before the power outage. Due to this. If there is a power outage of a LOGO! for more than 80 hours.
LOGO! Manual A5E00380835-01
127
. The clock is. The resultant maximum timing inaccuracy is $5 s/day. The time starts to run. Accuracy of the timer (weekly/yearly timer) To prevent timing inaccuracy of the real-time clock in C versions caused by this deviation. the system processes the counters that were parameterized with the time above.
4.02 %. dependent on the equipment series. The ambient temperature influences the backup time. S Equipment series 0BA1 and later: On restarting. When 0. the internal clock responds. The time is stopped and flashes.

you can determine whether the parameters can be displayed and edited in LOGO! parameter assignment mode or not.4 Retentivity
The switching states and counter values of SFs can be set retentive. See the example on Page 91.3. the relevant functions must be set retentive. A voltage of 0 to 10 V at input AI is transformed internally into range of values from 0 to 1000. –: The parameter settings are read-/write-protected in parameter assignment mode. Two options are available: +: The parameter attribute permits read/write access in parameter assignment mode (default). To enable this response. This value of signal lies within the typical range of this sensor. but resumes operation until the time-to-go has expired. for example.
4. and can be edited only in programming mode. SFs hours counter. This means that current data are retained after a power failure.3. yearly timer and PI controller are always retentive.
4.LOGO! functions
4.3. however.6 Calculating the gain and offset of analog values
A sensor is connected to the analog input and converts a process variable into an electrical signal. The timer is not reset. weekly timer.5 Parameter protection
In the parameter protection settings. /: Current data is not retained (default). See the example on Page 91.
128
LOGO! Manual A5E00380835-01
. LOGO! always converts the electrical signals at the analog input into digital values from 0 to 1000. Two options are available: R: The data is retained. and that the block resumes operation at the break point. An input voltage exceeding 10 V is shown as internal value 1000.

the circuit program converts a logical “1” at the input into a logical “0”.7. a logical “0” it converts into a logical “1”.LOGO! functions
4. The following SFs are available:
View inLOGO! Times On-delay
(see page 135)
Name of the special function
Rem
REM
Off-delay
(see page 139)
REM
On-/Off-delay
(see Page 141)
REM
Retentive on-delay
(see page 143)
REM
Wiping relay (pulse output)
(see page 145)
REM
LOGO! Manual A5E00380835-01
131
.3. you find the special function blocks in the SF list. You can invert the inputs of SFs individually.4 Special functions list – SF
When you create your circuit program in LOGO!. An example of the program code found in Chapter 3. The table also specifies whether the relevant function can be set retentivity (Rem). i.e.

3. see Chapter 4. provided Trg is still set. Retentivity: / = no retentivity R = the status is retentive. The time for parameter T can also be preset based on the actual value of another.18) S Analog threshold trigger (actual value Ax.20) S Analog multiplexer (actual value AQ. see Chapter 4. see Chapter 4.LOGO! functions
4.4.
Parameter
Parameter T Please note the defaults for parameter T in Chapter 4.4. see Chapter 4.4.4.4.16) S Analog amplifier (actual value Ax.1
On-delay
Short description The output is only set after a configurable on-delay time has expired. already configured function.
LOGO! Manual A5E00380835-01
135
.4.26) S Analog ramp (actual value AQ. T represents the time after which the output is switched on (0 to 1 transition of the output signal).28) and S Counter (actual value Cnt.2.4.4.13). see Chapter 4.
Symbol in LOGO! Wiring Input Trg Description You start the on-delay with a negative edge (1 to 0 transition) at input Trg (Trigger). see Chapter 4. see Chapter 4. Output Q Q is switched on when the set time T has expired. You can use the actual values of the following functions: S Analog comparator (actual value Ax – Ay.27) S PI controller (actual value AQ.

the value is rounded up or down to the next valid value. to move the cursor to the equal sign of parame-
B12 +R T =04:10h
Press " twice
B12 +R T =04:10h
2. Press to move the cursor to the “B” of the shown block. and then press to select the required block number. Press to change the equal sign into an arrow.
B12 +R T !B006s
3. the last referenced block and its timebase is shown. Press to move the cursor to the block’s timebase and press to select the required timebase. Press ter T.LOGO! functions If the referenced block (B6. If it exists. 4. Parameter preset = Actual value of an already programmed function How to include the actual value of an already programmed function: 1.
B12 +R T !B006m
LOGO! Manual A5E00380835-01
137
. in the example) returns a value that lies out of the valid range.

output Q and the expired time are reset after a power failure. 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.LOGO! functions The view in parameter assignment mode (example):
B12 T =04:10h =04:10 Ta =02:00h
Timing diagram
Trg Q T Ta expires
or current time
B12 T !B006m Ta =02:00h
T
The bold section of the timing diagram is also shown in the on-delay icon.
138
LOGO! Manual A5E00380835-01
.
Functional description The time Ta is triggered with a 0 to 1 transition at input Trg (Ta is the current LOGO! time). The output is reset to 0 when the signal at input Trg is 0. If the status of input Trg is 1 at least for the duration of the configured time T. If retentivity is not set.

2.18) S Analog threshold trigger (actual value Ax. You can use the process variables of the following functions: S Analog comparator (actual value Ax – Ay. Retentivity: / = No retentivity R = The status is retentive.4. T is the time that expires after which the output is switched off (1 to 0 transition of the output signal). see Chapter 4.
Input R
Parameter
Parameter T Please note the parameter T defaults specified in Chapter 4.4.
Symbol in LOGO! Wiring Input Trg Description You start the off-delay time with a negative edge (1 to 0 transition) at input Trg (Trigger) A signal at input R resets the on-delay time and the output.4. see Chapter 4. already configured function. It holds this state until T has expired.16)
LOGO! Manual A5E00380835-01
139
.3.2
Off-delay
Short description When an on-delay is set. Output Q Q is set with a signal at input Trg. The time for parameter T can be based on the actual value of another. the output is reset when the configured time has expired.LOGO! functions
4.

4. The time Ta is retriggered with a one-shot at input Trg. The output remains set.27) S PI controller (actual value AQ.26) S Analog ramp (actual value AQ. Select the required function by means of the block number.1.4.4. output Q and the expired time are reset after a power failure.4. see Chapter 4.LOGO! functions
4. Output Q is reset to 0 with off-delay when Ta reaches the value configured at T (Ta=T).4. For information on valid timebase ranges and parameter preset.
140
LOGO! Manual A5E00380835-01
. refer to Chapter 4.28) and S Up/down counter (actual value Cnt. see Chapter
Functional description Output Q is set to hi immediately when the input Trg changes to hi.
S Analog amplifier (actual value Ax. The timebase is configurable. You can set input R (Reset) to reset the time Ta and the output before Ta has expired. Timing diagram
Trg R Q Ta expires T T
The bold section of the timing diagram also appears in the off-delay symbol.4. see Chapter 4. If retentivity is not set.20) S Analog multiplexer (actual value AQ. see Chapter 4. see Chapter 4.13). The actual time Ta in LOGO! is retriggered at the 1 to 0 transition of Trg.

TL is the time after which the output is reset ( output signal transition 1 to 0). It is reset on expiration of the time TL. A negative edge (1 to 0 transition) at input Trg (Trigger) triggers the off-delay time TL. if the trigger Trg has not been set again.4.
LOGO! Manual A5E00380835-01
141
. Parameter TH is the time after which the output is set hi (output signal transition 0 to 1).3
On-/Off-delay
Short description The on-/off-delay function sets the output after the set ondelay time has expired.LOGO! functions
4.
Symbol in LOGO! Wiring Input Trg Description A positive edge (0 to 1 transition) at input Trg (Trigger) triggers the on-delay time TH . and resets it upon expiration of the off-delay time. Retentivity: / = No retentivity R = The status is retentive. Output Q Q is set when the configured time TH has expired and Trg is still set.

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. If retentivity is not set. The time is reset when the signal at input Trg changes to 1 again before the time TL has expired. The time is reset when the signal at input Trg is reset to 0 before the time TH has expired. output Q and the expired time are reset after a power failure.
142
LOGO! Manual A5E00380835-01
.3.2. If the status at input Trg is 1 at least for the duration of the time TH.LOGO! functions Parameters TH and TL Note the preset values for the parameters TH and TL in Chapter 4..
Trg Q TH Ta expires Ta expires TL TH TL TL TH
Functional description The time TH is triggered with a 0 to 1 transition at input Trg. the output is set to 1 on expiration of the time TH (the output follows the input with on-delay). Timing diagram
The bold section of the timing diagram is also shown in the on/ off-delay symbol. the output is set to 0 on expiration of the time TL (the output follows the input with off-delay).

see Chapter 4. T represents the on-delay time for the output (output status transition 0 to 1).Ay.2. see Chapter 4.4
Retentive on-delay
Short description A one-shot at the input triggers a configurable on-delay time. You can use the process variables of the following functions: S Analog comparator (actual value Ax .4.4.28) and
LOGO! Manual A5E00380835-01
143
. Retentivity: / = no retentivity R = The status is retentive.
Symbol in LOGO! Wiring Input Trg Description A signal at input Trg (Trigger) triggers the on-delay time. A signal at input R resets the on-delay time and the output.16) S Analog amplifier (actual value Ax.LOGO! functions
4.20) S Analog multiplexer (actual value AQ. The time for parameter T can be based on the process variable of another. see Chapter 4.4. see Chapter 4.4.4. Output Q Q is set after the time T has expired.27) S PI controller (actual value AQ.4.26) S Analog ramp (actual value AQ. see Chapter 4.4.3. see Chapter 4. already programmed function.
Input R
Parameter
Parameter T Note the defaults specified in Chapter 4.18) S Analog threshold trigger (actual value Ax. The output is set when this time has expired.

1.4.13).
144
LOGO! Manual A5E00380835-01
.
The bold section of the timing diagram is also shown in the symbol of the retentive on-delay. Select the required function by means of the block number.4.LOGO! functions
see Chapter 4. Timing diagram
Trg R Q Ta expires T T
S Up/down counter (actual value Cnt. output Q and the expired time are reset after a power failure. If retentivity is not set. For information on valid ranges and parameter defaults. 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. The timebase is configurable.
Functional description The 0 to 1 signal transition at input Trg triggers the current time Ta . Output Q is set when Ta = T. refer to Chapter 4.

4. Retentivity: / = No retentivity R = The status is retentive. Timing diagram
Trg Q Ta is expiring
T T has not expired
The bold section of the timing diagram also appears in the symbol of the wiping relay.2.
LOGO! Manual A5E00380835-01
145
.LOGO! functions
4.3.5
Wiping relay (pulse output)
Short description An input pulse generates a signal with a configurable period at the output. Output Q A signal at input Trg sets Q. output Q remains set for the time Ta. If the input signal = 1.
Symbol in LOGO! Wiring Input Trg Description A signal at input Trg (Trigger) triggers the time for the wiping relay function. The output is switched off after the time T has expired (output signal transition 1 to 0).
Parameter
Parameter T Please note the information on parameter T in Chapter 4.

output Q and the expired time are reset after a power failure. and triggers a time Ta during which the output remains set. 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 is reset to lo (pulse output) when Ta reaches the value preset at T (Ta = T).
146
LOGO! Manual A5E00380835-01
.LOGO! functions Functional description A 0 to 1 transition at input Trg sets the output.

LOGO! functions
4. A signal at input R resets the current time (Ta) and the output. and reset after TH has expired.2. The interpulse width TL and the pulse width TH are configurable.4.3..
Input R
Parameter
Parameter T Please note the information on parameter T in Chapter 4.
Symbol in LOGO! Wiring Input Trg Description A signal at input Trg (Trigger) triggers the times for the edge triggered wiping relay.6
Edge triggered wiping relay
Short description An input pulse generates a preset number of output pulses with a defined pulse/pause ratio (retriggerable). Output Q Q is set after TL has expired.9 Retentivity: / = No retentivity R = The status is retentive.
LOGO! Manual A5E00380835-01
147
. Timing diagram A
Trg Q Ta is running
TH TH N=1 TL=0 The bold section of the timing diagram also appears in the symbol of the edge triggered wiping relay. after a configured delay time has expired.. N determines the number of pulse/pause cycles TL/TH: Range of values: 1.

Preset of the Par parameter View in programming mode (example):
B25 1+R TL =02:00s TH =03:00s
Press
Protection mode and retentivity Interpulse width Pulse width
B25 N =1
2
Number of pulse/pause cycles (example)
148
LOGO! Manual A5E00380835-01
. If retentivity is not set. After the time TL has expired. output Q and the time are reset after a power failure.LOGO! functions Timing diagram B
Trg Q N=2 TL TH T L TH
Timing diagram for the sample configuration
Functional description A 0 to 1 transition at input Trg triggers the time TL (Time Low). Ta is reset and the pulse/pause cycle is restarted. 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.

LOGO! functions
4. You can configure the pulse width TH and the interpulse width TL.
Input INV
Parameter
Timing diagram
En Inv Q
TH TL TH TL TH TH TL
150
LOGO! Manual A5E00380835-01
. Output Q Q is set and reset cyclically according to the pulse/ pause ratio TH and TL.
Symbol in LOGO! Wiring Input En Description You can use input EN to set and reset the asynchronous pulse generator.7
Asynchronous pulse generator
Short description The output pulse shape can be modified by reconfiguring the pulse/pause ratio. Input INV can be used to invert the output signal of the active asynchronous pulse generator. Retentivity: / = No retentivity R = The status is retentive.4.

provided the block is enabled with a signal at input EN.
LOGO! Manual A5E00380835-01
151
.LOGO! functions Functional description You can configure the pulse/interpulse width at the TH (Time High) and TL (Time Low) parameters . If retentivity is not set. Input Inv can be used to invert the output signal. output Q and the expired time are reset after a power failure.

Parameter The on-delay is set at random to a value between 0 s and TH. Output Q Output Q is set when the on-delay has expired and if En is still set.2. It is reset when the off-delay has expired.LOGO! functions
4.
Parameter TH and TL Note the defaults of the TH and TL parameters listed in Chapter 4.4.
152
LOGO! Manual A5E00380835-01
. The off-delay is set at random to a value between 0 s and TL.
Symbol in LOGO! Wiring Input En Description A positive edge ( 0 to 1 transition) at input En (Enable) triggers the on-delay time of the random generator. A negative edge ( 1 to 0 transition) at input En (Enable) triggers the off-delay time of the random generator.3.8
Random generator
Short description The output of the random generator is set or reset within a configured time. provided En was not set again meanwhile.

T is busy
TH
TL
Functional description The 0 to 1 transition at input En triggers a random on-delay time between 0 s and TH. provided input En remains lo at least for the duration of this time. 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. The time is reset if input En is reset before the on-delay time has expired. The output is set when the ondelay time has expired and if the signal at input En remains hi at least for the duration of this time. The time expired is reset after a power failure. The time is reset if the signal at input En changes to 1 again before the off-delay time has expired.
LOGO! Manual A5E00380835-01
153
.LOGO! functions Timing diagram
En Q
The bold section of the timing diagram also appears in the symbol of the random generator.

A warning signal can be output before this time has expired to warn of the impending shutdown. The output is reset after this time has expired. A warning signal can be output before this time has expired.4.9
Stairway lighting switch
Short description An input edge triggers a configurable and retriggerable time.
Parameter
Timing diagram
Trg Q
T!L Ta is busy T T!
154
LOGO! Manual A5E00380835-01
. Output Q Q is reset after the time T has expired. T! determines the triggering time for the pre-warning.LOGO! functions
4. T represents the off-delay time of the output (output signal transition 1 to 0). Retentivity: / = No retentivity R = The status is retentive.
Symbol in LOGO! Wiring Input Trg Description A signal at input Trg (Trigger) triggers the off-delay time for the stairway lighting switch. T!L determines the length of the pre-warning signal.

Output Q is reset when Ta = T.2. 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.LOGO! functions Functional description A 0 to 1 signal transition at input Trg sets output Q. output Q and the expired time are reset after a power failure. 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! Manual A5E00380835-01
155
. A further one-shot at input Trg during Ta retriggers the time Ta .3. If retentivity is not set. Preset of the Par parameter Note the defaults specified in Chapter 4. Note All times must have the same timebase. The next 1 to 0 transition at Trg retriggers the current time Ta. and output Q remains set.

Input R
Parameter
Output Q
LOGO! Manual A5E00380835-01
157
. A signal at Trg switches on output Q. T represents the time after which f the output is reset (output signal transition 1 to 0). When active.4.LOGO! functions
4. A signal at input R resets the current time Ta and the output. Depending on the length of the input at Trg. T! represents the preset time for the start of the offwarning signal. or it is reset with a further signal at Trg. T!L represents the length of the off-warning period. Retentivity: / = No retentivity R = The status is retentive.10 Multiple function switch
Short description Switch with two different functions: S Pulse switch with off-delay S Switch (permanent lighting)
Symbol in LOGO! Wiring Input Trg Description A signal at input Trg (Trigger) sets output Q (permanent light) or resets it with off-delay. the output is switched off again or switched on permanently. output Q can be reset with a signal at input Trg. TL represents the time during which the output must be set to enable the permanent lighting function.

3. Preset of the Par parameter Note the defaults specified in Chapter 4. the permanent lighting function is enabled and output Q is set accordingly. A further signal at Trg always resets T and the output Q. The off-delay T is triggered when input Trg returns to 0 before TL has expired. If retentivity is not set.LOGO! functions Timing diagram
Trg Q
TL T!L Ta is busy T T!
TL
Functional description A 0 to 1 transition at input Trg sets output Q. Output Q is reset when Ta = T. and input Trg is set hi at least for the duration of TL. View in programming mode (example):
B5 1+R T =60:00s TL =10:00s
Protection mode and retentivity Off-delay Permanent light on-time
158
LOGO! Manual A5E00380835-01
. to reset Q for the duration of the off-warning signal T!L. If output Q = 0. You can output an off-warning signal prior to the expiration of the off-delay time (T – T!). T! and T!L must all have the same timebase. output Q and the expired time are reset after a power failure.2. Note T.

4. You select the active weekdays by hiding the inactive days. No3
Description At the Cam parameters. the weekly timer function is not available for this version. The function supports any combination of weekdays.
Output Q
Timing diagram (three examples)
Cam
1
21
1
1
1
1
3
1
3 Q
Monday Wednesday Friday Sunday Tuesday Thursday Saturday
Cam No1: Cam No2: Cam No3: Daily: 06:30 h to 08:00 h Tuesday: 03:10 h to 04:15 h Saturday and Sunday: 16:30 h to 23:10 h
160
LOGO! Manual A5E00380835-01
.
Symbol in LOGO!
Wiring Cam parameters No1. you set the on.11
Weekly timer
Short description The output is controlled by means of a configurable on/off date.and off-times of the weekly timer for each Cam switch.LOGO! functions
4. Here you also configure the days and the time-of-day. Q is set when the configured cam is actuated. Note Because the LOGO! 24/24o does not have a real-time clock. No2.

if this is not already set. for example for Cam1:
Block B1 Cam No1 See Showing/hiding parameters – Parameter protection mode on page 91 Weekdays (daily) On-time (06.and off-times at the Cam parameters. Parameter assignment screen form View of the parameter assignment screen form.
LOGO! Manual A5E00380835-01
161
. You will cause a conflict if the on. whereas cam2 takes priority over cam1.and off-times you set for the weekly timer are identical. The weekly timer sets the output at a certain on-time. In this case. though set on different cams.30 h) Off-time (08:00 h)
B1 1+ D=MTWTFSS On =06:30 Off=08:00
Weekday The suffix of “D=” (Day) has the following meaning: S M: Monday S T : Tuesday S W: Wednesday S T : Thursday S F : Friday S S : Saturday S S : Sunday The uppercase letter indicates: A weekday is selected. A “–” means: A weekday has not been selected. The weekly timer resets the output at a certain off-time. The switching state of the weekly timer is determined by the status of all three cams.LOGO! functions Functional description Each weekly timer has three cams you can use to configure a time hysteresis. You specify the on. cam3 takes priority over cam2. if it is not switched off already.

Confirm your entries with OK. using the keys and . using the keys and . No1). LOGO! opens the Cam parameter assignment screen form. 5. Note For information on timer accuracy. Press OK. Setting the weekly timer To set the on-/off-times: 1. 3. you can only select the value ––:–– (––:–– means: No on-/off-times set). 2. 7. ––:–– means: No on-/off-times set. 4. refer to the technical data and to Chapter 4. Press to move the cursor to the first position of the off-time. 8. At the first position.3.g. Set the on-time.LOGO! functions On-/Off-times Possible is any time between 00:00 h and 23:59 h. Set the off-time (in same way as in step 5). Move the cursor to one of the Cam parameters of the timer (e. Press and to select one or several weekdays. 6. Modify the value at the respective position. Move to the cursor to the various positions. The cursor is positioned on the weekday.
162
LOGO! Manual A5E00380835-01
. The cursor is now positioned on the No2 parameter (Cam2) and you can configure a further cam. Press to move the cursor to the first position of the on-time.2.

The output should also be set every Tuesday from 03:10 h to 04:15 h. 2 and 3. and at the weekends from 16:30 h to 23:10 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! Manual A5E00380835-01
163
. 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. Here are the parameter assignment screen forms of the cams No 1.LOGO! functions Weekly timer: Example The output of the weekly timer switch is to be set daily from 05:30 h to 07:40 h. This requires three cams.

MM. On Off
Functional description The yearly timer sets the output at a specific on-time. the second the day. The off-date identifies the day on which the output is reset again. Note Because LOGO! 24/24o does not have a real-time clock. For “MM” you can select a placeholder (**). and resets it at a specific off-time. you configure the on-/off-times for the cam of the yearly timer.03 February 20 at 00:00 h April 3 at 00:00 h
Mar. The first value identifies the month. Q is set when the configured cam is actuated.
Output Q
Timing diagram
Feb.4.
Apr. the yearly timer is not available for this version.LOGO! functions
4.20 Off=04.DD On=02. so that the on.
Symbol in LOGO!
Wiring Cam parameter
Description At the Cam parameter.
LOGO! Manual A5E00380835-01
165
.and off-time is set for a specific day each month.12 Yearly timer
Short description The output is controlled by means of a configurable on/off date.

reset on April 4. 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 B2 + MM–DD On =07–07 Off=11–19
Result
B1
March 1 at 00:00 h April 4 at 00:00 h July 7 at 00:00 h
On-time March 1 Off-time April 4
In addition: On-time July 7 Off-time November 19
On B2 Off
November 19 at 00:00 h
166
LOGO! Manual A5E00380835-01
.LOGO! functions Sample configuration The output of a LOGO! is to be set annually on March 1. set again on July 7.

and off-time the second day each month.
Each month.LOGO! functions Further examples
B11
+ **–DD On =**–01 Off=**–02 B12 + **–DD On =**–10 Off=**–20 B13 + **–DD On =**–25 Off=**–05
On-time is the first. from the 25th through the 5th
LOGO! Manual A5E00380835-01
167
. from the 10th through to the 20th
In the next month.

Use
Input Cnt
S inputs I5/I6 for high-
speed counting (only LOGO! 12/24 RC/RCo and LOGO! 24/24o): max. The direction of count can be changed with a signal at input Dir.
S any other input or circuit
Input Dir
You set the direction of count at input Dir: Dir = 0: Up count Dir = 1: Down count
168
LOGO! Manual A5E00380835-01
.4. 1 to 0 transitions are not counted. The function counts the 0 to 1 transitions at input Cnt. depending on the parameter setting. 2 kHz. The output is set or reset when a configured threshold is reached.13 Up/down counter
Short description An input pulse increments or decrements an internal value.LOGO! functions
4. component for counting low frequency signals (typ. 4 Hz).
Symbol in LOGO! Wiring Input R Description A signal at input R resets the internal count value to zero.

Output Q Q is set or reset.. output Q and the expired time are reset after a power failure. See the calculation rule below.. the output is also lo and the pulses at input Cnt are not counted.
Timing diagram
R Cnt Dir On=Off=5 0 Q
Internal count value Cnt
Functional description The internal counter increments (Dir = 0) or decrements (Dir = 1) by one count with every positive edge at input Cnt.999999 Off: Off threshold Range of values: 0.LOGO! functions
Symbol in LOGO! Wiring Parameter Description On: On threshold Range of values: 0.999999 Retentivity for internal counter value Cnt: / = No retentivity R = The status is retentive.. If retentivity is not set. You can use input R to reset the internal count value to ’000000’. Q is set or reset depending on the current value at Cnt and the set thresholds.. As long as R = 1.
LOGO! Manual A5E00380835-01
169
. depending on the current value at Cnt and the set thresholds.

4. already programmed function. after the value has reached 1000. You can use the actual values of the following functions: S Analog comparator (actual value Ax – Ay. 900 pulses have been counted so far.16) S Analog amplifier (actual value Ax.28) and S Up/down counter (actual value Cnt). The output is set in the next cycle. the special function might not switch until after the specified limit value is exceeded.4. Select the required function by means of the block number. S If the On threshold < Off threshold.4. see Chapter 4.)
LOGO! Manual A5E00380835-01
170
. see Chapter 4. refer to Chapter 4. Example: Up to 100 pulses per cycle can be counted.26) S Analog ramp (actual value AQ. see Chapter 4. see Chapter 4.27) S PI controller (actual value AQ.4. Note The system scans the counter limit value cyclically.1. then Q = 1. (The output would not be set at all if the value Off = 980. if Cnt On Q = 0. if the pulse frequency at the fast inputs I5/I6 is faster than the cycle time.20) S Analog multiplexer (actual value AQ. Default on/off parameters The default limits for the on and/or off parameters can be derived from another. if Cnt < Off. For information on parameter defaults. then: Q = 1. see Chapter 4. see Chapter 4.LOGO! functions Calculation rule S If the On threshold Off threshold. Off = 10000.18) S Analog threshold trigger (actual value Ax. On = 950.4. if On Cnt < Off. Thus.4.4.

in the example) returns a value that lies out of the valid range.LOGO! functions View in programming mode (example):
B3 +R On =001234 Off=000000
or
B3 +R On =123456 Off!B021
If the referenced block (B6. the value is rounded to the next valid value. The view in parameter assignment mode (example):
B3 On =001234 Off=000000 Cnt=000120
or
Current count value
B3 On =123456 Off!B021 Cnt=000120
LOGO! Manual A5E00380835-01
171
.

En is the monitoring input. That is. The output is set when this time has expired. 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).
172
LOGO! Manual A5E00380835-01
. LOGO! scans the on-time of this input.
Input En
Input Ral
S output Q = 0.4. S measured operating time
OT = 0 and
S the time-to-go of the maintenance interval MN = MI.
Symbol in LOGO! Wiring Input R Description A positive edge (0 to 1 transition) at input R resets output Q and sets a configured value MI at the counter for the duration of the time-to-go (MN).LOGO! functions
4.14 Hours counter
Short description A configured time is triggered with a signal at the monitoring input.

LOGO! shows these times in parameter assignment mode. A signal at reset input R resets output Q and sets the preset value of MI at the counter for the duration of MN. The hours counter OT is reset to zero. you reset output Q and set the preset value of MI at the counter for the duration of MN. or when a reset signal is set hi. the output is either reset with a signal at input R or Ral (”Q!0:R”).
174
LOGO! Manual A5E00380835-01
. Depending on your configuration of parameter Q.LOGO! functions Timing diagram
R En Ral Q MN=MI MN=0 Par: MI=5h
OT MI = Configured time interval MN = Time-to-go OT = Total time expired since the last hi signal at input Ral
Functional description The hours counter monitors input En. LOGO! computes the time expired and the time-to-go MN. Output Q is set when the time-to-go MN = 0. The hours counter OT is not affected. When En = 1. With a signal at the reset input Ral. or the En signal is set lo (”Q!0:R+En”).

The counter limit of OT is 99999 h. OT = 130. the result is MN = 70). Preset of the Par parameter View in programming mode:
B16 + MI = 0100h Q!0:R+En OT =00000h
or Time expired
B16 + MI = 0100h Q!0:R OT =00000h
MI is the configurable time interval. The counter starts operation at any value other than zero. see Chapter 7). The hours counter OT continues the count as long as En = 1. MN and OT values S LOGO! Basic with display unit: You can open the parameter assignment mode when the system is in RUN to view the actual values of MI. The hours counter stops when it reaches this value. 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. S LOGO! Basic without display unit: In LOGO!Soft Comfort. irrespective of the status at the reset input R. you can set the initial value of OT.LOGO! functions Viewing the MI. Its permissible range of values lies between 0 and 9999 hours. MN is automatically calculated at the START. based on the MI and OT values (Example: MI = 100.
LOGO! Manual A5E00380835-01
175
. MN and OT. you can use the Online Test to read these values (for further information. In programming mode.

2 kHz.
S any other input or circuit
Parameter
On: On threshold Range of values: 0000. 1 to 0 transitions are not counted.
Symbol in LOGO! Fre Wiring Input Fre Description The function counts the 0 to 1 transitions at input Fre..99:99 s
Output Q
Q is set and reset at the thresholds.. 4 Hz).9999 Off: Off threshold Range of values: 0000. component for counting low frequency signals (typ. Range of values: 00:05 s....4. Use
S inputs I5/I6 for high-speed
counting (only LOGO! 12/24 RC/RCo and LOGO! 24/24o): max.LOGO! functions
4.15 Threshold trigger
Short description The output is set and reset with two configurable threshold triggers.
LOGO! Manual A5E00380835-01
177
..9999 G_T: Time interval or gate time during which the input pulses are measured.

LOGO! functions Timing diagram
Q G_T Fre fa = 9 fa = 10 fa = 8 fa = 4 fa = Input frequency On = 9 Off = 5
Functional description The threshold trigger measures the signals at input Fre. View in programming mode (example):
B15 1+ On =0009 Off =0005
Press
Parameter protection mode On threshold Off threshold
178
LOGO! Manual A5E00380835-01
. See the calculation rule below. The pulses are recorded across a configurable time G_T. S If the On threshold < Off threshold. Output Q is set and reset in accordance with the set thresholds. then: Q = 1. if fa Off. then Q = 1 if On fa < Off. if fa > On Q = 0. Preset of the Par parameter Note The system scans the counter limit value once per interval G_T. Calculation rule S If the On threshold Off threshold.

View in parameter assignment mode (example):
B15 On =0009 Off =0005 fa =0010
Note
On threshold Off threshold Q = 1 (fa > On)
fa always represents the total pulses measured per time unit G_T. When you preset a time G_T of 1 s. the LOGO! returns the current frequency in parameter fa in Hz.LOGO! functions
B15 2 G_T=01:00s
Time interval for pulses (example)
Note The “seconds” timebase is here set as permanent default.
LOGO! Manual A5E00380835-01
179
.

LOGO! functions
4.AI8: 0. Parameter A: Gain Range of values: 10.
Symbol in LOGO! Wiring Input Ax Description You apply the analog signal to be analyzed at input Ax.4..10 V corresponds with 0.. or the analog outputs AQ1 and AQ2.AI8 (*)... 2.1000 (internal value)...16 Analog threshold trigger
Short description The output is set and reset at two configurable thresholds.000 Off: Off threshold Range of values: 20. 3
Output Q *
Q is set or reset by the threshold triggers.
AI1. the block number of a function with analog output. Use the analog inputs AI1.000 p: Number of decimals Range of values: 0.000 On: On threshold Range of values: 20...
180
LOGO! Manual A5E00380835-01
. the analog flags AM1. 1...AM6.00 B: Zero offset Range of values: 10.

if the actual value Ax > On Q = 0.6. Does not apply to the comparison of On and Off values! (The compare function ignores the decimal point. S If the On threshold < Off threshold. Parameter p (number of decimals) Does not apply to the display of On. Off and Ax values in a message text.
LOGO! Manual A5E00380835-01
181
. (Ax gain) + offset = actual value of Ax. Ax is multiplied by the value of the A (gain) parameter.LOGO! functions Gain and offset parameters Please note the information on gain and offset parameters in Chapter 4. then Q = 1 if On actual value Ax < Off. i. and the value at parameter B (offset) is added to product.e.3. Calculation rule S If the On threshold Off threshold.) Timing diagram
1000
On Off Ax Q
0
Functional description The function fetches the analog signal at input Ax. depending on the set thresholds. if the actual value Ax Off. then: Q = 1. See the calculation rule below. Output Q is set or reset.

.
Symbol in LOGO! Wiring Input Ax Description You apply the analog signal to be analyzed at input Ax. or the analog outputs AQ1 and AQ2..000
n: Differential value for
calculating the off parameter Range of values: 20.AI8: 0. the block number of a function with analog output...AM6.00 B: Zero offset Range of values: 10.4. Use the analog inputs AI1.17 Analog differential trigger
Short description The output is set and reset depending on a configurable threshold and a differential value.. the analog flags AM1..LOGO! functions
4.. 3
Output Q
Q is set or reset.000 On: On/Off threshold Range of values: 20.
*
AI1. depending on the threshold and difference values. Parameter A: Gain Range of values: 10.1000 (internal value).10 V corresponds with 0...000
p:
Number of decimals Range of values: 0. 1. 2.AI8 (*).
LOGO! Manual A5E00380835-01
183
..

Parameter p (number of decimals) Does not apply to the display of On. The function automatically calculates the Off parameter: Off = On + n. and the value at parameter B (offset) is added to product. whereby n may be positive or negative. (Ax gain) + offset = actual value of Ax. i.6. Output Q is set or reset. Off and Ax values in a message text.LOGO! functions Gain and offset parameters Please note the information on gain and offset parameters in Chapter 4. Timing diagram A: Function with negative difference n
O n Off = On + n
Ax Q
Timing diagram B: Function with positive difference n
Off = On + n
On
Ax Q
Functional description The function fetches the analog signal at input Ax.
184
LOGO! Manual A5E00380835-01
.e. depending on the set (On) threshold and difference value (n).3. Ax is multiplied by the value of the A (gain) parameter. See the calculation rule below.

.
LOGO! Manual A5E00380835-01
187
..00 B: Zero offset Range of values: 10.1000 (internal value)..AM6. 1. Parameter A: Gain Range of values: 10.. depending on the difference Ax – Ay and on two configurable thresholds..AI8: 0.
Symbol in LOGO! Wiring Inputs Ax and Ay Description You apply the analog signals whose difference you want to analyze at the inputs Ax and Ay.4.18 Analog comparator
Short description The output is set and reset... or the analog outputs AQ1 and AQ2.10 V corresponds with 0. depending on the difference Ax – Ay and the set thresholds.000 p: Number of decimals Range of values: 0. the analog flags AM1. 2. Use the analog inputs AI1. 3
Output Q
Q is set or reset...
*
AI1.000 Off: Off threshold Range of values: 20.LOGO! functions
4.000 On: On threshold Range of values: 20. the block number of a function with analog output.AI8 (*)...

) Timing diagram
1000
Ax
0 1000
Ay
0 1000 200 0
Ax–Ay
Q for Ax . See the calculation rule below. Ax and Ay are each multiplied by the value of the A (gain) parameter. Ay.Ay > 200. (Ax gain) + offset = actual value Ax or (Ay gain) + offset = actual value Ay.3. and the value at parameter B (offset) is then added to the relevant product. Does not apply to the comparison of on and off values! (The compare function ignores the decimal point.
188
LOGO! Manual A5E00380835-01
. The function forms the difference (”n”) between the actual values Ax – Ay. if On = Off = 200
Functional description The function fetches the analog values from the inputs Ax and Ay.e. Output Q is set or reset. depending on difference of the actual values Ax – Ay and the set thresholds. i.6. On. Parameter p (number of decimals) Does not apply to Ax. refer to Chapter 4. Off and n values displayed in a message text.LOGO! functions Gain and offset parameters For more information on the gain and offset parameters.

when the difference between the supply and return line temperatures is greater than 15 _. S If the On threshold < Off threshold.LOGO! functions Calculation rule S If the On threshold Off threshold. if: (actual value Ax – actual value Ay) > On Q = 0. for example with a sensor at AI2. then: Q = 1. Preset of the Par parameter The gain and offset parameters are used to adapt the sensors to the relevant application. if: On (actual value Ax – actual value Ay) < Off. A control signal is to be triggered (for example ”heater On”). View in programming mode:
B3 1+ On =+00000 Off =+00000
Press
Parameter protection mode On threshold Off threshold
B3 2 A =00. then Q = 1. the supply Tv and return line temperatures Tr are to be compared.
LOGO! Manual A5E00380835-01
189
. if: (actual value Ax – actual value Ay) Off.00 B =+00000 p =0
Example
Gain Offset Decimals in the message text
In a heating control system. The process variable of the temperature is to be shown in parameter assignment mode. The control signal is reset when the difference is less than 5 _C.

or the analog outputs AQ1 and AQ2.4. Use the analog inputs AI1.1000 (internal value).. Parameter A: Gain Range of values: 10..
*
AI1. 3
Aen on/off threshold Range of values: 20.LOGO! functions
4.00 B: Zero offset Range of values: 10. the analog flags AM1..
192
LOGO! Manual A5E00380835-01
.. 1.. depending on the stored analog value and the offset.10 V corresponds with 0.000
Output Q
Q is set/reset. You apply the analog signal to be monitored at input Ax.AM6.19 Analog value monitoring
Short description This special function saves the process variable of an analog input to memory.AI8 (*).000
Input Ax
n: Difference value for the
p: Number of decimals Range of values: 0. 2.... and sets the output when the output variable exceeds or drops below this stored value plus a configurable offset. the block number of a function with analog output..AI8: 0.
Symbol in LOGO! Wiring Input En Description A positive edge (0 to 1 transition) at input En saves the analog value at input Ax (”Aen”) to memory and starts monitoring of the analog range Aen n..

or when the signal at input En changes to lo. refer to Chapter 4. Output Q is reset. Parameter p (number of decimals) Applies only to the Aen. i. and parameter B (offset) is then added to the product. (Ax gain) + offset = Actual value Aen. when the actual value at input Ax lies within the range of Aen n . 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 n .3. or (Ax gain) + offset = Actual value Ax.LOGO! functions Gain and offset parameters For more information on gain and offset parameters.6. when input En changes from 0 to 1. Both the analog actual values Ax and Aen are multiplied by the value at parameter A (gain). Timing diagram
En
Aen + n Aen Aen – n
Ax Q
Functional description A 0 to 1 transition at input En saves the value of the signal at the analog input Ax.e. Ax and n values displayed in a message text. This saved process variable is referred to as “Aen”.
LOGO! Manual A5E00380835-01
193
.

20 Analog amplifier
Short description This special function amplifies the value of an analog input and outputs the result at an analog output. the analog flags AM1. Range of values for AQ: –32768...
Gain and offset parameters Please note the information on gain and offset parameters in Chapter 4.. or the analog outputs AQ1 and AQ2... Parameter p (number of decimals) Applies only to the AQ value in a message text..AI8: 0.000 p: Number of decimals Range of values: 0. the block number of a function with analog output. an analog flag or an analog output connector (AQ1..AM6..3.00 B: Zero offset Range of values: 10.
LOGO! Manual A5E00380835-01
195
. AQ2). Parameter A: Gain Range of values: 10.4.LOGO! functions
4.+32767
*
AI1.6.10 V corresponds with 0. Use the analog inputs AI1..
Symbol in LOGO! Wiring Input Ax Description You apply the analog signal to be amplified at input Ax.AI8 (*).1000 (internal value).... 2. 3
Output AQ
This special function has an analog output! This output can only be connected with the analog input of a function. 1.

(Ax gain) + offset = actual value Ax. Scaling an analog input value You can influence the analog input value of a potentiometer by interconnecting an analog input with an analog amplifier and an analog flag. For more information with programming examples refer to the online help for LOGO!Soft Comfort. the time base for parameter T of a time function (e. you standardize the output range of the special function to a value range of 0 to 1000.g. To do this. S Connect. Preset of the Par parameter The gain and offset parameters are used to adapt the sensors to the relevant application.e. you may need to connect an additional amplifier between the analog output of the special function and the real analog output. Chapter 4.LOGO! functions Functional description The function fetches the analog signal of input Ax. S Scale the analog value at the analog amplifier for further use. Analog output If you interconnect this special function with a real analog output. This value is multiplied by the value of the A (gain) parameter.13) to the scaled analog value. On-/Off-delay. i.4. and parameter B (offset) is then added to the product.4. note that the analog output can only process values between 0 and 1000. Using this amplifier. View in programming mode (example):
196
LOGO! Manual A5E00380835-01
.3) or the on and/or off limit specification of an up/down counter (Chapter 4. for example. The actual value Ax is output at AQ.

4.4.21 Latching relay
Short description Input S sets output Q, input R resets output Q again.
Symbol in LOGO! Wiring Input S Input R Description You set output Q with a signal at input S. You reset output Q with a signal at input R. If S and R = 1, the output is reset. Retentivity: / = No retentivity R = The status is retentive. Q is set with a signal at input S, and reset with a signal at input R.

Parameter

Output Q

Timing diagram
R S 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: Sn
0 0 1 1

Rn
0 1 0 1

Q
x 0 1 0

Comment The status is retentive Reset Set Reset (takes priority over Set)

When retentivity is enabled, the current status of the output signal is retained after a power failure.
LOGO! Manual A5E00380835-01

198

LOGO! functions

4.4.22 Pulse relay
Short description A short pulse at the input sets and resets the output.
Symbol in LOGO! Wiring Input Trg Description You set and reset output Q with a signal at input Trg (Trigger). You set output Q with a signal at input S. You reset output Q with a signal at input R. 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 signal at Trg, if S and R = 0.

Input S Input R Parameter

Timing diagram
Trg S R Q
The bold printed section of the timing diagram is also shown in the symbol for the pulse relay.

Depending on your configuration, either input R takes priority 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 Par=RS

R

Press B or Y

B29 Par=SR

R

This special function is not available in parameter assignment 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! Manual A5E00380835-01

201

LOGO! functions

4.4.23 Message texts
Short description View of a configured message text in RUN mode.
Symbol in LOGO! Wiring Input En Description A 0 to 1 transition at input En (Enable) starts the output of the message text. 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 value of another, already programmed function (see “Visible parameters or process variables”) Time: Display of the continuously updated time-ofday Date: Display of the continuously 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.

Input P

202

LOGO! Manual A5E00380835-01

LOGO! functions 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 configured (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 message text that takes the highest priority. You can change the view and the message texts by pressing the keys and .

You can now edit further parameters in the message text (if any exist). . press and ..4. . The character set is found in Chapter 3. Press ESC to exit editing mode.).LOGO! functions Press and to select the relevant line (you can only select lines that contain parameters). Press and to select the relevant type of message text (Text.
Parameter assignment screen form for Par
Press to select a line for the message text..g. To output a parameter (e. Preset of the Par parameter To configure the message text (programming mode):
. and . To move the cursor from one position to the other.. Press OK to change the parameter. . Key input simulation in the active message text You can enable the four cursor keys C Y. Press OK to confirm your changes. C "..7. Confirm your changes with OK. Further entries are required when “Text” or “Par” are selected: Press and to select the letter to be displayed in the text. The list of available characters is here the same as for the circuit program name. Use the keys . a process variable or function value) as message text. . select the relevant line with and then press :
LOGO! Manual A5E00380835-01
207
.. Par.. Time. Confirm with OK. and press ESC to exit the editing mode. C B and C A in an active message text by pressing ESC plus the relevant cursor key.

LOGO! functions
Par .. ..
208
LOGO! Manual A5E00380835-01
.
Press OK to open the editing mode:
B01>T
Press and to select the blocks to be displayed and the corresponding parameters. . Press ESC to exit the parameter assignment mode and to apply your changes. Select the parameter by pressing OK.. Press and to select the block or parameter you want to view.

Symbol in LOGO! En Par Q Wiring Input En Description Output Q is set with a 0 to 1 transition of the signal at input En (Enable). initialized at the first start of the program if retentivity is disabled. Start: On or off state.
LOGO! Manual A5E00380835-01
209
. Programming mode: Selecting the function for pushbutton action for the duration of one cycle.LOGO! functions
4. Retentivity: / = No retentivity R = The status is retentive.24 Softkey
Short description This special function has the effect of a mechanical pushbutton or switch.4. or for switching action.
Parameter
Factory setting The default setting at ’Par’ is ’Momentary pushbutton’ action. and if ’Switch=On’ was confirmed in parameter assignment mode. Parameter assignment mode (RUN mode): Switch: Switches the momentary pushbutton or switch on or off. Output Q Switches on if En=1 and Switch=On was confirmed with OK.

output Q is initialized after a power failure according to your configuration at the “Start” parameter. if the ’’Switch’ parameter is set to ’On’ and confirmed with OK. If retentivity is not set. S When the function was configured for momentary pushbutton action. Whether the function was configured for pushbutton or switching action is here of no concern. 3. The cursor is now positioned below ’Par’. Change to the input mode of ’Par’: Confirm with OK (the cursor is now positioned to ’On’)
B33 +/ On= Start=On
The status is not retentive The function is set for ’momentary pushbutton’ action Q is set in the first cycle after the program start
210
LOGO! Manual A5E00380835-01
. Select the ’Softkey’ function. the output is set with a signal at input En. The output is reset to ’0’ in the following three cases: S After a 0 to 1 transition at input En.LOGO! functions Timing diagram
En Switch Q
Functional description In parameter assignment mode. Select input En and confirm with OK. 2. and one cycle has expired since it was switched on. S When the position ’Off’ was selected at the ’Switch’ parameter and confirmed with OK in parameter assignment mode. Preset of the Par parameter View in programming mode (example): 1.

Confirm your entries with Press OK
LOGO! Manual A5E00380835-01
211
. To select ’Momentary pushbutton’ or ’Switch’ action: Press or
B33 +/ On/Off Start=On
The status is not retentive ’Switch’ function Q is set in the first cycle after the program start
5. 1. you can set or reset the ’Switch’ parameter (On/Off). To change from ’Off’ to ’On’: Press or 3.LOGO! functions To change ’Par’ to ’Switch’ action and the initialization status after the program start: 4. Change to the editing mode: Confirm with OK (the cursor is now positioned on ’Off’) 2. To change the start state:
Press Press
or or
B33 +/ On/Off Start=Off
The status is not retentive ’Switch’function Q is reset in the init cycle after the program start
7. Confirm your entries with OK View in parameter assignment mode (example): Here. When in RUN. To change to the start state: 6. 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).

218
LOGO! Manual A5E00380835-01
. Timing diagram
En S1 S2
V1 V2 V3 0 V4
AQ
Functional description If input En is set.LOGO! functions Parameter p (number of decimals) Applies only to the values displayed in a message text. If the input En is not set. then the function issues one of 4 possible analog values V1 to V4 at the output AQ. you standardize the output range of the special function to a value range of 0 to 1000. depending on the value of S1 and S2. Using this amplifier. Analog output If you interconnect this special function with a real analog output. you may need to connect an additional amplifier between the analog output of the special function and the real analog output. note that the analog output can only process values between 0 and 1000. then the function issues the analog value 0 at output AQ. To do this.

Symbol in LOGO! Wiring Input En Description A change in the status from 0 to 1 at input En (Enable) launches the start-up of a parameterized analog value at output AQ#. Unless otherwise stated. Here you can set how quickly the level should be reached.27 Analog Ramp
Short description This special function starts up at the analog output one of two levels or offset. The analog value is calculated in two steps.LOGO! functions
4. The first step allows you to carry out convenient parameterization. A change in the status from 1 to 0 immediately issues Offset (B) at output AQ# and 0 at output AQ.
220
LOGO! Manual A5E00380835-01
.
Input Sel
S SeI = 0: S SeI = 1:
Level 1 is started Level 2 is started
Input St
A change in the status from 0 to 1 at input En (Enable) launches the start-up of the value Offset (B) at output AQ# and with this 0 at output AQ.4. The second step standardizes the result of the first one. the description refers to the first step.

000 MaxL: Maximum value that must not be exceeded under any circumstances.000 StSp: Start/Stop offset. level 2 or Offset is reached. Steps/seconds are issued.000 p: Number of decimals Range of values: 0. Range of values: 1 to 10.000 to +20. Range of values: –10. Range of values: 0 to +20.000 to +20.00 B: Offset Range of values: 10.LOGO! functions
Parameter Level 1 and Level 2: Levels to be reached Range of values for each level: –10.000 Rate: Acceleration with which level 1. 1. value that is issued for 100ms in addition to parameter Offset (B) after launching the function and before reaching the Offset value (prompted by input St).000 A: Gain Range of values: 0 to 10. 2. 3
LOGO! Manual A5E00380835-01
221
. This parameter is intended for controlling motors.

+32767 AQ is the standardized value of AQ# and the analog output of the second step. refer to Chapter 4. The system shows you the value of AQ# in simulation mode. see Chapter 4.4. already programmed function. see Chapter 4. see Chapter 4. Select the required function by means of the block number.4.1.4.16) S Analog amplifier (actual value Ax.28) and S Up/down counter (actual value Cnt. see Chapter 4. Range of values for AQ: 0 to +32767
Output AQ
Parameters L1.4. A reference uses this value. L2 The analog values for the parameters L1 and L2 can be derived from another.18) S Analog threshold trigger (actual value Ax.
222
LOGO! Manual A5E00380835-01
..4. For information on parameter defaults.13).20) S Analog multiplexer (actual value AQ.26) S Analog ramp (actual value AQ) S PI controller (actual value AQ. see Chapter 4. see Chapter 4.4.4.. for example. You can use the actual values of the following functions: S Analog comparator (actual value Ax – Ay. The value of AQ is passed on to downstream blocks. Range of values for AQ: –32767.LOGO! functions
Symbol in LOGO! Wiring Output AQ# Description AQ# is the analog output of the first step.

AQ is standardized according to the following formula: AQ = (AQ# – Offset) / Gain Note For further information on analog value processing please refer to the Online Help for LOGO!Soft Comfort. the function can only be restarted once the inputs St and En have been reset. Functional description of step 2 Using parameters A (Gain) and B (Offset).
224
LOGO! Manual A5E00380835-01
. The analog value at the output is recalculated every 100 ms. Then the function issues the value StSp + B at output AQ# for 100 ms. If input Sel has been changed. the function runs to the value StSp + B at the acceleration set in Rate. Finally Offset (B) is issued at output AQ#. the function runs from Level 1 to Level 2 or the other way round.LOGO! functions If the input St is set. depending on the connection of Sel. the function immediately issues Offset (B) at output AQ#. If the input En is reset. If the input St is set.

You can use both types of controller individually or combined. the input A/M is disabled. As long as this input is set. Analog value: process value.
Symbol in LOGO!
A/M R PV Par AQ
Wiring Input A/M
Description Set the mode of the controller: 1: automatic mode 0: manual mode Use the input R to reset the output AQ.28 PI controller
Short description Proportional-action and integral-action controllers. influences the output
Input R
Input PV
226
LOGO! Manual A5E00380835-01
.4. Output AQ is set to 0.LOGO! functions
4.

Thus. as Dir is positioned downwards. Timing diagram The nature. AQ decreases until PV corresponds again to SP. A disturbance causes the PV to drop. 2. It is not possible to change the direction (Dir) at runtime of the function. the course of AQ in the diagram is merely an example.LOGO! functions Parameter p (number of decimals) Applies only to the PV. The change is shown here for illustrative purposes only. AQ increases until PV corresponds again to SP.
LOGO! Manual A5E00380835-01
229
.
A/M
/–
R Dir 1 PV 2 3
/+ Max SP Min
Mq
Q
500 ms
AQ
1. SP. A disturbance causes the PV to drop. manner and speed with which the AQ changes depend on the parameters KC and TI. A control action is continuous. therefore the diagram portrays just an extract. as Dir is positioned upwards. Min and Max values displayed in a message text.

PV changes. S Dir = upwards (+) (timing diagram numbers 1.) – If the updated value PV > SP. Note For further information on the controller basics please refer to the Online Help for LOGO!Soft Comfort. AQ continues to increase / decrease until the updated value PV again corresponds to SP. The speed with which AQ changes depends on the parameters KC and TI. – If the updated value PV < SP. With a disturbance. As AQ is set to 0 by means of the input R.LOGO! functions 3. then the special function issues output AQ with the value that you set with parameter Mq. and 3. The updated value PV is used to calculate in the formulas: Updated value PV = (PV gain) + offset S If the updated value PV = SP. then automatic mode commences. As an integral sum the value Mq is adopted. which on account of Dir = upwards causes AQ to drop. – If the updated value PV < SP. then the special function reduces the value of AQ. the controller function begins the calculations.) – If the updated value PV > SP. If the input A/M is set to 1. then the special function increases the value of AQ.
230
LOGO! Manual A5E00380835-01
. S Dir = downwards (–) (timing diagram number 2. then the special function does not change the value of AQ. This is based on the fact that PV increases. then the special function increases the value of AQ. Functional description If the input A/M is set to 0. then the special function reduces the value of AQ.

then the updated value PV is set to the value of Min.00 TI =01:00 Dir=+
Press A "
B3 3+/ Mq !B021 Min=–05000 Max=+05000
Press A "
B3 4+/ A =02. then the AQ output is reset. Preset of the Par parameter View in programming mode (example):
B3 1+/ SP !B020
Press A "
B3 2+/ KC =10.LOGO! functions If the input PV exceeds the parameter Max. then the updated value PV is set to the value of Max.50 B =–00300 p =0
LOGO! Manual A5E00380835-01
231
. As long as R is set. the input A/M is disabled. Sampling time The sampling time is fixed at 500 ms. Parameter sets For more information and application examples with application-related parameter sets for KC. TI and Dir refer to the online help for LOGO!Soft Comfort. If the PV falls short of the parameter Min. If the input R is set to 1.

You can configure the parameters S In programming mode S In parameter assignment mode In programming mode. we refer to the configuration of the block parameters.5 Configuring LOGO!
When speaking of ’parameter assignment’. for example. the author of the circuit program also sets the parameters.
LOGO! Manual A5E00380835-01
233
. You can set delay times for time functions. Note In parameter assignment mode. the counter threshold value. but can be adapted by the user to meet specific requirements. the switching times of the timers. the LOGO! continues execution of the circuit program. the monitoring interval of an hours counter and the on and off thresholds of the trigger. without having to change to programming mode. This feature is available for the user to edit parameters. The advantage: The circuit program remains protected. We have added the parameter assignment mode to allow the editing of parameters without having to modify the circuit program.

Card.. refer to the Chapters 5. S Set.. S Prg Name This menu command only allows you to read the name of your circuit program..1..Configuring LOGO! Description of the four menu items of the parameter assignment menu S Stop You select this command to stop your circuit program and thus change to the main menu of programming mode. Setup. Start
S Set Param For information on the various parameters.1 to 5.1. To confirm ’Stop’: Press OK
Stop Prg >No Yes
3. To move the ’>’ cursor to ’Stop’: Press or 2. To do so: 1.3.7.4).2. It is not possible to modify this name in parameter assignment mode (see Chapter 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.
LOGO! Manual A5E00380835-01
235
. refer to Chapter 5. For information on the various settings.

236
LOGO! Manual A5E00380835-01
. Each one of the parameters is identified by its block number (Bx) and the shortname of the parameter.is a configurable time..1 Parameters
Note In the following discourse on parameters.Configuring LOGO!
5. refer to Chapter 7). This is prerequisite for viewing and editing parameter in the parameter assignment mode! See Chapter 4.5 and the example on Page 91.1..3. Parameters are.. S The switching times (cams) of a timer switch. we presume that the respective default parameter protection mode (”+”) has been maintained. Note LOGO!Soft Comfort also allows you to assign names to blocks (for more information. S Counter thresholds S The monitoring time for hour counters S The trigger thresholds.is a configurable time interval. Examples: S T: .. for example: S The delay times of a timer relay. S MI: .

select the desired parameter: Press or .
LOGO! Manual A5E00380835-01
237
.. Select the parameter you want to edit.
Block number
B9 1 T =60:00s Ta =06:00s No Param Press ESC
Display number for functions with several displays The value set at parameter T (Time) The current time in the LOGO!
No parameters for editing: Press ESC to return to the paramete ment menu
3. If no parameter can be set.Configuring LOGO!
5. and press OK. Prg Name
2. Now.1. you can press ESC to return to the parameter assignment menu. select ’Set Param’: Press
or
Stop >Set Param Set. Confirm with OK. On the parameter assignment menu. LOGO! shows the first parameter. 4.2 Selecting the parameters
To select a parameter: 1.

you can also change the timebase (s = seconds. h = hours). You change the value of the parameter in the same way as you did in programming mode: 1.4.1. To apply the value: OK
B9 T =80:00s Ta =06:00s
Note
Change: Press Y or B Move: Press A or "
Done: OK
Alongside with a change of the time parameters when the system is in RUN.3 Modifying parameters
You first select the parameter you want to edit (see Chapter 5.2).1). The current time is reset to zero when you change the timebase. Move the cursor to the point at which you want to make the change: Press or 2. see Chapter 4. To change this value: Press or 3.1.Configuring LOGO!
5. In this case you can neither change the value nor the timebase. This does not apply if the time parameter represents the result of another function (for an example. Current value of a time T View of a time T in parameter assignment mode:
B9 T =80:00s Ta =06:00s
Configured time T
Current time Ta
You can change the configured time T.
238
LOGO! Manual A5E00380835-01
. m = minutes.

4. Current value of an hour counter View of an hour counter parameter in parameter assignment mode:
B16 MI = 0100h MN = 0017h OT =00083h
Time interval Time-to-go Total operating hours
You can edit the configured time interval MI.13).Configuring LOGO! Current timer value View of a timer cam in parameter assignment mode:
B1 1 D=M–W–F–– On = 09:00 Off=10:00
You can change the on/off times and the day. This does not apply if the on or off threshold represents the result of another function (in the example.
LOGO! Manual A5E00380835-01
239
. Current value of a counter View of a counter parameter in parameter assignment mode:
B3 On =001234 Off=000000 Cnt=000120
or
Current count value
B3 On =123456 Off!B021 Cnt=000120
You can change the on/off threshold. this is B21. see Chapter 4.

240
LOGO! Manual A5E00380835-01
.Configuring LOGO! 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.

3.7. See Chapter 5. C)
You can set the TOD and the date S in parameter assignment mode by means of the set menu (“Clock” menu item) S in programming mode by means of the setup menu (“Clock” menu item). Contrast settings You can set the default value for the display contrast S in parameter assignment mode by means of the set menu (“Contrast” menu item) S in programming mode by means of the setup menu (“Contrast” menu item).2.2.1 Setting the time-of-day and date (LOGO! .
LOGO! Manual A5E00380835-01
241
.2.
5... See Chapter 5.2 Setting the default values for LOGO!
You can set the following default values for LOGO!: Clock settings You can set the default values for time-of-day and date.1.13.2.7. Start screen settings You can select the default setting for the start screen S in parameter assignment mode by means of the set menu (“StartScreen” menu item).2.14. summertime/wintertime conversion and synchronization S in parameter assignment mode by means of the set menu (“Clock” menu item) S in programming mode by means of the setup menu (“Clock” menu item). Synchronization see Chapter 3.Configuring LOGO!
5. Time-of-day and date see Chapter 5. Summertime/wintertime conversion see Chapter 3.

Set Clock Mo 15:30 YYYY-MM-DD 2005-01-27
The cursor is positioned on the weekday. 12. On the parameter assignment menu.1. Move the cursor to the next position: Press or 10. To set the correct TOD. Select the day of the week: Press or 9. Prg Name
3.To confirm your entries: Press OK
LOGO! Manual A5E00380835-01
242
.. and 10.To set the correct date. repeat steps 9. 7. repeat steps 9.To change the value: Press or 11.’: Move the ’>’ cursor to ’Clock’: Confirm ’Clock’: Move the ’>’ cursor to ’Set Clock’: Apply ’Set Clock’: Press OK Press or Press OK Press or Press OK
Note The ’Set Clock’ command is only executed if your LOGO! is equipped with a real-time clock (LOGO!. 6. LOGO! shows the following display..Configuring LOGO! To set the TOD and the date in parameter assignment mode: 1. Confirm ’Set.’: Press or
Stop Set Param >Set. select ’Set. 4. Select parameter assignment mode (see Chapter 5.C).. 5. You set the real-time clock of LOGO! by means of the ’Set Clock’ command. 13.
8..) 2. and 10.

Confirm ’Set..
5. select in the main menu ’Setup’. To change the display contrast: 7. You can now set the weekday and the time as described earlier (as of step 8. select ’Set. .1. then menu ’Contrast’.. select in the main menu ’Setup’.
LOGO! Manual A5E00380835-01
243
.+
6.’: Press OK 4.).. Select parameter assignment mode (see Chapter 5.) 2.2.2 Setting the display contrast
You can set the default value for the display contrast S in parameter assignment mode by means of the set menu (“Contrast” menu item) S in programming mode by means of the setup menu (“Contrast” menu item). Move the ’>’ cursor to ’Contrast’: Press or 5. On the parameter assignment menu.. Confirm ’Contrast’: Press OK LOGO! shows the following display:
Contrast –...’: Press or 3. then menus ’Clock’ and ’Set Clock’.. To set the display contrast in parameter assignment mode: 1.). To confirm your entry: Press or Press OK
To set the display contrast in programming mode: If you want to set the display contrast in programming mode. You can now set the display contrast as described earlier (as of step 6..Configuring LOGO! To set the TOD and the date in programming mode: If you want to set the TOD and the date in programming mode.

. On the parameter assignment menu. Confirm ’StartScreen’: Press OK LOGO! shows the following display:
>Clock Input DI StartScreen Clock
The current setting of the start screen is shown in the bottom row. To confirm your entry: Press OK
244
LOGO! Manual A5E00380835-01
. 7.’: Press OK 4. select ’Set. Select the desired default setting: Press or . Confirm ’Set.) 2. You can choose between the display of the current time-of-day and date. The default setting is ’Clock’.1. To select the start screen: 1. Select parameter assignment mode (see Chapter 5.’: Press or 3..2. Move the ’>’ cursor to ’StartScreen’: Press or 5. or the values of the digital inputs: 6.Configuring LOGO!
5.3 Setting the start screen
You can select the default setting for the start screen of the LOGO! in RUN mode: S in parameter assignment mode by means of the set menu (“StartScreen” menu item).

The LOGO! circuit program is automatically stored in nonvolatile memory when you exit the programming mode. If you want to modify the circuit program or create a further one without deleting the first.
LOGO! Manual A5E00380835-01
245
. One of the options is to use a program module/card. The circuit program stored in LOGO! can be copied to a program module (card). LOGO! is supplied with a hood. The program module (card) is supplied separately. you can: S Archiving circuit programs S Reproducing circuit programs S Send circuit programs by mail S Write and test your circuit program at the office. You can then insert the program module/card in another LOGO! to copy the circuit program.6 LOGO! program module (card)
LOGO! allows you to store only one circuit program in its memory. 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. using the program module (card). and then transfer it to a LOGO! in the switching cabinet. you must archive it somewhere. Note You do not need a module to backup the circuit program in your LOGO!.

0BA3 family.. to current versions (0BA4 and 0BA5 devices): Data written to the program module (card) in a 0BA4 version can be read in all 0BA4 and 0BA5 versions.. to earlier versions (0BA0 to 0BA3 devices): A program module (card) that contains data written in earlier versions (0BA0.... .. an 0BA4 or 0BA5 program module (card) can not be used in LOGO! devices of the 0BA0.
246
LOGO! Manual A5E00380835-01
.0BA3 can only be applied in 0BA4 or 0BA5 units by means of LOGO!Soft Comfort..LOGO! program module (card) Compatibility ... the message “Unknown Card / Press ESC” is output to the display.. When the LOGO! system detects such an ’old’ program module (card). Upward compatibility of circuit programs Circuit programs written for the previous versions 0BA0. Data written to the program module (card) in a 0BA5 version can be read in all 0BA5 versions.0BA3 devices) can not be used in LOGO! devices of the 0BA4 or 0BA5 generation. Vice versa.

7. 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. you can then edit the program and remove the module.LOGO! program module (card)
6. the circuit program stored on the program module (card) can not be copied to other LOGO! devices. To execute this circuit program in LOGO!. i. A circuit program with password protection is no longer protected after the correct password has been entered.5). a protected circuit program is write– protected.e. the protected program module (card) must remain inserted during RUN.e. and exchange data between the program module (Card) and the device. i. Over and above that.
LOGO! Manual A5E00380835-01
247
. Unprotected program module (card) You can edit circuit programs without restrictions. Protected program module (card) A circuit program is protected when it is transferred from a protected program module (card) to the LOGO!.1 Security function (CopyProtect)
We principally distinguish between program modules (card) with and without circuit program/copy protection.

with password
Assigning a security function To assign a circuit program and copy protection function to the program module (card). with password Deleting Yes Yes.
248
LOGO! Manual A5E00380835-01
. open the programming mode and select “Card”. To select the ’Card’ command: Press or 3. To apply you entry in ’Card’: Press OK 4. To apply ’CopyProtect’: Press OK LOGO! shows the following display:
>No Yes CopyProtect: No
The current protection setting is shown in the bottom line. Switch the LOGO! to programming mode (ESC / >Stop). Move the ’>’ cursor to ’CopyProtect’: Press or 5. This function is disabled by default (”No“: disabled). with password Copying Yes Yes No Yes.LOGO! program module (card) Correlation between the password and the protective function
Password – Yes – Yes Protection – – Yes Yes Editing Yes Yes. with password Yes Yes. with password No Yes. The main menu opens. 1. 2.

LOGO! program module (card) Enabling the security function To set the security function: 1. Confirm ’Yes’: LOGO! shows the following display:
Press or Press OK
>No Yes CopyProtect: Yes
Note This only generates a circuit program and copy protection for the program module (card). A status change from “Yes” (security function enabled) to “No” (security function disabled) is only possible if the program module (card) does not contain a circuit program. You can always change the “No” status (security function disabled) to “Yes” (security function enabled).
LOGO! Manual A5E00380835-01
249
. the circuit program itself must be copied separately from the LOGO! to the program module (card) (can also be done initially). Move the ’>’ cursor to ’Yes’: 2.

A removal of the program module (card) during RUN will lead to impermissible operating states.LOGO! program module (card)
6. The program module (card) socket may be under voltage if the polarity is reversed at L1 and N by accident. LOGO! outputs the message’No Program’. After you have removed the program module (card). The program module (card) may only be removed by qualified personnel. Always heed the following warning:
!
Warning Do not touch the open slot of the program module (card) neither with your fingers.2 Inserting and removing the program module (card)
When you remove a program module (card) with circuit program and copy protection attribute.
250
LOGO! Manual A5E00380835-01
. nor with a metallic or conductive object. note the following: The circuit program stored on the program module (card) can only be executed if the card remains inserted during system runtime.

The edge of the program module (card) is chamfered accordingly. Insert the program module (card) into the slot and push it in until it engages. This encoding prevents you from inserting the program module (card) the wrong way round. 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.LOGO! program module (card) 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.
LOGO! Manual A5E00380835-01
251
.

. Setup. Press OK.. Do not forget to replace the cap... Setup. LOGO! now copies the circuit program to the program module (card). The transfer menu opens.. Card.. Card. To select the ’Card’ command: Press or 4. Start
The circuit program backup is now stored on your program module (card) and you can remove the card. Start
LOGO! main menu
3. Move the ’>’ cursor to ’LOGO ³ Card’ (if required) Press or 6. When LOGO! has finished copying.
>Program. Switch the LOGO! to programming mode (ESC / >Stop). 252
LOGO! Manual A5E00380835-01
.
> "Card Card" CopyProtect
= LOGO!
5.LOGO! program module (card)
6. Insert the program module (card) into the slot.3 Copying data from the LOGO! to the program module (card)
To copy the circuit program to the program module (card): 1. Press OK. The main menu opens. it automatically returns you to the main menu:
>Program. 2.

LOGO! program module (card) 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 program module (card).

LOGO! Manual A5E00380835-01

253

LOGO! program module (card)

6.4 Copying data from the program module (card) to LOGO!
You have a program module (card) that contains your circuit program. There are two ways to copy it to LOGO!: S Automatically during the startup of LOGO! (POWER ON) or S 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 protected 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.. Setup.. Start

254

LOGO! Manual A5E00380835-01

LOGO! program module (card) 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’: 2. Press OK. Press or

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

6. Press OK. LOGO! copies the circuit program from the program module (card) to LOGO!. When LOGO! has finished copying, it automatically returns to the main menu.

LOGO! Manual A5E00380835-01

255

LOGO! program module (card)

256

LOGO! Manual A5E00380835-01

7 LOGO! Software
LOGO!Soft Comfort is available as a programming package for the PC. This software provides many features, for example: S A graphic interface for offline creation of your circuit program by means of Ladder Diagram (contact chart / circuit diagram) or Function Block Diagram (function chart) S Simulation of your circuit program on the PC S Generating and printing of an overview chart for the circuit program S Saving a backup of the circuit program on the hard drive or other media S Comparing circuit programs S Easy configuration of blocks S Transferring the circuit program – from the LOGO! to the PC and – from the PC to LOGO! S Reading the values of the hour counter S Setting the TOD S Summertime/wintertime conversion S Online test: Display of status changes and process variables 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 S Starting and stopping circuit program execution via the PC (RUN, STOP).

LOGO! Manual A5E00380835-01

257

LOGO! Software The LOGO! alternative As you can see, LOGO!Soft Comfort represents an alternative 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 system 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 runs under Windows 95/98, Windows NT 4.0, Windows MeR, Windows 2000R, Windows XPR, LinuxRand Mac OS XR. LOGO!Soft Comfort is capable of client/server operation and offers you a high degree of freedom and comfort for creating your circuit program. LOGO!Soft Comfort V5.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 5.0 and later. Upgrading LOGO!Soft Comfort versions V1.0 up to V4.0 The upgrade can only be installed for the full version of LOGO!Soft Comfort V1.0, V2.0, V3.0 or V4.0. Order numbers are in Appendix E.

258

LOGO! Manual A5E00380835-01

LOGO! Manual A5E00380835-01
259
. S Point your browser to the “. upgrades and the LOGO!Soft Comfort Update Center. S When the system prompts you for the previous version.LOGO! Software Note If a full version is not installed. refer to LOGO!Soft Comfort’s online help.\Tools\Application” directory on the CD.. place the old LOGO!Soft Comfort CD in CD drive. you can carry out an upgrade as follows: S Install the software from the CD. For detailed information on updates..
Updates and info You can download demo versions of the software free of charge from the Internet address specified in the preface.

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. Switch the LOGO! with/without display to STOP from your PC (refer to the LOGO!Soft Comfort Online Help).1 Connecting the LOGO! to a PC
Connecting the PC cable To connect the LOGO! to a PC. you will need a converter and a device driver to connect the LOGO! cable to this port. the following PC commands are accepted: S Switch LOGO! to RUN S Read/write the circuit program S Read/write the summertime/wintertime
260
LOGO! Manual A5E00380835-01
.LOGO! Software
7. Connecting the PC cable to the USB port If your PC is only equipped with a USB interface (Universal Serial Bus). Connect the other end of the cable to the serial port of your PC. visit our Internet site at http://www. When LOGO! is in STOP and online with the PC.siemens. or select the ESC / >Stop command on a device with display and confirm the entry with ’Yes’. Make sure you specify the correct Windows OS version when you select the driver. For current information on converters and drivers.com/automation/service&support Article ID 11611048 Switching LOGO! to PC´LOGO mode 1. Follow the instructions on the screen when you install the driver for the converter.

LOGO! switches automatically to PC ´ LOGO mode. 3. refer to the LOGO!Soft Comfort Online Help. Switch off the power supply to the LOGO!. The password prompt is enabled at the end of the data transfer. Note If the circuit program created with LOGO!Soft Comfort is password protected.
LOGO! Manual A5E00380835-01
261
. both the circuit program and the password are downloaded to LOGO!. When you start the upload/download in STOP. the following display appears automatically:
PC´
= LOGO!
Note Earlier versions up to 0BA3 with/without display are automatically switched to PC´LOGO mode as follows: 1. refer to Appendix C. The upload of a password protected program created in LOGO! is only possible after the correct password is entered in LOGO!Soft Comfort. For more information on LOGO! versions without display. 2. Remove the cover or the program module (card) and connect the cable to this socket. the connection to the PC is shut down automatically. Closing the PC´LOGO mode When the data transfer is completed. Switch on power.LOGO! Software 2. The PC can now access the LOGO! For information on this function.

LOGO! Software
262
LOGO! Manual A5E00380835-01
.

The examples provided are noncommittal. and the right to make changes is reserved.com/logo (go to “Products & Solutions”. The user operates the system at his own responsibility.siemens.g.g. for fans)
LOGO! Manual A5E00380835-01
263
. then “Applications”). We refer the user to the relevant national standards and system-related installation regulations.8 Applications
Note LOGO! sample applications are available to all our customers free of charge on the Internet at http://www. and may be different to user-specific solutions. in a school) S Parking lot surveillance S Outdoor lighting S Shutter control system S Domestic outdoor and indoor lighting system S Control system of a cream stirrer S Sports hall lighting S Constant load on 3 consumers S Sequential control system for cable-welding machines for large cross-sections S Step switch (e. On the Internet you can find the following sample applications (and tips for further applications): S Irrigation system for greenhouse plants S Conveyor control system S Bending machine control system S Shop window lighting S Bell system (e. serve as general information about the fields of application for LOGO!. Errors can not be ruled out.

e. e.Applications
operator control S Cutting device (e. heating and conveyor belt controls S Silo-filling system and lots more.g. On the Web you can also find descriptions and the corresponding circuit diagrams of the applications.
S Sequential control for boilers S Control system for several pump sets with centralized
264
LOGO! Manual A5E00380835-01
. Benefits of LOGO! LOGO! is a particularly useful feature S For replacing auxiliary switchgear with the integrated LOGO! functions S For saving wiring and installation work .because LOGO! keeps the wiring ”in its head”. for detonating fuses) S Monitoring periods of utilization. If you have installed LOGO!Soft Comfort on your computer. of a solar energy system S Intelligent foot switches.g. You can read these *. which you can then adapt to suit your application and download to the LOGO! directly via the PC cable. for speed preselection) S Elevating platform controls S Impregnation of textiles. you can simply click the disk icon to download the relevant circuit programs. S For adding or changing functions. A smaller control cabinet/distribution box may provide sufficient space. S For reducing space requirements for components in the control cabinet/distribution box.pdf files with the Adobe AcrobatReader. without having to install additional switchgear or change the wiring.g.

see our web page (see the preface for the URL). simply write to us. the integrated power supply makes it possible. which makes it easy to install a domestic system. We shall be delighted to receive all your suggestions. Last not least you can: S Use commonly available switches and pushbuttons. – Refrigerating systems: LOGO! can defrost refrigerating systems at regular intervals to save energy costs.Applications
domestic and commercial housing installations. Do you want more Info? For more information about LOGO!. Examples: – Domestic security systems: LOGO! switches on a lamp at regular intervals or opens and closes the shutters while you are on holiday. If you know of one. No matter whether your LOGO! circuit is particularly complex or simple. Write to: Siemens AG A&D AS SM MA PO box 48 48 D-90327 Nuremberg
S For offering your customers new. – You can illuminate aquaria and terraria on a time-dependent basis. S Connect LOGO! directly to your domestic installation. why not write to us? We will collect all the suggestions made and distribute as many of them as we can. Do you have any suggestions? There are definitely many more useful applications for the LOGO! . – Central heating: LOGO! runs the circulation pump only when water or heating is actually required. additional functions for
LOGO! Manual A5E00380835-01
265
.

that is. The cycle time is the time required to execute a circuit program once in full. A pulse is generated in each program cycle due to the inverted flag. primarily the reading in of the inputs. This test program is created in LOGO! and returns a value during its execution in parameter assignment mode from which the current cycle time is derived.B Determining the cycle time
The program cycle is the complete execution of the circuit program. Configure the threshold trigger as shown below.
LOGO! Manual A5E00380835-01
305
. Create the test program by linking an output to a threshold trigger and connecting the trigger input with an inverted flag. The time required for a program cycle can be determined using a short test program. the processing of the circuit program and the subsequent reading out of the outputs. Test program 1. The trigger interval is set to 2 seconds. B1
M1 Par Qx
Output Qx or other flag Mx
B2
1
M1 M1
2.

view the trigger parameters.Determining the cycle
B1 1+ On =1000 Off=0000
Press "
B1 2 G_T=02:00s
3.
B1 On =1000 Off =0000 fa =0086
fa= total of measured pulses per timeba
4. 1/fa = cycle time in s Explanation The inverted flag block changes its output signal at each program execution. Hence. a period lasts 2 cycles. Now start the circuit program and switch LOGO! to parameter assignment mode. In this mode. one logic level (high or low) width is exactly equivalent to the length of one cycle. Thus. The threshold trigger indicates the ratio of periods per 2 seconds. The reciprocal value of fa is equivalent to the LOGO! execution time of the current circuit program in its memory.
Edge transition of the inverted flag at each circuit program execution
Cycle time
Period
1 period = 1 pulse = 2 cycles
306
LOGO! Manual A5E00380835-01
. which results in the ratio of cycles per second.

we provide the LOGO! 12/24RCo. S Requires less switch cabinet space than conventional hardware. S Offers the option to read data by means of LOGO!Soft Comfort. S Substantial benefits with regard to flexibility and prime costs compared to stand-alone electronic switchgear. LOGO! 24o. S Access protected. for example:
L1 N I1 I2 I3 I4 I5 I6 I7 I8
RUN/STOP
1
Q1
2
1
Q2
2
1
Q3
2
1
Q4
2
Less is definitely more! The versions without display offer you the following benefits: S Even more cost-effective without the operating element. S Very easy to use. S Compatible to LOGO! versions with display. S Of advantage even for applications in which merely two or three conventional switching devices can be replaced. LOGO! 24RCo and LOGO! 230RCo versions without display.
LOGO! Manual A5E00380835-01
307
.C LOGO! without display
Because some specific applications do not require operator control and monitoring units such as buttons or a display. View of a LOGO! 230RCo.

If there is a valid circuit program in LOGO! memory.LOGO! without display Creating a circuit program without operator panel There are two ways to create a circuit program for a LOGO! without display: S You create the circuit program with LOGO!Soft Comfort on your PC and then download it to the LOGO! (see Chapter 7).1). The circuit program of LOGO!.
308
LOGO! Manual A5E00380835-01
. Operating characteristics LOGO! is ready for operation when power is switched on. The system automatically changes from STOP to RUN. the LOGO! automatically switches from STOP to RUN when power is switched on. as if you were removing the plug.. This is why the LOGO!...o versions can not be started or stopped by means of buttons. The existing circuit program in LOGO! memory is overwritten. you can download the circuit program to LOGO! and start it by means of the LOGO!Soft Comfort PC software (see Chapter 7.g. S You download the circuit program from a LOGO! program module (card) to your LOGO! without display (see Chapter 6). Provided the PC cable is connected to the LOGO!. immediately after power is switched on. LOGO! remains in STOP. e. Switching off a LOGO! without display is equivalent to disconnecting the power supply.o versions have other startup characteristics: Startup characteristics If there is no circuit program in the LOGO! or on the inserted program module (card). The circuit program on an inserted program module (card) is automatically copied to the LOGO!..

you can not read the current data unless you enter the correct password for your the circuit program. The green LED is lit when LOGO! is in RUN mode.LOGO! without display Operating status indication Operating states. S Red LED: Power On/STOP S Green LED: Power On/RUN The red LED is lit after Power On and in all LOGO! states other than RUN. Power On. e. for example (see Chapter 6.
LOGO! Manual A5E00380835-01
309
. The circuit program is otherwise deleted from LOGO! memory when you remove the program module (card) to connect the PC cable.1).g. If your LOGO! without display holds a protected program module (card). RUN and STOP are indicated by an LED on the front hood. Reading current data LOGO!Soft Comfort (see Chapter 7) provides an online test for reading the current data of all functions while the system is in RUN.