Siemens Logo! Manual
Hide thumbs Also See for Logo!:
Table of Contents

Advertisement

LOGO!
Manual
Edition 02/2005
A5E00380835-01
Preface, Contents
Technical data
Determining the cycle time
LOGO! without display
LOGO! menu structure
Order numbers
Abbreviations
1
2
3
4
5
6
7
8
A
B
C
D
E
F

Advertisement

Table of Contents
loading

Summary of Contents for Siemens Logo!

  • Page 1 Preface, Contents Getting started with LOGO! LOGO! installation and wiring Programming LOGO! LOGO! functions Configuring LOGO! LOGO! program module (card) LOGO! LOGO! Software Applications Technical data Manual Determining the cycle time LOGO! without display LOGO! menu structure Order numbers Abbreviations Index Edition 02/2005 A5E00380835-01...
  • Page 2: Edition

    Trademarks All names identified by  are registered trademarks of the Siemens AG. The remaining trademarks in this publica- tion may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
  • Page 3 LOGO! Product Info included with all devices. For further informa- tion 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 Windows , Linux...
  • Page 4 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:...
  • Page 5: Table Of Contents

    Contents Preface ......Getting started with LOGO! ..LOGO! installation and wiring .
  • Page 6: Table Of Contents

    Contents Writing and starting the circuit program ..3.7.1 Selecting programming mode ....3.7.2 The first circuit program .
  • Page 7: Table Of Contents

    Contents 4.4.3 On-/Off-delay ....... . . 4.4.4 Retentive on-delay ......4.4.5 Wiping relay (pulse output) .
  • Page 8: Table Of Contents

    Contents LOGO! program module (card) . . . Security function (CopyProtect) ....Inserting and removing the program module (card) Copying data from the LOGO! to the program module (card) .
  • Page 9: Table Of Contents

    ....A.14 Technical data: LOGO!Power 12 V ....
  • Page 10 Contents LOGO! Manual viii A5E00380835-01...
  • Page 11: Getting Started With Logo

    Getting started with LOGO! Which communication modules are available? LOGO! communication module (CM) AS interface, that is described in more detail in a separate documentation. The communication module has four virtual inputs and outputs, and acts as an interface between an AS-Interface system and a LOGO! system.
  • Page 12 Getting started with LOGO! The LOGO! system offers you many solutions such as for small domestic installations, simple automation tasks, and even complex engineering tasks involving its integration into a bus system (e.g. communication module AS inter- face). Note LOGO! Basic may only be equipped with expansion mod- ules of the same voltage class.
  • Page 13 Getting started with LOGO! The LOGO! structure L1 N I2 I3 I4 I5 I6 I7 I8 L1 N I2 I3 I4 RUN/STOP Expansion interface Power supply Control panel (not for RCo) Inputs Mechanical coding pins Outputs (not for RCo) Mechanical coding Module slot with cap RUN/STOP indicator sockets...
  • Page 14 Getting started with LOGO! L+ M I2 I3 I4 I5 I6 I7 I8 L+ M I2 I3 I4 RUN/STOP Power supply Control panel Expansion interface (not for RCo) Inputs Mechanical coding Outputs (not for RCo) pins Mechanical coding Module slot with cap RUN/STOP indicator sockets Slide...
  • Page 15 Getting started with LOGO! L+ M I2 I3 I4 I5 I6 RUN/STOP Power supply RUN/STOP indicator Mechanical coding pins Inputs Slide Mechanical coding sockets Expansion interface Outputs LOGO! AM 2 L+ M L+ M RUN/STOP INPUT2x(0..10V/0..20mA) M1 U1 M2 U2 Mechanical coding PE terminal, for con- Power supply...
  • Page 16 Getting started with LOGO! LOGO! AM 2 AQ L+ M L+ M RUN/STOP OUTPUT 2x (0 ..10V) Mechanical coding PE terminal, for con- Power supply necting earth pins Inputs Mechanical coding RUN/STOP indicator sockets Slide Expansion interface LOGO! CM EIB/KNX L+ M RUN/STOP Prog.
  • Page 17 Getting started with LOGO! How to identify the LOGO! The LOGO! identifier informs you of various properties: 12: 12 V DC version 24: 24 V DC version 230: 115...240 V AC version R: Relay outputs (without R: solid-state outputs) C: Integrated Weekly timer o: Version without display (“LOGO! Pure”) DM: Digital module AM: Analog module...
  • Page 18 Getting started with LOGO! Versions The following LOGO! versions are available: Symbol Designation Supply Inputs Outputs Properties voltage LOGO! 12/24 RC 12/24 V 8 digital 4 relays (10 A) LOGO! 24 24 V DC 8 digital 4 solid no clock state 24V / 0.3A LOGO! 24RC...
  • Page 19 Getting started with LOGO! Expansion modules The following expansion modules can be connected to the LOGO!: Symbol Name Power supply Inputs Outputs LOGO! DM 8 12/24R 12/24 V DC 4 digital 4 relays (5A) LOGO! DM 8 24 24 V DC 4 digital 4 solid state 24V / 0.3A...
  • Page 20 Getting started with LOGO! Communication modules The following communication modules can be connected to the LOGO!: Symbol Name Power sup- Inputs Outputs LOGO! CM AS Inter- 24 V DC 4 virtual digital in- 4 virtual digital face puts (Q ... Q outputs (I ...
  • Page 21 Getting started with LOGO! Warning Risk of personal injury and material damage. In potentially explosive atmospheres, there is a risk of per- sonal injury or damage to material if you disconnect con- nectors when the system is in RUN. In potentially explosive atmospheres, always switch off the power supply to LOGO! and its components before you disconnect any connectors.
  • Page 22 Getting started with LOGO! LOGO! Manual A5E00380835-01...
  • Page 23: Logo! Installation And Wiring

    2 LOGO! installation and wiring General guidelines Please note the following guidelines for installing and wiring your LOGO! : Always ensure that the wiring of your LOGO! is compliant with current rules and standards. Also, conform with all national and regional regulations when you install and operate the devices.
  • Page 24 LOGO! installation and wiring Do not connect an external power supply in parallel to the output load of a DC output. This could develop a reverse current at the output if you have not installed a diode or similar barrier device. The CM EIB/KNX must have its own power supply (24 V).
  • Page 25 LOGO! installation and wiring Safety of electronic control equipment Introduction The notes below apply regardless of the type or manufacturer of the electronic control. Reliability Maximum reliability of LOGO! devices and components is achieved by implementing extensive and cost-effective measures during development and manufacture. This includes the following: Use of high-quality components;...
  • Page 26: Applications

    LOGO! installation and wiring Risks In all cases where the occurrence of failures can result in material damage or injury to persons, special measures must be taken to enhance the safety of the installation - and therefore also of the situation. System-specific and special regulations exist for such applications.
  • Page 27: Setup Of The Modular Logo

    LOGO! installation and wiring 2.1 Setup of the modular LOGO! 2.1.1 Maximum setup Maximum setup of a LOGO! with analog inputs (LOGO! 12/24 RC/RCo and LOGO! 24/24o) LOGO! Basic, 4 digital modules and 3 analog modules I1..I6, I7, I8 I9...I12 I13...I16 I17...I20 I21...I24 AI1, AI2...
  • Page 28: Setup With Different Voltage Classes

    LOGO! installation and wiring 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. 2.1.2 Setup with different voltage classes Rules Digital modules can only be connected to devices of the same voltage class.
  • Page 29 LOGO! installation and wiring Overview: Connecting an expansion module to LOGO! Basic Expansion modules LOGO! Basic DM 8 AM2, 12/24R, 230R, DM16 DM16 DM16 PT100, 230R LOGO! 12/24 RC – LOGO! 24 – LOGO! 24 RC – LOGO! 230 RC –...
  • Page 30: Compatiblity

    LOGO! installation and wiring Expansion module DM 8 AM2, 12/24R, 230R, DM16 DM16 DM16 PT100, 230R DM 8 24 R – DM 8 230R, – – – DM 16 230R AM2, – AM2 PT100, AM2 AQ – 2.1.3 Compatiblity All currently available expansion modules are completely compatible with the basic modules of equipment series 0BA3 and 0BA4.
  • Page 31: Installing/Removing Logo

    LOGO! installation and wiring 2.2 Installing/removing LOGO! Dimensions The LOGO! installation dimensions are compliant with DIN 43880. LOGO! can be snap-mounted to 35 mm DIN rails to EN 50022 or on the wall. LOGO! width: LOGO! Basic has a width of 72 mm, which corresponds with 4 subunits.
  • Page 32: Din Rail Mounting

    LOGO! installation and wiring 2.2.1 DIN rail mounting Mounting How to mount a LOGO! Basic and a digital module onto a DIN rail: LOGO! Basic: 1. Hook the LOGO! Basic module onto the rail and 2. then push down the lower end to snap it on. The mounting interlock at the rear must engage LOGO! digital module: 3.
  • Page 33 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.
  • Page 34 LOGO! installation and wiring Removal To remove the LOGO!: ..if you have installed only one LOGO! Basic: Part 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. LOGO! Manual A5E00380835-01...
  • Page 35 LOGO! installation and wiring ..if you have connected at least one expansion module to the LOGO! Basic: Part 1. Using a screwdriver, push the integrate slide interlock to the right 2. Slide the expansion module off towards the right 3.
  • Page 36: Wall-Mounting

    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 LOGO! Manual A5E00380835-01...
  • Page 37: Labeling Logo

    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. 53.5 +/– 0.2 35.5 +/– 0.2 n x 35.5 +/– 0.2 All dimensions in mm Bore hole for O M4 screw Tightening torque 0.8 to 1.2 N/m LOGO! Basic LOGO! expansion module...
  • Page 38: Wiring The Logo

    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. Permitted conductor cross-sections: 1 x 2.5 mm 2 x 1.5 mm 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...
  • Page 39 LOGO! installation and wiring Note A power failure may cause an additional edge triggering signal at the special functions, for example. Data of the last uninterrupted cycle are stored in LOGO!. Connecting LOGO! To connect LOGO! to the power supply: LOGO! ..
  • Page 40: Connecting Logo! Inputs

    LOGO! installation and wiring 2.3.2 Connecting LOGO! inputs Requirements At the inputs you connect sensor elements such as: momentary switches, switches, light barriers, daylight control switches etc. Sensor characteristics for LOGO! LOGO! 12/24 RC/RCo LOGO! 24/24o LOGO! DM8 12/24 R LOGO! DM8 24 I1 ...
  • Page 41 If, however, you use a switch whose glow lamp is fitted with a power supply, this response does not occur. Order number for C: Siemens Switchgear & Systems 3SB1420-3D X-capacitor 2.5 kV, 100 nF...
  • Page 42 Appendix A. Remedy To suppress this response, use Siemens components with the following order number: Capacitor 3SB 1420–3D. As an alternative, you can also use an X capacitor rated at 100 nF and 2.5 kV.
  • Page 43 LOGO! installation and wiring Note The high-speed inputs I5 and I6 are the same as in the previous versions 0BA0 to 0BA4, i.e. 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, without any changes to these features.
  • Page 44 LOGO! installation and wiring When using a potentiometer and 10 V input voltage as the maximum value, you must ensure that with a connected input voltage of 24 V, 14 V must release via the series resi- stor so that a maximum of 10 V are supplied when you turn the potentiometer one full rotation.
  • Page 45 LOGO! installation and wiring LOGO! 230 ..The inputs of these devices are arranged in 2 groups, each consisting of 4 inputs. Different phases are only possible between blocks, but not within the blocks. Warning Current safety regulations (VDE 0110, ... and IEC 61131-2, ...
  • Page 46 LOGO! installation and wiring Connecting a two-wire sensor to the LOGO! AM 2 Wire up the two-wire sensor’s connecting wires as follows: 1. Connect the minus connector on the sensor to connec- tor I1 on the analog expansion module. 2. Connect the plus connector on the sensor to the 24 V supply voltage (L+).
  • Page 47 LOGO! installation and wiring Note Fluctuating analog values are due to screening on the con- necting 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. To avoid fluctuating analog values when using these ex- pansion modules, proceed as follows: Use only shielded encoder wires.
  • Page 48: Connecting Outputs

    LOGO! installation and wiring 2.3.3 Connecting outputs LOGO! ...R... The LOGO! ...R... version is equipped with relay outputs. The potential of the relay contacts is isolated from the power supply and the inputs. Requirements for relay outputs You can connect various loads to the outputs, e.g. lamps, fluorescent lamps, motors, contactor relays etc.
  • Page 49 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. The outputs are short circuit-proof and overload-proof. An auxiliary load voltage supply is not necessary, because LOGO! supplies the load voltage.
  • Page 50: Connecting The Eib Bus

    LOGO! installation and wiring LOGO! AM 2 AQ L+ M L+ M Earth DIN rail RUN/STOP OUTPUT 2x(0..10V) V1, V2: 0 - 10 V DC 5 kW 0-10 V 0-10 V 2.3.4 Connecting the EIB bus The connection is carried out via the two-pole screw termi- nal (+ and –).
  • Page 51: Connecting The As Interface Bus

    LOGO! installation and wiring Press the button “Prog ↓” to switch the CM EIB/KNX to pro- gramming mode. Note The button “Prog ↓” should not be pressed too firmly. If the bus connection is OK, the LED lights up green. In programming mode, the LED lights up orange.
  • Page 52 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, you need a communications-capable LOGO! variant: LOGO! basic module + CM AS-I. To be able to send data across the AS interface bus to the LOGO! and to receive data from it in the same way, you also need an AS interface power supply and...
  • Page 53 LOGO! installation and wiring Logic Assignments LOGO! system AS Interface system Inputs Output data bits Outputs Output data bits ”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. Note For detailed information about the networking of LOGO! on the AS interface bus please refer to the LOGO! CM AS...
  • Page 54: Putting Into Operation

    LOGO! installation and wiring 2.4 Putting into operation 2.4.1 Switching on the LOGO!/Power On LOGO! does not have a power switch. The reaction of LOGO! during startup depends on Whether a circuit program is stored in LOGO! Whether a program module (Card) is inserted Whether this is a LOGO! version without display unit (LOGO!...o) The status of LOGO! at the time of power failure.
  • Page 55 LOGO! installation and wiring Before power off After power on No program No Program Press ESC Press ESC (empty) No program in >Program.. memory Card.. Setup.. (with program) Start With stored Mo 09:00 Mo 09:00 program from 2003-01-27 09:00 2002-01-31 2002-01-31 LOGO! 0..
  • Page 56 LOGO! will be deleted after power is returned. Before you modify the circuit program, you should therefore save a backup copy of your original to a program module (Card) or to a computer (LOGO!Soft Comfort). LOGO! Manual A5E00380835-01...
  • Page 57: Putting Into Operation Of Cm Eib/Knx

    5. The application program is loaded into the devices via the EIB interface. The application program is available on the LOGO! home page (http://www.siemens.de/logo). 6. Click on ”Program Physical Address” in ETS. 7. Press the button of the CM EIB/KNX to switch the CM EIB/KNX to programming mode;...
  • Page 58 LOGO! installation and wiring STOP The display shows: Display: Screen mask for ’No Program’ monitoring I/Os and (not LOGO!...o) messages (after START in the main menu) Switching LOGO! to (not LOGO!...o) programming mode (not LOGO!...o) Switching LOGO! to parameter assignment LED is red mode (only LOGO!...o)
  • Page 59 LOGO! installation and wiring LED (RUN/STOP) is lit Green (RUN) Red (STOP) Orange/Yellow The expansion The expansion Initialization phase module module does not of the expansion communicates with communicate with module the device to its left the device to its left CM AS Interface, communication states The CM AS Interface knows three communication states: The LED is lit green, red or flashes red/yellow.
  • Page 60 LOGO! installation and wiring CM EIB/KNX, behaviour on communication failure 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, the outputs are set to 0.
  • Page 61: Programming Logo

    LOGO! to create the LOGO! circuit programs for your ap- plication. At this point, we once again refer to LOGO!Soft Comfort, which is the LOGO! programming software you can use to quickly and easily create, test, modify save and print the circuit programs.
  • Page 62 Programming LOGO! A small example in the first part of this chapter introduces the operating principle of LOGO!. We shall first show you the meaning of two basic terms, namely the connector and the block. As the next step, we shall create a circuit program based on a simple conventional circuit, which you ...
  • Page 63: Connectors

    Programming LOGO! 3.1 Connectors The LOGO! is equipped with inputs and outputs Example of a configuration with several modules: Inputs L+ M I1 I2 I3 I4 I5 I6 AI1 AI2 L+ M I9 I10 I11I12 L+ M L+ M L+ M I13I14I15 I16 RUN/STOP RUN/STOP RUN/STOP...
  • Page 64 Programming LOGO! Note LOGO! can recognize, read and switch the I/O of all ex- pansion modules regardless of their type. The I/Os are presented in the installation order of the modules. The following I/Os and flag blocks are available for creating your circuit program: : I1 to I24, AI1 to AI8, Q1 to Q16, AQ1 and AQ2, M1 to M24 and AM1 to AM6.
  • Page 65 Programming LOGO! LOGO! knows the following connectors: LOGO! Basic / Pure AM2AQ Con- nectors Inputs LOGO! 230RC/RCo, Two groups: I9 ... AI1... none LOGO! 24 RC/RCo I1... I4 and I5 ... I8 LOGO! 12/24RC/ I1... I6, I7, I8 I9 ... RCo, LOGO! 24/24o AI3...
  • Page 66: Eib Inputs/Outputs

    Programming LOGO! 3.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. By configuring the application program in ETS (EIB Tool Software), the division of the input and output area of the LOGO! can be defined as a “hardware channel”...
  • Page 67 Programming LOGO! For the application program see Siemens product database from version J onwards http://www.siemens.de/gamma http://www.siemens.de/logo LOGO! Manual A5E00380835-01...
  • Page 68: Blocks And Block Numbers

    Programming LOGO! 3.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 inter- connected. In Chapter 3.4 we are going to show you how to transform a conventional circuit to obtain a LOGO! circuit program.
  • Page 69 Programming LOGO! View of blocks on the LOGO! display The figure below shows a typical view of the LOGO! dis- play. As you can see, it can show only one block at a time. We have therefore introduced block numbers to help you check the circuit structure.
  • Page 70 LOGO! assigns in this chart. By using the LOGO!Soft Comfort software to program the LOGO!, you can directly create a function chart of your circuit program. LOGO!Soft Comfort also allows you to as-...
  • Page 71: The Way To Logo!, Starting With The Circuit Diagram

    Programming LOGO! 3.4 The way to LOGO!, starting with the cir- cuit diagram View of a circuit diagram You know, of course, how a circuit logic is represented in a circuit diagram. Nevertheless, here is an example: Load E1 is switched on and off by means of the switches (S1 OR S2) AND S3.
  • Page 72 Programming LOGO! Note Although you have four inputs available for logic opera- tions (Basic functions, see Chapter 4.2), most of the views will only show three inputs for reasons of clarity. You pro- gram this fourth input and assign parameters just like you do with the other three inputs.
  • Page 73 Programming LOGO! Wiring Connect the switches S1 to S3 to the screw terminals of your LOGO! : S1 to connector I1 of LOGO! S2 to connector I2 of LOGO! S3 to connector I3 of LOGO! The output of the AND block controls the relay at output Q1.
  • Page 74: The Four Golden Rules For Operating Logo

    Programming LOGO! 3.5 The four golden rules for operating LOGO! Rule 1 Changing the operating mode You create the circuit program in programming mode. After power is on, and when the display shows “No Pro- gram / Press ESC”, press the ESC key to select pro- gramming mode.
  • Page 75 – Press ESC to return to the previous step. Rule 4 Planning Before you start to create a circuit program, you should either first create design on paper or program LOGO! directly using LOGO!Soft Comfort. LOGO! can only save complete and faultless circuit pro- grams. LOGO! Manual A5E00380835-01...
  • Page 76: Overview Of Logo! Menus

    Programming LOGO! 3.6 Overview of LOGO! menus Programming mode Main menu Programming menu >Program.. >Edit.. Card.. Clear Prg Setup.. Password Start Transfer menu ³Card > = LOGO! Card³ CopyProtect Setup menu >Clock Contrast Parameter assignment mode Parameter assignment menu >Stop Set Param Set..
  • Page 77: Writing And Starting The Circuit Program

    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.
  • Page 78 Programming LOGO! Here you can also move the ”>” cursor by pressing . Move the ”>” cursor to ”Edit..” (for editing, i.e. input) and confirm with OK. >Edit Prg The Edit menu of LOGO! Edit Name AQ in Stop Memory? Move the ”>”...
  • Page 79: The First Circuit Program

    Programming LOGO! 3.7.2 The first circuit program Let us now take a look at the following parallel circuit con- sisting of two switches. Circuit diagram The corresponding circuit diagram: The load is switched on with S1 OR S2. LOGO! interprets this parallel circuit as an ’OR’...
  • Page 80: Circuit Program Input

    Programming LOGO! Wiring The corresponding wiring: I1 I1 I1 I1 I1 I1 I1 I2 S1 switches input I1, while S2 switches input I2. The load is connected to the relay Q1. 3.7.3 Circuit program input Let us now write the circuit program, starting at the output and working towards the input.
  • Page 81 Programming LOGO! You will see an underscore below the Q in Q1, which is the cursor. The cursor indicates your current position in the circuit program. You can move the cursor by pressing the keys. Now press the key. The cursor moves to the left.
  • Page 82 Programming LOGO! Now press until the OR block appears on the dis- play: The solid square cursor is still posi- tioned on the block. Press OK to confirm your entries and exit the dialog. The display now shows: Your complete circuit program layout Block number...
  • Page 83 Programming LOGO! The first element of the Co list is the ”Input 1” character, namely ’I1’. Note Press B to go the start of the Co list: I1, I2 ..to lo. Press Y to go to the end of the Co list: lo, hi, ..to I1. Press OK.
  • Page 84 Programming LOGO! I2 is now connected to the input of the OR block: The display now shows: Your circuit program layout in LOGO! up to now We do not need the last two inputs of the OR block for this circuit program.
  • Page 85 Programming LOGO! Note You can invert individual inputs of the basic and special functions, i.e. if an input carries a logical “1” signal, the cir- cuit program will output a logical “0”. On the other hand, a logical “0” is inverted into a logical “1” signal. To invert an input, move the cursor to the relevant position, e.g.: Confirm with OK.
  • Page 86: Assigning A Circuit Program Name

    Programming LOGO! Note LOGO! has now saved your circuit program to nonvolatile memory. The circuit program remains in the LOGO! me- mory until you explicitly delete it. In all LOGO! variants, basic functions, special functions, time parameters and the operating hours counter (if present) are always retentive.
  • Page 87: Password

    Programming LOGO! The following character set is available: ” % & ’ – < > ‘ Let us assume you want to name your circuit program “ABC”: 5. Select “ A”: Press 6. Move to the next letter: Press 7. Select “ B”: Press 8.
  • Page 88 Programming LOGO! A password may have a maximum length of 10 characters, and consists only of uppercase letters (A to Z). Directly at the LOGO!, the password can be assigned, edited or deac- tivated only in the “Password” menu. In the programming menu: 1.
  • Page 89 You can also set your password using LOGO!Soft Comfort. You can not edit a password-protected circuit program at the LOGO! or upload it to LOGO!Soft Comfort unless you enter the correct password. To allow you to create and edit a circuit program for a pro- tected module (Card), you first need to assign a password to this new program (see Chapter 6.1).
  • Page 90 Programming LOGO! The display now shows: Old: New: 6. To confirm your new password: Press OK Your new password “ZZ” is now set, and you are returned to the programming menu. Deactivating the Password Let us assume you want to deactivate the password for whichever reason.
  • Page 91 Programming LOGO! Note This action disables the password prompt, and thus per- mits access without password. Let the password prompt be deactivated for the time be- ing, in order to accelerate progress in our further exercises and examples. Password: Wrong Password! When the user inputs the wrong password and confirms the input with OK, LOGO! does not open editing mode, but returns to the programming menu.
  • Page 92: Switching Logo! To Run Mode

    Programming LOGO! 3.7.6 Switching LOGO! to RUN mode In the main menu, select RUN to start LOGO!. 1. To return to the main menu: Press ESC 2. Move the ’>’ cursor to ’Start’: Press 3. To confirm ’Start’: Press OK LOGO! runs the circuit program and shows the following display: Display field of the LOGO! in RUN mode...
  • Page 93 Programming LOGO! 7: 00000 Analog inputs AI7 to AI8 8: 00000 Press 1: 00000 Analog outputs AQ1 to AQ2 2: 01000 Press Flags M1 to M9 0.. 123456789 Flags M10 to M19 1..0123456789 2..01234 Flags M20 to M24 Press ESC+C 4 cursor keys for manual inter- vention in the circuit program (ESC+key)
  • Page 94 Programming LOGO! When switch S1 is closed, the status at input I1 is hi. Let us examine LOGO! computes the output this, using our states by means of the cir- example: cuit program. 0.. 123456789 1..0123456789 Output Q1 = ’1’, in this 2..01234 case.
  • Page 95: Second Circuit Program

    Programming LOGO! 3.7.7 Second circuit program Up to this point, you have successfully created your first circuit, and assigned it a name and, if desired, a password. In this section we are going to show you how to modify ex- isting circuit programs and how to use the special func- tions.
  • Page 96 Programming LOGO! Editing the circuit program Switch the LOGO! to programming mode. As a reminder: 1. Switch the LOGO! to programming mode (in RUN: Press ESC to enter the parameter assignment mode. Select the ’Stop’ command, confirm with OK, then move the ’>’ cursor to ’Yes’, and once again con- firm with OK).
  • Page 97 Programming LOGO! Press to select the SF list: The SF list contains the special function blocks. Press OK. The block of the first special function is shown: When you select a special or basic function block, LOGO! shows you the relevant func- tion block.
  • Page 98 Programming LOGO! In our example we do not use the reset input of the off- delay function, and we identify it with an ’x’ connector. This is what the display should now show Assigning block parameters Now you set the off-delay time T: 1.
  • Page 99 Programming LOGO! Setting the time Set the time T = 12:00 minutes: 1. Move the cursor to the first digit: Press 2. Select the digit ’1’: Press 3. Shift the cursor to the second digit: Press 4. Select digit ’2’: Press 5.
  • Page 100 Programming LOGO! The display now shows: –R –/ T=12:00m T=12:00m Retentivity R: Current Retentivity /: Current data are retained data are not retained 3. Confirm your entries with Note For further information on the protection mode, refer to Chapter 4.3.5. For further information on retentivity, refer to Chapter 4.3.4.
  • Page 101: Deleting A Block

    Programming LOGO! Closing the programming mode Although you were shown how to exit the programming mode when you created your first circuit program, here is a reminder: 1. To return to the programming menu: Press ESC 2. To return to the main menu: Press ESC 3.
  • Page 102: Deleting Block Groups

    Programming LOGO! 6. To move the cursor to the input of Q1, i.e. to B2, press : 7. Confirm with OK. 8. Now replace block B2 with block B1 at output Q1. The procedure: – Select the BN list: Press –...
  • Page 103: Correcting Typing Errors

    Programming LOGO! 5. To confirm ’Edit Prg’: Press OK 6. To move the cursor to the input of Q1, i.e. to B2, press : 7. Confirm with OK. 8. Now set the connector ’x’ at output Q1 instead of block B2.
  • Page 104: Selecting Analog Output Values For Run/Stop Transition

    Programming LOGO! 3.7.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. In the programming menu: 1. Move the “>” cursor to ’Edit..’: Press 2.
  • Page 105: Deleting The Circuit Program

    Programming LOGO! AQ1: 00000 AQ2: 00000 3. Enter a specific output value for each of the two analog outputs. 4. To confirm your entry: Press OK 3.7.12 Deleting the circuit program To delete a circuit program: 1. Switch the LOGO! to programming mode >Program..
  • Page 106: Summertime/Wintertime Conversion

    Programming LOGO! If you are sure that you want to delete the circuit program from memory: 5. Move the ’>’ cursor to ’Yes’: Press 6. Press OK. Password? To prevent unintentional deletion of your circuit program, you are prompted to enter your password (provided you have assigned one).
  • Page 107 Programming LOGO! To enable/disable automatic S/W Time conversion in programming mode: 1. Switch the LOGO! to programming mode. 2. You are now in the main menu and want to select the ’Setup’ menu command: Press 3. Confirm ’Setup’: Press OK 4.
  • Page 108 Programming LOGO! >EU 3. Select the desired conversion: Press What is shown on the display ?: ’EU’ represents the start and end of European summer- time. ’UK’ represents the start and end of summertime in the United Kingdom. ’US’ represents the start and end of summertime in the United States.
  • Page 109 Programming LOGO! Start of summertime End of summertime Time zone dif- ference ∆ First Sunday in Octo- Third Sunday in March: 60 Min. ber: 02:00––>03:00 03:00––>02:00 Customizing the month Customizing the month User-defined and the day: 02:00––> and the day: 03:00––> (resolution in 02:00 + Time zone dif- 03:00 –...
  • Page 110 Programming LOGO! Cursor / solid square MM–DD Month (MM) and Day (DD) + : 01–01 Start of summertime – : 01–01 End of summertime D =000min The desired time zone difference in [min] Let us assume you want to configure the following parame- ters: Start of summertime = 31st of March, end of summer- time = 1st of November, time difference of 120 minutes.
  • Page 111: Synchronization

    Programming LOGO! Note To disable summertime/wintertime conversion in this menu, you merely confirm ’Off’ with OK. Note Summertime/wintertime conversion only functions when LOGO! is operating (in RUN or STOP status). It does not function when LOGO! is in buffered operation (see Chapter 4.3.3).
  • Page 112 Programming LOGO! To enable/disable synchronization in programming mode: 1. Switch the LOGO! to programming mode. 2. You are now in the main menu, and want to select ’Setup’: Press 3. Confirm ’Setup’: Press OK 4. Move the ’>’ cursor to ’Clock’: Press 5.
  • Page 113 Programming LOGO! When synchronization is enabled, LOGO! can receive the time-of-day from a communication module EIB/KNX (version 0AA1 upwards). Whether synchronization is enabled or disabled, the time- of-day is always sent to the expansion modules at power-up, every hour (STOP mode or RUN mode), and when the TOD is changed after a ’Set Clock’...
  • Page 114: Memory Space And Circuit Dimensions

    Programming LOGO! 3.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). Memory areas Program memory: LOGO! allows only a limited number of blocks in your circuit program.
  • Page 115 Programming LOGO! Memory requirements The table below shows an overview of the memory require- ments for the basic and special function blocks: Function Program memory memory* Basic functions – AND with edge evaluation – NAND (NOT AND) – NAND with edge evaluation –...
  • Page 116 Programming LOGO! Function Program memory memory* Counter Up/down counter Hours counter Threshold trigger – Analog Analog threshold trigger – Analog differential trigger – Analog comparator – Analog value monitoring – Analog amplifier – Analog multiplexer – Analog ramp – PI controller Others Latching relay Pulse relay...
  • Page 117 Programming LOGO! Calculating memory requirements When calculating the memory requirements of a circuit, you must always take all individual areas of memory into ac- count. Example: Bytes Bytes – – No 1 No 2 No 3 The sample circuit program contains: Memory area Block Function...
  • Page 118 Programming LOGO! Indication of available memory space LOGO! shows you the amount of free memory space. Proceed as follows: 1. Switch the LOGO! to programming mode (as a reminder, refer to page 66). 2. Select ’Edit’: Press 3. Accept ’Edit’: Press OK 4.
  • Page 119: Logo! Functions

    4 LOGO! functions Organization LOGO! provides you with various elements in programming mode. In order to maintain the overview, we have orga- nized the elements in ’Lists’. These lists are: ±Co: Connector list (Connector) (see Chapter 4.1) ±GF: List of the basic functions AND, OR, ... (refer to Chapter 4.2) ±SF: List of the special functions (refer to Chapter 4.4)
  • Page 120: Constants And Connectors – Co

    LOGO! functions 4.1 Constants and connectors – Co Constants and connectors (= Co) represent inputs, outputs, flags and constant voltage levels (constants). Inputs: 1) Digital inputs Digital inputs are identified with an I. The number of the digital inputs (I1, I2, ...) corresponds to the number of the input connectors of the LOGO! Basic and of the connected digital modules, in the order of their installation.
  • Page 121 LOGO! functions There are also 16 blank outputs available. These are identi- fied with an x and can not be reused in a circuit program (in contrast to flags, for example). The list shows all pro- grammed blank outputs, and one blank output which is not yet configured.
  • Page 122 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. This signal is automatically reset after the circuit program has completed its first cycle. The M8 flag can be used in all further cycles for setting, deletion and evaluation procedures in the same way as other flags.
  • Page 123: Basic Functions List – Gf

    LOGO! functions 4.2 Basic functions list – GF Basic functions represent simple logical elements of Bool- ean algebra. You can invert the inputs of individual basic functions , i.e. the circuit program inverts a logical “1” at a relevant input to a logical “0”;...
  • Page 124 LOGO! functions View in the circuit View in LOGO! Name of the basic diagram function (see page 121) Parallel circuit with make contacts (NOT OR) Series circuit with break contacts (see page 122) (exclusive OR) Double change- (see page 123) over contact (negation, inverter) Break...
  • Page 125 LOGO! functions 4.2.1 AND Circuit diagram of a series cir- Symbol in LOGO!: cuit with several make con- tacts: The output of the AND is only 1 if all inputs are 1, i.e. all contacts are closed. At an unused block input (x): x = 1. Table of the AND logic LOGO! Manual A5E00380835-01...
  • Page 126: And With Edge Evaluation

    LOGO! functions 4.2.2 AND with edge evaluation Symbol in LOGO!: The output of an edge triggered AND is only 1 if all inputs are 1 and if at least one input was low in the previous cy- cle. At an unused block input (x): x = 1. Timing diagram for the AND with edge evaluation Cycle LOGO! Manual...
  • Page 127: Nand (Not And)

    LOGO! functions 4.2.3 NAND (NOT AND) Parallel circuit with multiple break contacts in the circuit diagram: Symbol in LOGO!: The output of the NAND is only 0 if the status at all inputs is 1, i.e. the contacts are closed. At an unused block input (x): x = 1.
  • Page 128: Nand With Edge Evaluation

    LOGO! functions 4.2.4 NAND with edge evaluation Symbol in LOGO!: The output status of the NAND with edge evaluation is only 1 if at least one input is 0 and if all inputs were 1 in the previous cycle. At an unused block input (x): x = 1. Timing diagram for the NAND with edge evaluation Cycle LOGO! Manual...
  • Page 129 LOGO! functions 4.2.5 OR Circuit diagram of a parallel cir- cuit with several make contacts: Symbol in LOGO!: The output status of the OR element is only 1 if at least one input is 1, i.e. at least one of the contacts is closed. At an unused block input (x): x = 0.
  • Page 130: Nor (Not Or)

    LOGO! functions 4.2.6 NOR (NOT OR) Symbol in LOGO!: Circuit diagram of a series cir- cuit with several break contacts: The output status of the NOR is only 1 if all inputs are 0, i.e. if switched off. The NOR output is set to 0 when one of the inputs is switched on (logical 1 status).
  • Page 131: Xor (Exclusive Or)

    LOGO! functions 4.2.7 XOR (exclusive OR) Symbol in LOGO!: The XOR in a circuit diagram, shown as series circuit with 2 changeover contacts: The output status of the XOR is 1 if the inputs are not equivalent. At an unused block input (x): x = 0. Table of the XOR logic 4.2.8 NOT (Negation, Inverter) Symbol in LOGO!:...
  • Page 132: Basics On Special Functions

    LOGO! functions 4.3 Basics on special functions Because of their different input designation, you can see right away that there is a difference between the special functions and basic functions. SFs contain timer functions, retentive functions and various parameter assignment op- tions, which allow you to adapt the circuit program to suit your own requirements.
  • Page 133: Designation Of The Inputs

    LOGO! functions 4.3.1 Designation of the inputs Logical inputs Here, you will find the description of the connectors you can use to create a logical link to other blocks or to the in- puts of the LOGO! unit. S (Set): A signal at input S sets the output to logical “1”.
  • Page 134: Time Response

    LOGO! functions Parameter inputs At some of the inputs you do not apply any signals. You configure the relevant block values instead. Examples: Par (Parameter): This input will not be connected. Here, you set the rele- vant block parameters (times, on/off thresholds etc.). No (Cam): This input will not be connected.
  • Page 135: Backup Of The Real-Time Clock

    LOGO! functions Accuracy of T Because of slight tolerances in the characteristics of elec- tronic components, the set time T may deviate. The LOGO! has a maximum tolerance of " 0.02 %. When 0.02 % of the time T is smaller than 0.02 seconds, the maximum deviation is 0.02 seconds.
  • Page 136: Retentivity

    LOGO! functions Equipment series 0BA0: On restarting, the clock is set to “Sunday 00:00 1 Ja- nuary”. The time starts to run. Due to this, the system processes the time switches, which trigger actions, if necessary. Equipment series 0BA1 and later: On restarting, the clock is set to “Sunday 00:00 1 Ja- nuary”.
  • Page 137: Calculating The Gain And Offset Of Analog Values

    LOGO! functions 4.3.6 Calculating the gain and offset of analog val- A sensor is connected to the analog input and converts a process variable into an electrical signal. This value of sig- nal lies within the typical range of this sensor. LOGO! always converts the electrical signals at the analog input into digital values from 0 to 1000.
  • Page 138 LOGO! functions Mathematical rule Actual value Ax = (internal value at input Ax  gain) + offset Gain and offset calculation The gain and offset is calculated based on the relevant high and low values of the function. Example 1: The available thermocouples have the following technical data: –30 to +70_C, 0 to 10 V DC (i.e.
  • Page 139 LOGO! functions Example of analog values Process Voltage Internal Gain Offset Value variable value shown (Ax) –30_ C –30 –30 0_ C –30 +70_ C 1000 –30 1000 mbar 1000 1000 3700 mbar 6.75 1000 3700 5000 mbar 1000 1000 5000 0.01 0.01...
  • Page 140: Special Functions List – Sf

    LOGO! functions 4.4 Special functions list – SF When you create your circuit program in LOGO!, you find the special function blocks in the SF list. You can invert the inputs of SFs individually, i.e. the circuit program converts a logical “1” at the input into a logical “0”; a logical “0”...
  • Page 141 LOGO! functions View Name of the inLOGO! special function Edge triggered wiping relay (see page 148) Asynchronous pulse gen- erator (see Page 151) Random generator (see page 153) Stairway lighting switch (see page 155) Multiple function switch (see page 158) Weekly timer (see Page 161) Yearly timer...
  • Page 142 LOGO! functions View Name of the inLOGO! special function Counter Up/down counter (see Page 169) Hours counter (see page 173) Threshold trigger (see Page 178) Analog Analog threshold trigger (see page 181) Analog differential trigger (see page 184) Analog comparator (see Page 188) Analog value monitoring (see Page 193)
  • Page 143 LOGO! functions View Name of the inLOGO! special function Analog multiplexer (see Page 216) Analog ramp (see Page 220) PI controller (see Page 225) Miscellaneous Latching relay (see Page 198) Pulse relay (see Page 199) Message texts (see Page 202) Softkey (see Page 209) Shift register...
  • Page 144: On-Delay

    LOGO! functions 4.4.1 On-delay Short description The output is only set after a configurable on-delay time has expired. Symbol in Wiring Description LOGO! Input Trg You start the on-delay with a negative edge (1 to 0 transi- tion) at input Trg (Trigger). Parameter T represents the time after which the output is switched...
  • Page 145 LOGO! functions Select the required function by means of the block number. The timebase is adjustable. Please note the following list- ing: Valid ranges of the timebase, if T = parameter Timebase max. value min. resolu- Accuracy tion s (seconds) 99:99 10 ms + 10 ms...
  • Page 146 LOGO! functions If the referenced block (B6, in the example) returns a value that lies out of the valid range, the value is rounded up or down to the next valid value. Parameter preset = Actual value of an already programmed function How to include the actual value of an actual value of an already programmed function:...
  • Page 147 LOGO! functions The view in parameter assignment mode (example): !B006m =04:10h =04:10 Ta =02:00h current Ta =02:00h time Timing diagram The bold section of the timing diagram is also shown in the on-delay icon. expires Functional description The time T is triggered with a 0 to 1 transition at input Trg is the current LOGO! time).
  • Page 148: Off-Delay

    LOGO! functions 4.4.2 Off-delay Short description When an on-delay is set, the output is reset when the con- figured time has expired. Symbol in Wiring Description LOGO! Input Trg You start the off-delay time with a negative edge (1 to 0 transition) at input Trg (Trig- ger) Input R...
  • Page 149 LOGO! functions Analog amplifier (actual value Ax, see Chapter 4.4.20) Analog multiplexer (actual value AQ, see Chapter 4.4.26) Analog ramp (actual value AQ, see Chapter 4.4.27) PI controller (actual value AQ, see Chapter 4.4.28) Up/down counter (actual value Cnt, see Chapter 4.4.13). Select the required function by means of the block number.
  • Page 150: On-/Off-Delay

    LOGO! functions 4.4.3 On-/Off-delay Short description The on-/off-delay function sets the output after the set on- delay time has expired, and resets it upon expiration of the off-delay time. Symbol in Wiring Description LOGO! Input Trg A positive edge (0 to 1 tran- sition) at input Trg (Trigger) triggers the on-delay time A negative edge (1 to 0...
  • Page 151 LOGO! functions Parameters T and T Note the preset values for the parameters T and T Chapter 4.3.2. Timing diagram The bold section of the timing dia- gram is also shown in the on/ off-delay symbol. expires expires Functional description The time T is triggered with a 0 to 1 transition at input Trg.
  • Page 152: Retentive On-Delay

    LOGO! functions 4.4.4 Retentive on-delay Short description A one-shot at the input triggers a configurable on-delay time. The output is set when this time has expired. Symbol in Wiring Description LOGO! Input Trg A signal at input Trg (Trig- ger) triggers the on-delay time.
  • Page 153 LOGO! functions Up/down counter (actual value Cnt, see Chapter 4.4.13). Select the required function by means of the block number. The timebase is configurable. For information on valid ranges and parameter defaults, refer to Chapter 4.4.1. Timing diagram expires The bold section of the timing diagram is also shown in the symbol of the retentive on-delay.
  • Page 154: Wiping Relay (Pulse Output)

    LOGO! functions 4.4.5 Wiping relay (pulse output) Short description An input pulse generates a signal with a configurable pe- riod at the output. Symbol in Wiring Description LOGO! Input Trg A signal at input Trg (Trig- ger) triggers the time for the wiping relay function.
  • Page 155 LOGO! functions Functional description A 0 to 1 transition at input Trg sets the output, and triggers a time T during which the output remains set. Output Q is reset to lo (pulse output) when T reaches the value preset at T (T = T).
  • Page 156: Edge Triggered Wiping Relay

    LOGO! functions 4.4.6 Edge triggered wiping relay Short description An input pulse generates a preset number of output pulses with a defined pulse/pause ratio (retriggerable), after a con- figured delay time has expired. Symbol in Wiring Description LOGO! Input Trg A signal at input Trg (Trig- ger) triggers the times for the edge triggered wiping...
  • Page 157 LOGO! functions Timing diagram B Timing diagram for the sample configuration Functional description A 0 to 1 transition at input Trg triggers the time T (Time Low). After the time T has expired, output Q is set for the duration of T (Time High).
  • Page 158 LOGO! functions View in parameter assignment mode (example): TL =02:00s TH =03:00s Current pulse width T or T Ta =01:15s LOGO! Manual A5E00380835-01...
  • Page 159: Asynchronous Pulse Generator

    LOGO! functions 4.4.7 Asynchronous pulse generator Short description The output pulse shape can be modified by reconfiguring the pulse/pause ratio. Symbol in Wiring Description LOGO! Input En You can use input EN to set and reset the asynchronous pulse generator. Input INV Input INV can be used to in- vert the output signal of the...
  • Page 160 LOGO! functions Functional description You can configure the pulse/interpulse width at the T (Time High) and T (Time Low) parameters . Input Inv can be used to invert the output signal, provided the block is enabled with a signal at input EN. If retentivity is not set, output Q and the expired time are reset after a power failure.
  • Page 161: Random Generator

    LOGO! functions 4.4.8 Random generator Short description The output of the random generator is set or reset within a configured time. Symbol in Wiring Description LOGO! Input En A positive edge ( 0 to 1 tran- sition) at input En (Enable) triggers the on-delay time of the random generator.
  • Page 162 LOGO! functions Timing diagram The bold section of the timing diagram also appears in the symbol of the random generator. T is busy Functional description The 0 to 1 transition at input En triggers a random on-delay time between 0 s and T .
  • Page 163: Stairway Lighting Switch

    LOGO! functions 4.4.9 Stairway lighting switch Short description An input edge triggers a configurable and retriggerable time. The output is reset after this time has expired. A warning signal can be output before this time has expired to warn of the impending shutdown. Symbol in Wiring Description...
  • Page 164 LOGO! functions Functional description A 0 to 1 signal transition at input Trg sets output Q. The next 1 to 0 transition at Trg retriggers the current time T and output Q remains set. Output Q is reset when T = T.
  • Page 165 LOGO! functions View in parameter assignment mode (example): =60:00s Ta =06:00s Current value of T LOGO! Manual A5E00380835-01...
  • Page 166: Multiple Function Switch

    LOGO! functions 4.4.10 Multiple function switch Short description Switch with two different functions: Pulse switch with off-delay Switch (permanent lighting) Symbol in Wiring Description LOGO! Input Trg A signal at input Trg (Trig- ger) sets output Q (perma- nent light) or resets it with off-delay.
  • Page 167 LOGO! functions Timing diagram is busy Functional description A 0 to 1 transition at input Trg sets output Q. If output Q = 0, and input Trg is set hi at least for the dura- tion of T , the permanent lighting function is enabled and output Q is set accordingly.
  • Page 168 LOGO! functions Press Start of the off-warning period T! =30:00s (T – T T!L =20:00s Off-warning time View in parameter assignment mode (example): =60:00s TL =10:00s Ta =06:00s Current value of the time T or T LOGO! Manual A5E00380835-01...
  • Page 169: Weekly Timer

    LOGO! functions 4.4.11 Weekly timer Short description The output is controlled by means of a configurable on/off date. The function supports any combination of weekdays. You select the active weekdays by hiding the inactive days. Note Because the LOGO! 24/24o does not have a real-time clock, the weekly timer function is not available for this ver- sion.
  • Page 170 LOGO! functions Functional description Each weekly timer has three cams you can use to config- ure a time hysteresis. You specify the on- and off-times at the Cam parameters. The weekly timer sets the output at a certain on-time, if this is not already set. The weekly timer resets the output at a certain off-time, if it is not switched off already.
  • Page 171 LOGO! functions On-/Off-times Possible is any time between 00:00 h and 23:59 h. ––:–– means: No on-/off-times set. Setting the weekly timer To set the on-/off-times: 1. Move the cursor to one of the Cam parameters of the timer (e.g. No1). 2.
  • Page 172 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. The output should also be set every Tuesday from 03:10 h to 04:15 h, and at the weekends from 16:30 h to 23:10 h.
  • Page 173 LOGO! functions Cam3 Cam No3 must set the output of the weekly timer switch every Saturday and Sunday from 16:30 h to 23:10 h. D=–––––SS On =16:30 Off=23:10 Result Monday Wednesday Friday Sunday Tuesday Thursday Saturday LOGO! Manual A5E00380835-01...
  • Page 174: Yearly Timer

    LOGO! functions 4.4.12 Yearly timer Short description The output is controlled by means of a configurable on/off date. Note Because LOGO! 24/24o does not have a real-time clock, the yearly timer is not available for this version. Symbol in Wiring Description LOGO! At the Cam parameter, you...
  • Page 175 LOGO! functions Sample configuration The output of a LOGO! is to be set annually on March 1, reset on April 4, set again on July 7, and reset again on November 19. You need to configure two yearly timers with corresponding on-times.
  • Page 176 LOGO! functions Further examples **–DD On-time is the first, On =**–01 and off-time the second day each month. Off=**–02 **–DD On =**–10 Each month, from the 10th through Off=**–20 to the 20th **–DD On =**–25 In the next month, Off=**–05 from the 25th through the 5th LOGO! Manual A5E00380835-01...
  • Page 177: Up/Down Counter

    LOGO! functions 4.4.13 Up/down counter Short description An input pulse increments or decrements an internal value, depending on the parameter setting. The output is set or reset when a configured threshold is reached. The direction of count can be changed with a signal at input Dir. Symbol in Wiring Description...
  • Page 178 LOGO! functions Symbol in Wiring Description LOGO! Parameter On: On threshold Range of values: 0...999999 Off: Off threshold Range of values: 0...999999 Retentivity for internal counter value Cnt: / = No retentivity R = The status is retentive. Output Q Q is set or reset, depending on the current value at Cnt and the set thresholds.
  • Page 179 LOGO! functions Calculation rule If the On threshold Off threshold, then: Q = 1, if Cnt Q = 0, if Cnt < Off. If the On threshold < Off threshold, then Q = 1, if On Cnt < Off. Default on/off parameters The default limits for the on and/or off parameters can be derived from another, already programmed function.
  • Page 180 LOGO! functions View in programming mode (example): On =001234 On =123456 Off=000000 Off!B021 If the referenced block (B6, in the example) returns a value that lies out of the valid range, the value is rounded to the next valid value. The view in parameter assignment mode (example): On =001234 On =123456...
  • Page 181: Hours Counter

    LOGO! functions 4.4.14 Hours counter Short description A configured time is triggered with a signal at the monitor- ing input. The output is set when this time has expired. Symbol in Wiring Description LOGO! Input R A positive edge (0 to 1 transi- tion) at input R resets output Q and sets a configured value MI at the counter for the duration...
  • Page 182 LOGO! functions Symbol in Wiring Description LOGO! Parameter MI: Maintenance interval to be preset in hour units Range of values: 0000...9999 h OT: Start time for OT Range of values: 00000...99999 h Q!0: When “R” is selected: Q = 1, if MN = 0; Q = 0, if R = 1 or Ral = 1 When “R+En”...
  • Page 183 LOGO! functions Timing diagram MN=MI Par: MI=5h MN=0 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. When En = 1, LOGO! computes the time expired and the time-to-go MN.
  • Page 184 RUN to view the actual values of MI, MN and OT. LOGO! Basic without display unit: In LOGO!Soft Com- fort, you can use the Online Test to read these values (for further information, see Chapter 7).
  • Page 185 LOGO! functions View in parameter assignment mode: MI = 0100h Time interval MN = 0017h Time-to-go OT =00083h Total operating hours LOGO! Manual A5E00380835-01...
  • Page 186: Threshold Trigger

    LOGO! functions 4.4.15 Threshold trigger Short description The output is set and reset with two configurable threshold triggers. Symbol in Wiring Description LOGO! Input Fre The function counts the 0 to 1 transitions at input Fre. 1 to 0 transitions are not counted. inputs I5/I6 for high-speed counting (only LOGO! 12/24 RC/RCo and LOGO!
  • Page 187 LOGO! functions Functional description The threshold trigger measures the signals at input Fre. The pulses are recorded across a configurable time G_T. Output Q is set and reset in accordance with the set thresh- olds. See the calculation rule below. Calculation rule If the On threshold Off threshold, then:...
  • Page 188 LOGO! functions Note The “seconds” timebase is here set as permanent default. When you preset a time G_T of 1 s, the LOGO! returns the current frequency in parameter f in Hz. View in parameter assignment mode (example): On =0009 On threshold Off =0005 Off threshold...
  • Page 189: Analog Threshold Trigger

    LOGO! functions 4.4.16 Analog threshold trigger Short description The output is set and reset at two configurable thresholds. Symbol in Wiring Description LOGO! Input Ax You apply the analog signal to be analyzed at input Ax. Use the analog inputs AI1...AI8 , the analog flags AM1...AM6, the block...
  • Page 190 LOGO! functions Gain and offset parameters Please note the information on gain and offset parameters in Chapter 4.3.6. Parameter p (number of decimals) Does not apply to the display of On, Off and Ax values in a message text. Does not apply to the comparison of On and Off values! (The compare function ignores the decimal point.) Timing diagram 1000...
  • Page 191 LOGO! functions Preset of the Par parameter The gain and offset parameters are used to adapt the sen- sors to the relevant application. View in programming mode (example): Parameter protection mode On =+04000 On threshold Off =+02000 Off threshold Press =01.00 Gain =+00000...
  • Page 192: Analog Differential Trigger

    LOGO! functions 4.4.17 Analog differential trigger Short description The output is set and reset depending on a configurable threshold and a differential value. Symbol in Wiring Description LOGO! Input Ax You apply the analog signal to be analyzed at input Ax. Use the analog inputs AI1...AI8 , the analog...
  • Page 193 LOGO! functions Gain and offset parameters Please note the information on gain and offset parameters in Chapter 4.3.6. Parameter p (number of decimals) Does not apply to the display of On, Off and Ax values in a message text. Timing diagram A: Function with negative difference Off = On + Timing diagram B: Function with positive difference Off = On +...
  • Page 194 LOGO! functions Calculation rule When you set a negative differential value , the On threshold Off threshold, and: Q = 1, if the actual value Ax > On Q = 0, if the actual value Ax Off. See the timing diagram A. When you set a positive differential value , the On threshold <...
  • Page 195 LOGO! functions Press Off =+02000 Off threshold LOGO! Manual A5E00380835-01...
  • Page 196: Analog Comparator

    LOGO! functions 4.4.18 Analog comparator Short description The output is set and reset, depending on the difference Ax – Ay and on two configurable thresholds. Symbol in Wiring Description LOGO! Inputs Ax and You apply the analog sig- nals whose difference you want to analyze at the in- puts Ax and Ay.
  • Page 197 LOGO! functions Gain and offset parameters For more information on the gain and offset parameters, refer to Chapter 4.3.6. Parameter p (number of decimals) Does not apply to Ax, Ay, On, Off and values displayed in a message text. Does not apply to the comparison of on and off values! (The compare function ignores the decimal point.) Timing diagram 1000...
  • Page 198 LOGO! functions Calculation rule If the On threshold Off threshold, then: Q = 1, if: (actual value Ax – actual value Ay) > On Q = 0, if: (actual value Ax – actual value Ay) Off. If the On threshold < Off threshold, then Q = 1, if: (actual value Ax –...
  • Page 199 LOGO! functions The thermocouples available have the the following techni- cal data: –30 to +70_C, 0 to 10 VDC. Application Internal mapping –30 to +70 _C = 0 to 10 V DC 0 to 1000 0 _C ! Offset = –30 Range of values: 1000 –30 to +70 _C = 100...
  • Page 200 LOGO! functions Press Ax =+00010 Temperature values Ay =–00020 =+00030 Q = 1 (differential value > On) View in the message text (example): Ax =+00010 Ay =–00020 Reducing the input response of the analog comparator You can selectively delay the output of an analog compara- tor by means of the “On-delay”...
  • Page 201: Analog Value Monitoring

    LOGO! functions 4.4.19 Analog value monitoring Short description This special function saves the process variable of an ana- log input to memory, and sets the output when the output variable exceeds or drops below this stored value plus a configurable offset. Symbol in Wiring Description...
  • Page 202 LOGO! functions Gain and offset parameters For more information on gain and offset parameters, refer to Chapter 4.3.6. Parameter p (number of decimals) Applies only to the Aen, Ax and values displayed in a message text. Timing diagram Aen + Aen –...
  • Page 203 LOGO! functions Preset of the Par parameter The gain and offset parameters are used to adapt the used sensors to the respective application. View in programming mode: Parameter protection mode Differential value for the 00000 on/off threshold Press =00.00 Gain =+00000 Offset Decimals in the message text...
  • Page 204: Analog Amplifier

    LOGO! functions 4.4.20 Analog amplifier Short description This special function amplifies the value of an analog input and outputs the result at an analog output. Symbol in Wiring Description LOGO! Input Ax You apply the analog signal to be amplified at input Ax. Use the analog inputs AI1...AI8 , the analog flags AM1...AM6, the block number...
  • Page 205 (Chapter 4.4.13) to the scaled analog value. For more information with programming examples refer to the online help for LOGO!Soft Comfort. Preset of the Par parameter The gain and offset parameters are used to adapt the sen- sors to the relevant application.
  • Page 206: Latching Relay

    LOGO! functions 4.4.21 Latching relay Short description Input S sets output Q, input R resets output Q again. Symbol in Wiring Description LOGO! Input S You set output Q with a sig- nal at input S. Input R You reset output Q with a signal at input R.
  • Page 207: Pulse Relay

    LOGO! functions 4.4.22 Pulse relay Short description A short pulse at the input sets and resets the output. Symbol in Wiring Description LOGO! Input Trg You set and reset output Q with a signal at input Trg (Trigger). Input S You set output Q with a sig- nal at input S.
  • Page 208 LOGO! functions Functional description Output Q changes its status, i.e. the output is set or reset, with each 0 to 1 transition at input Trg and if the inputs S and R = 0. The signal at input Trg does not influence the special func- tion when S or R = 1.
  • Page 209 LOGO! functions n–1 0 –>1 *: RS or SR **: Triggering signal is effective, because S and R = 0. Depending on your configuration, either input R takes prior- ity over input S (i.e. input S is not effective when R = 1), or vice versa (i.e.
  • Page 210: Message Texts

    LOGO! functions 4.4.23 Message texts Short description View of a configured message text in RUN mode. Symbol in Wiring Description LOGO! Input En A 0 to 1 transition at input En (Enable) starts the out- put of the message text. Input P P: Priority of the message text...
  • Page 211 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 config- ured (process variable, text, time-of-day, date) is output to the display.
  • Page 212 LOGO! functions Example This is how tow message texts could be shown: Display field of the LOGO! in RUN mode Motor 5 STOP AT Example: Message text with 10:12 !!Action!! priority 30 Motor 2 3000 Example: Message text with hours MAINTENANCE! priority 10 Press...
  • Page 213 LOGO! functions LOGO! shows: Priority Priority 1 Quit=On Status of acknowledgment ’On’ 4. Confirm the entries with Visible parameters or process variables The following parameter or process variables can be dis- played in a message text: Special function Parameter or process vari- able visible in a message text Times...
  • Page 214 LOGO! functions Special function Parameter or process vari- able visible in a message text Threshold trigger , On, Off, G_T Analog Analog threshold trigger On, Off, A, B, Ax Analog differential trigger On, n, A, B, Ax, Off Analog comparator On, Off, A, B, Ax, Ay, nA Analog value monitoring n, A, B, Ax, Aen...
  • Page 215 LOGO! functions Press to select the relevant line (you can only se- lect lines that contain parameters). Press OK to change the parameter. Use the keys , , and . Confirm your changes with OK. You can now edit further parameters in the message text (if any exist).
  • Page 216 LOGO! functions Press OK to open the editing mode: B01>T Press to select the blocks to be displayed and the corresponding parameters. Press to select the block or parameter you want to view. Select the parameter by pressing OK. Press ESC to exit the parameter assignment mode and to apply your changes.
  • Page 217: Softkey

    LOGO! functions 4.4.24 Softkey Short description This special function has the effect of a mechanical push- button or switch. Symbol in Wiring Description LOGO! Input En Output Q is set with a 0 to 1 transition of the signal at in- put En (Enable), and if ’Switch=On’...
  • Page 218 LOGO! functions Timing diagram Switch Functional description In parameter assignment mode, the output is set with a sig- nal at input En, if the ’’Switch’ parameter is set to ’On’ and confirmed with OK. Whether the function was configured for pushbutton or switching action is here of no concern. The output is reset to ’0’...
  • Page 219 LOGO! functions To change ’Par’ to ’Switch’ action and the initialization sta- tus after the program start: 4. To select ’Momentary pushbutton’ or ’Switch’ action: Press The status is not retentive On/Off ’Switch’ function Start=On Q is set in the first cycle after the program start 5.
  • Page 220 LOGO! functions The momentary pushbutton/switch Switch=On is here switched on LOGO! Manual A5E00380835-01...
  • Page 221: Shift Register

    LOGO! functions 4.4.25 Shift register Short description You can use the shift register function to read the value of an input and to shift its bits left or right. The output value corresponds with the configured shift register bit. The shift- ing direction can be changed at a special input.
  • Page 222 LOGO! functions Functional description The function reads the value at input In with a positive edge (0 to 1 transition) at input Trg (Trigger). This value is applied to shift register bit S1 or S8, depend- ing on the shifting direction: Shift up: The value at input In is set at S1;...
  • Page 223 LOGO! functions Preset of the Par parameter View in programming mode: Retentivity enabled Q=S8 Preset Press Q=S7 etc. You can select S8...S1. This special function is not available in parameter assign- ment mode. LOGO! Manual A5E00380835-01...
  • Page 224: Analog Multiplexer

    LOGO! functions 4.4.26 Analog Multiplexer Short description This special function displays 0 or one of 4 saved analog values on the analog output. Symbol in Wiring Description LOGO! Input En A change in status from 0 to 1 at input En (Enable) switches a parameterized analog value to the output AQ, depending on the value...
  • Page 225 LOGO! functions Symbol in Wiring Description LOGO! Parameter V1...V4: Analog values that will be issued. Range of values: –32768...+32767 Number of decimals Range of values: 0, 1, 2, 3 Output AQ This special function has an analog output! This output can only be connected with the analog input of a func- tion, an analog flag or an...
  • Page 226 LOGO! functions Parameter p (number of decimals) Applies only to the values displayed in a message text. Timing diagram Functional description If input En is set, then the function issues one of 4 possible analog values V1 to V4 at the output AQ, depending on the value of S1 and S2.
  • Page 227 LOGO! functions View in parameter assignment mode: V3 !B020 Press V1 =+04000 A " V4 !B021 V2 =–02000 AQ =+4000 LOGO! Manual A5E00380835-01...
  • Page 228: Analog Ramp

    LOGO! functions 4.4.27 Analog Ramp Short description This special function starts up at the analog output 0 or one of 2 levels. Here you can set how quickly the level should be reached. Symbol in Wiring Description LOGO! Input En A change in the status from 0 to 1 at input En (Enable) launches the start-up of a...
  • Page 229 LOGO! functions Symbol in Wiring Description LOGO! Parameter Level 1 and Level 2: Levels to be reached Range of values for each level: –10.000 to +20.000 MaxL: Maximum value that must not be exceeded. Range of values: –10.000 to +20.000 StSp: Start/Stop offset, value that is issued for 100ms...
  • Page 230 LOGO! functions Symbol in Wiring Description LOGO! Output AQ This special function has an analog output! This output can only be connected with the analog input of a func- tion, an analog flag or an analog output connector (AQ1, AQ2). Range of values for AQ: 0 to 32767 Parameters L1, L2...
  • Page 231 LOGO! functions Timing diagram Functional description If the input En is set, then the function issues the analog value StSp at output AQ for the first 100 ms. Then, depending on the connection of Sel, the function runs from value StSp to either level 1 or level 2 at the speed set in Rate.
  • Page 232 LOGO! functions Preset of the Par parameter View in programming mode (example): Press L1 =+04000 MaxL=+7000 A " L2 !B020 StSp=02222 Rate=00500 Press A " =02.50 Gain =–00300 Offset Decimals in the message text View in parameter assignment mode: Press L1 =+04000 StSp=02222 A "...
  • Page 233: Pi Controller

    LOGO! functions 4.4.28 PI controller Short description Proportional-action and integral-action controllers. You can use both types of controller individually or combined. Symbol in Wiring Description LOGO! Input A/M Set the mode of the controller: 1: automatic mode 0: manual mode Input R Use the input R to reset the output AQ.
  • Page 234 LOGO! functions Symbol in Wiring Description LOGO! Parameter SP: Set-value assignment Range of values: –10.000 to +20.000 KC: Gain Range of values: 00.00 to 99.99 TI: Integral time Range of values: 00:01 to 99:59 m Dir: Action direction of the controller Range of values: + or –...
  • Page 235 LOGO! functions Symbol in Wiring Description LOGO! Output AQ This special function has an analog output (= manipulated variable)! This output can only be con- nected with the analog input of a function, an analog flag or an analog output connector (AQ1, AQ2).
  • Page 236 LOGO! functions Parameter p (number of decimals) Applies only to the AQ, PV, SP, Min and Max values dis- played in a message text. Timing diagram The nature, manner and speed with which the AQ changes depend on the parameters KC and TI. Thus, the course of AQ in the diagram is merely an example.
  • Page 237 Note For further information on the controller basics please refer to the Online Help for LOGO!Soft Comfort. The updated value PV is used to calculate in the formulas: Updated value PV = (PV  gain) + offset If the updated value PV = SP, then the special function does not change the value of AQ.
  • Page 238 The sampling time is fixed at 500 ms. Parameter sets For more information and application examples with appli- cation-related parameter sets for KC, TI and Dir refer to the online help for LOGO!Soft Comfort. Preset of the Par parameter View in programming mode (example): SP !B020 Press KC =10.00...
  • Page 239 LOGO! functions View in parameter assignment mode: SP !B020 Press KC =10.00 A " PV = TI =01:00 AQ =+0250 Dir=+ Press A " Mq !B021 =02.50 Press A " =–00300 Min=–05000 Max=+05000 LOGO! Manual A5E00380835-01...
  • Page 240 LOGO! functions LOGO! Manual A5E00380835-01...
  • Page 241: Configuring Logo

    5 Configuring LOGO! When speaking of ’parameter assignment’, we refer to the configuration of the block parameters. You can set delay times for time functions, the switching times of the timers, the counter threshold value, the monitoring interval of an hours counter and the on and off thresholds of the trigger.
  • Page 242: Selecting Parameter Assignment Mode

    Configuring LOGO! 5.1 Selecting parameter assignment mode Press ESC to change from RUN to parameter assignment mode: Mo 09:00 ... Press 2005-01-27 Note The following applies to earlier device versions up to 0BA2: You open parameter assignment mode by pressing ESC+OK.
  • Page 243 Configuring LOGO! Description of the four menu items of the parameter assignment menu Stop You select this command to stop your circuit program and thus change to the main menu of programming mode. To do so: 1. To move the ’>’ cursor to ’Stop’: Press 2.
  • Page 244: Parameters

    Each one of the parameters is identified by its block num- ber (Bx) and the shortname of the parameter. Examples: ...is a configurable time..is a configurable time interval. Note LOGO!Soft Comfort also allows you to assign names to blocks (for more information, refer to Chapter 7). LOGO! Manual A5E00380835-01...
  • Page 245: Selecting The Parameters

    Configuring LOGO! 5.1.2 Selecting the parameters To select a parameter: 1. On the parameter assignment menu, select ’Set Param’: Press Stop >Set Param Set.. Prg Name 2. Confirm with OK. LOGO! shows the first parameter. If no parameter can be set, you can press ESC to return to the parameter assignment menu.
  • Page 246: Modifying Parameters

    Configuring LOGO! 5.1.3 Modifying parameters You first select the parameter you want to edit (see Chapter 5.1.2). You change the value of the parameter in the same way as you did in programming mode: 1. Move the cursor to the point at which you want to make the change: Press 2.
  • Page 247 Configuring LOGO! Current timer value View of a timer cam in parameter assignment mode: D=M–W–F–– On = 09:00 Off=10:00 You can change the on/off times and the day. Current value of a counter View of a counter parameter in parameter assignment mode: On =001234 On =123456...
  • Page 248 Configuring LOGO! Current value of a threshold trigger View of the parameter of a threshold trigger in parameter assignment mode: On =0009 On threshold Off =0005 Off threshold fa =0010 Process variable You can change the on/off threshold. LOGO! Manual A5E00380835-01...
  • Page 249: Setting The Default Values For Logo

    Configuring LOGO! 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, summertime/wintertime conversion and synchronization in parameter assignment mode by means of the set menu (“Clock”...
  • Page 250 Configuring LOGO! To set the TOD and the date in parameter assignment mode: 1. Select parameter assignment mode (see Chapter 5.1.) 2. On the parameter assignment menu, select ’Set..’: Press Stop Set Param >Set.. Prg Name 3. Confirm ’Set..’: Press OK 4.
  • Page 251: Setting The Display Contrast

    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, select in the main menu ’Setup’, then menus ’Clock’ and ’Set Clock’. You can now set the weekday and the time as described earlier (as of step 8.).
  • Page 252: Setting The Start Screen

    Configuring LOGO! 5.2.3 Setting the start screen You can select the default setting for the start screen of the LOGO! in RUN mode: in parameter assignment mode by means of the set menu (“StartScreen” menu item). To select the start screen: 1.
  • Page 253: Logo! Program Module (Card)

    6 LOGO! program module (card) LOGO! allows you to store only one circuit program in its memory. If you want to modify the circuit program or create a further one without deleting the first, you must archive it somewhere. One of the options is to use a program mod- ule/card.
  • Page 254 LOGO! devices of the 0BA0...0BA3 family. Upward compatibility of circuit programs Circuit programs written for the previous versions 0BA0...0BA3 can only be applied in 0BA4 or 0BA5 units by means of LOGO!Soft Comfort. LOGO! Manual A5E00380835-01...
  • Page 255: Security Function (Copyprotect)

    LOGO! program module (card) 6.1 Security function (CopyProtect) We principally distinguish between program modules (card) with and without circuit program/copy protection. Unprotected program module (card) You can edit circuit programs without restrictions, and ex- change data between the program module (Card) and the device.
  • Page 256 LOGO! program module (card) Correlation between the password and the protective function Password Protec- Editing Copying Deleting tion – – – Yes, with Yes, with password password – Yes, with Yes, with Yes, with password password password Assigning a security function To assign a circuit program and copy protection function to the program module (card), open the programming mode and select “Card”.
  • Page 257 LOGO! program module (card) Enabling the security function To set the security function: 1. Move the ’>’ cursor to ’Yes’: Press 2. Confirm ’Yes’: Press OK LOGO! shows the following display: >No CopyProtect: Note This only generates a circuit program and copy protection for the program module (card);...
  • Page 258: Inserting And Removing The Program Module (Card)

    LOGO! program module (card) 6.2 Inserting and removing the program module (card) When you remove a program module (card) with circuit program and copy protection attribute, note the following: The circuit program stored on the program module (card) can only be executed if the card remains inserted during system runtime.
  • Page 259 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. You can now remove the program module (card).
  • Page 260: To The Program Module (Card)

    LOGO! program module (card) 6.3 Copying data from the LOGO! to the pro- gram module (card) To copy the circuit program to the program module (card): 1. Insert the program module (card) into the slot. 2. Switch the LOGO! to programming mode (ESC / >Stop). >Program..
  • Page 261 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 pro- gram module (card).
  • Page 262: Copying Data From The Program Module (Card To Logo

    LOGO! program module (card) 6.4 Copying data from the program module (card) to LOGO! You have a program module (card) that contains your cir- cuit program. There are two ways to copy it to LOGO!: Automatically during the startup of LOGO! (POWER ON) or by means of the “Card”...
  • Page 263 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’: Press 2. Press OK. Copying by means of the “Card”menu For information on the replacement of a program module (card), also note Chapter 6.2.
  • Page 264 LOGO! program module (card) LOGO! Manual A5E00380835-01...
  • Page 265: Logo! Software

    7 LOGO! Software LOGO!Soft Comfort is available as a programming pack- age for the PC. This software provides many features, for example: A graphic interface for offline creation of your circuit pro- gram by means of Ladder Diagram (contact chart / cir-...
  • Page 266 LOGO! Software The LOGO! alternative As you can see, LOGO!Soft Comfort represents an alterna- tive to conventional engineering methods: 1. You start by developing the circuit program on your desktop. 2. You simulate the circuit program on your computer and verify its functions, before you actually implement it in your system.
  • Page 267 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.
  • Page 268: Connecting The Logo! To A Pc

    Switching LOGO! to PC´LOGO mode 1. Switch the LOGO! with/without display to STOP from your PC (refer to the LOGO!Soft Comfort Online Help), or select the ESC / >Stop command on a device with display and confirm the entry with ’Yes’.
  • Page 269 3. Switch on power. LOGO! switches automatically to PC ´ LOGO mode. The PC can now access the LOGO! For information on this function, refer to the LOGO!Soft Comfort Online Help. For more information on LOGO! versions without display, refer to Appendix C.
  • Page 270 LOGO! Software LOGO! Manual A5E00380835-01...
  • Page 271 8 Applications Note LOGO! sample applications are available to all our custom- ers free of charge on the Internet at http://www.siemens.com/logo (go to “Products & Solutions”, then “Applications”). The examples provided are noncommittal, serve as gen- eral information about the fields of application for LOGO!, and may be different to user-specific solutions.
  • Page 272 You can read these *.pdf files with the Adobe AcrobatReader. If you have installed LOGO!Soft Comfort on your computer, you can simply click the disk icon to download the relevant circuit programs, which you can then adapt to suit your application and download to the LOGO! directly via the PC cable.
  • Page 273 No matter whether your LOGO! circuit is particularly complex or simple, simply write to us. We shall be delighted to receive all your suggestions. Write to: Siemens AG A&D AS SM MA PO box 48 48 D-90327 Nuremberg...
  • Page 274 Applications LOGO! Manual A5E00380835-01...
  • Page 275: A Technical Data

    A Technical data A.1 General technical data Criterion Tested in accor- Values dance with LOGO!Basic Dimensions (WxHxD) 72 x 90 x 55 mm Weight Approx. 190 g Installation on a 35 mm profile rail 4 module widths or wall mounting LOGO! expansion modules DM8..., AM...
  • Page 276 Technical data Criterion Tested in accor- Values dance with Ambient mechanical conditions Protection mode IP20 Vibrations: IEC 60068-2-6 5 ... 9 Hz (constant amplitude 3.5 mm) 9 ... 150 Hz (constant acceleration 1 g) Shock IEC 60068-2-27 18 shocks (half-sine wave 15g/11 ms) Drop IEC 60068-2-31...
  • Page 277 Technical data Criterion Tested in accor- Values dance with Cycle time Cycle time per function < 0.1 ms LOGO! Manual A5E00380835-01...
  • Page 278: A.2 Technical Data: Logo! 230

    Technical data A.2 Technical data: LOGO! 230... LOGO! 230 RC LOGO! 230 RCo Power supply Input voltage 115...240 V AC/DC Permissible range 85 ... 265 V AC 100 ... 253 V DC Permissible mains frequency 47 ... 63 Hz Power consumption 115 V AC 10 ...40 mA 240 V AC...
  • Page 279 Technical data LOGO! 230 RC LOGO! 230 RCo Input voltage L1 Signal 0 < 40 V AC Signal 1 > 79 V AC Signal 0 < 30 V DC Signal 1 > 79 V DC Input current at Signal 0 <...
  • Page 280 Technical data LOGO! 230 RC LOGO! 230 RCo Fluorescent tubes, uncom- 10 x 58 W (at 230/240 V AC) pensated (25000 switching cycles) Short circuit-proof cos 1 Power protection B16 600A Short-circuit proof cos Power protection B16 0.5 to 0.7 900A Derating none;...
  • Page 281: A.3 Technical Data: Logo! Dm8 230R And Logo! Dm16 230R

    Technical data A.3 Technical data: LOGO! DM8 230R and LOGO! DM16 230R LOGO! DM8 230R LOGO! DM16 230R Power supply Input voltage 115...240 V AC/DC 115 ... 240 V AC/DC Permissible range 85 ... 265 V AC 85 ... 265 V AC 100 ...
  • Page 282 Technical data LOGO! DM8 230R LOGO! DM16 230R Input voltage L1 Signal 0 < 40 V AC < 40 V AC Signal 1 > 79 V AC > 79 V AC Signal 0 < 30 V DC < 30 V DC Signal 1 >...
  • Page 283 Technical data LOGO! DM8 230R LOGO! DM16 230R Fluorescent tubes, uncom- 10 x 58 W (at 10 x 58 W (at pensated (25000 switching 230/240 V AC) 230/240 V AC) cycles) Short circuit-proof cos 1 Power protection Power protection 600A 600A Short-circuit proof cos Power protection...
  • Page 284: A.4 Technical Data: Logo! 24

    Technical data A.4 Technical data: LOGO! 24... LOGO! 24 LOGO! 24o Power supply Input voltage 24 V DC Permissible range 20.4 ... 28.8 V DC Reverse polarity protection Permissible mains frequency Power consumption from 30 ... 55 mA 24 V DC 0.3 A per output Voltage failure buffering Power loss at 24 V...
  • Page 285 Technical data LOGO! 24 LOGO! 24o Input current at Signal 0 < 1.0 mA (I1...I6) < 0.05 mA (I7, I8) Signal 1 > 1.5 mA (I1... I6) > 0.1 mA (I7, I8) Delay time at 0 to 1 typ. 1.5 ms <1.0 ms (I5, I6) 1 to 0 typ.
  • Page 286 Technical data LOGO! 24 LOGO! 24o Incandescent lamp load (25000 switching cycles) at Fluorescent tubes with ballast (25000 switching cycles) Fluorescent tubes, conven- tionally compensated (25000 switching cycles) Fluorescent tubes, uncom- pensated (25000 switching cycles) Short circuit-proof and over- load-proof Short-circuit current limitation Approx.
  • Page 287 Technical data A.5 Technical data: LOGO! DM8 24 and LOGO! DM16 24 LOGO! DM8 24 LOGO! DM16 24 Power supply Input voltage 24 V DC 24 V DC Permissible range 20.4 ... 28.8 V DC 20.4 ... 28.8 V DC Reverse polarity protection Permissible mains frequency Power consumption from...
  • Page 288 Technical data LOGO! DM8 24 LOGO! DM16 24 Input current at Signal 0 < 1.0 mA < 1 mA > 2 mA > 2 mA Signal 1 > 1.5 mA Delay time at 0 to 1 typ. 1.5 ms typ. 1.5 ms typ.
  • Page 289 Technical data LOGO! DM8 24 LOGO! DM16 24 Short circuit-proof and over- load-proof Short-circuit current limitation Approx. 1 A Approx. 1 A Derating none; across the None; across the entire temperature entire temperature range range Short circuit-proof cos 1 Short-circuit proof cos 0.5 to Parallel output circuit for Not permitted Not permitted...
  • Page 290: A.6 Technical Data: Logo! 24Rc

    Technical data A.6 Technical data: LOGO! 24RC... LOGO! 24RC LOGO! 24RCo Power supply Input voltage 24 V AC/DC Permissible range 20.4 ... 26.4 V AC 20.4 ... 28.8 V DC Reverse polarity protection Permissible mains frequency 47 ... 63 Hz Power consumption 24 V AC 40 ...
  • Page 291 Technical data LOGO! 24RC LOGO! 24RCo Input current at Signal 0 < 1.0 mA Signal 1 > 2.5 mA Delay time at 0 to 1 typ. 1,5 ms 1 to 0 typ. 15 ms Line length (unshielded) 100 m Analog inputs Number Range max.
  • Page 292 Technical data LOGO! 24RC LOGO! 24RCo Fluorescent tubes, uncom- 10 x 58 W pensated (25000 switching cycles) Short circuit-proof and over- load-proof Short-circuit current limitation Derating none; across the entire temperature range Short circuit-proof cos 1 Power protection B16, 600A Short-circuit proof cos 0.5 to Power protection B16, 900A...
  • Page 293: A.7 Technical Data: Logo! Dm8 24 R And Logo! Dm16 24 R

    Technical data A.7 Technical data: LOGO! DM8 24 R and LOGO! DM16 24 R LOGO! DM8 24 R LOGO! DM16 24R Power supply Input voltage 24 V AC/DC 24 V DC Permissible range 20.4 ... 26.4 V AC 20.4 ... 28.8 V DC 20.4 ...
  • Page 294 Technical data LOGO! DM8 24 R LOGO! DM16 24R Input current at Signal 0 < 1.0 mA < 1.0 mA > 2.0 mA > 2.0 mA Signal 1 > 2.5 mA Delay time at 0 to 1 typ. 1.5 ms typ.
  • Page 295 Technical data LOGO! DM8 24 R LOGO! DM16 24R Short-circuit current limitation Derating none; across the None; across the entire temperature entire temperature range range Short circuit-proof cos 1 Power protection Power protection B16, 600A 600A Short-circuit proof cos 0.5 to Power protection Power protection B16,...
  • Page 296: Logo! Dm8 12/24R

    Technical data A.8 Technical data: LOGO! 12/24... and LOGO! DM8 12/24R LOGO! 12/24RC LOGO! DM8 LOGO! 12/24RCo 12/24R Power supply Input voltage 12/24 V DC 12/24 V DC Permissible range 10.8 ... 28.8 V DC 10.8 ... 28.8 V DC Reverse polarity protection Power consumption 12 V DC...
  • Page 297 Technical data LOGO! 12/24RC LOGO! DM8 LOGO! 12/24RCo 12/24R Input current at Signal 0 < 1.0 mA (I1...I6) < 1.0 mA < 0.05 mA (I7, I8) Signal 1 > 1.5 mA (I1... I6) A (I1 > 1.5 mA > 0.1 mA (I7, I8) Delay time at 0 to 1 typ.
  • Page 298 Technical data LOGO! 12/24RC LOGO! DM8 LOGO! 12/24RCo 12/24R Continuous current I max. 10 A per relay max. 5 A per relay th (per terminal) Incandescent lamp load 1000 W 1000 W (25000 switching cycles) at Fluorescent tubes with ballast 10 x 58 W 10 x 58 W (25000 switching cycles)
  • Page 299: A.9 Switching Capacity And Service Life Of The Relay Outputs

    Technical data A.9 Switching capacity and service life of the relay outputs Ohmic load Switching cycles/million 12/24 V AC/DC Maximum 10 A 115/120 V AC Maximum 10 A 230/240 V AC Maximum 10 A 120 V DC Maximum 0.2 A 240 V DC Maximum 0.1 A Switched current/A...
  • Page 300: A.10 Technical Data: Logo! Am 2

    Technical data A.10 Technical data: LOGO! AM 2 LOGO! AM 2 Power supply Input voltage 12/24 V DC Permissible range 10.8 ... 28.8 V DC Power consumption 25 ... 50 mA Voltage failure buffering typ. 5 ms Power loss at 12 V 0.3 ...
  • Page 301: A.11 Technical Data: Logo! Am 2 Pt100

    Technical data A.11 Technical data: LOGO! AM 2 PT100 LOGO! AM 2 PT100 Power supply Input voltage 12/24 V DC Permissible range 10.8 ... 28.8 V DC Power consumption 25 ... 50 mA Voltage failure buffering typ. 5 ms Power loss at 12 V 0.3 ...
  • Page 302 Technical data LOGO! AM 2 PT100 Curve linearization Measuring current Ic 1.1 mA Measurement rate depends on the installation typical: 50 ms Resolution 0.25 °C Error limits of the final measured value: 0 °C ... +200 °C +/– 1.0 % -50 °C ...
  • Page 303: A.12 Technical Data: Logo! Am 2 Aq

    Technical data A.12 Technical data: LOGO! AM 2 AQ LOGO! AM 2 AQ Power supply Input voltage 24 V DC Permissible range 20.4 ... 28.8 V DC Power consumption 25 ... 50 mA Voltage failure buffering typ. 5 ms Power loss 0.6 ...
  • Page 304: A.13 Technical Data: Cm Eib/Knx

    Technical data A.13 Technical data: CM EIB/KNX CM EIB/KNX Mechanical data Dimensions (WxHxD) 36 x 90 x 55 mm Weight Approx. 107 g Installation on a 35 mm profile rail 2 module widths or wall mounting Power supply Input voltage 24 V AC/DC Permissible range –15% ...
  • Page 305 Technical data CM EIB/KNX Certification VDE 0631 IEC 61131-2 Overvoltage protection Slow-blowing fuse 80 mA (recommended) Electromagnetic compatibility (EMC) EMC requirements Complies with EN 61000-6-1 and EN 61000-6-2 Approval KNX/EIB certified UL 508 CE mark In accordance with the EMC guideline (residential and functional buildings), low voltage guideline LOGO! Manual...
  • Page 306: A.14 Technical Data: Logo!Power 12 V

    Technical data A.14 Technical data: LOGO!Power 12 V LOGO! Power 12 V is a primary-switched power supply unit for LOGO! devices. Two current ranges are available. LOGO! Power LOGO! Power 12 V / 1.9 A 12 V / 4.5 A...
  • Page 307 Technical data LOGO! Power LOGO! Power 12 V / 1.9 A 12 V / 4.5 A Safety Electrical isolation, primary/ Yes, SELV (to EN 60950 and EN 50178) secondary Safety class Protection mode IP 20 (to EN 60529) CE marking UL/cUL certification Yes;...
  • Page 308: A.15 Technical Data: Logo!Power 24 V

    Technical data A.15 Technical data: LOGO!Power 24 V LOGO! Power 24 V is a primary-switched power supply module for LOGO! devices. Two current ranges are avail- able. LOGO! Power LOGO! Power 24 V / 1.3 A 24 V / 2.5 A...
  • Page 309 Technical data LOGO! Power LOGO! Power 24 V / 1.3 A 24 V / 2.5 A Safety Electrical isolation, primary/ Yes, SELV (to EN 60950 and EN 50178) secondary Safety class Protection mode IP 20 (to EN 60529) CE marking UL/cUL certification Yes;...
  • Page 310: A.16 Technical Data: Logo! Contact 24/230

    Technical data A.16 Technical data: LOGO! Contact 24/230 LOGO! Contact 24 and LOGO! Contact 230 are switching modules for direct switching of ohmic loads up to 20 Amps and motors up to 4 kW (without noise emission, hum-free). LOGO! LOGO! Contact 24 Contact 230 Operating voltage...
  • Page 311: B Determining The Cycle Time

    B Determining the cycle time The program cycle is the complete execution of the circuit program, that is, primarily the reading in of the inputs, the processing of the circuit program and the subsequent read- ing out of the outputs. The cycle time is the time required to execute a circuit program once in full.
  • Page 312 Determining the cycle Press " On =1000 G_T=02:00s Off=0000 3. Now start the circuit program and switch LOGO! to pa- rameter assignment mode. In this mode, view the trigger parameters. On =1000 Off =0000 = total of measured pulses per timeb fa =0086 4.
  • Page 313: C Logo! Without Display

    Of advantage even for applications in which merely two or three conventional switching devices can be re- placed. Very easy to use. Access protected. Compatible to LOGO! versions with display. Offers the option to read data by means of LOGO!Soft Comfort. LOGO! Manual A5E00380835-01...
  • Page 314 Creating a circuit program without operator panel There are two ways to create a circuit program for a LOGO! without display: You create the circuit program with LOGO!Soft Comfort on your PC and then download it to the LOGO! (see Chapter 7).
  • Page 315 RUN. The green LED is lit when LOGO! is in RUN mode. Reading current data LOGO!Soft Comfort (see Chapter 7) provides an online test for reading the current data of all functions while the sys- tem is in RUN.
  • Page 316 LOGO! without display LOGO! Manual A5E00380835-01...
  • Page 317: D Logo! Menu Structure

    D LOGO! menu structure Menu overview >Program.. No Program Card.. Setup.. No Program Start Press ESC Circuit program is See “Main menu” busy (RUN) >Stop >Yes Set Param Parameter setting (Chapter 5.1.1 cont.) Mo 09:00 2005-01-27 Set.. Default values setting (Chapter 5.2 cont.) Prg Name Display of the program name See “Start menu“...
  • Page 318 LOGO! Menu structure Transfer menu (ESC / >Stop >Card) Copying the circuit program from LOGO! > –>Card to the program module (card) (Chapter 6.3) Copying the program from the program mod- >Card–> ule (card) to LOGO! (Chapter 6.4) Setting the program/copy protection >CopyProtect (Chapter 6.1) Setup menu (ESC / >Stop...
  • Page 319: E Order Numbers

    E Order numbers Table A Variant Designation Order number Basic LOGO! 12/24 RC * 6ED1052-1MD00-0BA5 LOGO! 24 * 6ED1052-1CC00-0BA5 LOGO! 24 RC (AC) 6ED1052-1HB00-0BA5 LOGO! 230 RC 6ED1052-1FB00-0BA5 Basic LOGO! 12/24 RCo * 6ED1052-2MD00-0BA5 without display LOGO! 24o * 6ED1052-2CC00-0BA5 (pure) LOGO! 24 RCo (AC) 6ED1052-2HB00-0BA5...
  • Page 320 Order numbers Table B Accessories Designation Order number Software LOGO!Soft Comfort V4.0 6ED1058-0BA00-0YA0 Upgrade to LOGO!Soft Comfort V4.0 6ED1058-0CA00-0YE0 Program mod- LOGO! Card 6ED1056-5CA00-0BA0 ule (card) Switching mod- LOGO!Contact 24 V 6ED1057-4CA00-0AA0 ules LOGO!Contact 230 V 6ED1057-4EA00-0AA0 Power modules LOGO!Power 12V/1.9A 6EP1321-1SH02 LOGO!Power 12V/4.5A...
  • Page 321: F Abbreviations

    F Abbreviations Analog module Block number B1 Block Number LOGO! device designation: integrated clock Communication Module Count = Counter input Connector Direction (of count, for example) Digital Module European Installation Bus EIB Interoperability Standard Enable = switching on (e.g. clock generators) ETS EIB Tool Software Input for frequency signals to be analyzed Basic Functions...
  • Page 322 Order numbers LOGO! Manual A5E00380835-01...
  • Page 323: Index

    Index Abbreviations, 313 Basic functions, 115 AND, 117 AM. See Analog module with edge, 118 Amplifier, analog, 196 NAND, 119 with edge, 120 Analog NOR, 122 comparator, 188 NOT, 123 values, 129 OR, 121 Analog amplifier, 196 XOR, 123 Analog differential trigger, 184 Basics on special functions, Analog module, 2, 9 BF, 111...
  • Page 324 Index Certification, 12 blank, 56 hi, 57 Character set, 79 inputs, 57 Circuit diagram, 63 lo, 57 LOGO!’s, 56 Circuit program, input, 72 open, 114 circuit program, 106 outputs, 57 deleting, 97 unused, 64 x, 56, 57, 64, 125 Circuit program name, assi- gning, 78 Constants, 112 Circuit programs...
  • Page 325 Index Display contrast, 243 Display view, 61 Gain, 129 Disposal, 13 GF, 115 DM8..See Digital module Golden rules, 66 Guidelines, 15 Earth connection, 31 Edge evaluation, 118, 120 Hiding, 91 Editing, 88 high-speed counting, 35 EIB bus Hours counter, 173 communication failure, 52 Reading the MN and OT va- communication states, 51...
  • Page 326 Drilling template, 29 Operating states, 49 Wall-mounting, 28 removing, 23 Multiple function switch, 158 Structure of, 5 switching on, 46 Versions, 10 wiring, 30 LOGO! menus, 68 Name, 78 LOGO! software, 257 NAND, 119 LOGO!Soft Comfort, 258 LOGO! Manual A5E00380835-01...
  • Page 327 Index Negation, 123 blank, 56, 113 of a BF input, 115 connecting, 40 of an input, 77 Digital outputs, 112 of an SF input, 132 Networking AS interface bus, 44 EIB bus, 43 Parameter, 236 NOR , 122 ’Set Param’, 235 Inputs, 126 NOT , 123 selecting, 237...
  • Page 328 Index switch, 46 Power supply, connecting, 30 Random generator, 153 Program memory, 106 Recycling, 13 Program chart, 62 Relay outputs, 40, 291 Program cycle, 303 service life, 291 Program module (card) switching capacity, 291 ’Card --> LOGO’, 255 Removal, 26 ’CopyProtect’, 248 Resources, 106 ’LOGO -->...
  • Page 329 Index Setup, 19 Relay, Latch, 198 Maximum setup, 19 relay, Pulse, 199 with different voltage classes, Shift register, 213 Softkey, 209 Switch SF, 111, 132 Comfort, 158 SFs, Delay, On, 136 Stairway lighting, 155 Threshold trigger, Frequency, Shift register, 213 Shift register bits, 56, 114 Timer Week, 161...
  • Page 330 Voltage supply, connecting, Cir- LOGO! DM8 230R, 273 cuit protection, 32 LOGO! DM8 24, 279 LOGO! DM8 24R, 285 LOGO!Contact, 302 LOGO!Power 12 V, 298 Threshold trigger, Frequencies, Weekday, 162 Weekly timer, 9, 163 Time, Accuracy of, 126 Examples, 164...
  • Page 331 Index Wiping relay edge triggered, 148 Pulse output, 146 Yearly timer, 166 Wire ferrules, 30 without display, 305 creating a circuit program, 53 PC-LOGO mode, 260 Zero offset, 129 reading current data, 307 XOR , 123 LOGO! Manual A5E00380835-01...
  • Page 332 Index LOGO! Manual A5E00380835-01...

Table of Contents