LOGO!Soft Comfort Online Help 1 ___________________ LOGO!Soft Comfort V8.
Legal information Warning notice system This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are graded according to the degree of danger.
Table of contents 1 2 LOGO!Soft Comfort V8.0 ......................................................................................................................... 11 1.1 Security information .....................................................................................................................11 1.2 Welcome to LOGO!Soft Comfort V8.0! ........................................................................................12 1.3 DVD contents ...........................................
Table of contents 2.7.3.8 2.7.3.9 2.7.3.10 2.7.4 2.7.4.1 2.7.4.2 Showing/hiding reference line (0BA8 only) ................................................................................. 43 Expanding all parameter boxes (0BA8 only)............................................................................... 43 Collapsing all parameter boxes (0BA8 only) ............................................................................... 43 Networking toolbar (0BA8 only) .....................................
Table of contents 2.8.3.3 2.8.3.4 2.8.4 2.8.4.1 2.8.4.2 2.8.4.3 2.8.4.4 2.8.4.5 2.8.4.6 2.8.4.7 2.8.4.8 2.8.4.9 2.8.4.10 2.8.4.11 2.8.5 2.8.5.1 2.8.5.2 2.8.5.3 2.8.5.4 2.8.5.5 2.8.5.6 2.8.5.7 2.8.5.8 2.8.5.9 2.8.5.10 2.8.5.11 2.8.5.12 2.8.5.13 2.8.5.14 2.8.5.15 2.8.5.16 2.8.5.17 2.8.5.18 2.8.5.19 2.8.5.20 2.8.5.21 2.8.5.22 2.8.5.23 2.8.5.24 2.8.5.25 2.8.5.26 2.8.5.27 2.8.5.28 2.8.5.29 2.8.5.30 2.8.5.31 2.8.5.32 2.8.5.33 2.8.5.34 2.8.5.35 2.8.5.36 2.8.5.37 Format -> Format grid ............................
Table of contents 2.8.5.38 2.8.5.39 2.8.5.40 2.8.5.41 2.8.5.42 2.8.5.43 2.8.5.44 2.8.6 2.8.6.1 2.8.6.2 2.8.6.3 2.8.6.4 2.8.7 2.8.7.1 2.8.7.2 2.8.7.3 2.8.7.4 3 Tools -> Options: Preference .................................................................................................... 120 Tools -> Options: Print .............................................................................................................. 120 Tools -> Options: Cut Connections ............................................
Table of contents 4 5 3.4.1 3.4.1.1 3.4.1.2 3.4.1.3 3.4.1.4 3.4.1.5 3.4.1.6 3.4.2 3.4.2.1 3.4.2.2 3.4.2.3 3.4.2.4 3.4.2.5 3.4.2.6 3.4.3 3.4.3.1 3.4.3.2 3.4.3.3 3.4.3.4 3.4.3.5 3.4.3.6 Creating a Network project ........................................................................................................149 Creating a new circuit project.....................................................................................................149 Creating a circuit project ...........................
Table of contents 5.1.1.6 5.1.1.7 5.1.1.8 5.1.1.9 5.1.1.10 5.1.1.11 5.1.1.12 5.1.1.13 5.1.1.14 5.1.2 5.1.2.1 5.1.2.2 5.1.2.3 5.1.2.4 5.1.2.5 5.1.2.6 5.1.2.7 5.1.2.8 5.1.2.9 5.1.2.10 Shift register bits ....................................................................................................................... 194 Open connectors ....................................................................................................................... 195 Flags.......................................
Table of contents 5.3.3.1 5.3.3.2 5.3.3.3 5.3.3.4 5.3.3.5 5.3.3.6 5.3.3.7 5.3.3.8 5.3.3.9 5.3.3.10 5.3.3.11 5.3.4 5.3.4.1 5.3.4.2 5.3.4.3 5.3.4.4 5.3.4.5 5.3.5 5.3.5.1 5.3.5.2 5.3.5.3 5.3.5.4 5.3.5.5 5.3.6 5.3.6.1 5.3.6.2 5.3.6.3 5.3.6.4 5.3.6.5 5.3.6.6 5.3.6.7 5.3.6.8 5.3.6.9 5.3.6.10 5.3.6.11 Analog threshold trigger .............................................................................................................255 Analog differential trigger ................................................
Table of contents 6 5.6.2.2 5.6.3 5.6.3.1 5.6.3.2 Memory space ........................................................................................................................... 365 Blocks and block numbers ........................................................................................................ 366 Blocks ........................................................................................................................................ 366 Block numbers ......................
LOGO!Soft Comfort V8.0 1.1 1 Security information Siemens provides products and solutions with industrial security functions that support the secure operation of plants, solutions, machines, equipment and/or networks. They are important components in a holistic industrial security concept. With this in mind, Siemens’ products and solutions undergo continuous development. Siemens recommends strongly that you regularly check for product updates.
LOGO!Soft Comfort V8.0 1.2 Welcome to LOGO!Soft Comfort V8.0! 1.2 Welcome to LOGO!Soft Comfort V8.
LOGO!Soft Comfort V8.0 1.3 DVD contents 1.3 DVD contents The DVD-ROM The DVD-ROM includes your installation software for LOGO!Soft Comfort and contains additional useful information. Start.html This file guides you through the contents of the DVD-ROM.
LOGO!Soft Comfort V8.0 1.4 What's new in LOGO!Soft Comfort? 1.4 What's new in LOGO!Soft Comfort? 1.4.1 What's new in LOGO!Soft Comfort V8.0? The features described below are only used for LOGO!Soft Comfort V8.0. New features LOGO!Soft Comfort V8.
LOGO!Soft Comfort V8.0 1.
LOGO!Soft Comfort V8.0 1.4 What's new in LOGO!Soft Comfort? New SFBs The following SFBs are new: ● Astronomical clock (Page 243) ● Analog filter (Page 279) ● Max/Min (Page 280) ● Average value (Page 285) ● Stopwatch (Page 245) Updated SFBs The following SFBs support new features: ● Message text (Page 315) ● Shift register (Page 333) The analog math SFB is renamed "Mathematic instruction". The analog math error detection SFB is renamed "Mathematic instruction error detection".
LOGO!Soft Comfort V8.0 1.4 What's new in LOGO!Soft Comfort? ● Ability to identify LOGO! 0BA7 firmware version ● I/O name import/export ● I/O status ● LOGO! Base Module slave mode configuration ● Ability to display reference information in circuit program ● Block replacement ● Remote change of parameters Changed functionality LOGO!Soft Comfort V7.
LOGO!Soft Comfort V8.0 1.4 What's new in LOGO!Soft Comfort? 1.4.3 What was new in LOGO!Soft Comfort V6.1 compared with V5.x? New SFBs LOGO!Soft Comfort V6.
LOGO!Soft Comfort V8.0 1.4 What's new in LOGO!Soft Comfort? New LOGO! expansion module One new LOGO! expansion module is commercially available: ● LOGO! AM2 RTD This expansion module is equipped with two analog inputs for connection to PT100 and/or PT1000 sensors with the default temperature coefficient of α = 0.003850 for both sensor types. It can automatically recognize the sensor type, thus it is unnecessary for you to make any configuration or setting to achieve this.
LOGO!Soft Comfort V8.0 1.5 Ladder Diagram (LAD), Function Block Diagram (FBD) and User-Defined Function (UDF) 1.5 Ladder Diagram (LAD), Function Block Diagram (FBD) and UserDefined Function (UDF) LOGO!Soft Comfort provides you with three options of creating circuit programs: ● Ladder diagram (LAD) ● Function block diagram (FBD) ● User-defined function (UDF) Who will use the ladder diagram (LAD)? The LAD program editor is suitable for users who are used to working with circuit programs.
LOGO!Soft Comfort V8.0 1.6 LOGO! and LOGO!Soft Comfort on the Internet 1.6 LOGO! and LOGO!Soft Comfort on the Internet From the Support selection at http://www.siemens.
LOGO!Soft Comfort V8.0 1.7 Compatibility Compatibility with previous LOGO! memory cards Refer to the LOGO! Manual for compatibility information regarding LOGO! memory cards. LOGO!Soft Comfort does not access programs stored on memory cards. Note LOGO! devices with AS-Interface You can connect the modular LOGO! via a communication module to an AS-Interface (Page 23) bus. In doing so, the AS inputs and outputs behave just like standard inputs and outputs. Suggested operating systems LOGO!Soft Comfort V8.
LOGO!Soft Comfort V8.0 1.8 LOGO! with AS-Interface (0BA0-0BA2) 1.8 LOGO! with AS-Interface (0BA0-0BA2) 1.8.1 AS-Interface Introduction Here in this section, you discover what you must note when using a LOGO! with integrated AS-Interface.
LOGO!Soft Comfort V8.0 1.8 LOGO! with AS-Interface (0BA0-0BA2) Outputs for the AS-Interface bus can be identified by the letter Qa (only available for the relevant LOGO! versions). Modular LOGO! devices as of the series 0BA3 do not distinguish between normal inputs and AS-Interface inputs. The user determines the type of the input, based on the inserted modules and the order in which they are installed. This is why ASInterface outputs are only designated by the letter Q.
LOGO!Soft Comfort V8.0 1.8 LOGO! with AS-Interface (0BA0-0BA2) 1.8.2 AS-Interface inputs You can connect LOGO! versions of the type LB11 directly to an AS-Interface bus. AS-Interface inputs are named Ia. The block number of an AS-Interface input is determined by the hardware structure. LOGO!Soft Comfort converts circuit programs with AS-Interface I/O for use in the LOGO! Basic. You can find relevant information in the section "Converting circuit programs (Page 23)". 1.8.
LOGO!Soft Comfort V8.0 1.
2 User interface 2.1 User interface - Overview Programming interface LOGO!Soft Comfort program mode starts with an empty circuit diagram. The programming interface for creating your circuit programs occupies the greater part of the screen. The icons and logical links of the circuit program are arranged on this programming interface.
User interface 2.1 User interface - Overview Project interface LOGO!Soft Comfort project mode starts with the empty user interface of LOGO!Soft Comfort. After you choose and add a new device in the project, LOGO!Soft Comfort enables the diagram editor frame. LOGO!Soft Comfort displays a Network view in the project interface that shows the devices and network connections. The Diagram editor displays the program blocks and logical links of the circuit program. Initially, the circuit program is empty.
User interface 2.1 User interface - Overview Menu bar The top of the LOGO!Soft Comfort window contains the menu bar. Here, you can find various commands for editing and managing your circuit programs, as well as functions for defining your default settings and for transferring of the circuit program to and from LOGO!.
User interface 2.2 Description of the Info Window Simulation toolbar This toolbar (Page 35) is only relevant for the simulation of circuit programs. Status bar The status bar (Page 31) is located at the bottom of the program window. It shows the currently active tool, the program status, the zoom factor, the page number of the circuit program and the selected LOGO! device. See also Description of the Info Window (Page 30) Tools -> Determine LOGO! (Page 90) 2.
User interface 2.3 Description of the status bar 2.3 Description of the status bar The status bar consists of four sections and contains useful information about your circuit program. 2.4 ① ② Information field: displays the currently used tool (Page 37). ③ ④ Shows the currently set zoom factor (Page 69). Displays your selected LOGO! by means of a LOGO!Soft Comfort tooltip.
User interface 2.
User interface 2.6 Network project 2.5.1 Diagram tree You can manage your diagrams in the circuit diagram tree. This diagram tree lists all the diagrams you newly created or opened. You can switch to a diagram by double clicking its name in the diagram tree. You can open and close this diagram tree via the icons instructions trees. 2.5.2 or of the diagram and Instruction tree This instruction tree provides a hierarchical list of all elements you can use to create your circuit program.
User interface 2.7 Toolbars 2.6.1 Network project tree You can manage your devices in the network project tree. This tree lists all the devices in the network project. You can add new devices and configure their settings in the network project tree. You can open and close the network project and instructions trees via the icons 2.6.2 or . Network view The network view is the working space for configuring the network and displays all the devices you have added to the network.
User interface 2.7 Toolbars 2.7.2 Simulation toolbar and status window The toolbar When you open simulation mode, LOGO!Soft Comfort displays the simulation toolbar, which contains the following icons.
User interface 2.7 Toolbars Time control icons If you have programmed a time-sensitive circuit, you can use the time control to monitor the reaction of your circuit program. Start simulation for a specific time or number of cycles. Set the period and the number of cycles using the following icons.
User interface 2.7 Toolbars can enable or disable the individual displays of the AQ, PV, and SP trend graphs as you choose. If your circuit program has more than one PI controller function block, the trend view has a separate tab for each PI controller. 2.7.3 Programming toolbar The programming toolbar contains integral icons for creating, editing and testing programs. Each one of these tools represents a programming mode, in which mouse operations have different effects.
User interface 2.
User interface 2.7 Toolbars 2.7.3.2 Connector tool You can use this tool to connect blocks. To do so, move the mouse pointer to a block input or output and press the left mouse button. Keep the mouse button pressed and drag the mouse pointer from your selected source terminal to the target terminal. Now release the mouse button to anchor the connecting line to both terminals.
User interface 2.7 Toolbars Siemens recommend you create cross-references by splitting the file at this position with the help of the Cut/Join tool (Page 39). In the File → Page Setup (Page 51) menu you can specify the paper size, page alignment and margins. The total number of pages(horizontal x vertical) must not exceed 100. The standard toolbar (Page 34) also contains an icon for this menu command. 2.7.3.6 Conversion tool Use this function to convert your circuit program between LAD and FBD.
User interface 2.7 Toolbars Note When converting between LAD and FBD, the total number of blocks in your circuit program can sometimes increase. This could cause the permitted number of blocks for your LOGO! to be exceeded. You cannot, therefore, always convert FBD programs to LAD. Remedy: Under Tools -> Select Hardware (Page 90), select the hardware series that you are using. Start converting to LAD.
User interface 2.7 Toolbars Starting the online test Click the online test icon in the programming toolbar. If LOGO! is in STOP, start it with the start button. Result: LOGO! executes your circuit program. Switching LOGO! to STOP If you want to stop LOGO! via LOGO!Soft Comfort, click the stop icon . Devices of the 0BA4 series and later support online tests. Possible errors The following types of errors can occur: ● Your LOGO! does not support the online test.
User interface 2.7 Toolbars 2.7.3.8 Showing/hiding reference line (0BA8 only) You can use this tool to show and hide reference line between parameter boxes. When the parameter boxes are hidden, you can press this button to show or hide the reference line between boxes. Show the reference line 2.7.3.9 Hide the reference line Expanding all parameter boxes (0BA8 only) You can use this tool to expand all the parameter boxes.
User interface 2.7 Toolbars 2.7.4 Networking toolbar (0BA8 only) The network toolbar appears above the Network view and contains the following icons: Add new device (Page 150) Go Online (Page 44) Go Offline (Page 45) Zoom In (Page 69) Zoom Out (Page 69) 2.7.4.1 Going online (0BA8 only) You can use this tool to test an online connection for the devices you have configured in your network project and to detect unconfigured devices in the local area network.
User interface 2.8 Menu bar Note To make sure the Go online function works properly, you must connect the devices to the PC in the Network view. For devices that are in the same subnet as the selected network card and are not configured in the network project, you can press the Go online button to detect it and add it to the project. LOGO!Soft Comfort adds the detected device to the project as an unknown device (0BA8 only).
User interface 2.8 Menu bar 2.8 Menu bar The menu bar contains administrative and editing functions for the circuit program and provides access to the context-sensitive help. ● File menu (Page 46) ● Edit menu (Page 58) ● Format menu (Page 65) ● View menu (Page 66) ● Tools menu (Page 70) ● Window menu (Page 122) ● Help menu (Page 124) 2.8.1 File menu The File menu command contains commands for file management.
User interface 2.8 Menu bar 2.8.1.1 File -> New The command opens a new window with an empty programming interface for programming in LAD, FBD or UDF, depending on your set mode. Depending on your default setting, LOGO!Soft creates a window is created with a number of tabs in which you can specify the properties of the circuit program you are going to create. You can access this window later to either enter or modify the properties with the File → Properties (Page 53) menu.
User interface 2.8 Menu bar Note You can open only one project in the Network view at the same time. That means if you open a new project, LOGO!Soft comfort will close the project you are editing now. If you have not saved the current project, you are prompted in a dialog to save it. Note The circuit diagram is always opened in diagram mode no matter you are in diagram mode or project mode.
User interface 2.8 Menu bar As an alternative, you can right-click the tab of a circuit program and select the Close menu command from the shortcut menu. 2.8.1.4 File -> Close All A click on this menu command closes all open windows. If you have not yet saved one or more of the current circuit programs, LOGO!Soft Comfort prompts you to select the program to be saved in a dialog. LOGO!Soft Comfort saves all selected programs.
User interface 2.8 Menu bar As an alternative, you can right-click the tab of a circuit program and select the Save menu command from the shortcut menu. Note Saving a project automatically saves all of the diagrams. If you want save a diagram in the project separately, click the device it belongs and select export in the shortcut menu. 2.8.1.6 File -> Save As A dialog opens for you to specify the path and file name under which the current circuit program or project is to be saved.
User interface 2.8 Menu bar 2.8.1.7 File -> Page Setup This command opens a dialog box in which you can specify the page settings for creating circuit programs. Here you can specify the paper format, page margins or whether to print in portrait or landscape format. LOGO!Soft Comfort offers multi-page printout feature, with the position of page breaks indicated on-screen. The print area is user-definable. You can paginate your circuit program via the menu command File → Properties (Page 53).
User interface 2.8 Menu bar Note The first option refers to comments that you input in the "Comment" tab of "Properties" dialog. Refer to "File -> Properties - Additional info (Page 57)" for further information. The last option allows you to exclude pages that do not contain any graphical objects. If you exclude empty pages, your printout will have gaps in the page numbering where the blank pages were. In the printer dialog, you can specify your default printer and the print properties.
User interface 2.8 Menu bar ● Analog input filter timer: This time determines the frequency at which LOGO! refreshes the analog values in a message text. The value is in milliseconds. ● Ticker Timer Setting: For messages that tick, the ticker timer determines how fast or slow a message text ticks or scrolls on the LOGO! onboard display or LOGO! TD/LOGO! TDE. The value is in milliseconds, and you can use the adjacent button to access a scroll bar to set the ticker timer.
User interface 2.8 Menu bar File -> Properties when the diagram editor is the active window If you select the File -> Properties menu command when the diagram editor is the active window, LOGO! displays the "LOGO! settings" dialog. In this dialog, you can configure offline and online settings for LOGO!.
User interface 2.8 Menu bar 2.8.1.13 File -> Properties - Hardware type This tab shows the basic information of LOGO! Basic, such as known blocks, constants/connectors, and the number of digital inputs. 2.8.1.14 File -> Properties - I/O settings When you download the circuit program, LOGO!Soft Comfort also transfers the I/O settings to LOGO!. With the setting ①, you can set what the analog outputs of LOGO! should be when LOGO! is in STOP mode and the range of the outputs value.
User interface 2.8 Menu bar 2.8.1.15 File -> Properties - Program password When you transfer the circuit program, LOGO!Soft Comfort also transfers the password specified in Porgram password tab to LOGO!. You can assign a password to your circuit program or change or delete an already assigned password. To assign a new password, you must enter the password in the two text boxes for New password and then confirm with OK. The password can have a maximum of 10 characters.
User interface 2.8 Menu bar The presence of tabs and fields on the Properties dialog depend on the LOGO! module that you select from the Tools → Select Hardware menu command. This property is only for FBD and LAD Editors. 2.8.1.16 File -> Properties - Power on When you transfer the circuit program, LOGO!Soft comfort also transfers the display content on LOGO! after power on to LOGO!. With Display content on LOGO! after power on you can set what LOGO! shows on the onboard display when you switch on LOGO!.
User interface 2.8 Menu bar 2.8.1.19 File -> Properties - comment In this tab, you can enter a description of the circuit program or notes relating to it. When you print your circuit program using the File → Print (Page 51) menu command, you can choose to print this comment on a separate printed page. 2.8.1.20 File -> Exit The Exit command closes LOGO!Soft Comfort If you are editing a circuit program or project and have not yet saved it, LOGO!Soft Comfort prompts you about your project.
User interface 2.8 Menu bar ● Block properties (Page 64) ● Block properties (all blocks) (Page 64) ● Cut connections (Page 121) ● Edit UDF properties (Page 65) 2.8.2.1 Edit -> Undo This command allows you to undo the previous actions. Position your mouse pointer on the undo menu command and hold it there briefly. The tooltip (Page 68) opens and shows you the actions you can undo by clicking the menu item. You can undo up to 30 actions.
User interface 2.8 Menu bar 2.8.2.5 Edit -> Copy Use this command to copy one or more selected objects, for example, blocks, text, device, or connecting lines, to the clipboard. The standard toolbar (Page 34) also contains an icon for this menu command. 2.8.2.6 Edit -> Paste The command copies the clipboard content to the programming interface. LOGO!Soft Comfort distributes the devices evenly on the right of the existing devices.
User interface 2.8 Menu bar 2.8.2.10 Edit -> Align -> Horizontally Distribute Space Use this command to set the horizontal space between objects you select. After you select this menu command, the following dialog appears: You can choose the distance from 10 or 3000 pixels, in increments of 5 pixels. You can also select the "Use as Default" check box to set the default distance. The programming toolbar (Page 37) also contains an icon for this menu command. 2.8.2.
User interface 2.8 Menu bar The programming toolbar also contains an icon for this menu command. 2.8.2.13 Edit -> Select all You can use this command to select all objects (blocks, connecting lines and labels) on the programming interface. Note The network project interface doesn't include this function.
User interface 2.8 Menu bar 2.8.2.14 Edit -> Go to block You can use this command to view a list of all blocks used in a circuit program, including information about the block number, block name and block type. By default, LOGO!Soft Comfort sorts the blocks in the list by type. You can also sort the blocks by name or number. LOGO!Soft Comfort supports fuzzy search for blocks. You can enter a short description, for example, *p?, in the searching field.
User interface 2.8 Menu bar 2.8.2.18 Edit -> Block properties This command displays the block properties of a block that you have selected on the programming interface. The block properties dialog box consists of several tabs. Every block has a Comment tab, where you can enter relevant block comments. For some blocks a Parameter tab is available where you can describe specific block parameters. You configure input simulation parameters from the Simulation tab.
User interface 2.8 Menu bar 2.8.2.20 Edit -> Edit UDF properties Use this menu command to configure UDF (User-defined function) properties. For more information about the configuration for UDF properties, refer to "Configure UDF properties" in Editing the UDF (Page 344). This menu command is available only in the UDF Editor. 2.8.3 Format menu This menu provides formatting options for labels and function groups.
User interface 2.8 Menu bar 2.8.3.3 Format -> Format grid This tool helps you to organize the various objects of your circuit program on the programming interface. The grid is visible by default. You can adjust the grid pattern (spacing) in increments of 5 points. If you have enabled the "Snap Block to Grid" function, LOGO!Soft Comfort aligns the objects with the relevant grid intersections. This helps you to avoid a vertical or horizontal offset of the objects.
User interface 2.8 Menu bar ● Select Lines (Page 68) ● Info Window (Page 68) ● Status bar (Page 68) ● Tooltips (Page 68) ● Zoom (Page 69) ● Zoom In (Page 69) ● Zoom Out (Page 69) 2.8.4.1 View -> Diagram mode This command lets you hide/show the diagram mode user interface (Page 32). The default user interface shows both diagram mode and network project. The check mark besides the options "Diagram mode" and "Network project" indicates your current working mode.
User interface 2.8 Menu bar 2.8.4.4 View -> Tree This command lets you hide or show the trees on the left part of the interface: ● The diagram tree (Page 33) and the instructions tree (Page 33) under diagram mode. ● The network project tree (Page 34) and the instruction tree (Page 33) under project mode. 2.8.4.5 View -> Select Lines With this tool, you can show all connections (lines) that lead to or away from a selected block in color.
User interface 2.8 Menu bar 2.8.4.9 View -> Zoom LOGO!Soft Comfort offers a variety of options for enlarging or reducing the size of the circuit program or circuit project display. By selecting Zoom, you open a dialog box in which you can set the zoom factor from a default list or in the relevant box. If you choose an unfavorable zoom factor, the objects may appear out of focus on your screen. You should therefore use the default zoom factors wherever possible.
User interface 2.8 Menu bar 2.8.5 Tools menu The tools menu provides the following menu commands: ● Transfer (Page 70) ● Determine LOGO! (Page 90) ● Select Hardware (Page 90) ● Compare (Page 90) ● Simulation (Page 95) ● Simulation parameters (Page 95) ● Connect modem (Page 97) ● Disconnect modem (Page 99) ● Ethernet Connections (Page 100) ● Parameter VM Mapping (Page 105) ● Options (Page 119) 2.8.5.
User interface 2.8 Menu bar Note For the data transfer, the LOGO! Base Module must not be in RUN mode or editing mode. Transfer through LOGO! PC Cable (0BA6 and prior only) For the data transfer through LOGO! PC Cable, you need to manually choose LOGO! Cable as the communication interface, and set the LOGO! COM port in the drop-down box.
User interface 2.8 Menu bar Transfer through Ethernet (0BA7 and later only) If you select Ethernet for the communication, you can either choose a target IP address from the accessible LOGO! list or enter a known IP address. You can also store the LOGO! information in the address book in case you need to use them in the future. Perform the steps below to detect a valid LOGO! Base Module automatically. 1. Click "①" on the above screen to show the address book. 2.
User interface 2.8 Menu bar Transfer through Dynamic DNS (0BA7 and later only) If you select Dynamic DNS for the communication, you can enter a known URL address or click the arrow in the URL textbox to recall an URL address you entered before: You must configure your router in order to access the LOGO! Base Module through dynamic DNS. Make sure you have completed the following settings before connection: ● The remote LOGO! Base Module has a valid dynamic DNS account for routing.
User interface 2.8 Menu bar Connection test After you select the desired connection interface, you can test the connection in the same dialog. Click "①" on the following screen to check if the connection is ready. The grey connection line turns green and you see a check mark icon above the line if your connection is successful. You can also copy your circuit programs to the SD card in the above screen.
User interface 2.
User interface 2.8 Menu bar Error messages LOGO!Soft Comfort aborts the transfer and displays an error message if the LOGO! Base Module does not have enough resources for program transfer. The error dialog displays unknown LOGO! versions prompts you to continue or cancel the download. The status bar displays transfer messages and the Info Window displays transfer messages as well as detailed error messages.
User interface 2.8 Menu bar 2.8.5.4 Tools -> Transfer -> Start LOGO! LOGO!Soft Comfort requires that you confirm the connection interface for each communication attempt. See "Tools -> Transfer (Page 70)" for complete information. → Tools → Transfer → Start LOGO! When you click this symbol, LOGO!Soft Comfort switches the connected LOGO! Base Module from STOP mode to RUN mode. As an alternative approach, you can also click the button on the Standard Toolbar (Page 34).
User interface 2.8 Menu bar 2.8.5.7 Tools -> Transfer -> Show FW version LOGO!Soft Comfort requires that you confirm the connection interface for each communication attempt. See "Tools -> Transfer (Page 70)" for complete information. This command allows you to identify the firmware version of the LOGO! Base module. 2.8.5.8 Tools -> Transfer -> Clear User Program and Password LOGO!Soft Comfort requires that you confirm the connection interface for each communication attempt.
User interface 2.8 Menu bar 2.8.5.10 Tools -> Transfer -> Configure Network Address (0BA7 and 0BA8 only) LOGO!Soft Comfort requires that you confirm the connection interface for each communication attempt. See "Tools -> Transfer (Page 70)" for complete information. With this menu command, you can change the IP address, subnet mask and default gateway of the LOGO! Base Module: Click "①" to implement the change. 2.8.5.
User interface 2.8 Menu bar Note LOGO! restarts automatically whenever you make the following changes in LOGO!Soft Comfort: • Mode switch (from master mode to slave mode or vice versa) • Change to the master IP address in slave mode 2.8.5.12 Tools -> Transfer -> Set Clock LOGO!Soft Comfort requires that you confirm the connection interface for each communication attempt. See "Tools -> Transfer (Page 70)" for complete information.
User interface 2.8 Menu bar Manual input of values You can enter the date and time values by entering in the number input box or by clicking the UP and DOWN arrow icons. LOGO!Soft Comfort automatically corrects any invalid date values. 2.8.5.13 Tools -> Transfer -> Summer time/Winter time LOGO!Soft Comfort requires that you confirm the connection interface for each communication attempt. See "Tools -> Transfer (Page 70)" for complete information.
User interface 2.8 Menu bar The United States of America redefined the Daylight Saving Time / Standard Time calendar in 2007. US1 is the convention in effect prior to 2007 and US2 is the convention defined in 2007 where Daylight Saving Time is in effect from 2:00 a.m. on the second Sunday in March until 2:00 a.m. on the first Sunday in November according to the local time zone. Note LOGO! devices as of series 0BA3 and later support the summer/winter time conversion.
User interface 2.8 Menu bar The power-on screen can only contain simple text strings. Note LOGO! devices prior to version 0BA6 do not support this function. If you attempt this command on an earlier device, LOGO!Soft Comfort displays a message that states that the device does not support this function. Copying and pasting text characters Whenever you enter characters into the display window text edit area, you can use the keyboard shortcuts for copy (Ctrl+C) and paste (Ctrl+V).
User interface 2.8 Menu bar Note Password: Protect the access with a strong password. Strong passwords must mix letters, numbers, and special characters, are not words that can be found in a dictionary, and are not names or identifiers that can be derived from personal information. Keep the password secret and change it frequently. LOGO!Soft Comfort supports all password inputs including letters, numbers, and special characters with ASCII character set.
User interface 2.8 Menu bar Remote HTTP access Here you enable remote access through HTTP connections and change the logon password. Web server access Here you enable Web server access through Local Area Network (LAN) connections and change the logon password. For more details about the Web server, refer to the Web server section of LOGO! Manual. 2.8.5.16 Tools -> Transfer -> Hours Counter LOGO!Soft Comfort requires that you confirm the connection interface for each communication attempt.
User interface 2.8 Menu bar 2.8.5.17 Tools -> Transfer -> I/O Status (0BA7 and 0BA8 only) LOGO!Soft Comfort requires that you confirm the connection interface from the "Interface" dialog for each communication attempt. See "Tools -> Transfer (Page 70)" for complete information. Use this menu command to display and save I/O status information: Configuring the status display Under "①" in the screen above, you can select which I/O to display in the status window.
User interface 2.8 Menu bar Configuring the log file You can export all I/O status information to a .CSV file. You can change or remove the path for saving the log file. To save the I/O status information to a .CSV file, follow these steps: 1. Click "②" in the screen above and specify a path for saving the log file. 2. You can also remove the log file if you click "③" in the screen above. 3. Save the I/O status information to the specified log file.
User interface 2.8 Menu bar You can use this LOGO!Soft Comfort command to get the error information. By clicking "①", you can delete all the error records you selected. By clicking "②", you can get the latest error information of the connected Base Module. 2.8.5.19 Tools -> Transfer -> Dynamic Server IP Filter (0BA8 only) LOGO!Soft Comfort requires that you confirm the connection interface for each communication attempt. See "Tools -> Transfer (Page 70)" for complete information.
User interface 2.8 Menu bar If you click checkbox "①", LOGO! Base Module allows access requests from all IP addresses. If you click checkbox "②", LOGO!Soft Comfort provides an allowed IP addresses list of eight check boxes, each with an IP address input box for IP filtering configurations.
User interface 2.8 Menu bar 2.8.5.20 Tools -> Determine LOGO! When you click this menu command, LOGO!Soft Comfort calculates the minimum LOGO! version requirements for the LOGO! circuit program. LOGO!Soft Comfort shows the result in the status bar (Page 31). The info window displays all versions to which you can download the program. You can also use the function key (Page 31) [F2] to execute this menu command. 2.8.5.
User interface 2.8 Menu bar ① ② ③ Select the two circuit programs to compare. • To compare two local diagrams, you can split the diagram editor into two windows and drag the diagrams to each window. See Window -> Split into two windows (Page 123) for more information. • To compare your local diagram with the diagram on a connected LOGO! Base Module, LOGO!Soft Comfort requires that you confirm the connection interface before communication. See Tools -> Transfer (Page 70) for more information.
User interface 2.8 Menu bar Configure different VM mapping settings on the two circuit programs. See Tools -> Parameter VM Mapping (0BA7 and 0BA8 only) (Page 105) for more information. After you have set the module address and Ethernet connections, you can start to compare the two circuit programs. Result: As shown in the following result display, the parameter names in parameter VM mapping line 1 of the two circuit programs are different.
User interface 2.8 Menu bar Compare two circuit programs with Ethernet connections When you compare two circuit programs with Ethernet connections, LOGO!Soft Comfort compares their configurations of Ethernet connections, and then displays the comparison results. During the comparison of Ethernet connections, once a difference occurs in a connection setting, LOGO!Soft Comfort stops comparing subsequent settings.
User interface 2.8 Menu bar Compare the two diagrams. Result: As shown in the result display above, the two compared circuit programs have different module address settings and different IP address settings for two Base Modules that are both used as clients. Editing You can edit the two circuit programs in the diagram comparison windows. Different hardware If you have configured different LOGO! devices in the two programs, you will see a considerable number of messages.
User interface 2.8 Menu bar 2.8.5.23 Tools -> Simulation Introduction Program simulation allows you to test a program and modify its parameters. This ensures the program in the LOGO!Soft Comfort is fully functioning and optimized, ready for your download. Simulation mode Click the icon in the programming toolbar to start the simulation. This changes the program to simulation mode. For more information, see Simulation. (Page 35) LOGO!Soft Comfort highlights the icon simulation mode.
User interface 2.8 Menu bar ● Momentary pushbutton (break) ● Frequency You have only one option for the analog inputs: ● Analog Name column "I" designates Digital inputs (Page 193). "AI" designates Analog inputs (Page 196). Switch A switch latches when actuated and is released by actuating it once again. Momentary pushbutton A momentary pushbutton is only active while it is held down. The contact opens as soon as you release the button. You can determine a make or break action for the pushbuttons.
User interface 2.8 Menu bar While simulation mode is active, you can also right-click a digital input in the circuit program and edit its block properties. In the Simulation tab of the block properties dialog, you can select the type of the input as described above. Click "OK" to confirm your settings. 2.8.5.
User interface 2.8 Menu bar 2.8.5.26 Tools -> Connect Modem - Select Modem From the Select modem dialog, you can select check boxes to configure the remote modem or the local modem. The remote modem is the one connected to the LOGO! Base Module and the local modem is the one connected to the computer with LOGO!Soft Comfort. If you have previously configured the remote modem or the local modem from LOGO!Soft Comfort, the dialog displays the name of the modem as configured from LOGO!Soft Comfort.
User interface 2.8 Menu bar 2.8.5.30 Tools -> Connect Modem - Select Local Configuration From the Select local configuration dialog, you select whether to edit or delete an existing configuration, if one exists, or to create a new configuration. Click "Next" to continue with modem configuration. 2.8.5.31 Tools -> Connect Modem - Configure Local Modem Command From the Configure local modem command dialog, you can use the name of the local modem to access and configure the local modem.
User interface 2.8 Menu bar 2.8.5.34 Tools -> Ethernet Connections (0BA7 and 0BA8 only) Use this menu command to configure the module address and build Ethernet connections for the LOGO! Base Module. ① ② Here you define the IP address of the LOGO! Base Module. You first configure the IP address, subnet mask and gateway of the LOGO! Base Module before making the Ethernet connections. Here you define the Ethernet properties connected.
User interface 2.8 Menu bar Configuring client connections Right click the desired connection and choose to add a client connection. Double-click the connection item to configure the client connection. ① Here you define the properties of the Client. TSAP is the Transmission Layer Service Access Point in TCP/IP communication. ② The local TSAP of Client is automatically generated by LOGO!Soft Comfort. Here you define the properties of the Server.
User interface 2.8 Menu bar Data transfer configuration You can set the following values in the data transfer table in configuring client connections: 1. Click the following drop-down menu to choose the data value for transferring. 2. Input one address in the address field. 3.
User interface 2.8 Menu bar Configuring server connections Double-click the connection item to configure the server connection. Note If the Server in this connection is a SIMATIC S7 or SIMATIC HMI, you must configure the server connection on the added device. ① Here you define the properties of the Server. TSAP: The range in LOGO! Base Module is 20.00 to FF.FF. The local TSAP of Server is automatically generated by LOGO!Soft Comfort.
User interface 2.8 Menu bar Data transfer restrictions The table below describes the range and local address restrictions for client connections. Read requests: Local address Remote address Address Type Range Address Type Range VB 0 to 850 VB 0 to 65535 DB.DBB DB[0 to16000].DBB[0 to 65535] MB 0 to 65535 IB 0 to 65535 QB 0 to 65535 Note Address Type: • VB: variable byte memory • • • • DB.
User interface 2.8 Menu bar 2.8.5.35 Tools -> Parameter VM Mapping (0BA7 and 0BA8 only) VM overview LOGO! Base Modle uses VM (Variable Memory) as a local S7 communication interface for data exchange by means of connections/data-transfer configuration. You can use LOGO!Soft Comfort with the Ethernet connections menu command following instructions in the Tools -> Ethernet Connections (0BA7 and 0BA8 only) (Page 100) section to construct the network topology.
User interface 2.8 Menu bar The Block column lists the parameters for SFBs in the current program. The Parameter column provides a select list of the parameters of the corresponding block. The Type column displays the data type of the selected parameter. The Address column is also configurable. You can use it to identify the VM address used to save a parameter value. The icon next to a parameter name indicates the property of this parameter: The parameter value is a setting value and is writable.
User interface 2.
User interface 2.8 Menu bar AI VM Address AQ VM Address AI1 VW926 AQ1 VW944 AI2 VW928 AQ2 VW946 AI3 VW930 AI4 VW932 AI5 VW934 AI6 VW936 AI7 VW938 AI8 VW940 AM VM Address M VM Address AM1 VW952 M1 V948.0 AM2 VW954 M2 V948.1 AM3 VW956 M3 V948.2 AM4 VW958 M4 V948.3 AM5 VW960 M5 V948.4 AM6 VW962 M6 V948.5 AM7 VW964 M7 V948.6 AM8 VW966 M8 V948.7 AM9 VW968 M9 V949.0 AM10 VW970 M10 V949.1 AM11 VW972 M11 V949.2 AM12 VW974 M12 V949.
User interface 2.
User interface 2.
User interface 2.
User interface 2.8 Menu bar Function Block Data type Read/Write Current Time VW R Max.
User interface 2.
User interface 2.8 Menu bar Function Block Data type Read/Write Parameter settings in LOGO!Soft Comfort Parameter settings on a partner device Week Day 3 VB R/W Sunday Bit 0 Monday Bit 1 Tuesday Bit 2 Wednesday Bit 3 Thursday Bit 4 Friday Bit 5 Saturday Bit 6 NOTE: If the related bit is 1, then the day is set.
User interface 2.8 Menu bar Function Block Data type Read/Write Time Zero (E+; W-) VW R/W Parameter settings in LOGO!Soft Comfort Parameter settings on a partner device -11 to 12 Low byte bit 7 means sign, for example: 00000001 10000000 means -1.
User interface 2.
User interface 2.
User interface 2.
User interface 2.8 Menu bar Function Block Data type Read/Write Aq VW R Sample Time Time Base VB R/W 2.8.5.36 Parameter settings in LOGO!Soft Comfort Parameter settings on a partner device Seconds 1 Minutes 2 Hours 3 Days 4 Tools -> Options Here you can select various options for LOGO!Soft Comfort: ● General (Page 119) ● Preference (Page 120) ● Print (Page 120) ● Cut connections (Page 121) ● Simulation (Page 121) ● Colors (Page 122) ● UDF (Page 122) ● CSV Separator (Page 122) 2.8.5.
User interface 2.8 Menu bar 2.8.5.38 Tools -> Options: Preference Here you can define your preferred display settings.
User interface 2.8 Menu bar 2.8.5.40 Tools -> Options: Cut Connections Here you can choose to cut connections via the Cut/Join (Page 39) either manually or automatically. You can specify one or both of the following types of connections to be cut: ● Connections on import or on upload ● Connections routed across a block ● Connections exceeding a configurable length In the radius text box you can choose either to input the radius points directly or to use the scroll bar.
User interface 2.8 Menu bar 2.8.5.42 Tools -> Options: Colors Here you can define the following elements of the color settings: ● Desktop color ● Colors of signal lines carrying a logical "1" or "0" signal in simulation mode ● Color setting for UDF block frame in circuit program ● Colors for each of the four maximum possible block inputs and for the block output. ● Background color of function blocks. ● Background color of special flags.
User interface 2.8 Menu bar 2.8.6.2 Window -> Split into two windows LOGO!Soft Comfort allows you to split the diagram editor window into two windows. You can drag one diagram to the other window in order to view different areas of this diagram. You can then use the scroll bars to view or modify the elements not displayed in either window. You can also copy one diagram to the other window to compare two circuit programs or to modify the pasted diagram.
User interface 2.8 Menu bar 2.8.7 Help menu This menu provides you with help and information on LOGO!Soft Comfort. ● Contents (Page 124) ● Context-sensitive help (Page 125) ● Update Center (Page 125) ● About (Page 126) 2.8.7.1 Help -> Contents The Online Help The online help quickly and reliably provides you with information about program and network configuration, tools and the creation of circuit programs and network projects with LOGO!Soft Comfort.
User interface 2.8 Menu bar Help for blocks If you double-click a block in the circuit program, you receive a window with parameters and settings for the block. If you then click the Help button in this window you receive the Help for this block in its own window. Alternatively, you can right-click a block in the circuit program and select Help from the shortcut menu. 2.8.7.
User interface 2.8 Menu bar How to use the Update Center Follow these steps to perform an update/upgrade: 1. Select whether you want to update/upgrade LOGO!Soft Comfort via the Internet or using your local file system (DVD-ROM, floppy or hard disk drive). 2. If you choose to update/upgrade LOGO!Soft Comfort from your local file system, then you are prompted to enter the folder path in which you save the updates/upgrades.
3 Tutorial 3.1 Prerequisites for working with the tutorial To use this tutorial, you must be familiar with PC operation and you must know how to create a function block diagram. To download your circuit programs, you also need a PC cable, SD card or Ethernet cable for connecting the PC interface to your LOGO! device. 3.2 Getting started with program creation You are going to learn the basics of working with LOGO!Soft Comfort by creating a simple circuit program and simulating it on your PC.
Tutorial 3.2 Getting started with program creation 3.2.1.1 Creating a new circuit program After you start LOGO!Soft Comfort, you can begin to create a new circuit program. To create a new circuit program, select the File -> New menu command or click the New button in the standard toolbar.
Tutorial 3.2 Getting started with program creation Example for the FBD Editor: There is no need to align the blocks right away. A precise alignment of the blocks at this time does not make sense, until you have interconnected them and entered the comments in your circuit program. Information on block numbering is found here (Page 367). How to quickly and easily select blocks and place them into your circuit program (Page 369) 3.2.1.
Tutorial 3.2 Getting started with program creation Configuring blocks Double-click a block to configure block properties. The properties dialog includes a Comment tab as well as various parameter tabs for the SFBs (Page 212), and for some of the basic functions (Page 207) and constants and connectors (Page 191). You specify here the values and settings for your blocks. You can click the Help button to get help on the parameters of the selected block.
Tutorial 3.2 Getting started with program creation Note on the LAD Editor: Do not forget to connect the I/O to the bus bar on the left edge of the editor window. Tips on connecting blocks When you connect an input to an output, or vice versa, LOGO!Soft Comfort displays a tooltip that shows the connection. Release the mouse button to snap the line onto the indicated input. You can refer to the short information (tooltips) in LOGO!Soft Comfort for additional help on circuit programming.
Tutorial 3.2 Getting started with program creation Rules for connecting blocks The following rules apply to the connection of blocks: ● You can connect a single input to multiple outputs. ● You cannot connect multiple inputs to a single output. ● You cannot interconnect I/O in the same path of a circuit program. Recursion is not permitted. Interconnect a flag (Page 195) or output (Page 194) if necessary. ● SFBs (Page 212) also have green "connectors".
Tutorial 3.2 Getting started with program creation Optimizing the circuit program Should you determine in the course of creating your circuit program that a LOGO! device is unable to handle your circuit program, you should first make use of all the functional resources offered to you by the LOGO! device. You could, for instance, replace memory intensive blocks (Page 360) with a structure consisting of several blocks, which altogether require less memory space.
Tutorial 3.2 Getting started with program creation 3.2.1.8 Editing a parameter box To create, cut, or delete a connection line, follow these steps: 1. Click the connector of one parameter box and drag the mouse to a connector of another parameter box to make a connection between the two parameter boxes. 2. You can cut and rejoin the reference line. For information on cutting the reference line, see Cut/Join (Page 39). 3. You can delete the reference line.
Tutorial 3.2 Getting started with program creation You can refer to the short information (tooltips) in LOGO!Soft Comfort for additional help on circuit programming. Hover over a block to see the name of the block. Hover over a block input to see the name of the input. Rules for connecting parameter boxes The following rules apply to the connection of blocks: ● You can connect a single input to multiple outputs. ● You cannot connect multiple inputs to a single output.
Tutorial 3.2 Getting started with program creation 3.2.2.1 Selecting objects Before you can move or align objects you must first select them. Click the selection tool in the programming toolbar or press the [ESC] key to activate the selection tool. or [ESC] → Selection (Page 38) You select single blocks or connecting lines with a simple mouse click. To select groups of blocks or connecting lines, you "capture" them with the mouse.
Tutorial 3.2 Getting started with program creation If you do not connect a line to a suitable target connector, LOGO!Soft Comfort reconnects it to its initial position after you "release" the mouse button. 3.2.2.3 Replacing blocks To replace a block in your circuit program with another function block, follow these steps: 1. Insert the new block above or below the block you want to replace. 2.
Tutorial 3.2 Getting started with program creation You can also cut a group of connections, using the Edit → Cut Connections menu command. Before you cut any connections, you can also set the cutting criteria, for example, cut all connections routed through blocks. Example for the FBD Editor: The connection is closed again by clicking on its open end while the Cut/Join tool is active. Optionally, you can close the connection by right-clicking on an open end and calling the Join menu command.
Tutorial 3.2 Getting started with program creation 3.2.3 Documentation and saving 3.2.3.1 Documentation of the circuit program Labels You can create block-independent and associated labels using the text tool of the programming toolbar. To do so, click the text tool. → Text tool (Page 39) When this icon is active, open a text input box by clicking a free area of the programming interface or a block.
Tutorial 3.2 Getting started with program creation associated label can be selected and moved, copied, cut or pasted individually. An associated label that is pasted from the clipboard is no longer associated with the block. In Edit → Input/output Names (Page 63) you can assign block numbers and connector names to the I/O. Comment linking and connector comments Text comments can be linked to function blocks or to cut connectors.
Tutorial 3.3 Simulation of a circuit program 3.3 Simulation of a circuit program 3.3.1 Starting the simulation Use the Tools → Simulation (Page 95) menu command or the simulation icon programming toolbar to place your circuit program in simulation mode.
Tutorial 3.3 Simulation of a circuit program → Display for analog input block → Frequency input Input functions You set the response of your inputs for simulation purposes with the Tools → Simulation Parameters (Page 95) menu command. 3.3.3 Layout of the outputs In simulation mode, LOGO!Soft Comfort displays the outputs Q (Page 194) and the flag M (Page 195) as outputs. LOGO!Soft Comfort indicates the status of an output or flag by a light or dark bulb icon.
Tutorial 3.3 Simulation of a circuit program 3.3.5 Power failure The user can simulate a power failure by clicking the Power icon to interrupt the power supply to all inputs. → Power icon, not actuated → Power icon, actuated → Simulated power failure You can use this function to test the reaction of the circuit to power failure and restart, as well as its retentivity. In contrast to the start of simulation, retentivity is relevant for the "Power failure" function.
Tutorial 3.3 Simulation of a circuit program Standard View The following display shows you the standard view with the message destination on the LOGO! display only: ① ② ③ Tab of the displayed message text stating the priority. ④ Details button If you click this button, the view changes and you receive more detailed information in the Detail View (see below). ⑤ ⑥ ⑦ Tab of another message text. Name of the message destination. It can be "LOGO! onboard display" or "LOGO! TD", depending on your setting.
Tutorial 3.3 Simulation of a circuit program Detail View The following display shows you the detail view with the message destination on the LOGO! TD only: ① ② ③ ④ Details button If you click this button, you return to the standard view (see above). Enter value manually symbol Before you can use this function you must first click a changeable entry in the message text. If you then click this button, you can manually change the current value.
Tutorial 3.3 Simulation of a circuit program View for separate LOGO! onboard display and LOGO! TD message text displays If you select the option "Show message text for the LOGO! TD in a separate window" from the Tools -> Options: Simulation (Page 121) dialog and specify that the message destination is on both the LOGO! onboard display and the LOGO! TD, simulation mode shows active message texts for both modules in separate windows. 3.3.
Tutorial 3.3 Simulation of a circuit program 3.3.8 Alternative operation You can click directly the inputs to switch them on or off. 3.3.9 Controlling the simulation time The simulation mode of LOGO!Soft Comfort allows you to test your circuit program on a timed basis, or over a specific number of cycles. You can even modify the time of day to test timer operations in your circuit program.
Tutorial 3.3 Simulation of a circuit program You can remove a diagram from the simulation group by clicking the button "Simulate out of network". After you remove it, LOGO!Soft Comfort continues to simulate the circuit program but without communication to the other circuit programs. For circuit programs without the network feature, simulation is the same as in LOGO! 0BA6. 3.3.11 Data table (0BA7 and 0BA8 only) You can watch Variable Mapping (VM) values in the Data Table.
Tutorial 3.4 Getting started with project creation The table below shows the valid address types and memory ranges: Address Type Range Bit x.0 to x.7 VB 0 to 850 VW 0 to 849 VD 0 to 847 IB 0 to 2 QB 0 to 2 MB 0 to 7 For simulation, the values of the Data Table will be updated each cycle. For online test, the values are updated after each communication. 3.
Tutorial 3.4 Getting started with project creation 3.4.1.2 Creating a circuit project Developing a circuit project Perform these tasks to develop a circuit program: 1. Create a new project (Page 149). 2. Add a new device (Page 150) 3. Create a circuit program for the device (Page 127) 4. Save the project (Page 153) 3.4.1.3 Adding a new device After you create a new project, you can start to design your network and add devices. 1. Double-click Add new device in the Network project tree. 2.
Tutorial 3.4 Getting started with project creation LOGO! device In the network view, you can add four types of LOGO! device: ● LOGO! 0BA7 ● LOGO! 0BA7 slave ● LOGO! 0BA8 ● LOGO! 0BA8 slave The following display shows you the standard view of a device model for LOGO! 0BA8. ① Ethernet port This port shows the Ethernet port to other devices. ② Device image Device image You can create Ethernet connections between devices by connecting the ③ Normal connector normal connectors through drag-and-drop operation.
Tutorial 3.4 Getting started with project creation In LOGO!Soft Comfort, you can only connect a LOGO! slave to a LOGO! device and you cannot create connection by dragging and dropping. You can only create the connection by connecting network blocks. For how to connect LOGO! devices, refer to Configuring Ethernet connection, LOGO! to LOGO! slave (Page 163). S7 compatible device In LOGO!Soft Comfort, you can only connect S7 to LOGO! devices, but not HMI, TDE or LOGO! slave.
Tutorial 3.4 Getting started with project creation 3.4.1.5 Opening and saving a circuit project Saving a project Click the save icon in the standard toolbar to save the project. →File Save (Page 49) LOGO!Soft Comfort saves the project under the name it was opened with and overwrites the older versions. When you initially save a project, LOGO!Soft Comfort prompts you to specify a program path and name.
Tutorial 3.4 Getting started with project creation Transferring block data between two diagrams by two-side programming Position the mouse pointer on the output connector of a function block. Press the left mouse button and hold it. Move the pointer from the source connector to the target input connector. Release the mouse button. LOGO!Soft Comfort connects the two terminals.
Tutorial 3.4 Getting started with project creation An alternative way to set up the connection 1. Insert a pair of network blocks (for example, NI/NQ) in the two diagrams. 2. Connect the NI to the block from which you want to get remote value. 3. Connect NQ to the block to which you want to transfer data. 4. Connect the NI and NQ. 3.4.2 Device setting configuration 3.4.2.1 Configuring PC settings The local PC running LOGO!Soft Comfort is the local device for the network configuration.
Tutorial 3.4 Getting started with project creation 3.4.2.4 Configuring settings for other standard devices For other standard devices If you have added SIMATIC HMI devices, SIMATIC S7 devices, a LOGO! TDE, or other devices in the network view, you can then edit the device name, IP address, subnet mask, and gateway for those devices. You can also browse files on your computer and import a project file with the settings for HMI and S7 devices. 3.4.2.
Tutorial 3.4 Getting started with project creation 3.4.3 Ethernet connection configuration 3.4.3.1 Configuring Ethernet connection, LOGO! to local LOGO! LOGO!Soft Comfort supports to create Ethernet connections in network view frame. For more information, you can refer to Tools -> Ethernet Connections (0BA7 and 0BA8 only) (Page 100).
Tutorial 3.4 Getting started with project creation ① ② ③ Starting point (Client): All the fields are read-only. End point (Server): All the fields are read-only. Data transfer table See Tools -> Ethernet Connections (0BA7 and 0BA8 only) (Page 100) for more information about data transfer configurations. Note If you connect a normal connector to a dynamic connector, the LOGO! device using the normal connector is the client.
Tutorial 3.4 Getting started with project creation Cross-LAN connection LOGO!Soft Comfort allows to add devices with different LAN settings to the same network project. If you attempt to connect devices outside the LAN, dragging and dropping approach may be inapplicable. Make sure the router on both sides can communicate with each other, for information on how to create cross-LAN connections, see section Configuring Ethernet connection, LOGO! to non-project devices (Page 166).
Tutorial 3.4 Getting started with project creation You need to know the following during your operations: ● LOGO!Soft Comfort creates connection lines in order from left to right. ● You can only change the server/client status, data transfer address, and direction by adding and configuring the related function block. ● You can only remove the connection line by deleting the added NI and NQ blocks. You cannot click on the standard toolbar to remove these blocks.
Tutorial 3.4 Getting started with project creation 3.4.3.2 Configuring Ethernet connection, LOGO! to remote devices Creating remote connections If you added network blocks to communicate with remote devices, you can configure connections as follows: 1. Right click the function block and set the block properties of this block. 2. Define the device to connect as a remote device. 3. Choose the device name and IP address of the target device.
Tutorial 3.4 Getting started with project creation Function Block Local Device LOGO! 0BA8 NI LOGO! 0BA7 LOGO! 0BA8 NAI LOGO! 0BA7 Remote Device Block Type and Value Range LOGO! 0BA8 I: [1, 24] / Q: [1, 20] / M: [1, 64] / V: [0, 850].[0,7] LOGO! 0BA7 I: [1, 24] / Q: [1, 16] / M: [1, 27] / V: [0, 850].[0,7] S7 Compatible device I: [0, 65535].[0,7] / Q: [0, 65535].[0,7] / M: [0, 65535].[0,7] / V: [0, 65535].[0,7] / DB: [0, 16000].[0, 65535].
Tutorial 3.4 Getting started with project creation Configuring remote connections Follow the same approach to configure remote connections as that in section Configuring Ethernet connection, LOGO! to local LOGO! (Page 157). Note that LOGO!Soft Comfort allows you to switch to the diagram of the connected device simply by clicking on the values (NI1/NQ1...) in the connection dialog. This operation is only available for network blocks. 3.4.3.
Tutorial 3.4 Getting started with project creation 3.4.3.4 Configuring Ethernet connection, LOGO! to S7 devices LOGO!Soft Comfort supports the creation and configuration of Ethernet connections between LOGO! Base Modules and S7 compatible devices. Double-click the connection line to configure the connection settings: ① ② ③ LOGO! Base Module: The LOGO Base Module is the client by default, you can set it as the client or the server here.
Tutorial 3.4 Getting started with project creation 3.4.3.5 Configuring Ethernet connection, LOGO! to HMI devices LOGO!Soft Comfort supports the creation and configuration of Ethernet connections between LOGO! Base Modules and Siemens HMI (SIMATIC Panel) devices. Double-click the connection line to configure the connection settings: ① LOGO! Base Module: All the fields are read-only. ② ③ The LOGO! Base Module is always the server. HMI: You can set the TSAP address here.
Tutorial 3.4 Getting started with project creation 3.4.3.6 Configuring Ethernet connection, LOGO! to non-project devices LOGO!Soft Comfort supports the creation and configuration of Ethernet connections between LOGO! Base Modules and devices outside of the current project. You can right-click the LOGO! Base Module or its connector and choose to add a server connection or a client connection. Adding server connection Follow the steps below to configure the server connection.
Tutorial 3.4 Getting started with project creation Adding client connection Follow the steps below to configure the client connection. ① ② ③ LOGO! Base Module: All the fields are read-only. Non-project Device: Enter the IP address and TSAP port to enable connection to the non-project device. Data transfer table See Tools -> Ethernet Connections (0BA7 and 0BA8 only) (Page 100) for more information about data transfer configurations.
Tutorial 3.5 Practical example Note • If you choose the LOGO! Base Module when creating connections, the terminal automatically uses the available connector in the left-to-right order. • If you choose a specific connector, the terminal uses the connector that you selected. 3.5 Practical example 3.5.1 Practical example: Introduction This practical sample application (Page 168) for a service water pump offers new users a step-by-step introduction.
Tutorial 3.5 Practical example Requirements of the control system ● Service water must be available at all times. An emergency control system must change over to drinking water supply, for example, if service water runs low. ● The ingress of service water into the drinking water network must be prevented when switching over to drinking water supply. ● The pump must be disabled if the service water reservoir runs low of water (dry-run protection).
Tutorial 3.5 Practical example 3.5.3 Layout of the solution The pump and a solenoid valve are controlled by a pressure switch and three float switches, which are installed in the service water reservoir. The pump must be switched on if the pressure in the reservoir drops below minimum. When the operating pressure is reached, the pump is switched off again after a tracking time of a few seconds. The tracking time prevents pump oscillation if water is tapped over an extended period.
Tutorial 3.5 Practical example 3.5.4 Solution with LOGO! Connecting field devices In addition to the LOGO! device, all you need is the pressure switch and the float switches to control the pump. If you are using a 3-phase AC motor, a contactor relay is required for switching the pump. In systems with single-phase AC pumps, you must install a contactor relay if the current of the AC pump exceeds the switching capacity of the output relay Q1.
Tutorial 3.5 Practical example Block diagram The block diagram shows you how to interconnect the pump controls and the solenoid valve. The layout corresponds with the structure of the circuit program.
Tutorial 3.5 Practical example 3.5.6 Placing blocks In the next step, place the required blocks into the programming interface. Note that in addition to the standard and special functions, you also require I/O blocks. At this stage of progress it is sufficient for you to place the blocks roughly into position that seems appropriate to you for connecting them later. You can carry out fine positioning after making all of the connections.
Tutorial 3.5 Practical example UDF Editor: 3.5.7 Connecting blocks Connect the blocks as you have planned previously. Connect them by drawing the connecting line, starting at the output of a source block and ending at the input of the target block. This has the advantage that you are shown the name of the connector when you interconnect the input, which is particularly advantageous for the various connectors of SFBs.
Tutorial 3.5 Practical example LAD Editor: UDF Editor 3.5.8 Cleaning up the programming interface Some of the connecting lines might be routed across blocks, which can make the layout of the circuit program hard to read. To "tidy up" the programming interface, select the connecting lines and blocks where required and move or align them until you have optimized the circuit program layout as far as possible.
Tutorial 3.
Tutorial 3.5 Practical example 3.5.9 Optimizing the view You can cut unwanted though unavoidable line crossings using the Cut/Join tool (Page 39) to improve the appearance.
Tutorial 3.5 Practical example UDF Editor Note that UDF blocks do not support inputs, outputs, analog inputs, analog outputs, M8, M25, M26, M27, shift registers, the data log or message text function blocks. You have now completed your circuit program. Verify all connections once again and configure the block parameters to suit your requirements. 3.5.10 Testing the circuit program Place your circuit program in simulation mode (Page 95) and verify that your program is error-free.
Tutorial 3.5 Practical example 3.5.11 Circuit program documentation Program comments You can now start to add comments to your program using the Text tool (Page 39). Describe the I/O to make your circuit program easy to understand. You do not have to display the connector names on-screen. You should nevertheless assign names to the connectors, because you may want to print out a connection list at a later time.
Tutorial 3.5 Practical example Transferring the circuit program Finally, transfer your circuit program to a suitable LOGO! version and then connect the module. Connect LOGO! with the consumer devices in your project. You have created the circuit program under LOGO!Soft Comfort within a very short time and, compared with conventional methods, you have saved yourself a considerable amount of time and effort. 3.5.
Sample applications 4 Introduction To give you an impression of the versatility of LOGO!, LOGO!Soft Comfort includes a small collection of applications, in addition to the service water pump application shown in the tutorial. This online help briefly describes the tasks and presents the relevant solutions with LOGO!Soft Comfort. You can find these circuit programs, as well as many others, on your LOGO!Soft Comfort DVD-ROM in the ..\Samples folder.
Sample applications 4.1 Air-conditioning system ● The fresh-air fan may only be switched on if the flow sensor signals the safe operational state of the extractor fan. ● A warning lamp indicates failure of one of the fans. Standard solution The fans are under monitoring by means of flow sensors. If the sensors registered no air flow after a short delay time has expired, the system is switched off and an error message is generated, which can be acknowledged by pressing the off button.
Sample applications 4.2 Factory door You can invert output Q3 to use output messages at Q4. Relay Q4 only drops out if main power is lost or if there is a fault in the system. The output can then be used for a remote message. 4.2 Factory door Requirements for a gate control system In many cases a factory entrance is closed with roll gates. Those gates are only opened when vehicles need to enter or leave the factory grounds. The gate is controlled by a gatekeeper.
Sample applications 4.3 Heating control 4.3 Heating control Requirements of the heating control This example illustrates a heating control where the flow temperature of the heating is to be controlled at an inverse proportion to the outdoor temperature. This means that the lower the outdoor temperature, the greater the flow temperature. PT100 sensors measure the outdoor and flow temperatures. With an outdoor temperature of 0 °C, the flow temperature should be 50 °C (x).
Sample applications 4.3 Heating control LOGO!Soft Comfort Solution ① ② ③ ④ ⑤ A PT100 sensor is connected to AI1 which measures the flow temperature. The parameters for the analog amplifier are as follows: • Sensor: PT100 • The PT100 sensors stipulate the measuring range and parameters. • Unit: Celsius • Resolution: x 1 The amplifier causes the actual temperature that the sensor has measured to be issued as the output. A PT100 sensor is connected to AI2 which measures the outdoor temperature.
Sample applications 4.3 Heating control ⑥ The parameters for the analog comparator are as follows: • Sensor: No sensor • Gain: 1 • Offset: 0 • On Threshold value: 4 • Off Threshold value: 0 The analog comparator switches on the output Q2 if the difference between the flow temperature and the standardized outdoor temperature exceeds 4 °C. ⑦ If the difference falls below 0 °C, the analog comparator switches the output Q2 off again. Output Q2 switches the heating on and off.
Sample applications 4.4 Fill station 4.4 Fill station Requirements for a fill station A box shall be filled with two different items, up to a specified total for each item. When all items are in the box, it will be transported to the packaging station. A conveyor belt transports the items of both types to the box. (This example does not show the filling conveyor belt.
Sample applications 4.
Sample applications 4.4 Fill station Parameters of the function blocks Note the following parameter usage: ● The on-thresholds of counters B001 and B002 define the maximum number of items of each item type to be put in the box. ● The pulse width (TH) of the edge-triggered wiping relay defines the duration of the movement of the conveyor belt.
Sample applications 4.4 Fill station Message texts Message text block B010 displays a message text whose four lines all tick "line by line", such that two screen forms display in alternation. The first shows bar graph representations of the counted items (B001 and B002 current values) and a bar graph for the summed total items as calculated by B007. The second screen form shows the same values numerically and with text descriptions.
Reference material 5.1 5 Constants and connectors You must select this tool if you want to place input blocks, output blocks, flags or constants (high, low) on the programming interface. You can select the specific type of block to insert from an additional toolbar that pops up when you select this tool.
Reference material 5.
Reference material 5.1 Constants and connectors 5.1.1 FBD and UDF 5.1.1.1 Inputs Input blocks represent the input terminals of LOGO!. Up to 24 digital inputs are available to you. In your block configuration, you can assign an input block a new input terminal, if this terminal is not already used in the circuit program. Overview (Page 191) This block is not available in the UDF Editor. 5.1.1.2 Cursor keys Up to four cursor keys are available to you.
Reference material 5.1 Constants and connectors This block is not available in the UDF Editor. 5.1.1.4 Outputs Output blocks represent the output terminals of LOGO!. You can use up to 20 outputs. In your block configuration, you can assign an output block a new terminal, provided this terminal is not already used in your circuit program. The output always carries the signal of the previous program cycle. This value does not change within the current program cycle.
Reference material 5.1 Constants and connectors The LOGO! 0BA7 and LOGO! 0BA8 devices provide a maximum of 32 shift registers bits S1.1 to S4.8. Overview (Page 191) This block is not available in the UDF Editor. 5.1.1.7 Open connectors Interconnect the output of an unused block (for example, message texts) with this block. Number of the open connectors: 16 (LOGO! 0BA6) or 64 (LOGO! 0BA7 and LOGO! 0BA8). Overview (Page 191) This block is available in both FBD and UDF Editors. 5.1.1.
Reference material 5.1 Constants and connectors Startup flag: M8 The M8 flag is set in the first cycle of the user program and can thus be used in your circuit program as a startup flag. It is reset after the first program execution cycle. In the subsequent cycles, the M8 flag reacts in the same way as the M1 to M64 flags. Backlight flags Flags M25, M28 and M29 control the backlight of the LOGO! onboard display. Flags M26, M30 and M31 control the backlight of the LOGO! TDE.
Reference material 5.1 Constants and connectors Some of the input terminals of the LOGO! 0BA6 versions 12/24RC, 12/24RCo, 24/24o, 24C and 24Co have a dual definition: they can be used as either digital inputs or analog inputs. See the LOGO! Manual or product information for specific information about specific modules. Circuit programs written for these modules for the LOGO! 0BA5 release and earlier can run on LOGO! 0BA6 modules without modification.
Reference material 5.1 Constants and connectors 5.1.1.11 Network inputs (0BA7 and 0BA8 only) You can connect a network input to a block input. You can configure up to 64 network inputs. Network inputs can read values from the following types: ● VM When reading values from VM, the VB address range is 0 to 850. ● Remote device When reading values from a remote device, you must enter its IP address or select from the existing device types.
Reference material 5.1 Constants and connectors Available device types and their block types are as follows: Device type Block type LOGO! 0BA7 (Page 161) I1 to I24, Q1 to Q16, M1 to M27, and VB0 to VB850 LOGO! 0BA8 (Page 161) I1 to I24, Q1 to Q20, M1 to M64, and VB0 to VB850 S7-compatible devices (Page 164) IB0 to IB65535, QB0 to QB65535, MB0 to MB65535, VB0 to VB65535, DB0 to DB16000, and .DBB0 to .
Reference material 5.1 Constants and connectors Overview (Page 191) Network inputs are inactive in the UDF Editor. 5.1.1.12 Network analog inputs (0BA7 and 0BA8 only) You can connect a network analog input to a block input. You can configure up to 32 network analog inputs. Network analog inputs can read values from the following types: ● VM When reading values from VM, the VW address range is 0 to 849.
Reference material 5.1 Constants and connectors – Remote device types for LOGO! 0BA8 Available remote device types and their block types are as below: Device type Block type LOGO! 0BA7 (Page 161) VW0 to VW849 LOGO! 0BA8 (Page 161) VW0 to VW849 S7-compatible devices (Page 164) IW0 to IW65534, QW0 to QW65534, MW0 to MW65534, VW0 to VW65534, DB0 to DB16000, and .DBW0 to .
Reference material 5.1 Constants and connectors 5.1.1.13 Network outputs (0BA7 and 0BA8 only) When the LOGO! 0BA8 or LOGO! 0BA7 Base Module is in slave mode, you can configure a network output on the master to control a digital output on the remote device. You can configure up to 64 network outputs. ● LOGO! 0BA8 For LOGO! 0BA8, network outputs can write values to the following types: – VM When writing values to VM, the VB address range is 0 to 850.
Reference material 5.1 Constants and connectors Available device types and their block types are as follows: Device type Block type LOGO! 0BA7 (Page 161) VB0 to VB850 LOGO! 0BA8 (Page 161) I1 to I24, Q1 to Q20, M1 to M64 and VB0 to VB 850 S7-compatible devices (Page 164) IB0 to IB65535, QB0 to QB65535, MB0 to MB65535, VB0 to VB65535, DB0 to DB16000 and .DBB0 to .
Reference material 5.1 Constants and connectors When writing values to a remote device, you must first enter the device IP address or select the existing device. Available device types and their block types are as follows: Device type Block type LOGO! 0BA7 (Page 161) VW0 to VW849 LOGO! 0BA8 (Page 161) VW0 to VW849 S7-compatible devices (Page 164) IW0 to IW65534, QW0 to QW65534, MW0 to MW65534, VW0 to VW65534, DB0 to DB16000 and .DBW0 to .
Reference material 5.1 Constants and connectors 5.1.2 LAD 5.1.2.1 Make contact Make contacts, as well as break contacts (Page 205) and analog contacts (Page 205) represent the input terminals of a LOGO! module. When you place a contact in your circuit program, LOGO!Soft Comfort displays a relevant dialog. In this dialog, you can specify the type of input according to the LOGO! in use. The cursor keys are also available as inputs as are the LOGO! TDE function keys if you have a LOGO! TDE module.
Reference material 5.1 Constants and connectors 5.1.2.4 Relay coil Relay coils represent the output terminals like inverted outputs (Page 206) and analog outputs (Page 206) on a LOGO!. To change an output in your LAD circuit program, double-click the corresponding block to open a dialog in which you can assign various functions to the output. Overview (Page 191) 5.1.2.
Reference material 5.2 Basic functions (FBD and UDF Editors) 5.1.2.10 Network analog outputs (0BA7 and 0BA8 only) Refer to Network analog outputs (0BA7 and 0BA8 only) (Page 203) in the FBD Editor. 5.2 Basic functions (FBD and UDF Editors) Select this tool if you want to place standard Boolean logic blocks on the programming interface.
Reference material 5.2 Basic functions (FBD and UDF Editors) 5.2.1 AND The output of an AND function is only 1 if all inputs are 1, that is, when they are closed. A block input that is not used (x) is assigned: x = 1.
Reference material 5.2 Basic functions (FBD and UDF Editors) 5.2.3 NAND The output of an NAND function is only 0 if all inputs are 1, i.e. when they are closed. A block input that is not used (x) is assigned: x = 1.
Reference material 5.2 Basic functions (FBD and UDF Editors) Overview (Page 207) 5.2.5 OR The output of an OR function is 1 if at least one input is 1 (closed). A block input that is not used (x) is assigned: x = 0.
Reference material 5.2 Basic functions (FBD and UDF Editors) 5.2.6 NOR The output of an NOR (NOT OR) function is only 1 if all inputs are 0 (open). When one of the inputs is on (logical 1 state), the output is off. A block input that is not used (x) is assigned: x = 0.
Reference material 5.3 Special functions XOR function logic table Input 1 Input 2 Output 0 0 0 0 1 1 1 0 1 1 1 0 Overview (Page 207) 5.2.8 NOT The output of an NOT function is 1 if the input is 0. The NOT block inverts the input status. Advantage of the NOT, for example: LOGO! no longer requires break contacts. You simply use a make contact and convert it into a break contact with the help of the NOT function. NOT function logic table Input 1 Output 0 1 1 0 Overview (Page 207) 5.
Reference material 5.
Reference material 5.3 Special functions The LAD Editor offers you the following additional functions: AND with edge evaluation (Page 208) NAND with edge evaluation (Page 209) FBD and UDF Editors: description of the blocks of special functions The description of the blocks of special functions in the circuit program begins with timer blocks ("T"), with counter blocks ("C") and with the remaining blocks ("SF").
Reference material 5.3 Special functions Block configuration The block properties dialog provides you with an easy means of setting the various block parameters. Reference functionality You can also assign parameters to blocks with the value from other blocks. Such parameters are reference parameters. The parameter box displays the block's parameters in a table. You can reference any parameter in the parameter box to the parameter of another function.
Reference material 5.3 Special functions LAD Editor/0BA4-0BA7: The parameter box is not available in the LAD Editor or for 0BA4-0BA7 devices. Follow the below steps to create a reference: 1. Click the "Reference" button next to a parameter in the block properties window. 2. LOGO!Soft Comfort displays all the blocks available for providing the reference parameter. 3. Select the block you want to refer to.
Reference material 5.3 Special functions 5.3.1 Timers 5.3.1.1 On-delay Short description The output does not switch on until a configured delay time has expired. Connection Description Trg input The Trg (Trigger) input triggers the on-delay time. Parameter T: represents the on-delay time after which the output is switched on (output signal transition 0 to 1). Retentivity on = the status is retentive in memory.
Reference material 5.3 Special functions ● Multiple function switch: Ta ● Stopwatch: AQ ● Analog filter: AQ ● Average value: AQ ● Max/Min: AQ ● Threshold trigger: Fre You can select the required function by the block number. For information on the validity and accuracy of the time base, refer to the LOGO! manual. Timing diagram Description of the function The 0 to 1 transition at input Trg triggers the time Ta (the current time in LOGO!).
Reference material 5.3 Special functions Parameter T: The output is switched off on expiration of the delay time T (output signal transition 1 to 0). Retentivity on = the status is retentive in memory. Output Q Q switches on for the duration of the time T after a trigger at input Trg.
Reference material 5.3 Special functions Timing diagram Description of the function A 0 to 1 transition at input Trg sets output Q to 1 instantaneously. At the 1 to 0 transition at input Trg, LOGO! retriggers the current time T, and the output remains set. LOGO! resets the output Q to 0 when Ta reaches the value specified in T (Ta=T) (off delay). A one-shot at input Trg retriggers the time Ta. You can reset the time Ta and the output via the input R (Reset) before the time Ta has expired.
Reference material 5.
Reference material 5.3 Special functions Timing diagram Description of the function A 0 to 1 transition at input Trg triggers the time TH. If the status at input Trg is 1 for at least the duration of the configured time TH, LOGO! sets the output to logical 1 upon expiration of this time (output is on-delayed to the input signal). The time TH resets if the status at input Trg resets to 0 before this time has expired. The 1 to 0 transition at the output triggers the time TL is triggered.
Reference material 5.
Reference material 5.3 Special functions Description of the function A 0 to 1 signal transition at input Trg triggers the current time Ta. LOGO! sets the output Q to 1 when Ta reaches the time T. A further pulse at input Trg does not affect Ta. The output and the time Ta reset to 0 only with a 1 signal at input R. If you do not set the retentivity, output Q and the expired time reset after a power failure. Special functions (Page 212) 5.3.1.
Reference material 5.3 Special functions ● On-delay: Ta ● Off-delay: Ta ● On-/off-delay: Ta ● Retentive on-delay: Ta ● Wiping relay(pulse output): Ta ● Edge triggered wiping relay: Ta ● Asynchronous pulse generator: Ta ● Stairway light switch: Ta ● Multiple function switch: Ta ● Stopwatch: AQ ● Analog filter: AQ ● Average value: AQ ● Max/Min: AQ ● Threshold trigger: Fre You select the required function by the block number.
Reference material 5.3 Special functions Short description An input pulse generates a preset number of output pulses with a defined pulse/pause ratio (retriggerable), after a configured delay time has expired. Connection Description Input Trg You trigger the times for the Edge-triggered wiping relay with a signal at input Trg (Trigger). Input R The output and the current time Ta resets to 0 with a signal at input R. Parameter TH, TL: The pulse width TH and the interpulse width TL are adjustable.
Reference material 5.3 Special functions ● Multiple function switch: Ta ● Stopwatch: AQ ● Analog filter: AQ ● Average value: AQ ● Max/Min: AQ ● Threshold trigger: Fre You select the required function by the block number. Timing diagram Description of the function The change at input Trg to 1 triggers the time TL (time low). After the time TL has expired, LOGO! sets the output Q to 1 for the duration of the time TH (time high).
Reference material 5.3 Special functions Timing diagram Description of function You define the length of the on and off times at the parameter T. The En input enables the pulse generator. The pulse generator sets the output to 1 for the duration of the time T, then to 0 for the duration of the time T and so forth, until input En = 0. Always specify a time T of 0.1 s. A time T is not defined for T = 0.05 s and T = 0.00 s. Special functions (Page 212) 5.3.1.
Reference material 5.
Reference material 5.3 Special functions 5.3.1.9 Random generator Short description The output of a random generator is toggled within a configurable time. Connection Description Input En The positive edge (0 to 1 transition) at the enable input En (Enable) triggers the on-delay for the random generator. The negative edge (1 to 0 transition) triggers the off-delay for the random generator. Parameter TH: The on-delay is determined at random and lies between 0 s and TH.
Reference material 5.3 Special functions ● Multiple function switch: Ta ● Stopwatch: AQ ● Analog filter: AQ ● Average value: AQ ● Max/Min: AQ ● Threshold trigger: Fre You select the required function by the block number. Timing diagram Description of the function With the 0 to 1 transition at input En, a random time (on-delay time) between 0 s and TH is set and triggered. If the status at input En is 1 for at least the duration of the on-delay, the output is set to 1 when this on-delay time has expired.
Reference material 5.3 Special functions 5.3.1.10 Stairway lighting switch Short description The edge of an input pulse triggers a configurable time. The output is reset when this time has expired. An off warning can be output prior to the expiration of this time. Connection Description Input Trg You trigger the time (off-delay) for the stairway switch with a signal at input Trg (Trigger). Parameter T : The output is reset (1 to 0 transition) when the off-delay time T has expired.
Reference material 5.3 Special functions ● Multiple function switch: Ta ● Stopwatch: AQ ● Analog filter: AQ ● Average value: AQ ● Max/Min: AQ ● Threshold trigger: Fre You select the required function by the block number. Timing diagram The prewarning time is set to 15 s. The T! and T!L parameters thus become obsolete. Changing the time base You can change the prewarning time base and the period.
Reference material 5.3 Special functions Description of the function Output Q is set to 1 with a 0 to 1 signal transition at input Trg. The 1 to 0 transition at input Trg triggers the current time and output Q remains set. Output Q is reset to 0 when Ta reaches the time T. Before the off delay time (T - T!) has expired, you can output a prewarning that resets Q for the duration of the off prewarning time T!L. Ta is retriggered (optional) at the next high/low transition at input Trg and if Ta is expiring.
Reference material 5.
Reference material 5.3 Special functions 0BA2, 0BA3: Only the TL and T parameters exist. The output is reset when T has expired. TL determines the period during which the input must be set in order to enable the permanent light function. Input R is not available to the user. Description of the function Output Q is set to 1 with a 0 to 1 signal transition at Trg.
Reference material 5.3 Special functions Short description The output is controlled by means of a configurable on/off date. The function supports any combination of weekdays. Connection Description Parameters No1, No2, No3 At the No1, No2, No3 (Cam) parameters you set the on- and off-time triggers for each cam of the weekly timer. For each Cam you specify the day of the week and the time of day for the on- and off-times.
Reference material 5.3 Special functions on- and off-times for each cam in hour and minute units. Hence, the shortest switching cycle is one minute. Also on each tab you have the option of specifying a pulse output for the cam. You can disable the on- and off-times individually. You can achieve switching cycles extending across more than one day, for example, by setting the on-time for cam 1 to Monday 7:00 h and the off-time of cam 2 to Wednesday 13:07 h, while disabling the on time for cam 2.
Reference material 5.3 Special functions Backup of the real-time clock The internal real-time clock of LOGO! is buffered against power failure. The buffering time is influenced by the surrounding temperature, and is typically 20 days (for LOGO! 0BA7 devices) or 80 hours (for LOGO! 0BA6 devices) at a surrounding temperature of 25 °C. The LOGO! 0BA6 devices and higher support the option of a battery card or a combined program module (memory) and battery card.
Reference material 5.3 Special functions Example 3: Yearly selected, On Time = 2008.06.01, Off Time = 2010.08.31. On June 1 of 2008, 2009, and 2010, the timer output switches on and remains on until August 31. Example 4: Yearly selected, Pulse Output selected, On Time = 2008.03.15, Off Time = 2010.**.**. On March 15 of 2008, 2009, and 2010, the timer output switches on for one cycle. Example 5: Monthly not selected, Yearly not selected, On Time = 2008.06.01, Off Time = 2010.08.31.
Reference material 5.3 Special functions Example 8: Monthly selected, On Time = 2008.**.01, Off Time = 2010.**.05. Starting in 2008, on the first day of each month the timer output switches on and switches off on the fifth day of the month. The timer continues in this pattern through the last month of 2010. Description of the function The yearly timer sets and resets the output at specific on and off dates. Sets and resets are executed at 00:00.
Reference material 5.3 Special functions Backup of the real-time clock The internal real-time clock of LOGO! is buffered against power failure. The buffering time is influenced by the surrounding temperature, and is typically 20 days (for LOGO! 0BA7 and 0BA8 devices) or 80 hours (for LOGO! 0BA6 devices) at a surrounding temperature of 25°C. If you are using the optional LOGO! Battery card, or combined LOGO! Memory/Battery card, LOGO! can retain the clock time for up to two years.
Reference material 5.3 Special functions 5.3.1.14 Astronomical clock (0BA7 and 0BA8 only) Short description The astronomical clock SFB is used to set an output high between sunrise and sunset based on the local time at the geographical location of the LOGO! 0BA7 or 0BA8 devices. The output status of this function block also depends on the configuration of summer time/winter time conversion.
Reference material 5.3 Special functions ● Beijing ● Berlin ● London ● Rome ● Moscow ● Tokyo ● Washington ● Ankara ● Madrid ● Amsterdam If you select one of these locations, LOGO!Soft Comfort uses the latitude, longitude, and time zone of your selection. Alternatively, you can configure a specific latitude, longitude, and time zone for your location, and provide a name for this custom location. Based on the location and time zone, LOGO! calculates the absolute sunrise and sunset time for the current day.
Reference material 5.3 Special functions 5.3.1.15 Stopwatch (0BA7 and 0BA8 only) Short description The stopwatch records the time elapsed since it was enabled. Connection Description Input En En (Enable) is the monitoring input. LOGO! sets the current elapsed time to 0 and begins counting elapsed time when En transitions from 0 to 1. When En transitions from 1 to 0, the elapsed time is frozen.
Reference material 5.3 Special functions Timing diagram Description of the function When En = 1, the current time increases. When En = 0, the current time counting pauses. When En = 1 and Lap = 0, the output AQ outputs the value of the current elapsed time. When En = 1 and Lap = 1, the current time continue increasing, but the output AQ outputs the value of the Lap time. When En = 0 and Lap =1, the output AQ outputs the value of the Lap time.
Reference material 5.3 Special functions 5.3.2 Counters 5.3.2.1 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.
Reference material 5.
Reference material 5.3 Special functions Calculation rule ● If the on threshold ≥ off threshold, then: Q = 1, if Cnt ≥ On Q = 0, if Cnt < Off. ● If the on threshold < off threshold, then: Q = 1, if On ≤ Cnt < Off. 0BA0-0BA5: The Start Value parameter does not exist. The counter always counts up or down from 0. 0BA0-0BA3: The off parameter does not exist. The calculation rule is therefore void. Caution The function polls the limit value of the counter once in each cycle.
Reference material 5.3 Special functions Input Ral Parameter A positive edge at input Ral (Reset all) resets the hours counter (OT) and the output, and sets the time-to-go value (MN) to the configured maintenance interval (MI): • Output Q = 0 • The measured operating hours OT = 0 • The time-to-go of the maintenance interval MN = MI. MI: Maintenance interval to be specified in units of hours and minutes Range of values: 0000 h to 9999 h, 0 m to 59 m OT: Accumulated total operating time.
Reference material 5.3 Special functions ● Wiping relay(pulse output): Ta ● Edge triggered wiping relay: Ta ● Asynchronous pulse generator: Ta ● Stairway light switch: Ta ● Multiple function switch: Ta ● Stopwatch: AQ ● Analog filter: AQ ● Average value: AQ ● Max/Min: AQ ● Threshold trigger: Fre You select the required function by the block number. Timing diagram These values are always retentive. Description of the function The hours counter monitors input En.
Reference material 5.3 Special functions Depending on your configuration of the Q parameter, the output is either reset with a reset signal at input R or Ral ("Q → R"), or when the reset signal is 1 or the En signal is 0 ("Q → R+En"). Viewing the MI, MN and OT values In LOGO!Soft Comfort you can fetch the hours counter via the Tools -> Transfer -> Hours Counter (Page 85) menu command.
Reference material 5.3 Special functions If the Retentivity option is not available, then delete the block and insert a new special function hours counter at the same position. 0BA0-0BA5: The maintenance interval (MI) and the start time for the operating time (OT) were in units of hours. These values could not be provided by another function prior to the 0BA6 device series.
Reference material 5.3 Special functions Parameter On: On threshold Range of values: 0000 to 9999 Off: Off threshold Range of values: 0000 to 9999 G_T: Time interval or gate time during which the input pulses are measured. Range of values: 00:00 s to 99:99 s Output Q Q is set or reset according to the threshold values.
Reference material 5.3 Special functions Timing diagram Description of the function The trigger measures the signals at input Fre. The pulses are captured during a configurable period G_T. Q is set or reset according to the set thresholds. See the following calculation rule. Calculation rule ● If the threshold (On) ≥ threshold (Off), then: Q = 1, if fa > On Q = 0, if fa ≤ Off. ● If the threshold (On) < threshold (Off), then Q = 1, if On ≤ fa < Off. Special functions (Page 212) 5.3.3 Analog 5.3.3.
Reference material 5.3 Special functions Parameter Gain Range of values: -10.00 to 10.00 Offset Range of values: -10000 to 10000 On: On threshold Range of values: -20000 to 20000 Off: Off threshold Range of values: -20000 to 20000 p: Number of decimals Range of values: 0, 1, 2, 3 Output Q Q is set or reset depending on the set thresholds. * AI1 to AI8: 0 to 10 V corresponds with 0 to 1000 (internal value).
Reference material 5.3 Special functions You select the required function by the block number. 0BA4: A: Gain Range of values 0.00 to 10.00 0BA2, 0BA3: These parameters apply: G: Gain in [%] Range of values 0% to 1000% O: Offset Range of values -999 to 999 On: On threshold Range of values 0 to 9999 Off: Off threshold Range of values 0 to 9999 Parameter p (number of decimals) Parameter p applies only to the display of On, Off and Ax values in a message text.
Reference material 5.3 Special functions 0BA2, 0BA3: The function is as follows: The offset parameter is added to the read analog value. The sum is multiplied by the value of the gain parameter. Value = (AI+offset)*gain Output Q is set to 1 if the calculated value exceeds the on threshold (TH high). Q is reset to 0 when the value reaches or drops below the off threshold (TH low).
Reference material 5.3 Special functions Particular characteristics to be noted when configuring Refer to the help on analog block parameters in the Analog value processing (Page 286) section. Note The decimal point setting must be identical in the minimum and maximum range.
Reference material 5.3 Special functions 5.3.3.2 Analog differential trigger Short description The output is set and reset depending on a configurable threshold and a differential value.
Reference material 5.3 Special functions Timing diagram A: Function with negative difference Delta Timing diagram B: Function with positive difference Delta Description of the function The function fetches the analog signal at input Ax. Ax is multiplied by the value of the A (gain) parameter, and the value at parameter B (offset) is added to product, i.e. (Ax * gain) + offset = actual value of Ax. Output Q is set or reset, depending on the set (On) threshold and difference value (Delta).
Reference material 5.3 Special functions 5.3.3.3 Analog comparator Short description The output is set and reset depending on the difference Ax – Ay and on two configurable thresholds.
Reference material 5.
Reference material 5.3 Special functions Timing diagram Description of the function The function reads the value of the signal at the analog input Ax. This value is multiplied by the value of parameter A (gain). Parameter B (offset) is added to the product, hence (Ax * gain) + offset = Actual value Ax. (Ay * gain) + offset = Actual value Ay. Output Q is set or reset depending on the difference of the actual values Ax – Ay and the set thresholds. See the following calculation rule.
Reference material 5.3 Special functions Reducing the input sensitivity of the analog comparator You can delay the output of the analog comparator selectively by means of the "on delay" and "off delay" SFBs. By doing so, you determine that output Q is only set if the input trigger length Trg (= output of the analog comparator) exceeds the defined on delay time. This way you can set a virtual hysteresis, which renders the input less sensitive to short changes.
Reference material 5.3 Special functions Output Q Q is set/reset, depending on the stored analog value and the offset. * AI1 to AI8: 0 to 10 V corresponds with 0 to 1000 (internal value).
Reference material 5.3 Special functions Parameter p (number of decimals) Parameter p applies only to the display of Aen, Ax, Threshold 1 and Threshold 2 values in a message text. Timing diagram Description of the function A 0 to 1 transition at input En saves the value of the signal at the analog input Ax. This saved process variable is referred to as "Aen".
Reference material 5.3 Special functions 5.3.3.5 Analog amplifier Short description This SFB amplifies an analog input value and returns it at the analog output.
Reference material 5.3 Special functions Particular characteristics to be noted when configuring For help on analog block parameters, refer to the Analog value processing (Page 286) section. Analog output If you connect this special function to a real analog output, then note that the analog output can only process values from 0 to 1000. To do this, connect an additional amplifier between the analog output of the special function and the real analog output.
Reference material 5.
Reference material 5.3 Special functions Timing diagram Description of function If input En is set, then the function issues one of four possible analog values V1 to V4 at the output AQ, depending on the inputs S1 and S2. If the input En is not set, then the function issues the analog value 0 at output AQ. Particular characteristics to be noted when configuring For help on analog block parameters, refer to the Basics (Page 286) section.
Reference material 5.
Reference material 5.3 Special functions 5.3.3.7 Pulse Width Modulator (PWM) Short description The Pulse Width Modulator (PWM) instruction modulates the analog input value Ax to a pulsed digital output signal. The pulse width is proportional to the analog value Ax. Connection Description Input En A positive edge (0 to 1 transition) at input En enables the PWM function block. Input Ax Analog signal to be modulated to a pulsed digital output signal. Parameter Gain Range of values: -10.00 to 10.
Reference material 5.3 Special functions ● On-delay: Ta ● Off-delay: Ta ● On-/off-delay: Ta ● Retentive on-delay: Ta ● Wiping relay(pulse output): Ta ● Edge triggered wiping relay: Ta ● Asynchronous pulse generator: Ta ● Stairway light switch: Ta ● Multiple function switch: Ta ● Stopwatch: AQ ● Analog filter: AQ ● Average value: AQ ● Max/Min: AQ ● Threshold trigger: Fre You select the required function by the block number.
Reference material 5.3 Special functions Example 2 Analog input value: 300 (range 0 to 1000) Periodic time T: 10 seconds The digital output of the PWM function is 3 seconds high, 7 seconds low, 3 seconds high, 7 seconds low and continues in that pattern as long as parameter "En" = high. Calculation rule Q = 1, for (Ax – Min) / (Max – Min) of time period PT Q = 0, for PT – [(Ax – Min) / (Max – Min)] of time period PT.
Reference material 5.3 Special functions 5.3.3.8 Mathematic instruction Short description The mathematic instruction block calculates the value AQ of an equation formed from the user-defined operands and operators.
Reference material 5.
Reference material 5.3 Special functions Possible errors: Zero division and overflow If the mathematic instruction function block execution results in zero division or overflow, it sets internal bits that indicate the type of error that occurred. You can program an mathematic instruction error detection function block in your circuit program to detect these errors, and to control the program behavior as needed.
Reference material 5.3 Special functions 5.3.3.9 Analog filter (0BA7 and 0BA8 only) Short Description The Analog filter function block is used to smooth the analog input signal.
Reference material 5.3 Special functions After you set the parameter, the analog filter calculates the average value of the samples and assigns this value to AQ. Timing diagram Description of function The function outputs the average value after sampling the analog input signal according to the set number of samples. This SFB can reduce the error of analog input signal. Note There are a maximum of eight analog filter function blocks available for use in the circuit program in LOGO!Soft Comfort V7.0 or V8.
Reference material 5.
Reference material 5.3 Special functions ● Edge triggered wiping relay: Ta ● Asynchronous pulse generator: Ta ● Stairway lighting switch: Ta ● Multiple functions switch: Ta ● Stopwatch (0BA7 only): AQ You can select the required function by the block number.
Reference material 5.3 Special functions Description of the function If you select the check box "when Enable = 0, reset Max/Min": ● Enable = 0: The function sets the AQ value to 0. ● Enable = 1: The function outputs a value at AQ, depending on the settings of Mode and S1. If you do not select the check box "when Enable = 0, reset Max/Min": ● Enable = 0: The function holds the value of AQ at the current value. ● Enable = 1: The function outputs a value at AQ, depending on the settings of Mode and S1.
Reference material 5.
Reference material 5.3 Special functions 5.3.3.11 Average value (0BA7 and 0BA8 only) Short description The average value function samples the analog input signal during configured time period and outputs the average value at AQ. Connetion Description Input En A positive edge (0 to 1 transition) at input En (Enable) sets the output AQ to the average value of input Ax after the configured time. A negative edge (1 to 0 transition) holds the output at its last calculated value.
Reference material 5.3 Special functions Timing diagram Description of the function When En = 1, the average value function calculates the average value of the samples during the configured time interval. At the end of the sampling time, this function sets output AQ to this calculated average value. When En = 0, the calculation stops, and AQ retains the last calculated value. When R = 0, AQ is reset to 0. Special functions (Page 212) 5.3.4 Analog value processing 5.3.4.
Reference material 5.3 Special functions 1. LOGO! can read in electric voltages from 0 V to 10 V or electric currents from 0 mA to 20 mA to one analog input. The physical quantities (for example, temperature, pressure, speed etc.) must therefore be converted into one electric quantity. This conversion is performed by an external sensor. 2. LOGO! reads in the electric quantity and, with further processing, converts it into a standardized value within the range 0 to 1000.
Reference material 5.3 Special functions Gain The standardized value is multiplied with a parameter. Using this parameter you can boost the electric quantity; hence, this parameter is called the "gain". Zero point offset You can add or subtract a parameter to or from the boosted standardized value. Using this parameter you can move the zero point of the electric quantity; hence, this parameter is called the "zero point offset".
Reference material 5.3 Special functions 5.3.4.2 Possible settings with LOGO!Soft Comfort Sensor Set your sensor type. (0 V to 10 V; 0 mA to 20 mA; 4 mA to 20 mA; PT100/PT1000; no sensor) With sensor type 4 mA to 20 mA the value range for the standardized value is 200 and 1000. Measurement range Stipulate the measurement range. The measurement range is the value range shown for the analog value. LOGO!Soft Comfort then automatically calculates the gain and offset from this.
Reference material 5.3 Special functions Simulation in LOGO!Soft Comfort With simulation in LOGO!Soft Comfort you can read the following values: ① ② ③ ④ ⑤ 5.3.4.3 Physical value; the ranges are stipulated by the measuring range (3) Standardized value Measurement range Analog value (after processing gain and offset) Analog value on the analog output Possible settings with LOGO! If you directly program your circuit program on the LOGO!, then you can only enter the gain and offset parameters.
Reference material 5.3 Special functions 5.3.4.4 Example Prerequisites Sensor: temperature sensor, measuring range: -50 °C to 100 °C Temperature to be measured: 25 °C Order of events with LOGO!Soft Comfort 1. The sensor converts the temperature from 25 °C to a voltage value of 5.0 V. 2. LOGO!Soft Comfort converts the 5.0 V to the standardized value 500. 3. Using the sensor and measurement range data, LOGO!Soft Comfort calculates and ascertains the value 0.
Reference material 5.3 Special functions Additional examples Physical quantity 5.3.4.5 Electric quantity of sensor Standardized value Gain Offset Analog value 0V 0 0.01 0 0 5V 500 5 10 V 1000 4 mA 0 10 12 mA 500 5000 20 mA 1000 10000 0 mA 0 10 mA 500 550 20 mA 1000 1050 1000 mbar OV 0 3700 mbar 6.75 V 675 5000 mbar 10 V 1000 -30 °C 0 mA 0 0 °C 6 mA 300 0 70 °C 20 mA 1000 70 10 1 4 0 0 50 50 1000 1000 3700 5000 0.
Reference material 5.3 Special functions Gain This parameter is given in %. The Gain (Page 286) cannot be a negative value. Zero point offset You can enter values between -999 and +999 for the zero point offset (Page 286). 5.3.5 Control and regulate 5.3.5.1 Control and regulate basics In engineering, quantities can be both controlled and regulated. Controlling manipulates a quantity without being able to compensate for outside influences.
Reference material 5.3 Special functions Basic concepts of regulating In the example, the current for the electric heating is the manipulated variable. The changeable resistance is the actuator. The hand that operates the actuator is the control. The actual room temperature is the controlled variable or the process value. The desired room temperature is the command variable or the setpoint value. The electric heating is the control process. The thermometer is the sensor.
Reference material 5.3 Special functions Control loop The process value x influences the manipulated variable M by means of the regulating device. This creates a closed circuit that is also known as a control loop. If, in the example above, the window is opened, the temperature in the room drops. The person must increase the heat output of the heater. If the heat output increases too much, it gets too hot. The person must then reduce the heat output.
Reference material 5.3 Special functions 5.3.5.2 Controller basics A controller can be simply portrayed as follows: The comparing element and the controller function describe the conduct of the controller. The following describes the most important types of controller. A controllerstep response tells us a lot about its conduct. The step response describes how a controller reacts to the erratic change in the process value.
Reference material 5.3 Special functions ● It cannot correct faults with the control process > lasting loop error. ● It reacts immediately to a change in the process value. ● It is stable. I Controller An integral-action controller (I controller) changes the manipulated variable M proportional to the loop error and to the time. The I controller works by delayed action. It completely remedies a loop error.
Reference material 5.
Reference material 5.3 Special functions 5.3.5.3 Description of the individual parameters Controller parameters Portrayed in LOGO! Mn Output of the PI controller block Manipulated variable at the time n Possible value range in the LOGO! 0 to 1000 kP Gain of the P part In the LOGO!, the parameter KC applies as an increase for 0.00 to 99.99 the I part and the P part of the controller equally kI Gain of the I part Should you enter KC=0, then the P part of the controller switches off.
Reference material 5.3 Special functions 5.3.5.4 PI controller Short description A PI controller is a proportional-action and integral-action controller. You can use both proportional action and integral action individually or combined. Connection Description 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. As long as this input is set, the input A/M is disabled. The output AQ is set to 0.
Reference material 5.
Reference material 5.3 Special functions Timing diagram The nature, manner and speed with which the AQ changes depends on the parameters KC and TI. Thus, the course of AQ in the diagram is merely an example. A control action is continuous; therefore the diagram portrays just an extract. ① ② ③ A disturbance causes the PV to drop, as Dir is positioned upwards, AQ increases until PV corresponds again to SP.
Reference material 5.3 Special functions Updated value PV = (PV * gain) + offset If the updated value PV = SP, then the special function does not change the value of AQ. Dir = upwards/+ (timing diagram numbers 1 and 3) ● If the updated value PV > SP, then the special function reduces the value of AQ. ● If the updated value PV < SP, then the special function increases the value of AQ.
Reference material 5.3 Special functions 5.3.5.5 Analog ramp Short Description The Analog Ramp instruction allows the output to be changed from the current level to the selected level at a specified rate. Connection Description Input En A change in the status from 0 to 1 at input En (Enable) applies the start/stop level (Offset "B" + StSp) to the output for 100 ms and starts the ramp operation to the selected level.
Reference material 5.
Reference material 5.3 Special functions Timing diagram for AQ Description of function If the input En is set, then the function sets the value StSp + Offset "B" for 100 ms. Then, depending on the connection of Sel, the function runs from the level StSp + Offset "B" to either level 1 or level 2 at the acceleration set in Rate. If the input St is set, the function runs to a level of StSp + B at the acceleration set in Rate. Then the function holds the level at StSp + Offset "B" for 100 ms.
Reference material 5.3 Special functions 5.3.6 Miscellaneous 5.3.6.1 Latching relay Short description A signal at input S sets output Q. A signal at input R resets output Q. Connection Description Input S Set output Q with a signal at input S (Set). Input R Reset output Q with a signal at input R (Reset). Output Q is reset if S and R are both set (reset has priority over set). Parameter Retentivity set (on) = the status is retentive in memory.
Reference material 5.3 Special functions 5.3.6.2 Pulse relay Short description The output is set and reset with a short one-shot at the input. Connection Description Input Trg You switch output Q on or off with a signal at input Trg (Trigger) input. Input S A one-shot at input S (Set) sets the output to logical 1.
Reference material 5.3 Special functions Description of the function The status of output Q changes with each 0 to 1 transition at input Trg and if both S and R = 0, that is, the output is switched on or off. Input Trg does not influence the SFB when S = 1 or R = 1. A one-shot at input S sets the pulse relay, that is, the output is set to logical 1. A one-shot at input R resets the pulse relay to its initial state, that is, the output is set to logical 0.
Reference material 5.3 Special functions 5.3.6.3 Message text (LOGO! 0BA8) Short description This function displays message texts and parameters of other blocks on the LOGO! onboard display or LOGO! TDE when LOGO! is in RUN mode. Connection Description Input En A 0 to 1 transition at En (Enable) triggers the output of the message text. Input P P is the priority of the message text. 0 is the lowest, 127 the highest priority.
Reference material 5.3 Special functions Settings In addition to the function block inputs and the parameters of the message text, the following settings provide additional control over the display of message texts: ● Character set selection: You can choose to compose a message text from characters from the primary character set or the secondary character set.
Reference material 5.3 Special functions Particular characteristics to be noted when configuring ① ② Block name area Here you can provide a name for the block Settings area Here you can configure the following settings:· ③ ④ • Priority of the message text • Acknowledge Message check box: if set requires a message to be acknowledged in order to be closed • Character set selection for the message text Block area Here is where you select blocks from all of the blocks in the circuit program.
Reference material 5.3 Special functions ⑤ ⑥ ⑦ ⑧ Message destination area Here you choose whether the target destination for the message is the LOGO! onboard display, the LOGO! TDE, or both. If you select the Web server as a destination, you can display LOGO! message texts through the Web server. Block parameters area Here you can select the parameters to be displayed in the message text from the block that is selected in the Blocks area.
Reference material 5.3 Special functions 1. From the "Block" area, select the block whose parameters you want to output. 2. Drag and drop the parameters required from the "Parameter" area to the "Message Text" area. You can also use the "Insert Parameter" button to insert a parameter value. 3. In the "Message Text" area, you can add parameter data, time or date values from the block parameter area as required and enter text. To enter text, select the character set for the message text, and then type.
Reference material 5.3 Special functions Message online test With the message online test function, you can view the same message texts as shown in the LOGO! Base Module. You can start or stop messages online by clicking the are displayed as follows: toggle button, and the messages During a message online test, you cannot use LOGO!Soft Comfort to edit message text parameters, change the character set, acknowledge a message text, or shift a message text. You can, however, use the "Go to block" button.
Reference material 5.3 Special functions Connection Description Input En A 0 to 1 transition at En (Enable) triggers the output of the message text. Input P P is the priority of the message text. 0 is the lowest, 127 the highest priority.
Reference material 5.3 Special functions Settings In addition to the function block inputs and the parameters of the message text, the following settings provide additional control over the display of message texts: ● Character set selection: You can choose to compose a message text from characters from the primary character set or the secondary character set.
Reference material 5.3 Special functions Particular characteristics to be noted when configuring ① ② Block name area Here you can provide a name for the block Settings area Here you can configure the following settings:· ③ ④ • Priority of the message text • Acknowledge Message check box: if set requires a message to be acknowledged in order to be closed • Character set selection for the message text Block area Here is where you select blocks from all of the blocks in the circuit program.
Reference material 5.3 Special functions ⑤ ⑥ ⑦ ⑧ Message destination area Here you choose whether the target destination for the message is the LOGO! onboard display, the LOGO! TD, or both. Block parameters area Here you can select the parameters to be displayed in the message text from the block that is selected in the block area. Insert Parameter button This button is for inserting a selected block parameter into the message text. Message area Here you arrange the message text.
Reference material 5.3 Special functions Message text character set LOGO! 0BA6 and higher versions support five character sets for messages. Of these, you can select two for the display of message texts with the File → Message Text Settings (Page 52) menu command or from the "Msg Config" menu of LOGO!. Of the fifty possible message texts that you can configure, you can select any number of them to be from the first language and any number from the second language.
Reference material 5.3 Special functions The following illustration shows the configuration in LOGO!Soft Comfort of a one-line, 24character message text: If you set this message to tick "character by character" with a tick interval of 0.1 seconds, then the initial appearance of this message line on the LOGO! onboard display or LOGO! TD is as shown in this illustration: After 0.1 second, one character of the message line ticks.
Reference material 5.3 Special functions You can configure each individual line of a message text to tick or not to tick at all. The "character by character" or "line by line" setting applies to all lines that you configure to tick. Select the check box beside a line number to enable ticking for that line. Bar graphs You can specify a bar graph representation for the actual value of any other function block in your circuit program.
Reference material 5.3 Special functions When placed in a message text, the remaining time will show the time that remains before the timer expires. For timers with multiple timer values (for example on-delay time, off-delay time), you can display the remaining time of each one in a message text. Display of analog inputs You can also select analog inputs to be displayed in a message text. Use the AI button in the message text area to select a specific AI to place in the message text area.
Reference material 5.3 Special functions Virtual keyboard You can access the virtual keyboard by clicking the menu. The virtual keyboard dialog is shown as follows: button above the message text The virtual keyboard displays some of the characters of the current character set. When you select a character, you can view its corresponding character code in the "Character Code (hex)" field. To insert the selected character, click the "Insert" button.
Reference material 5.
Reference material 5.3 Special functions message text features. See the LOGO! Manual for a description of message text programming from the LOGO! device. ● Each message line can contain 24 characters (Western language character sets) or 16 characters (Asian language character sets).
Reference material 5.3 Special functions During a message online test, you cannot use LOGO!Soft Comfort to edit message text parameters, change the character set, acknowledge a message text, or shift a message text. You can, however, use the "Go to block" button. Special Functions Overview (Page 212) See also Message text (LOGO! 0BA4 and LOGO! 0BA5) (Page 327) 5.3.6.
Reference material 5.3 Special functions Description of the function With a 0 to 1 transition of the signal at input En, the display outputs your configured message text (actual value, text, TOD, date) in RUN mode. Acknowledgement disabled (Ack = Off): The message text is hidden with a 0 to 1 signal transition at input En. Acknowledgement enabled (Ack = On): After input En is reset to 0, the message text is displayed until acknowledged by pressing the OK button.
Reference material 5.3 Special functions Particular characteristics to be noted when configuring ① ② Block name area Here you can provide a name for the block. Setting area Here you will find the following settings: ③ ④ • Priority of the message text • Check box for message text acknowledgment Block area Here is where you select blocks from all of the blocks in the circuit program. You can subsequently choose parameters from these blocks to display in the message text.
Reference material 5.3 Special functions ⑤ ⑥ ⑦ ⑧ Message area You arrange the message text in this area. Information entered in this area corresponds with that on the LOGO! onboard display. Insert button Button for inserting a selected block parameter into the message text. Block parameter area Shows the parameters of a block selected from the block area which you can output in the message text. General parameter area Shows general parameters such as the current date. To arrange the message text 1.
Reference material 5.3 Special functions Description of the function In RUN mode, a 0 to 1 transition of the signal at input En triggers the output of your configured message text on the display. The message text is closed after a 1 to 0 transition at input En and if the acknowledgment attribute is not set. If the acknowledgment attribute is set, the message text is not closed until input En=0 and the message is acknowledged at the LOGO! with OK.
Reference material 5.3 Special functions Short description This SFB provides the action of a mechanical pushbutton or switch. Connection Description Input En Output Q is set with a 0 to 1 signal transition at input En (Enable) and if in addition, 'Status=On' has been confirmed in configuration mode. Parameter Switch: Sets either a momentary pushbutton action for one cycle (On) or a switching action of the function (Off).
Reference material 5.3 Special functions Special functions (Page 212) 5.3.6.8 Shift register (0BA7 to 0BA8) Short description The shift register function reads an input value and shifts the bits. The output value corresponds with the configured shift register bit. The shift direction can be changed at a special input.
Reference material 5.3 Special functions Parameter LOGO! 0BA7 or 0BA8 devices provide four shift registers, with eight bits for each shift register. The shift register index correponds to one of the four shift registers in the circuit program. The shift register bits are numbered in Sx.y, in which x is the index, and y is the bit number. Timing diagram If the shift register index is 1, the shift register bits will be S1.1 to S1.8.
Reference material 5.3 Special functions ● Dir = 0 (Shift up): Sx.1 accepts the value of input In, the previous value of Sx.1 is shifted to Sx.2, Sx.2 to Sx.3 ... Sx.7 to Sx.8 ● Dir = 1 (Shift down): Sx.8 accepts the value of input In; the previous value of S1.8 is shifted to Sx.7, Sx.7 to Sx.6 ... Sx.2 to Sx.1. Q outputs the value of the configured shift register bits. If retentivity is not enabled, the shift function restarts at Sx.1 or Sx.8 after a power failure. Special functions (Page 212) 5.3.6.
Reference material 5.3 Special functions Timing diagram Description of the function The function reads the value of input In with a positive edge (0 to 1 transition) at input Trg (Trigger). This value is written to shift register bits (Page 194) S1 or S8, depending on the set shift direction: ● Shift up: S1 accepts the value of input In; the previous value of S1 is shifted to S2, S2 is shifted to S3, etc.
Reference material 5.3 Special functions 5.3.6.10 Mathematic instruction error detection Short description The mathematic instruction error detection block sets an output if an error has occurred in the referenced mathematic instruction function block. Connection Description Input En Enable the mathematic instruction error detection function block. Input R Reset the output.
Reference material 5.3 Special functions Mathematic instruction error detection logic table In the table below, Error to Detect represents the parameter of the mathematic instruction error detection instruction that selects which type of error to detect. Zero represents the zero division bit set by the mathematic instruction at the end of its execution: 1 if the error ocurred, 0 if not. OF represents the overflow bit set by the mathematic instruction: 1 if the error occurred, 0 if not.
Reference material 5.4 Data log profile (0BA7 & 0BA8 only) 5.4 Data log profile (0BA7 & 0BA8 only) 5.4.1 What is a data log? You can configure a data log to record the actual values of the function blocks and memory areas in a circuit program.
Reference material 5.4 Data log profile (0BA7 & 0BA8 only) ● AQ ● AM For digital I/O and memory, you must log data in groups of eight bits, for example, I1 to I8, Q9 to Q16, M17 to M24. For analog data, you select one value to log, for example, AI1, AQ2, or AM1. You configure function block values in groups of eight bits or single values, depending on the value type (digital or non-digital). You can log a maximum of 32 items (analog values or eight-bit digital groups) in the data log.
Reference material 5.5 UDF (0BA7 & 0BA8 only) 5.4.4 Opening an uploaded data log After successfully uploading the data log into your PC, double-click this .CSV file and it opens in Microsoft Excel by default. You can also open it with a text editor regardless. 5.5 UDF (0BA7 & 0BA8 only) 5.5.
Reference material 5.5 UDF (0BA7 & 0BA8 only) A UDF has a rectangle to indicate its edit area. You can edit the position and dimensions of this area. Restrictions for a UDF: ● Input (analog + digital): 8 ● Output (analog + digital): 4 ● Parameter: 8 Note Not all blocks can be added to a UDF.
Reference material 5.5 UDF (0BA7 & 0BA8 only) If the selection includes blocks that a UDF does not support, LOGO!Soft Comfort excludes them from the UDF. If an included function block is connected to an excluded one, LOGO!Soft Comfort creates an input or output in place of the excluded block. If the number of inputs and outputs would exceed the restrictions, LOGO!Soft Comfort does not make inputs or outputs that would exceed the restriction.
Reference material 5.5 UDF (0BA7 & 0BA8 only) 5.5.3 Editing the UDF Add/Remove connectors You can create an input/output by dragging a connection line from a block to the left or right side of the UDF edit rectangle area: To remove an input/output, select the yellow connector figure and select "①" in the context menu.
Reference material 5.5 UDF (0BA7 & 0BA8 only) Configure UDF properties UDF properties include information such as identifier, password, connector names, parameters, comments and so on. To edit the UDF properties, double-click the identifier text above the UDF edit box or use menu command "Edit -> Edit UDF properties (Page 65)".
Reference material 5.5 UDF (0BA7 & 0BA8 only) The I/O-specific tab From this tab, you can configure the identifier, the UDF password, and the names of input connectors and output connectors: In Field "①" of the above dialog, you can enter an identifier for your UDF. The identifier is "UDF" by default. UDF password offers the capability to hide the details of a UDF such that a UDF library can be distributed without the details.
Reference material 5.
Reference material 5.5 UDF (0BA7 & 0BA8 only) The parameter-specific tab In this tab, you can configure the parameters of the UDF: You can reference the available parameters of the function blocks used in the UDF as the parameters of the UDF. "④" shows the function blocks, while "⑤" shows the parameters that the selected block includes. Double-click a parameter or use "②" to move a parameter from "⑤" to "①". To remove a parameter from ①, select the parameter and click ③. The parameter then reappears in ⑤.
Reference material 5.5 UDF (0BA7 & 0BA8 only) The comment-specific tab You can use this tab to add a description of your UDF. The comment can describe how to use the UDF, the function of the inputs and outputs, and any other details.
Reference material 5.5 UDF (0BA7 & 0BA8 only) UDF identifier The UDF identifier appears on the UDF edit box as an easy, short identifier of the UDF, and also appears in the block tree: Double-click the UDF identifier above the expanded UDF to open the following properties dialog. You can enter up to eight characters for the UDF name.
Reference material 5.5 UDF (0BA7 & 0BA8 only) User-defined name for a UDF block You can also configure a user-defined name for a UDF. It is the block name which appears above the UDF block as other function blocks in a circuit program. To configure a user-defined name for the UDF, double-click the UDF block and LOGO!Soft Comfort displays the following dialog: Enter a name for the UDF, and click "①" in the above dialog.
Reference material 5.5 UDF (0BA7 & 0BA8 only) 5.5.4 Saving the UDF Saving a UDF You can save a single UDF as .Ima file by clicking or selecting "File -> Save (Page 49)"/"File -> Save As (Page 50)" from the menu bar. Saving a UDF library You can configure a UDF library structure that represents either a single UDF or a folder of multiple UDFs. See Tools -> Options:UDF (Page 122) for UDF library path configuration.
Reference material 5.5 UDF (0BA7 & 0BA8 only) Note A UDF created on LOGO! Base Module 0BA8 is invalid for LOGO! Base Module 0BA7. Note Not all UDFs can be used in a circuit program. Invalid UDFs appear in the block tree, but are gray.
Reference material 5.5 UDF (0BA7 & 0BA8 only) You can include editable UDF parameters in message texts (Page 310): Note You can not invert the input connectors of a UDF.
Reference material 5.5 UDF (0BA7 & 0BA8 only) 5.5.6 Synchronizing UDF versions You can use a UDF in multiple circuit programs. If you update a UDF to a new version, synchronize the UDF instances, including any nested UDF instances, to the new version. Depending on how you use the UDF, LOGO!Soft Comfort indicates various conditions pertaining to the UDF update. LOGO!Soft Comfort displays a warning signal (!) in the upper right corner to indicate that the UDF is out of date.
Reference material 5.6 Circuit programs 5.6 Circuit programs With LOGO!Soft Comfort you can start right away to design your own circuit programs. The tutorial (Page 127) section provides you with detailed information about the creation and simulation of circuit programs.
Reference material 5.6 Circuit programs 5.6.1 LOGO! hardware LOGO! hardware series LOGO!Soft Comfort lets you create programs for LOGO! devices of various series. LOGO! device series vary in performance, memory space, number of program blocks (for example, flag blocks) and in the structure of the devices. Because there are device-specific differences with regard to the functions, you must not only distinguish between the LOGO! versions, but also take their version status into account.
Reference material 5.6 Circuit programs Name Order no.
Reference material 5.6 Circuit programs Special function 0BA0 0BA0 Standard ...L 0BA0 ...
Reference material 5.6 Circuit programs 5.6.2 Memory 5.6.2.1 Memory requirements The blocks in your circuit program require a certain amount of memory space. The table shows you how much of the memory space each block occupies. The "Rem" column (retentivity enabled) specifies the memory space required for data backup after power failure.
Reference material 5.
Reference material 5.
Reference material 5.
Reference material 5.6 Circuit programs Block RAM (Bytes) Rem (Bytes) Analog amplifier 12 - Latching relay 8 1 Pulse relay 12 1 Message text 8 - Softkey 8 2 Shift register 12 1 0BA0-0BA3: The following specifications apply: The blocks in your circuit program require a certain amount of memory space.
Reference material 5.6 Circuit programs ● Retentivity off: The function occupies RAM space ● Retentivity on: The function occupies REM space Here you will find information on memory space provide by LOGO!. (Page 365) 5.6.2.2 Memory space For LOGO! 0BA7 and LOGO! 0BA8 devices, you can use up to 400 blocks in your circuit program.
Reference material 5.6 Circuit programs ● Basic functions (Page 207) ● Special functions (Page 212) Further inputs/outputs according to the nesting depth are: ● Inputs AS-Interface (Ia (Page 25)) ● Outputs AS-Interface (Qa (Page 25)) LOGO! restricts the nesting depth for your circuit program. Your circuit program has a maximum nesting depth of 58 objects. This determines the following: 1 input + 56 blocks +1 output Max.
Reference material 5.6 Circuit programs 5.6.3.2 Block type Identifier Analog flag AM Network input NI Network analog input NAI Network output NQ Network analog output NAQ Data Log Profile L UDF UDF Block numbers Block number assignment LOGO!Soft Comfort assigns every block you insert in the circuit program a block number. LOGO! displays the number of the current block at the top of the display. LOGO!Soft Comfort displays the block number directly above the inserted block.
Reference material 5.7 Network projects Determination of block numbers on a LOGO! LOGO! has no default position for analog inputs or digital outputs. The hardware structure determines the block number. On a LOGO! without modular structure, the position of an analog or digital output is fixed. 5.7 Network projects Introduction With LOGO!Soft Comfort V8.0, you can design your own network project in the project mode.
Tips and tricks 6.
Tips and tricks 6.4 A quick and easy way of connecting blocks in large circuit programs Alternative 1 1. Expand the catalog from the instruction tree. 2. Click the required block in the catalog to select it. 3. In your circuit program, left-click the block insert position. The block appears at the correct position. 4. To insert more than one instance of a block at a time, double-click the block, which causes LOGO!Soft Comfort to display a stamp icon beside the block.
Tips and tricks 6.5 How to display a corresponding tooltip for a function key 6.5 How to display a corresponding tooltip for a function key Prerequisite: The tooltips (Page 68) are enabled. You can hover over an icon to see a tooltip for the icon, as well as the function key (Page 31) (if available) that performs the corresponding function. 6.
Tips and tricks 6.10 A quick way of closing circuit diagrams without saving the data 6.10 A quick way of closing circuit diagrams without saving the data You quickly close one or more circuit programs with saving the data: ● Open the File menu, press [CTRL] and click the Close menu command. Result: The currently active circuit program is closed without prompt. ● Open the File menu, press [CTRL] and click the Close All menu command. Result: All open circuit programs are closed without prompt.
Index A Access control, 83 Acknowledgment of message texts, 327 Additional functions of the LAD Editor, 338 Air-conditioning system, 181 Align selected objects horizontally, 60 Align selected objects vertically, 60 Alternative operation, 147 Analog Amplifier, 268 Analog basics, 286 Analog comparator, 262 Analog contact, 205 Analog differential trigger, 260 Analog filter, 279 Analog input filter timer, 52 Analog inputs, 196 Analog multiplexer, 269 Analog outputs, 197 AQ in STOP mode, 55 Analog Ramp, 304 Anal
Index LOGO! to remote devices, 161 LOGO! to S7 devices, 164 Connecting blocks, 130 Connector tool, 39 Constants and connectors, 191 Context-sensitive help, 125 Control and regulate basics, 293, 296 Controller PI, 296 Controller, PI, 299 Converting, 40, 40 Copy, 60 Counter, 247 Create a UDF, 341 Cursor keys, 193 Cut connections, 137 Cut/Join, 39 D Data Log, 339 Date, 80 Defining the editor, 119 Determine LOGO!, 90 Digram mode, 32 Documentation, 179 Documentation of the circuit program, 139 E Edge-triggere
Index Grid, 66 H Hardcopy, 51 Hardware, 90 Heating control, 184 Help menu, 124 About, 126 Contents, 124 Context-sensitive help, 125 Update Center, 125 Hi (high), 194 Hours counter, 249 I Info window, 27, 30 Information on analog value processing, 286 Input functions, 95 Input of project data, 172 Input terminals, 25 Input/Output Names, 63 Inputs, 193 Internet, 21 Introduction, 127, 149 Inverting, 206, 207, 212 L Labeling, 139 LAD, 20 Ladder Diagram, 20 Latching relay, 307 Layout of inputs, 141 Layout of
Index Paste, 60 Path and file name, 49, 50 PC settings, 155 Permanent logical levels, 194 PI controller, 300 PI controller trend view, 35 Placing blocks, 128, 129, 173 Positioning, 128, 129 Power failure, 143 Practical example, 168 Prerequisites for working with the tutorial, 127 Print, 120 Priority of message texts, 327 Project mode, 33 Properties, 54, 57 General, 54, 57 Hardware type, 55 Protection, 212 Pulse output timer, 239 Pulse relay, 308 Pulse Width Modulator PWM, 273 R Random generator, 230 Redo,
Index Disconnect Modem, 99 Online Test, 41 Select Hardware, 90 Simulation, 95 Simulation Parameters, 95 Transfer menu Set Clock, 80 Start LOGO!, 77 Stop LOGO!, 77 Transfer the data log, 340 Transferring the circuit program, 179 Trend view, 35 Type of texts, 120 U Undo, 59 Update Center, 21 User interface, 27 V View menu, 66 Optimizing, 175 Select Lines, 68 Status bar, 68 Tooltips, 68 W Weekly timer, 237 Window menu, 122 Selection list, 123 Undo Split, 122 Wiping relay, 224 Y Yearly timer, 239 Z Zero o
Index LOGO!Soft Comfort Online Help 378 Operating Instructions, 06/2014