Siemens AG 2015SCE Training CurriculumLOGO! Logic Module Startup .com/sce
Siemens AG 2015siemens.com/logoLOGO! 8Simply ingenious. Simply more.The logic moduleA new design, new hardware, new software: The perfectintelligent logic module for switching and control tasks insmall-scale automation projects has launched the nextgeneration! With LOGO! 8, it is even faster, easier, andmore convenient to implement automation solutions forsimple machines or systems, in building automation, andfor applications in the private sector. This new LOGO! generation accommodates virtually every demand of customers with simplified handling. Impressive features include: Innovative LOGO! display: twice as many characters permessage for clear formulation of message texts andwith selectable backlighting, such as red, to opticallyemphasize the current alarm status Integrated Ethernet interface for the entire LOGO! 8product family: communication and networking areeasier than ever before Remote communication via cellular phone network:text message communications for easy alerts andremote control New external text display: more than twice as manycharacters as before and more options thanks to twoEthernet interfaces New backward-compatible software in a new design:ingeniously simple operation, configuration, and programming in single and network modeAnswers for industry.
Siemens AG 2015LOGO! Logic ModuleSCE Training CurriculumAdditional Module 900-010Edition 06/2015 Siemens AG 2015Additional Module 900-010LOGO! Startup 0BA0-0BA8
Siemens AG 2015SCE Training Curriculum Additional Module 900-010, Edition 06/2015 Digital Factory, DF FASuitable SCE Trainer Packages for this Training CurriculumLOGO! Controllers LOGO! 8 12/24V ETHERNET – set of 6Order no: 6ED1057-3SA20-0YA1 LOGO! 8 230V ETHERNET – set of 6Order no: 6ED1057-3SA20-0YB1 LOGO! 0AB6 12/24V – set of 5Order no: 6ED1057-3SA00-0YA1 LOGO! 0AB6 230V – set of 5Order no: 6ED1057-3SA00-0YB1 LOGO! 0AB6 PC cable – set of 4Order no: 6ED1057-3SA00-0YC0LOGO! HMI SIMATIC Basic Panel KTP 400 for LOGO! Ethernet (-0AB7) – set of 6Order no: 6AV2123-2DB03-0AA0 SIMATIC Basic Panel KTP 400 for LOGO! Ethernet (-0AB7) – set of 1Order no: 6AV2123-2DB03-0AA1Please note that these training packages are replaced with successor packages when necessary.An overview of the currently available SCE trainer packages is provided under: siemens.com/sce/tpSupplementary information for LOGO!Such as Web-based Training, Getting started, videos, tutorials, manuals and programming guidelines.siemens.com/sce/logoAdvanced TrainingFor regional Siemens SCE advanced training courses, please get in touch with your regional SCE contactperson. siemens.com/sce/contactAdditional information regarding SCEsiemens.com/sceInformation regarding usageThis SCE training curriculum for the end-to-end automation solution was prepared for the program "SiemensAutomation Cooperates with Education (SCE)" specifically for training purposes for public educational facilitiesand R&D facilities. Siemens AG does not guarantee the contents.This document is to be used only for initial training on Siemens products/systems, which means it can becopied entirely or partially and given to those being trained to use within the scope of their training. Distributingor copying this training curriculum and sharing its contents is permitted within public training and advancedtraining facilities for training purposes.Exceptions require written permission from the Siemens AG contact person: Roland s will require compensation for damages. All rights, including to the translation, are reserved,particularly if a patent is granted or a utility model or design is registered.Use for industrial customer courses is expressly prohibited. We do not consent to the training curriculums beingused commercially.We wish to thank the Michael Dziallas Engineering Corporation and all other involved persons for their supportduring the preparation of this training curriculum.2Unrestricted for use by Education / R & D Facilities. Siemens AG 2015. All Rights Reserved.
Siemens AG 2015SCE Training Curriculum Additional Module 900-010, Edition 06/2015 Digital Factory, DF FAContentPage:Preface . 4Notes on use of LOGO! logic modules . 6First steps with LOGO! 0BA0 – 0BA6 . 73.1 Connectors . 73.2 LOGO! connectors . 73.3 LOGO! knows the following connectors . 83.4 Blocks and block numbers . 83.5 Blocks . 83.6 Logical operations . 83.7 Display of blocks in LOGO! display. 93.8 Assignment of a block number . 93.9 The 4 golden rules of LOGO! operation . 103.10 Overview of LOGO! menus . 114. Example task: Plant gate control with LOGO! 0BA0 – 0BA6 . 124.1 Requirements on the gate control . 124.2 Wiring the gate control with LOGO! 12/24RC . 134.3 Used LOGO! components and connectors . 134.4 Function block diagram of LOGO! solution . 145. Program input into LOGO! 0BA0 – 0BA6 . 155.1 Changing to "Programming" mode . 155.2 LOGO! changes to the programming menu . 155.3 Entering the program . 165.4 Parameter assignment of a block . 175.5 Switch LOGO! to RUN . 206. LOGO! software for LOGO! 0BA0 – 0BA8 . 226.1 LOGO!Soft Comfort. 226.2 Connecting LOGO! with a PC . 237. Commissioning a LOGO! 0BA7 with LOGO!Soft Comfort V7.1 . 277.1 Setting the IP address of LOGO! 0BA7 . 277.2 Creating the circuit program . 317.3 Simulation of the circuit . 397.4 Online test . 418. Commissioning a LOGO! 0BA8 with LOGO!Soft Comfort V8.0 . 428.1 Setting the IP address on LOGO! 0BA8 . 428.2 LOGO!Soft Comfort V8.0 . 428.3 User interface of LOGO!Soft Comfort V8.0. 439. PROJECT PLANT GATE CONTROL WITH LOGO!SOFT COMFORT V8.0 AND LOGO! 0BA8 . 459.1 Starting LOGO!Soft Comfort V8.0 and adding LOGO! 0BA8 . 459.2 LOGO! 0BA8 settings. 479.3 Entering input/output names . 499.4 Entering a program in the Diagram Editor . 509.5 Simulation of the circuit . 579.6 Transferring the tested program to LOGO! . 599.7 Online test . 6010. Additional information . 601.2.3.Unrestricted for use by Education / R & D Facilities. Siemens AG 2015. All Rights Reserved.3
Siemens AG 2015SCE Training Curriculum Additional Module 900-010, Edition 06/2015 Digital Factory, DF FA1.PREFACEThe contents of the module SCE EN 900-010 are associated with the training unit basics of LOGO!programming and represent a Quick Start to the handling of LOGO! logic modules 0BA3 to 0BA7and programming with the LOGO!Soft Comfort software.Basics of LOGOProgrammingModule 900Training Objective:The reader is to learn about the main functions of the LOGO! logic module in this module.Typical tasks are explained by using a sample task and processed in a project in the following steps: 4Creating a program for the LOGO! logic moduleTesting the task in LOGO! RUN modeSetting the IP addressSetting the interface with the LOGO! softwareProgramming the task with the LOGO! softwareSimulating the task with the LOGO! softwareOnline test of the task with the LOGO! softwareUnrestricted for use by Education / R & D Facilities. Siemens AG 2015. All Rights Reserved.
Siemens AG 2015SCE Training Curriculum Additional Module 900-010, Edition 06/2015 Digital Factory, DF FARequirements:To successfully work through this module, the following knowledge is assumed: Proficiency in working with WindowsHardware and software needed123456PC as of Pentium III, operating system as of Windows 7 Home, network cardLOGO!Soft Comfort Version 7.1 software (LOGO! 0BA8 requires Version 8.0)LOGO! logic module 0BA0 – 0BA6 (alternatively)LOGO! PC cable (alternatively)LOGO! logic module 0BA7 – 0BA8 with Ethernet interface (alternatively)Ethernet cable (alternatively)1 PC2 LOGO!Soft Comfort6 Ethernet cable4 LOGO! PC cable3 LOGO!12/24RC0BA0 - 0BA6Unrestricted for use by Education / R & D Facilities. Siemens AG 2015. All Rights Reserved.5 LOGO!12/24RC0BA7 – 0BA8 with Ethernetinterface5
Siemens AG 2015SCE Training Curriculum Additional Module 900-010, Edition 06/2015 Digital Factory, DF FA2.NOTES ON USE OF LOGO! LOGIC MODULESLOGO! is the universal logic module from Siemens.LOGO! integrates the controller with operator control and display unit. You can use the LOGO!operator control and display unit to create programs, edit and execute system functions.You can use an interface or a PC cable from the LOGO! SOFT programming software to read in anexternal program from a program module. In addition to creating a program, you can use LOGO!SOFT to simulate your circuit on the computer or print out overview diagrams.Depending on the device type, the LOGO! logic modules already include ready-to-use basicfunctions, such as delayed ON, delayed OFF and current impulse relay, time switch, binary bitmemory, as well as inputs and outputs.You solve tasks with LOGO!:-in home and installation technology (e.g. stairway lighting, outside lighting, awnings, shutters,show window lighting and much more),-in control cabinet installation and machine and apparatus design (e.g. gate controls, ventilationsystems, industrial water pumps and much more).LOGO! can also be used for special controllers for signal pre-processing.By connecting the LOGO! module to the AS–Interface, it can be used as I/O with its own intelligenceto control machines and processes on-site. This means you can execute control tasks in the LOGO!logic module and reduce the load on the master controller by doing so.There are special versions without operating unit for serial applications in small machine andapparatus engineering, in control cabinet installation and the installation area. These must bedownloaded afterwards by means of a program module or with the LOGO! SOFT PC software.6Unrestricted for use by Education / R & D Facilities. Siemens AG 2015. All Rights Reserved.
Siemens AG 2015SCE Training Curriculum Additional Module 900-010, Edition 06/2015 Digital Factory, DF FA3.FIRST STEPS WITH LOGO! 0BA0 – 0BA6Programming is defined as entering a circuit. A LOGO! program is actually nothing more than acircuit diagram in a somewhat different layout.We have adapted the display to match the LOGO! display panel. In this chapter we will show youhow to use LOGO! to turn your applications into LOGO! programs.We start out by introducing you to the two basic terms Connector and Block and show you whatthey mean.In a second step we will show you how to develop a program from a simple conventional circuitwhich you can enter directly into LOGO! in the third step.After working through only a few pages of the manual, your first program will be saved and ready torun in LOGO!. You will be able to conduct your first tests with the matching hardware (switches.).3.1ConnectorsLOGO! has inputs and outputs:InputsOutputsAnalog InputsThe inputs are specified with the letter I and a number. When you look at LOGO! from the front, youcan see the connectors for the inputs at the top. Only with analog modules LOGO! AM2 and AM2PT100 are the analog inputs on the bottom. The outputs are specified with the letter Q and anumber. The connectors of the outputs can be seen at the bottom in the figure.3.2LOGO! connectorsWe refer to all connections and states used in LOGO! as connectors. The inputs and outputs canhave the status '0' or the status '1'. Status '0' means that there is no voltage at the input; status '1'means that voltage is present. But you probably already know this. We have introduced theconnectors hi, lo and x to make it easier for you to input the program. 'hi' (high) has the fixed status'1'. 'lo' (low) has the fixed status '0'. If you do not want to activate an input of a block, use theconnector 'x'. You will find out what a block is on the next page.Unrestricted for use by Education / R & D Facilities. Siemens AG 2015. All Rights Reserved.7
Siemens AG 2015SCE Training Curriculum Additional Module 900-010, Edition 06/2015 Digital Factory, DF FA3.3LOGO! knows the following connectorsConnectorsDMLOGO! 0BA6InputsAMAM2AQLOGO!0BA7LOGO! 230RCELOGO! 230RC/RCoLOGO! 24RC/RCoTwo groups:I1 to I4 and I5 to I8LOGO! 12/24RCELOGO! 12/24RC/RCoLOGO! 24/24oLOGO! 24C/24CoI9 to I24 AI5 toI1, I2, I3-I6, I7, I8AI3, AI4 . AI1, AI2Al8OutputsQ1 to Q4loLogical '0' signals (off)hiLogical '1' signals (on)XAn existing connection that is not usedFlagsDigital flags: M1 to M27I9 to I24 AI1 toAI8Q5 toQ16nonenoneAQ1,AQ2Analog flags:AM1 to AM6 (0BA6)AM1 to AM 16 (0BA7)Shift register bitsS1 to S8 (0BA6)S1.1 to S4.8 (0BA7)Network inputs1)NI1 to NI64 (0BA7 only)NAI1 to NAI32 (0BA7 only)Network analog1)inputsNetwork outputs1)Network analog1)outputsNQ1 to NQ64 (0BA7 only)NAQ1 to NAQ16 (0BA7 only)DM: Digital moduleAM: Analog module3.4Blocks and block numbersIn this chapter we will show you how to use the LOGO! elements to create comprehensive circuitsand how you can link the blocks with each other and with the inputs and outputs.3.5BlocksIn LOGO! a block is a function that converts the input information into output information. In the past,you had to wire the individual elements in the control cabinet or the terminal box. For programming,you connect the connectors with blocks. You simply select the required connector from the Co menu.The Co menu is named for the English term "connector".3.6Logical operationsThe simplest blocks are logical operations (e.g., AND, OR).Here the inputs I1 and I2 are connected tothe OR block. The last two inputs of theblock are not used and therefore occupiedwith x.The special functions are much more powerful (e.g., current impulse relay counters timers)8Unrestricted for use by Education / R & D Facilities. Siemens AG 2015. All Rights Reserved.
Siemens AG 2015SCE Training Curriculum Additional Module 900-010, Edition 06/2015 Digital Factory, DF FA3.7Display of blocks in LOGO! displayThe figure below shows a typical LOGO! display. Only one block can be displayed at the time. This iswhy we have introduced block numbers to help you control the circuit structure.View of the LOGO! displayBlock number –assigned by LOGO!Another block isconnected at this pointOutputInputThis connector is notrequiredBlock3.8Assignment of a block numberEvery time you insert a block into a program, LOGO! assigns a block number to this block. LOGO!uses the block number to show you the interconnection between blocks.The block numbers are initially only for your orientation in the circuit program.Block numbersThese blocks areinterconnectedThe overview screen shows you the three LOGO! displays that together make up the circuit program.As you can see, LOGO! interconnects the blocks with each other by using the block numbers.Unrestricted for use by Education / R & D Facilities. Siemens AG 2015. All Rights Reserved.9
Siemens AG 2015SCE Training Curriculum Additional Module 900-010, Edition 06/2015 Digital Factory, DF FA3.9The 4 golden rules of LOGO! operationRule 1 - Changing the operating modeYou create the circuit program in the Programming mode.After a Power on and "No Program / Press ESC" on the display, you press ESC to enterProgramming mode.You can change the time values and parameter values of an existing circuit program in theParameter assignment and Programming modes.LOGO! is in RUN mode during parameter assignment, which means the circuit program is still beingprocessed. You must stop the processing of the circuit program for programming with the "Stop"command. You get to RUN mode with the menu item 'Start' in the main menu. Press ESC in RUNmode to return to the Parameter assignment mode. If you are in Parameter assignment modeand want to return to Programming mode, run the "Stop" command in the parameter assignmentmenu and answer with "Yes" for "Stop Prg" by moving the cursor to "Yes" and pressing OK.Rule 2 - Outputs and inputsYou always enter a circuit from the output to the input.You can connect an output with several inputs but not connect several outputs to one input. Youcannot connect an output with a preceding input within a program path. You need to interconnect bitmemories or outputs for such internal feedback.Rule 3 - Cursor and cursor movementThe following applies when entering a circuit:You can move the cursor when it is shown as underscore.– you move the cursor in the circuit with the , , or keys– you change to "Select connector/block" with OK– you exit entering the circuit with ESCIf the cursor is displayed as solid block, you must select a connector/block.– you select a connector/block with the or keys– you apply the selection with OK– you go back one step with ESCRule 4 – PlanningBefore you enter a circuit, you plan it completely on paper or program LOGO! directly withLOGO!Soft or LOGO!Soft Comfort. LOGO! can only save complete programs.If a circuit has not been entered completely, LOGO! cannot exit the Programming mode.10Unrestricted for use by Education / R & D Facilities. Siemens AG 2015. All Rights Reserved.
Siemens AG 2015SCE Training Curriculum Additional Module 900-010, Edition 06/2015 Digital Factory, DF FA3.10Overview of LOGO! menusProgramming modeMain menuProgramming menuTransfer menuSetup menuParameter assignment modeParameter assignment menuNoteAs of logic module 0BA6 you can set the menu language (e.g., to English).Unrestricted for use by Education / R & D Facilities. Siemens AG 2015. All Rights Reserved.11
Siemens AG 2015SCE Training Curriculum Additional Module 900-010, Edition 06/2015 Digital Factory, DF FA4.EXAMPLE TASK: PLANT GATE CONTROL WITH LOGO! 0BA0 – 0BA6You can usually enter a plant site through several gates. It must be ensured that the gate can beopened and closed from inside the vehicle by pressing buttons on the gate itself or by using pullcords.A LOGO!12/24RC is used for each gate.We describe a gate control for one gate in this section. The other gate controls have the samedesign.Safety pressure strip4.1Warning lightRequirements on the gate controlEach gate is opened or closed by means of a cord switch. The gate is opened or closed completelyin the process.Each gate can also be opened or closed locally by a button in jog mode.A warning light is active 5 seconds before the start and while the gate is moving.A safety pressure strip ensures that people are not injured and that no objects are trapped anddamaged when the gate is closing.12Unrestricted for use by Education / R & D Facilities. Siemens AG 2015. All Rights Reserved.
Siemens AG 2015SCE Training Curriculum Additional Module 900-010, Edition 06/2015 Digital Factory, DF FA4.2Wiring the gate control with LOGO! 12/24RCopen gate4.3close gatewarning lightUsed LOGO! components and connectorsK1 at Q1 main contactor openingK2 at Q2 main contactor closingH1 at Q3 warning lightS0 at I1 cord switch OPEN-GATE NOS1 at I2 cord switch CLOSE-GATE NOS2 at I3 pushbutton OPEN-GATE-MANUAL NOS3 at I4 pushbutton CLOSE-GATE-MANUAL NOS4 at I5 position switch GATE IS OPENED NCS5 at I6 position switch GATE IS CLOSED NCS6 at I7 safety pressure strip NCUnrestricted for use by Education / R & D Facilities. Siemens AG 2015. All Rights Reserved.13
Siemens AG 2015SCE Training Curriculum Additional Module 900-010, Edition 06/2015 Digital Factory, DF FA4.4Function block diagram of LOGO! solutionThe cord switch "OPEN GATE" or "CLOSE GATE" initiates the movement of the gate if theopposite direction is not switched on. The travel ends when the respective limit switch is reached.The closing process is also interrupted by the safety pressure strip.The movement of the gate is controlled in jog mode by the pushbuttons "OPEN GATE MANUAL" or"CLOSE GATE MANUAL". The travel ends when the pushbutton is released or when the respectivelimit switch is reached. The closing process of the gate is also interrupted by the safety pressurestrip.A warning light is active 5 seconds before the start and while the gate is moving.14Unrestricted for use by Education / R & D Facilities. Siemens AG 2015. All Rights Reserved.
Siemens AG 2015SCE Training Curriculum Additional Module 900-010, Edition 06/2015 Digital Factory, DF FA5.PROGRAM INPUT INTO LOGO! 0BA0 – 0BA6You have designed a circuit and now you would like to enter it in LOGO!. We use a program input toshow you to do just that.5.1Changing to "Programming" modeYou have connected LOGO! to the power supply and switched on the voltage. The display looks asfollows:Switch LOGO! to programming mode.You do this by pressing ESC. The LOGO! main menu opens.LOGO! main menu:The first character of the first line is a " ".Use the cursor keys ( , ) to move the " " up and down.Move the " " to "Program." and press OK.LOGO! programming menu:Here you can also use the cursor keys ( , ) to move the " ". Set the " " to"Edit." (for editing, i.e., entering) and press OK.LOGO! edit menu:Set the " " to "Edit Prg" (for editing circuit program) and press OK.5.2LOGO! changes to the programming menuLOGO! programming mode:LOGO! only shows you the first output:Use the cursor keys ( , ) to select the other outputs.Now you can start entering your circuit.Unrestricted for use by Education / R & D Facilities. Siemens AG 2015. All Rights Reserved.15
Siemens AG 2015SCE Training Curriculum Additional Module 900-010, Edition 06/2015 Digital Factory, DF FA5.3Entering the programNow we enter the program (from output to input). LOGO! starts by displaying output Q1:The first LOGO! outputThe cursor shows you whereyou are in the program.You see an underscore below the Q of Q1. We call the underscore cursor. The cursor shows youwhere you currently are in the program. You can move the cursor with the cursor keys. Press thebutton Cursor to the left.Here you enter the first block. Change to input mode by pressing OK.The cursor is displayed as asolid block: You can select aconnector or a block.The SF list includes theblocks for specialThe cursor is no longer an underscore but flashes as solid block. LOGO! offers you differentselections at the same time. Select SF (press the Cursor down button until SF is displayed) andpress OK. LOGO! now shows you the first block from the list of special functions (SF):TrgParQ1LOGO! shows the block of the function when youselect a block for a special or basic function. Thecursor is located in the block in form of a solidblock. Use the or keys to select the requiredblock.Confirm your selection with OK.The block for the on-delay has two inputs. The input on top is the trigger input (Trg). Use this inputto start the on-delay. The on-delay is started by OR block B2 in our example. Use the parameterinput (Par) to set the time for the on-delay.NoteIdentify the individual logical functions on the function block diagram with the block numbers of yourLOGO! program.This makes for easier troubleshooting or editing of the program.16Unrestricted for use by Education / R & D Facilities. Siemens AG 2015. All Rights Reserved.
Siemens AG 2015SCE Training Curriculum Additional Module 900-010, Edition 06/2015 Digital Factory, DF FA5.4Parameter assignment of a blockNow enter the time T for the on-delay:1. If the cursor is not yet under the Par, use the cursor keys to move it under the Par.2. Change to input mode: Press OK.LOGO! displays the parameter window for parameters:" " means: The parameter isdisplayed in parameterassignment mode where it canalso be edited. "R" means:Retentivity is enabled for thisblock.T: The parameterof block B2 is atime.Time valueUnit of time (timebase)How to change the time value: Use the and keys to move the cursor back and forth. Use the and keys to change the value at that point. Once you have entered the time value, press OK.Move the cursor under the B of B1 (B1 is the block number of the time block).Press the Cursor to the left button two more times to position it under Trg.TrgParQ1Press OK.Use the Cursor down key to select GF for basic functions.Confirm with OK (block B2 is displayed).The first block from the list of basicfunctions is AND. The cursor is displayedas solid block and indicates that you haveto select a block.Use the Cursor down key to select an OR (OR function).Click OK to confirm.Unrestricted for use by Education / R & D Facilities. Siemens AG 2015. All Rights Reserved.17
Siemens AG 2015SCE Training Curriculum Additional Module 900-010, Edition 06/2015 Digital Factory, DF FAPress OK at the first input of the OR block (CO is displayed) and then OK once again (I1 appearsand the I flashes). Now press the Cursor up button three times until you see an x. Confirm yourselection with OK. This is how you enter an x for a position not in use. The cursor jumps to thesecond input of the OR block.Press OK at the second input and change to SF for special functions with Cursor down.Confirm your selection with OK.Use the cursor keys ( , ) to select an RS memory and confirm with OK.You are now in block B3.Enter an AND block (And function) at the set input of the memory with OK, Cursor down to GFfor basic functions and OK again.Confirm your selection with OK.You are now in block B4.At the first input of the AND block, enter the input I5 with OK (CO appears) and OK once again (I1appears) and the cursor keys ( , ).Click OK to confirm.
5 LOGO! logic module 0BA7 – 0BA8 with Ethernet interface (alternatively) 6 Ethernet cable (alternatively) 3 LOGO!12/24RC 0BA0 - 0BA6 2 LOGO!Soft Comfort 1 . After working through only a few pages of the manual, your first program will be saved and ready to run in LOGO!. You will be able t