Transcription

––––SCE Training CurriculumSiemens Automation Cooperates with Education 05/2016Additional Module 900-011LOGO! 0BA8 StartupFor unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FASuitable SCE trainer packages to accompany these training curriculumsLOGO! Controllers LOGO! 8 12/24V ETHERNET – set of 6Order no.: 6ED1057-3SA20-0YA1 LOGO! 8 230V ETHERNET – set of 6Order no.: 6ED1057-3SA20-0YB1Note that these trainer packages will be replaced with successor packages when required.You can find an overview of the currently available SCE packages at: siemens.com/sce/tpFurther educationFor further Siemens SCE education opportunities in your region, get in touch with your regional SCEcontact siemens.com/sce/contactFurther information on SCEsiemens.com/sceNotes on useThis SCE training curriculum for the integrated automation solution Totally Integrated Automation (TIA)was prepared for the program "Siemens Automation Cooperates with Education (SCE)" specifically fortraining purposes for public educational and R&D institutions. Siemens AG assumes no responsibility forthe content.This curriculum may be used only for initial education with respect to Siemens products/systems. That is,it may be copied in part or in whole and handed out to trainees for use within the framework of theireducation. Transmission and reproduction of this curriculum as well as communication of its content ispermitted within public educational institutions for educational purposes.Exceptions require written ensAGcontact:RolandScheuererParties breaching this provision shall be liable for damages. All rights reserved, including those relating totranslation and in particular those rights created as a result of a patent being granted or utility modelbeing registered.Use for industry customers is expressly prohibited. Commercial use of the curriculum is not permitted.We would like to thank Michael Dziallas Engineering and all those involved for their support in creatingthis SCE training curriculum.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx2

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FATABLE OF CONTENTS1Objective . 52Requirement . 53Theory . 53.1Information about the use of LOGO! 0BA8 . 53.2Setting the IP address of the LOGO! 0BA8 . 63.3LOGO!Soft Comfort V8.0 . 63.3.1Programming interface . 73.3.2Project interface . 84Task: Factory gate control with LOGO! 0BA8 . 95Planning . 9675.1Technology schematic diagram . 105.2Reference table . 11Structured step-by-step instructions . 126.1Starting LOGO!Soft Comfort V8.0 and adding LOGO! 0BA8 . 126.2LOGO! 0BA8 settings . 146.3Entering input/output names . 166.4Entering a program in the Diagram Editor . 176.4.1Inserting blocks . 176.4.2Aligning blocks . 186.4.3Setting parameters . 216.4.4Connecting blocks . 236.4.5Saving the finished circuit diagram of the gate control as a network project . 236.5Simulation of the circuit . 246.6Transferring the tested program to LOGO! . 266.7Online test . 276.8Checklist . 28Task: Message text . 297.1Task . 297.2Insert message texts . 29For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx3

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA897.3Enter message text . 307.4Assign backlighting of the message text . 327.5Simulation of the message texts . 337.6Online test of the message texts . 347.7"Message text" checklist . 35Displaying message texts via a Web browser . 368.1Activating the Web server in LOGO! . 368.2LOGO! in the Web browser . 39Additional information . 41For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx4

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA1 ObjectiveThe SCE EN 900-011 module provides a quick introduction to the handling of LOGO! 0BA8 logicmodules and programming with the LOGO!Soft Comfort V8.0 software.2 RequirementNothing is required from other chapters to successfully complete this chapter.3 Theory3.1 Information about the use of LOGO! 0BA8LOGO! is the universal logic module of Siemens.The LOGO! logic module has an integrated controller with operator control and display unit. Youcan use the operator control and display unit of LOGO! to create and edit programs and executesystem functions.You can read in external programs from a program module via the Ethernet interface or a PCcable with the LOGO!Soft Comfort programming software. You can use LOGO!Soft Comfort notonly to create a program but also to simulate your circuit on the computer and to output overviewdiagrams to a printer.Depending on the device type, ready-made commonly-used basic functions, e.g. for delayedswitch-on and switch-off, for current-impulse relay, time switch, and binary bit memory and forinputs and outputs, are already contained in the LOGO! logic modules.With LOGO! you solve tasks for–home automation and installation engineering (e.g. stairway lighting, outside lighting,awnings, roller shutters, show window lighting and much more)–manufacture of control cabinets, machines and equipment (e.g. gate controls,ventilation systems, industrial water pumps and much more)LOGO! can also be used for special-purpose control for signal pre-processing.When connected to AS-Interface, LOGO! can be used as distributed I/O with local intelligence forcontrol of machines and processes. This enables the LOGO! logic module to perform controltasks and reduce the load on the master controller.For series applications in small machine and equipment manufacturing, control cabinetmanufacturing, and installation engineering, special versions without operator control unit areavailable. A program module or the LOGO!Soft Comfort PC software is required for downloadingto these modules.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx5

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA3.2 Setting the IP address of the LOGO! 0BA8With the LOGO! 0BA8 in Stop mode, navigate to the Network menu command. Youcan find the settings for the IP address, subnet mask and gateway here.Use the cursor or OK to enter Edit mode of the network settings. Assign thenetwork settings according to the information from your network ard IP – AddressSet M / S ModeOKOKIP – Address192.168.000.001 Subnet Mask255.255.255.000 Gateway000.000.000.000 Note:In the rows with the or symbol, you can also navigate using the cursor key.3.3 LOGO!Soft Comfort V8.0The software provides a completely new user interface with the following functions: Consistent application menu display New network project-based work strategy Split display for diagram mode and network mode Split display for "Standard" toolbar in the general software interface, "Tool" toolbar isdisplayed in diagram mode and "Network" toolbar in project mode. Split window display with focus switching and drag-and-drop capability Work on a network project enables saving, downloading, creating and closing of the networkproject. New access control settings for online access with various access possibilities Ability to create connections by configuring NI and NQ function blocks New graphic reference for the function block in the parameter field in FBD diagrams Ability to configure the screen display for messages, start screen and flags with 4 lines forLOGO! devices before 0BA8 and 6 lines for LOGO! devices starting from 0BA8 Enhanced system security by assignment of user passwords and access levels in the accesscontrol settingsFor unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx6

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA3.3.1 Programming interfaceProgramming mode in LOGO!Soft Comfort starts with an empty diagram.The majority of the screen is taken up by the user interface for creating the circuit diagram – inother words, the programming interface. The symbols and logic operations of the circuit programare arranged on this programming interface.To help you maintain an overview of more extensive circuit programs, scroll bars are providedbelow and to the right of the programming interface, which can be used to scroll horizontally andvertically in the control program.① Menu bar⑤ Programming interface② "Standard" toolbar⑥ Status bar③ Mode bar⑦ Diagram tree④ "Tool" toolbar⑧ Operation treeFor unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx7

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA3.3.2 Project interfaceThe LOGO!Soft Comfort project interface displays a network view with the devices and networkconnections.After you select "Add New Device", the Diagram Editor window appears.Only LOGO! devices starting from 0BA7 can be programmed in a network project.The Diagram Editor displays the program blocks and logic operations of the circuit program. Thecircuit program is initially empty.To help you maintain an overview of more extensive circuit projects and programs, scroll bars areprovided below and to the right of the network view and programming interface. They can beused to scroll horizontally and vertically in the control program.① Menu bar⑥ "Tool" toolbar② "Standard" toolbar⑦ Programming interface③ Mode bar⑧ Status bar④ "Network" toolbar⑨ Diagram tree⑤ Network view⑩ Operation treeFor unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx8

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA4 Task: Factory gate control with LOGO! 0BA8It is often possible to access a company's premises at more than one location. At each accesspoint, it must be ensured that the gate can be opened and closed using pushbuttons directly on thegate or pull cords from the vehicle.5 PlanningA LOGO! OBA8 is used for the control.The gate is opened or closed using a cord-operated switch. The gate is fully opened or closed inthis case.In addition, every gate can be opened and closed locally in jog mode using pushbuttons.A flashing light is activated 5 seconds before the gate movement starts and continues during thegate movement.A safety pressure strip ensures that no persons are injured and no objects are caught anddamaged when the gate closes.Safety pressure stripFor unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docxWarning light9

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA5.1 Technology schematic diagramHere you see the technology schematic diagram with the wiring for the task.Open gateClose gate Warning lightFigure 1: Technology schematic diagramFor unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx10

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA5.2 Reference tableThe following signals are required for this task.DIIDI1-S0OPEN GATE cord switchNOI2-S1CLOSE GATE cord switchNOI3-S2OPEN GATE pushbuttonNOI4-S3CLOSE GATE pushbuttonNOI5-S4GATE IS OPENED position switchNCI6-S5GATE IS CLOSED position switchNCI7-S6Safety pressure stripNCDOIDQ1-K1Contactor open gateQ1-K2Contactor close gateQ3-H1Warning lightFunctionNC/NOFunctionLegend for reference listDIDigital inputDODigital outputIInputQOutputNCNormally ClosedNONormally OpenFor unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx11

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA6 Structured step-by-step instructionsYou can find instructions on how to perform planning below. If you already have a goodunderstanding of everything, it is sufficient to focus on the numbered steps. Otherwise, simplyfollow the steps of the instructions illustrated below.6.1 Starting LOGO!Soft Comfort V8.0 and adding LOGO! 0BA8 Start the LOGO!Soft Comfort V8.0 software. The LOGO!Soft Comfort software opens in diagram mode.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx12

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA Click the Network project tab. Click on "Add New Device" in the Network view. In the device selection window, select LOGO! 0BA8. Enter the network settings under Configuration. Confirm your selection with OK.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx13

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA6.2 LOGO! 0BA8 settings Open the LOGO! settings by double-clicking on Settings. All offline/online settings of LOGO! 0BA8 can be edited here.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx14

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA I/O settings for the configuration of the analog terminals. I/O names for designating the input and output terminals. Close the LOGO! settings window with OK.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx15

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA6.3 Entering input/output names You can also open the I/O names window via the Edit menu. Enter the I/O names of the factory gate control and close the window with OK.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx16

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA6.4 Entering a program in the Diagram Editor6.4.1 Inserting blocks Minimize the network view. Right-click the name of the diagram and select "Rename".Then change the name to gate control. Using drag-and-drop, move 7 inputs to the programming interface and place them inthe following order from top to bottom: I1, I3, I5, I2, I4, I6 and I7.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx17

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA6.4.2 Aligning blocks Select the inserted inputs using Ctrl click. Click the Align vertically button.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx18

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA Click the Space vertically button and enter 50 for the distance value. Confirm with OK.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx19

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA Move the Q1, Q2 and Q3 outputs to the programming interface using drag-and-drop. Select the inserted outputs using Ctrl click. Click the Align vertically button. Click the Space vertically button. Enter 200 for the distance value. Confirm with OK.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx20

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA6.4.3 Setting parameters Using drag-and-drop, place an On-delay in front of output Q1. Double-click on B001 (On-delay) and set the time to 5 seconds.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx21

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA The block functions in the programming interface can be shown using buttons. Place the remaining blocks B002 to B016 and set the times for B007 and B016.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx22

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA6.4.4 Connecting blocks To complete the circuit, the individual blocks still have to be connected to one another.For this purpose, select thebutton for the block connection in the Tool toolbar.6.4.5 Saving the finished circuit diagram of the gate control as a networkproject To save, click the diskette buttonand enter gate control for the file name.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx23

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA6.5 Simulation of the circuitProgram simulation allows you to test a circuit program and change its parameter assignment.In this way you can ensure that you transfer a functional and optimized circuit program to yourLOGO! The input signals should be preset for the simulation. Double-click on input I1. Go to the Simulation tab and select Momentary pushbutton (make). Also set inputs I2, I3 and I4 to Momentary pushbutton (make) under Simulation. Double-click on input I5. Go the Simulation tab and select the Momentary pushbutton (break). Also set inputs I6 and I7 to Momentary pushbutton (break) under Simulation. Save your circuit diagram.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx24

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA To start the simulation, click the simulation buttonin the Tool toolbar. You arethen in simulation mode.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx25

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA6.6 Transferring the tested program to LOGO! Once you have tested your program with LOGO!Soft Comfort simulation, you cantransfer it from PC - LOGO! with the Click the Refresh buttonbutton.to display the accessible LOGO! devices. Confirm the next window with OK or Yes.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx26

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA6.7 Online test With the online test button, the circuit program can be tested in connection with theLOGO!. The states of the inputs and outputs and logic operations are displayed. Click the Online test buttonto start monitoring.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx27

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA6.8 ChecklistNo.Description1Project created2LOGO! controller detected and entered in the project3Successful download of the program to the LOGO! without error message4Actuate open gate cord switch (I1 1), warning light flashes Q3 0-1-0-15After 5 s, the gate opens (I6 1) Q1 16Gate is opened (I5 0) Q1 0, Q3 07Actuate close gate cord switch (I2 1), warning light flashes Q3 0-1-0-18After 5 s, the gate closes (I5 1) Q2 19Gate is closed (I6 0) Q2 0, Q3 010Actuate open gate pushbutton (I3 1), warning light flashes Q3 0-1-0-111After 5 s, the gate opens (I6 1) Q1 112Release open gate pushbutton (I3 0) Q1 0, Q3 013Actuate pushbutton close gate (I4 1), warning light flashes Q3 0-1-0-114After 5 s, the gate closes (I5 1) Q2 115Release close gate pushbutton (I4 0) Q2 0, Q3 016Actuate close gate cord switch (I2 1), warning light flashes Q3 0-1-0-117After 5 s, the gate closes (I5 1) Q2 118Actuate safety strip (I7 0)19Gate stops Q2 0, Q3 020Actuate pushbutton close gate (I4 1), warning light flashes Q3 0-1-0-121After 5 s, the gate closes (I5 1) Q2 122Actuate safety strip (I7 0)23Gate stops Q2 0, Q3 0For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docxCompleted28

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA7 Task: Message text7.1 TaskIn this task, you expand the gate control program to include a message text function. Theexpanded diagram is to be planned, programmed and tested. In addition, the status of thegate will be displayed on the LOGO! display. In order for the message text to also bedisplayed via a Web browser, the Web browser is selected as an additional messagedestination.7.2 Insert message textsYou can use drag-and-drop to move message texts under Miscellaneous to the diagram andinterconnect them. Move two message texts to the programming interface. Interconnect the message texts with input I6 (gate is closed NC) Negate the interconnection at block B017.Note:The message text in the block: B017 is displayed when the gate is closed. In contrast, B018 appears when the gate is open.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx29

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA7.3 Enter message text Double-click on message text block B017. The window for parameter assignment ofthe message text opens.Each message text has a priority. If multiple message texts are pending, the text with thehigher priority is always displayed. Select LOGO! display and Web server as message destinations. Enter gate closed as the message text. Click OK to close the window.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx30

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA Double-click on message text block B018. The window for parameter assignment ofthe message text opens. Select LOGO! display and Web server as message destinations. Enter gate open as the message text. Click OK to close the window.Note:Information on further use of message texts can be found in the online help.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx31

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA7.4 Assign backlighting of the message textBacklighting on the LOGO! display can be specified using flags. Set flag 25 for white backlighting after the message text (B017) and flag 28 for yellowbacklighting after the message text (B018).Note:The output of the message text block must be interconnected. Alternatively, you can alsointerconnect an open terminal here.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx32

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA7.5 Simulation of the message texts To start the simulation, click the simulationicon in the Tool toolbar. You are thenin simulation mode.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx33

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA7.6 Online test of the message textsYou can use the Adjust message text buttonto show the message text of theLOGO! display in the view.For unrestricted use in educational / R&D institutions. Siemens AG 2016. All rights reserved.SCE EN 900-011 Startup LOGO! 0BA8 R1603.docx34

SCE Training Curriculum Additional Module 900-011, Edition 05/2016 Digital Factory, DF FA7.7 "Message text" checklistNo. Description1Project created2LOGO! controller detected and entered in the project3Successful download of the program to the LOGO! without error message4Message text on LOGO! display "Gate closed" with white background5Actuate open gate cord switch (I1 1), warning light flashes Q3 0-1-0-16After 5 s, the gate opens (I6 1) Q1 17Message text on LOGO! display "Gate open" with yellow background8Gate is opened (I5 0) Q1 0, Q3 09Actuate close gate cord switch (I2 1), warning light flashes Q3 0-1-0-110After 5 s, the gate closes (I5 1) Q2 111Gate is closed (I6 0) Q2 0, Q3 012Message text on LOGO! display "Gate closed" with white background13Actuate open gate pushbutton (I3 1), warning light flashes Q3 0-1-0-114After 5 s, the gate opens (I6 1) Q1 115Message text on LOGO! display "Gate

The LOGO!Soft Comfort project interface displays a network view with the devices and network connections. After you select "Add New Device", the Diagram Editor window appears. Only LOGO! devices starting from 0BA7 can be programmed in a network project. The Diagram Editor displays the progra