logo!soft comfort v2 - mechatronica · logo!soft comfort manual 2 ... the siemens universal logic...

128
LOGO!Soft Comfort User Documentation Siemens AG 2000

Upload: lamtram

Post on 14-Apr-2018

238 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

LOGO!Soft Comfort User Documentation

Siemens AG 2000

Page 2: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

&RQWHQWV

LOGO!Soft Comfort Manual 2

&RQWHQWV

� :+$7�,6�/2*2�62)7�&20)257"���������������������������������������������������������������������

��� /2*2� ����������������������������������������������������������������������������������������������������������������������������������������

��� /2*2�6RIW�&RPIRUW ������������������������������������������������������������������������������������������������������������������

��� :KDWV�1HZ�LQ�/2*2�6RIW�&RPIRUW�9���" ������������������������������������������������������������������������������

� 78725,$/ �������������������������������������������������������������������������������������������������������������

��� *HWWLQJ�6WDUWHG��%ULHI�*XLGH�WR�&UHDWLQJ�&RQWURO�3URJUDPV ������������������������������������������������2.1.1 Description of User Interface ..............................................................................................62.1.2 Creating Programs .............................................................................................................72.1.3 Editing the Diagram ..........................................................................................................122.1.4 Program Documentation...................................................................................................14

��� *HWWLQJ�6WDUWHG��6LPXODWLQJ�D�&RQWURO�3URJUDP��������������������������������������������������������������������2.2.1 Starting the Simulation......................................................................................................152.2.2 Simulating the Control Program .......................................................................................172.2.3 Archiving Programs ..........................................................................................................21

� *8,'(�72�/2*2�62)7�&20)257��������������������������������������������������������������������

��� 2YHUYLHZ�RI�8VHU�,QWHUIDFH �����������������������������������������������������������������������������������������������������

��� 'HVFULSWLRQ�RI�$YDLODEOH�%XWWRQV �������������������������������������������������������������������������������������������3.2.1 Standard Toolbar ..............................................................................................................233.2.2 Tools Toolbar....................................................................................................................26

��� 'HVFULSWLRQ�RI�0HQX�%DU ���������������������������������������������������������������������������������������������������������3.3.1 File Menu ..........................................................................................................................293.3.2 Edit Menu..........................................................................................................................343.3.3 Format Menu ....................................................................................................................383.3.4 View Menu ........................................................................................................................403.3.5 Tools Menu.......................................................................................................................433.3.6 Help ..................................................................................................................................51

� 352*5$00,1*�,1�/2*2�62)7�&20)257�����������������������������������������������������

��� 6SHFLILFDWLRQ�RI�/2*2��0RGHO������������������������������������������������������������������������������������������������

��� 0HPRU\�DQG�3URJUDP�/LPLWV ��������������������������������������������������������������������������������������������������

��� %ORFNV�DQG�%ORFN�1XPEHUV ����������������������������������������������������������������������������������������������������

��� &RQVWDQWV�DQG�&RQQHFWLQJ�7HUPLQDOV��&R����������������������������������������������������������������������������4.4.1 Inputs ................................................................................................................................584.4.2 Inputs for ASi ....................................................................................................................584.4.3 Analog Inputs....................................................................................................................594.4.4 Outputs .............................................................................................................................594.4.5 Outputs for ASi .................................................................................................................604.4.6 Memory Markers...............................................................................................................604.4.7 Fixed Signal Levels...........................................................................................................61

Page 3: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

&RQWHQWV

LOGO!Soft Comfort Manual 3

��� %DVLF�)XQFWLRQV��%)����������������������������������������������������������������������������������������������������������������4.5.1 AND ..................................................................................................................................624.5.2 AND with RLO Edge Detection.........................................................................................624.5.3 NAND................................................................................................................................634.5.4 NAND with RLO Edge Detection ......................................................................................634.5.5 OR ....................................................................................................................................644.5.6 NOR..................................................................................................................................644.5.7 NOT ..................................................................................................................................654.5.8 XOR..................................................................................................................................65

��� 6SHFLDO�)XQFWLRQV��6)� ������������������������������������������������������������������������������������������������������������4.6.1 On Delay...........................................................................................................................664.6.2 Off Delay...........................................................................................................................684.6.3 Retentive On Delay...........................................................................................................704.6.4 On/Off Delay.....................................................................................................................724.6.5 Latching Relay ..................................................................................................................744.6.6 Current Impulse relay .......................................................................................................764.6.7 Interval Time-Delay Relay/Pulse Output...........................................................................784.6.8 Edge-Triggered Interval Time-Delay Relay ......................................................................804.6.9 Seven-Day Time Switch ...................................................................................................814.6.10 Twelve-Month Time Switch...............................................................................................834.6.11 Up/Down Counter .............................................................................................................864.6.12 Hours Counter ..................................................................................................................884.6.13 Symmetrical Clock Pulse Generator.................................................................................914.6.14 Asynchronous Pulse Generator........................................................................................924.6.15 Random Generator...........................................................................................................944.6.16 Frequency Trigger ............................................................................................................964.6.17 Analog Trigger ..................................................................................................................984.6.18 Analog Comparator.........................................................................................................1004.6.19 Stairwell Light Switch ......................................................................................................1024.6.20 Dual-Function switch ......................................................................................................1044.6.21 Message Texts ...............................................................................................................106

� (;$03/(�$33/,&$7,216���������������������������������������������������������������������������������

��� 3UDFWLFDO�([DPSOH��+RXVHKROG�:DWHU�3XPS ������������������������������������������������������������������������5.1.1 Description of Task.........................................................................................................1075.1.2 Conventional Solution.....................................................................................................1095.1.3 Implementation with LOGO! ...........................................................................................1095.1.4 Programming ..................................................................................................................1105.1.5 Simulation .......................................................................................................................1155.1.6 Documentation................................................................................................................1175.1.7 Program Transfer ...........................................................................................................118

��� 6DPSOH�3URJUDPV �������������������������������������������������������������������������������������������������������������������5.2.1 Dual-Function Switch......................................................................................................1195.2.2 Ventilation System ..........................................................................................................1215.2.3 Factory Gate ...................................................................................................................1235.2.4 Uncoiler...........................................................................................................................125

Page 4: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

:KDW�LV�/2*2�6RIW�&RPIRUW"

LOGO!Soft Comfort Manual 4

�� :KDW�LV�/2*2�6RIW�&RPIRUW"

���� /2*2�

7KH�ORJLF�PRGXOH

The Siemens universal logic module LOGO! has been on the market since 1996 and isenjoying growing popularity all over the world. Thanks to the integration of a largenumber of functions at an exceptionally economical price compared with conventionalprogrammers, the LOGO! is able to provide solutions for a wide variety of household,industrial and engineering tasks.

:LGH�UDQJH�RI�DSSOLFDWLRQV

The choice of models in the LOGO! range makes it extremely versatile at adapting to avast range of tasks. Its ASi bus compatibility means that the LOGO! can also providesolutions for small-scale automation tasks.

���� /2*2�6RIW�&RPIRUW

/2*2�6RIW�&RPIRUW�SURJUDPPLQJ�VRIWZDUH

LOGO!Soft Comfort makes creating control programs easier, more efficient and moremanageable than in the past. The process of creating a program involves positioningand linking up program elements on a "drawing board".

One particularly user-friendly feature is the offline program simulation facility, whichenables simultaneous display of multiple special function statuses and professionaldocumentation of the programs created.

:K\�GR�ZH�QHHG�/2*2�6RIW�&RPIRUW"

Certain user groups, among them planning and technical consultants and users withPC/CAD experience, expect the LOGO! to offer a programming interface for theirequipment which does not necessarily simulate operation of the unit but chieflyincreases the ease of programming and offers good facilities for testing anddocumentation.

LOGO!Soft Comfort provides Windows users with a tool which provides an even morestraightforward and convenient facility for producing control programs on a PC andprinting out detailed and clearly laid out circuit documentation.

6SHFLDO�IHDWXUHV�RI�/2*2�6RIW�&RPIRUW�

• Easy and convenient production of control programs

• Comprehensive documentation of control programs

• Comprehensive print functions

• Simulation of control programs on PC minimizes frequency of errors

Page 5: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

:KDW�LV�/2*2�6RIW�&RPIRUW"

LOGO!Soft Comfort Manual 5

���� :KDWV�1HZ�LQ�/2*2�6RIW�&RPIRUW�9���"

1HZ�6WDQGDUG�)XQFWLRQV

The following standard functions have been added:

• AND with RLO edge detection

• NAND with RLO edge detection

1HZ�6SHFLDO�)XQFWLRQV

The following special functions have been added:

• Edge-triggered interval time-delay relay

• On/off delay

• Random generator

• Analog trigger

• Analog comparator

• Stairwell light switch

• Dual-function switch

• Message texts

The time switch special function has been replaced by the seven-day time switchspecial function. New: Weekdays can be set in any combination.

,PSURYHG�+DQGOLQJ�DQG�)XQFWLRQDOLW\

The handling and functionality of LOGO!Soft Comfort have been further improved:

• You can lay connecting lines from the input to the output and vice versa.

• You can now use 8 memory markers.

• The nesting depth has been increased to 58.

• You can open a shortcut menu with a right-click.

&RPSDWLELOLW\

LOGO!Soft Comfort V2.0 is of course downwardly compatible. In other words,programs you have created with an older version of LOGO!Soft Comfort can still berun on this version.

Page 6: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��7XWRULDO

LOGO!Soft Comfort Manual 6

�� 7XWRULDO%DVLF�UHTXLUHPHQWV�IRU�ZRUNLQJ�ZLWK�/2*2�6RIW�&RPIRUW

It is assumed that you are familiar with the basics of the Windows operating systemand of creating function block diagrams. In order to be able to transfer programs, youwill also require the connecting lead for connecting the PC with the LOGO! module viathe PC’s serial interface.

���� *HWWLQJ�6WDUWHG��%ULHI�*XLGH�WR�&UHDWLQJ�&RQWURO�3URJUDPV

,QWURGXFWLRQ

In order to illustrate the basic functions of LOGO!Soft Comfort, we will demonstrate thecreation of a simple control program and then simulate it on the PC. The individualfunctions are fully and comprehensively explained in the succeeding chapters of thismanual. Finally, the last chapter of the manual presents a complete, working exampleapplication in LOGO!Soft Comfort. That chapter also deals with the subjects ofpreparation, transfer and archiving.

������ 'HVFULSWLRQ�RI�8VHU�,QWHUIDFH

'UDZLQJ�ERDUG

When you first start the program, the LOGO!Soft Comfort user interface is displayed.The largest area of the screen is occupied by the space for creating circuit diagrams.That is the drawing board where the symbols and links for the control program arearranged.

(OHPHQWV�RI�WKH�XVHU�LQWHUIDFH

In order to keep even large circuits manageable, there are scroll bars at the bottomand on the right of the screen which can be used to scroll the diagram horizontally andvertically.

Drawingboard

Scroll bars

Tools toolbar

Standard toolbarMenu bar

Status bar

Page 7: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��7XWRULDO

LOGO!Soft Comfort Manual 7

7RROV�WRROEDU

The tools toolbar is at the bottom. The buttons on this toolbar are used to switch todifferent programming modes in order to be able to create or edit a program quicklyand easily.

You can use the mouse to select and move the tools toolbar. When you close thetoolbar, it is always returned to its position under the menu bar.

6WDQGDUG�WRROEDU

Above the drawing board is the standard toolbar. This contains buttons for creating anew program, opening and saving an existing program, cutting, copying and pastingcircuit objects, and uploading or downloading programs to and from the LOGO!module.

You can use the mouse to select and move the tools toolbar. When you close thetoolbar, it is always returned to its position under the menu bar.

0HQX�EDU

Above the standard toolbar is the menu bar. The menus on the menu bar containvarious commands for editing and managing your control programs. There are alsofunctions for entering default settings and transferring programs.

6WDWXV�EDU

At the bottom of the application window is a status bar. This indicates the active tool,the program status, the current zoom factor, the page of the diagram overview and theselected LOGO! device.

������ &UHDWLQJ�3URJUDPV

(QWHULQJ�D�QHZ�SURJUDP

After you have started LOGO!Soft Comfort, you can start creating a new program rightaway.

If you have used LOGO!Soft Comfort before and there are still circuit componentsfrom a previous session on your drawing board, you click the "New" button on thestandard toolbar to start a new control program.

Å 1HZ

The previously active program disappears and you can start creating a new controlprogram on a blank drawing board.

&DXWLRQ� Don’t forget to save your old control program first if you want to return to itagain later on.

&UHDWLQJ�D�SURJUDP�XVLQJ�WKH�WRROEDUV

In our introduction to creating circuit diagrams in LOGO!Soft Comfort, we will onlyneed to use the buttons on the two toolbars. For more detailed information please referto the succeeding chapters in this manual.

To choose a button, you point to it with the mouse pointer and then click the left mousebutton. The selected button then appears depressed.

Å

Page 8: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��7XWRULDO

LOGO!Soft Comfort Manual 8

6HOHFWLQJ�IXQFWLRQ�EORFNV

The first step in creating a circuit diagram is selecting the function blocks that arerequired for the intended circuit. Whether you start with inputs and outputs, the basicfunctions or the special functions is entirely up to you. The &RQVWDQWV button on thetools toolbar provides access to the constants and terminals, i.e. a selection of inputsand outputs and fixed signal levels. The %DVLF�)XQFWLRQV button provides a choice ofBoolean algebra functions, i.e. the simplest digital logical operation objects. To obtainthe choice of special functions available, you click the 6SHFLDO�)XQFWLRQV button.

Å &RQVWDQWV�&RQQHFWLQJ�7HUPLQDOV

Å %DVLF�)XQFWLRQV

Å 6SHFLDO�)XQFWLRQV

3RVLWLRQLQJ�IXQFWLRQ�EORFNV

Click the button for the group of functions that contains the block you require. All thefunction blocks of the selected function group are then displayed in a row to the right ofthe standard toolbar.

You can then place any of those functions on the drawing board simply by clicking onthe drawing board in the desired position. The function on the extreme left is selectedby default but you can select any of the others by clicking them with the mouse.

It is not necessary to position the objects precisely at this point. When the blocks arelinked to one another and when adding labels to the circuit, you will want to move theblocks again to achieve the best layout for your control program. Therefore, veryprecise positioning and alignment of the blocks immediately they are placed in positionis somewhat unnecessary.

Page 9: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��7XWRULDO

LOGO!Soft Comfort Manual 9

%ORFN�QXPEHULQJ

The block numbers can not be altered. For basic functions and special functions, blocknumbering is performed automatically in the order that the blocks are positioned on thediagram. In the case of constants and terminal blocks, instead of a block number, therelevant LOGO! terminal description or a simple description of the block is shown. Inaddition, inputs, outputs and memory markers can be assigned other blockdescriptions using labels. The signal blocks for signal levels high and low do not haveblock numbers.

6KRUWFXW�PHQXV

When you press the right mouse button, a shortcut menu appears, offering you anumber of different options for editing the current object and thus providing you withquick and easy access to the relevant functions. The contents of the shortcut menudepend on what kind of object your mouse cursor is pointing at when you click. Objectsare not just blocks or connecting lines; the drawing board is also an object.

$VVLJQLQJ�SDUDPHWHUV�WR�IXQFWLRQ�EORFNV

When you double-click function blocks, a dialog box for entering the block propertiesappears. In the case of all special function blocks and some basic function blocks, inaddition to the Comments tab there is also one or more tabs for parameters. This iswhere you specify values or settings to be adopted by the function block in your circuit.

Page 10: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��7XWRULDO

LOGO!Soft Comfort Manual 10

You can identify special function blocks simply by the fact that the current parametervalues are shown in green on the left of the block.

$YDLODELOLW\�RI�IXQFWLRQ�EORFNV

If you insert more functions in your circuit diagram than the maximum permitted, thefunctions that can no longer be used are shown in gray. If the currently selectedfunction can no longer be used, the first function still usable immediately becomes theselected function.

In LOGO!Soft Comfort, more functions can be used than can be implemented onearlier LOGO! modules. As a result, creation of programs is given absolute priority. If,when simulating a control program, you receive a message to the effect that a circuit isbeyond the scope of a LOGO! module in terms of is scale, you should first try to makefull use of the wide range of functions offered by the LOGO!. For example, you couldtry replacing memory-intensive function blocks with a combination of multiple functionblocks that in total requires less memory.

(See Chapter ����Memory and Program Limits)

If, despite all attempts at optimization, the desired aim is not achieved, you can useadditional LOGO! units as required or limit the functionality of your application.

1HVWLQJ�GHSWK

In LOGO!Soft Comfort you can only implement a certain maximum nesting depth inyour control programs. In a program path, the maximum nesting depth is 58 (56function blocks plus one input and one output in the path).

If you exceed the nesting depth, you are briefly notified of this on the status bar.

(See Chapter�����Memory and Program Limits�

/LQNLQJ�IXQFWLRQ�EORFNV��SURFHGXUH

To complete the circuit, the individual blocks have to be linked with one another. To doso, you choose the Link button on the tools toolbar.

Å /LQN

Parameter

Page 11: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��7XWRULDO

LOGO!Soft Comfort Manual 11

Now you move the mouse pointer to the terminal pin of a block and press and hold theleft mouse button. Keeping the mouse button pressed, you move the mouse pointer tothe pin that you want to connect the first pin to and then release the mouse button.LOGO!Soft Comfort then connects the two pins together.

You have created a link between the two block pins. Proceed in the same way for theremaining links.

+HOS�ZLWK�OLQNLQJ�IXQFWLRQ�EORFNV

If a link line is drawn from an output to an input, a window opens showing thedesignation of the pin. When the mouse button is released, the line snaps to the inputindicated.

5XOHV�IRU�OLQNLQJ�IXQFWLRQ�EORFNV

The following rules apply to the linking of function blocks:

• Links can only be made between block inputs and block outputs.

• An output can be linked to more than one input but an input can not be linked tomore than one output.

• An input and an output on the same program path can not be linked with oneanother (no recursion). If such a link is required, a memory marker or an outputhas to be connected in between.

• On special functions there are also green "terminal pins". These are notconnecting pins but rather for assignment of the parameter settings shown next tothe function.

• Analog inputs/outputs cannot be connected to binary inputs/outputs.

Page 12: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��7XWRULDO

LOGO!Soft Comfort Manual 12

������ (GLWLQJ�WKH�'LDJUDP

2SWLPL]LQJ�WKH�YLHZ

Once the function blocks have been inserted and connected up, the control program iscomplete. But there is still a little work to be done in order to obtain a sensible, in otherwords clearly laid out view of the circuit created. Objects placed on the circuit diagramsuch as function blocks and lines can be moved accordingly.

6HOHFWLQJ�REMHFWV

Before objects can be moved, aligned or deleted they must first be selected. To selectan object you first click the Selection tool on the tools toolbar.

Å 6HOHFWLRQ�WRRO

Individual blocks or connecting lines are selected simply by clicking the objectconcerned; groups of blocks or connecting lines are selected by enclosing them with arectangle. This is done by pressing and holding the left mouse button and dragging arectangle to enclose objects you wish to select. When you release the mouse button,the objects enclosed by the rectangle are selected. Selected objects are indicated bysmall red squares at the corners of the selected areas.

Apart from the methods described above for selecting single and multiple objects,there is another way you can select objects. You can select multiple objects one afterthe other by holding down the [Ctrl] key as you click subsequent objects. Clicking aselected object while holding the [Ctrl] key deselects the object concerned withoutdeselecting the remaining selected objects.

(GLWLQJ�VHOHFWHG�REMHFWV

Individual or grouped objects can be deleted by pressing the [Del] key or moved bydragging them with the mouse or the keyboard. When using the cursor keys to moveobjects, they can be moved in very small steps (referred to as nudging). Selectedobjects can also be cut, copied or pasted using the relevant buttons on the standardtoolbar.

Å &XW�VHOHFWHG�REMHFW

Å &RS\�VHOHFWHG�REMHFW

Å ,QVHUW�REMHFW

(GLWLQJ�VHOHFWHG�FRQQHFWLQJ�OLQHV

There is a special editing facility for connecting lines. Selected connecting lines haveround and square blue handles. The round handles can be used to move the lines atright angles to the direction in which they extend. The square handles can be used toconnect the beginning or end of a line to a different terminal pin. The lines are movedby dragging the handles.

Page 13: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��7XWRULDO

LOGO!Soft Comfort Manual 13

If you attempt to connect the end of a line to an unsuitable pin, it automatically jumpsback to its original connection point when you release the mouse button.

6SOLWWLQJ�OLQNV��SURFHGXUH

Large circuits can easily become difficult to follow as in LOGO!Soft Comfort linejunctions and intersections appear the same. In order to make the connectionsbetween blocks clearer, you can use the "Split/Reconnect" button on the tools toolbar.

Å 6SOLW�5HFRQQHFW

Click the button and then click on a link. The selected connecting line is graphicallysplit but the link between the blocks remains active. The unconnected ends of the splitlink are now shown with arrowhead symbols which indicate the direction of signaltransmission. The name and pin number of the block to which the unconnected line islinked is shown above the arrowhead symbol.

If you click on a split-link arrowhead while the Split/Reconnect button is active, the linkis reconnected.

It is not advisable to use this tool with small circuits as you can optimize the circuitlayout simply by rearranging the positions of objects.

6SOLWWLQJ�OLQNV��DGYDQWDJHV

With larger and more complex circuits, on the other hand, there may be a largenumber of connecting line intersections which can make interpretation of the circuitvery difficult. In such cases, the Split/Reconnect button is an extremely effectivemeans of making the layout of the circuit significantly clearer.

Page 14: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��7XWRULDO

LOGO!Soft Comfort Manual 14

Another advantage of the Split/Reconnect tool becomes obvious with circuits that aretoo large to fit on a single printed page, in other words which include page breaks. If ablock of a circuit is shown on another page, connecting lines that join blocks ondifferent pages are cut off at the end of the page without any reference to theirorigin/destination.

������ 3URJUDP�'RFXPHQWDWLRQ

/DEHOV

The Label tool on the tools toolbar allows you to create labels either as bound orunbound text boxes. To do so, click the Label button.

Å /DEHO�WRRO

If you then click on a block or anywhere else on the drawing board, a window opens foryou to enter the label text. When you have entered the label text, simply clickanywhere outside the label window or press the [ESC] key. The window is closed andthe label text is displayed on the diagram. That label can now be selected and movedor aligned.

%RXQG�DQG�XQERXQG�ODEHOV

Depending on whether you click on a block or a blank space on the drawing board, thelabel you create will be bound or unbound.

If you click on a blank space on the drawing board, the label you create is unbound. Ifyou click on a block, the label you create is bound to that block. If you select a block towhich a label is bound, the label is not simultaneously selected but if you move theblock, the label moves with it. If the block is copied or cut, only the block is placed onthe clipboard. If the block is cut from the diagram, the bound label is deleted. However,the bound label can be individually selected and moved, copied, cut or pasted. If abound label is pasted from the clipboard, it is no longer bound to the original block.

A label can be edited by activating the Label tool and then clicking on the label to beedited.

Page 15: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��7XWRULDO

LOGO!Soft Comfort Manual 15

%ORFN�FRPPHQWV

In the block properties dialog box you will see a Comments tab on which you can entera name for the function block or remarks as to the purpose of the of the block in yourcircuit.

The comments entered are then displayed on the diagram as a bound label and canbe positioned as required. If the block is moved, however, the label moves with it.Deleting the block also deletes the label.

The (GLW��7HUPLQDO�1DPHV menu command allows you to assign terminal names tothe inputs and outputs directly.

(See page 37, Terminal Names)

���� *HWWLQJ�6WDUWHG��6LPXODWLQJ�D�&RQWURO�3URJUDP

,QWURGXFWLRQ

The program simulation function allows you to test out a program and alter itsparameters. In that way you can be sure that you will be downloading a functioning andoptimized program to your LOGO! module.

������ 6WDUWLQJ�WKH�6LPXODWLRQ

6LPXODWLRQ�PRGH

To start the simulation, click the end button on the tools toolbar. This switches theprogram to simulation mode.

Å 6LPXODWLRQ

While simulation mode is active, the button appears depressed. Clicking any otherbutton on the tools toolbar cancels simulation mode and switches back to theprogramming mode for whichever tool is selected (e.g. for selecting or positioningfunction blocks).

Comments

Page 16: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��7XWRULDO

LOGO!Soft Comfort Manual 16

0HVVDJH�ZLQGRZ

When you start the simulation, the control program is analyzed with regard to itsresources and the LOGO! module to be used. That information along with any errormessages is entered in the message window. The message window can be activatedby choosing View ÅMessage Window from the menu bar.

All accumulated messages from LOGO!Soft Comfort are entered in this window andcan be referred back to by scrolling the display. The messages are not permanentlysaved. When you start LOGO!Soft Comfort, the message window is blank.

The messages in the message window can be selected so that they can be deleted orcopied to other applications.

Page 17: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��7XWRULDO

LOGO!Soft Comfort Manual 17

6WDWXV�GLVSOD\

In simulation mode, buttons/message windows are displayed above the drawing boardnext to the standard toolbar for displaying the status of inputs, outputs and powersupply.

The color of the line indicates whether there is a “1” signal or a “0” signal on aconnecting line. Red connecting lines carry a “1” signal and blue lines a “0” signal.

The status bar displays details of which LOGO! model is the minimum requirement forimplementing your control program.

������ 6LPXODWLQJ�WKH�&RQWURO�3URJUDP

5HSUHVHQWDWLRQ�RI�LQSXWV

The inputs are represented as buttons with a key or switch symbol. Below the symbolis the designation for the input shown. An open input corresponds to a switch that hasnot been operated. If you click a button it appears depressed and the switch is shownas closed.

Å Button for key I1, not operated Å input open

Å Button for key I1, operated Å input closed

Å Button for switch I2, not operated Å input open

Å Button for switch I2, operated Å input closed

Page 18: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��7XWRULDO

LOGO!Soft Comfort Manual 18

5HSUHVHQWDWLRQ�RI�DQDORJ�DQG�IUHTXHQF\�LQSXWV

The representation of analog and frequency inputs is somewhat different. Here youcan use a slider to set the value of the analog voltage or the frequency. If you want tospecify the value more precisely, you can use the corresponding buttons to increase ordecrease it.

Å Status box for input module I3 Å frequency input

Å Display for input block I4 Å analog input

$OWHUQDWLYH�KDQGOLQJ

If you choose View Å Toolbars Å Simulation to deactivate the simulation, the lowerbar containing the switches of the inputs and outputs is not displayed. You can clickthe inputs directly to switch the switches on and off. However, this alternative methodis also available to you when you have not deactivated the simulation view.

)XQFWLRQ�RI�LQSXWV

Inputs can be configured in a variety of ways. In order to change the behavior of aninput, you choose "Tools Å Simulation Parameters" from the menu bar. In the dialogbox that opens you can then define the function of the input switch. A choice of threeoptions is offered:

• Switch

• Key

• Frequency (not in the case of analog inputs)

• Analog (only in the case of analog inputs)

Page 19: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��7XWRULDO

LOGO!Soft Comfort Manual 19

A key is only active while it is held down. As soon as it is released and is no longerdepressed, the contact is open again. A switch remains active after being pressed andreleased and is not deactivated until it is pressed again.

The frequency of a frequency input can be preset or changed while the simulation isrunning. The frequency should be entered in Hz. A frequency input is a special case inthis context as it should only be used with the frequency trigger special function block.

A default can be set for the analog value of the analog input, or the value can bechanged during the simulation. The unit for the analog value to be set is volts. Theanalog input is a special case here, because it should only be used with the specialfunction blocks analog trigger and analog comparator.

Inputs are identified by the letter I. For the relevant LOGO! models there are alsoinputs identified by the letters Ia which are for the ASi bus inputs.

'LVFRQQHFWLQJ�WKH�SRZHU

Clicking the Power button disconnects the power supply for all inputs therebysimulating a power failure.

Å Power button, not pressed

Å Power button, pressed Å simulates power failure

The behavior of the circuit in terms of power failure response, restart and retentivitycan be tested with this function.

Page 20: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��7XWRULDO

LOGO!Soft Comfort Manual 20

2XWSXWV

The state of an output or memory marker is indicated by a light or dark bulb symbol.Below the bulb symbol is the designation of the output in your control program.

Å State icon for output Q1 Å output not conducting

Å State icon for output Q1 Å output conducting

The output state icons are purely state indicators. They are not buttons for operatingthe output. When your control program activates an output, the bulb is shown switchedon; an inactive output is indicated by a switched off bulb.

Outputs are identified by the letter Q for outputs and M for memory markers. Someoutputs may have the identification letters Qa, in which case they are outputs for theASi bus (only available on the applicable LOGO! models).

$VVLJQLQJ�SDUDPHWHUV�GXULQJ�WKH�VLPXODWLRQ

If you double-click a block while the simulation is running, the Properties dialog box forthe block appears. Here you can enter comments or set parameters just as inprogramming mode.

While the simulation is running, the current parameter values are displayed. Thisanalysis facility allows you to follow the behavior of your control program. Multipleparameter assignment windows can be open while the simulation is running. You canalso reduce them to such a size that only the actual values remain visible.

Page 21: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��7XWRULDO

LOGO!Soft Comfort Manual 21

������ $UFKLYLQJ�3URJUDPV

6DYLQJ�D�SURJUDP

To save your program, click the Save button on the standard toolbar.

Å 6DYH

The program is saved with the name it was opened as and any older versions areoverwritten. If it is a new program that you are saving for the first time, you are askedto specify a path to save it to and a name for the program.

2SHQLQJ�D�SURJUDP

If you want to continue to work on your program, you can open it again at any time.

Å 2SHQ

Page 22: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 22

�� *XLGH�WR�/2*2�6RIW�&RPIRUW

���� 2YHUYLHZ�RI�8VHU�,QWHUIDFH

*HQHUDO�GHVFULSWLRQ

0HQX�EDU

The menus on the menu bar contain various commands for editing and managing yourcontrol programs. There are also functions for entering default settings andtransferring programs.

7RROEDUV

A standard toolbar and a tools toolbar provide the facility for quick and easy access tothe most important and most frequently used functions in LOGO!Soft Comfort.

6WDWXV�EDU

The status bar indicates the active tool, the program status, the zoom factor, the pageof the diagram overview and the selected LOGO! device.

'UDZLQJ�ERDUG

The drawing board is where the symbols and links for the control program arearranged. It is the actual working space of the program.

6FUROO�EDUV

In order to keep even large circuits manageable, there are scroll bars at the bottomand on the right of the screen which can be used to scroll the diagram horizontally andvertically.

Drawingboard

Scroll bars

Tools toolbar

Standard toolbarMenu bar

Status bar

Page 23: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 23

���� 'HVFULSWLRQ�RI�$YDLODEOH�%XWWRQV

������ 6WDQGDUG�7RROEDU

*HQHUDO�GHVFULSWLRQ

The buttons on the standard toolbar represent commands that are also available fromthe menu bar. Placing buttons for the most important commands on the standardtoolbar provides a means of quick access to the most important functions.

ÅStandard toolbar

The following commands from the menus are also available on the standard toolbar:

• )LOH: New, Open, Save

• (GLW: Undo, Redo, Cut, Copy, Paste

• )RUPDW: Alignment Vertical, Alignment Horizontal

• 9LHZ: Zoom In, Zoom Out

• 2SWLRQV: LOGO! Å PC (Upload), PC Å LOGO! (Download)

1HZ

The drawing board is cleared as it is when the program is first started ready for thecreation of a new control program. Depending on the default settings, a Propertiesdialog box for the program to be created may appear. On the other hand, theProperties dialog box may not appear if the default setting has been specifiedaccordingly at File Å Properties. It can nevertheless be opened whenever requiredand entries made or altered.

It is essential that any previously created control program on the Drawing board issaved before clicking the New button as this action clears the Drawing board ready forcreation of a new program. If you do not save an existing program before pressing theNew button, LOGO!Soft Comfort asks you to confirm that you definitely do not wish tosave the existing program. Alternatively, you have the option of performing a QuickSave.

Program sections that have previously been placed on the clipboard using the Cut orCopy functions remain on the clipboard and can be inserted in the new program usingthe Paste function.

2SHQ

A dialog box opens from which you can select and open a previously created controlprogram in order to edit it on the drawing board. Control programs created inLOGO!Soft Comfort must have the file extension *.lsc.

You can also import a standard LOGO!Soft file with the filename extension *.lgo. Youcan select which file type is to be displayed.

It is essential that any previously created control program on the Drawing board issaved before clicking the New button as this action clears the Drawing board ready forcreation of a new program. If you do not save an existing program before pressing theNew button, LOGO!Soft Comfort asks you to confirm that you definitely do not wish tosave the existing program. Alternatively, you have the option of performing a QuickSave.

Page 24: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 24

Program sections that have previously been placed on the clipboard using the Cut orCopy functions remain on the clipboard and can be inserted in the new program usingthe Paste function.

6DYH

If you are saving a new program for the first time, a dialog box opens for you to specifythe path and file name to which the program is to be saved. If you are saving amodified version of an existing program, a Quick Save is performed. The old version ofthe program is overwritten by the revised version - in other words the new program issaved to the same path and name as the source file.

By default, the filename extension *.lsc is specified for LOGO!Soft Comfort programs.However, you can also export your program to an old version of LOGO!Soft byselecting the file type *.lgo, which is the format for programs from the standardLOGO!Soft. If you use functions in your control program that are not supported by thestandard LOGO!Soft, LOGO!Soft Comfort reports an error during export.

&XW�VHOHFWHG�REMHFW

One or more selected objects, i.e. function blocks and/or connecting lines, are deletedfrom the drawing board and placed on the clipboard.

&RS\�VHOHFWHG�REMHFW

One or more selected objects, i.e. function blocks and/or connecting lines, are copiedfrom the drawing board and placed on the clipboard.

3DVWH�REMHFW

Objects previously placed on the clipboard are pasted onto the drawing board. Theposition at which they are inserted is either below the previously selected object or aposition specified previously by clicking with the mouse.

5HYHUVLQJ�DQ�DFWLRQ

This command allows you to reverse actions carried out on the drawing board.LOGO!Soft Comfort allows you to undo up to the last ten operations. If you hover themouse over the Undo button, a tooltip appears indicating which action will be undone.

5HGRLQJ�DQ�XQGRQH�DFWLRQ

If you have undone an action, you can redo it. If you position the mouse over the Redobutton, a tooltip appears indicating which action will be redone.

Page 25: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 25

$OLJQLQJ�VHOHFWHG�REMHFWV�YHUWLFDOO\

All the selected objects are right-aligned. The objects are aligned with the first selectedobject to be inserted in the program.

$OLJQLQJ�VHOHFWHG�REMHFWV�KRUL]RQWDOO\

All the selected objects are aligned horizontally. The objects are aligned with the firstobject to be inserted in the program.

3&��/2*2���'RZQORDG�

The control program created on the PC in LOGO!Soft Comfort is downloaded to theLOGO! module. As the LOGO! module can not use the graphical information used inLOGO!Soft Comfort, the program labels and terminal designations are notdownloaded. For that reason, it is advisable to save the program on the PCbeforehand.

(See Chapter ������7RRO�0HQX)

/2*2���3&��8SORDG�

The control program on the LOGO! module is uploaded to LOGO!Soft Comfort. As theprogram on the LOGO! module lacks the graphical information used in LOGO!SoftComfort, the arrangement of the blocks is performed automatically according to theLOGO!Soft programming software conventions.

(See Chapter ������7RROV�0HQX)

,QFUHDVLQJ�WKH�VFUHHQ

To edit or recognize details of the control program you have created with LOGO!SoftComfort more easily, you can increase the size of the programming interface inincrements. This button allows you to increase the enlargement factor in setincrements:

100 Å 150 Å 200 Å 250 Å 300 Å 400 (maximum)

'HFUHDVLQJ�WKH�VFUHHQ

To get a better overall view of the control program you have created with LOGO!SoftComfort more easily, you can decrease the size of the programming interface inincrements. This button allows you to decrease the enlargement factor in setincrements:

100 Å 75 Å 50 Å 25 (minimum).

Page 26: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 26

������ 7RROV�7RROEDU

*HQHUDO�GHVFULSWLRQ

The tools toolbar incorporates buttons for program design and editing functions. Eachof the tools represents a programming mode in which mouse operations have differenteffects.

ÅTools toolbar

The choice of modes on this toolbar is not available from the menu bar.

6HOHFWLRQ�WRRO

This mode is used for selecting and moving function blocks. Objects can be selectedindividually by left clicking with the mouse; multiple selections can be made using[Ctrl]+Left click or by dragging a rectangle to enclose the objects to be selected.

/DEHO�WRRO

This tool is used to place or edit user-definable text objects on the drawing board. Aswell as unbound labels, you can also create labels that are bound to specific blocksand are moved or deleted along with the block to which they are bound. To create abound label, you click on the required block when the Label tool is active.

There can only be one bound label for each function block. You can specify the font,font size and color individually for each label.

6SOLW�5HFRQQHFW�WRRO

This tool is used to split or reconnect links between function blocks. To split a link youselect the line concerned by left clicking with the mouse while the Split/Reconnect toolis active. When a connecting line is split, the unconnected ends are shown with anarrowhead indicating the function block to which they are linked. That referencespecifies the block name and input/output number of the block to which the connectingline is linked.

/LQN�WRRO

This tool is used to link up inputs and outputs on the function blocks placed on thedrawing board. To do so you move the mouse pointer to an input or output pin of ablock and press and hold the left mouse button. Keeping the mouse button pressed,you drag the mouse pointer to the pin that you want to connect the first pin to. Nowrelease the mouse button to fix the connecting line between the two pins. While theconnecting line is being drawn it is shown as a straight line between the first pin andthe mouse pointer. Once it has been fixed, it appears as a combination of horizontaland vertical lines which can be manipulated using the selection tool.

Page 27: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 27

&RQVWDQWV�DQG�7HUPLQDOV�WRRO

This tool has to be selected if you want to place input blocks, output blocks, memorymarkers or constants (high, low) on the drawing board. The specific type of functionblock to be inserted is selected from an additional toolbar which appears when youselect the Constants and Terminals tool.

%DVLF�)XQFWLRQV�WRRO

This tool has to be selected if you want to place simple Boolean logical operationblocks on the drawing board. The specific type of function block to be inserted isselected from an additional toolbar which appears when you select the Basic Functionstool.

6SHFLDO�)XQFWLRQV�WRRO

This tool has to be selected if you want to place special retentive or time-relatedfunction blocks on the drawing board. The specific type of function block to be insertedis selected from an additional toolbar which appears when you select the SpecialFunctions tool.

6LPXODWLRQ�WRRO

When you select the Simulation tool, a toolbar for monitoring and controlling inputs andoutputs appears. A software switch acts as a means of simulating a power failure sothat the circuit can be tested for retentivity. The control program created and all itsfunction blocks remain visible during the simulation.

When the simulation is started, a program check is carried out and the results writtento the message window which can be viewed by choosing View Å Message Windowfrom the menu bar.

Page 28: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 28

���� 'HVFULSWLRQ�RI�0HQX�%DU

,QWURGXFWLRQ

The menus on the Menu bar provide access to a variety of functions for managing andediting control programs for LOGO! modules.

Page 29: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 29

������ )LOH�0HQX

*HQHUDO�GHVFULSWLRQ

The File menu contains commands for file management. There are commands foropening, saving and creating control programs as well as for printing and for settinggeneral file properties.

1HZ

The drawing board is cleared as it is when the program is first started ready for thecreation of a new control program. Depending on the default settings, a dialog box withthree tabs for entering the properties of the program to be created may appear. It canin any case be recalled at any time to either enter or alter property settings by choosingFile Å Properties from the menu bar.

It is essential that any previously created or modified program on the Drawing board issaved before clicking the New button as this action clears the Drawing board ready forcreation of a new program. In order to prevent an existing program being accidentallydeleted, a dialog box opens asking the user if the current program should be savedfirst. This dialog box only opens if the program has been altered since the last time itwas opened.

Program sections that have previously been placed on the program’s clipboard usingthe Cut or Copy functions remain on the clipboard and can be inserted in the newprogram using the Paste function.

There is also a button for this menu command on the standard toolbar.

Å Button for menu command 1HZ

Page 30: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 30

2SHQ���

A dialog box opens from which you can select and open a previously created controlprogram in order to edit it on the drawing board. Control programs created inLOGO!Soft Comfort have the file extension *.lsc.

It is essential that any previously created or modified program on the Drawing board issaved before clicking the New button as this action clears the Drawing board ready forcreation of a new program. In order to prevent an existing program being accidentallydeleted, a dialog box opens asking the user if the current program should be savedfirst.

If a file being opened has the extension .lgo, this indicates that it is in LOGO!Softformat. Missing information about the graphical representation of the program is thenadded by LOGO!Soft Comfort. For details of how to save a LOGO!Soft Comfortprogram in LOGO!Soft format, refer to the command Export.

There is also a button for this menu command on the standard toolbar.

Å Button for menu command 2SHQ

6DYH

If you are saving a new program for the first time, a dialog box opens for you to specifythe path and file name to which the program is to be saved. If you are saving amodified version of an existing program, a Quick Save is performed. The old version ofthe program is overwritten by the revised version - in other words the new program issaved to the same path and name as the source file.

There is also a button for this menu command on the standard toolbar.

Å Button for menu command 6DYH

Page 31: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 31

6DYH�$V���

A dialog box opens for you to specify the path and file name to which the currentprogram is to be saved. In this way, programs that have been changed can be savedwith a different name or to a different directory so that previous versions of theprogram can be retained and retrieved if necessary.

By default, the filename extension *.lsc is specified for LOGO!Soft Comfort programs.However, you can also export your program to an old version of LOGO!Soft byselecting the file type *.lgo, which is the format for programs from the standardLOGO!Soft. When the file is converted, additional information such as the graphicaldata relating to the position of the function blocks is omitted. If you use functions inyour control program that are not supported by the standard LOGO!Soft, LOGO!SoftComfort reports an error during export.

3DJH�6HWXS

This command opens a dialog box in which you can specify the page settings forcreating control programs. Arrangement of the function blocks can then take accountof the print layout requirements.

The area that can not be printed by the printer can be entered in the relevant boxes.For details of these measurements, refer to your printer’s manual. The side marginsare made up as follows from the measurements entered:

Margins (mm) + Unprintable area (mm) = Margin left/top

Page 32: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 32

LOGO!Soft Comfort provides the facility for multi-page printout with the position ofpage breaks indicated on the screen. The print area is user-definable up to amaximum of 210 mm x 279 mm (A3) and can therefore be adjusted to fit all commonlyused paper formats.

The settings made at this point have no effect on the printer settings. To alter thosesettings you have to choose File Å Print or Tools Å Options Å Print from the menubar.

3ULQW�3UHYLHZ

The print preview lets you see what your printed circuit diagram will look like. If thereare several pages, you can use the corresponding buttons to switch between them.You can also zoom in or start printout immediately.

3ULQW

The standard Windows Printers dialog box provides access to options for choice ofprinter and printer properties. Other printer settings can be made on the WindowsControl Panel. Other printer output settings can be specified by choosing Tools ÅOptions Å Print from the menu bar.

3URSHUWLHV���

The Properties dialog box contains tabs for General Properties, Comments andStatistics. The General tab provides the facility for entering details of the currentcontrol program. There are input boxes for project-related and internal company data.

Page 33: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 33

In the entry line for the company you can load your company logo as a *.gif or *.jpg file.This allows you to give your program documents an even more individual appearance.

On the Comments tab you can enter a brief description of the control program or notesrelating to it.

Page 34: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 34

The Statistics tab shows details of when the control program was created and when itwas last altered.

([LW

This command closes down the LOGO!Soft Comfort application.

������ (GLW�0HQX

*HQHUDO�GHVFULSWLRQ

The Edit menu provides functions for editing your control program. However, the basiccommands for creating and editing a control program are accessed via the variousprogramming modes offered by the tools toolbar.

Page 35: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 35

8QGR

This command allows you to reverse actions carried out on the drawing board. Italways undoes the last action executed. If you hover the mouse over the Undocommand, a tooltip appears indicating the what type of action will be undone.

There is also a button for this menu command on the standard toolbar.

Å Button for menu command 8QGR

5HGR

You can redo actions that you have undone. The last action undone is redone. Theaction to be redone is displayed as a ToolTip.

There is also a button for this menu command on the standard toolbar.

Å Button for menu command 5HGR

'HOHWH

Selected objects are deleted without being copied to the clipboard. Deleted objects canonly be retrieved by means of the undo function.

&XW

One or more selected objects, i.e. function blocks and/or connecting lines, are deletedfrom the drawing board and placed on the program’s clipboard.

There is also a button for this menu command on the standard toolbar.

Å Button for menu command &XW

&RS\

One or more selected objects, i.e. function blocks, labels or connecting lines, arecopied from the drawing board and placed on the program’s clipboard.

There is also a button for this menu command on the standard toolbar.

Å Button for menu command &RS\

3DVWH

Objects previously placed on the program’s clipboard are pasted onto the drawingboard. The position at which they are inserted is either below the previously selectedobject or a position specified previously by clicking with the mouse.

There is also a button for this menu command on the standard toolbar.

Å Button for menu command 3DVWH

The contents of the clipboard can only be pasted if there are sufficient resourcesavailable. Function blocks take up a certain amount of resources according to the typeof function block. If there are not sufficient resources available, a message to thateffect is displayed.

Connecting lines with unconnected ends can not be pasted. Connecting lines can onlybe pasted if they connect two function blocks and have been placed on the clipboardtogether with those function blocks.

Page 36: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 36

6HOHFW�$OO

All objects on the drawing board are selected, i.e. function blocks, connecting lines andlabels.

*R�WR�%ORFN

You can display a list of all the blocks you have used. The list specifies the blocknumber and the type of the block. You can also display, for example, which specialfunctions you have used. In the search function, you can enter the short name of theblock (e.g. I1, I2 or B04), and the lists indicates where the block is located. If you clickOK in the dialog box, the found block is selected.

%ULQJ�7R�)URQW

If a number of objects are overlapping one another, a specifically selected object canbe brought to the front.

6HQG�7R�%DFN

If a number of objects are overlapping one another, a specifically selected object canbe sent to the back.

Page 37: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 37

7HUPLQDO�1DPHV���

A dialog box for entering terminal designations opens. Here you can enterdesignations for inputs and outputs. The terminal designations are shown in bracketsnext to the block designation. You can specify whether or not the terminal designationsare to be shown on the screen and on printouts by choosing Tools Å Options ÅScreen from the menu bar.

%ORFN�3URSHUWLHV���

To open the Block Properties dialog box, you first have to select a block for which theproperties are to be displayed. If multiple blocks are selected, the dialog box onlyshows the properties of the first of them.

The Block Properties dialog box consists of a number of tabs. Every block has aComments tab on which the user can enter remarks relating to the selected block, forexample. With some function blocks there is also a Parameters tab.

Page 38: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 38

������ )RUPDW�0HQX

*HQHUDO�GHVFULSWLRQ

This menu provides formatting options for labels and function groups. You can definethe font, the font size and style as well as the alignment of selected objects.

)RQW

Here you can define the font, the font style, font size and font color of text. To redefinethe format of existing text objects, you have to select them first. You can then specifythe font attributes you require and click OK to apply the new formatting.

If you wish particular settings to be used as the standard format, you can specify themas the default format settings. New text objects are then displayed with the defaultformat attributes. To return to the default settings, click the Default button.

$OLJQPHQW

The Alignment command is used to align labels and function blocks in a choice of twoways.

Page 39: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 39

Vertical: selected objects are aligned flush right. The objects are aligned with the lastselected object to be inserted in the program.

There is also a button for this menu command on the standard toolbar.

Å Button for menu command $OLJQPHQW�9HUWLFDO

Horizontal: selected objects are aligned horizontally. The objects are aligned with thelast object to be inserted in the program.

There is also a button for this menu command on the standard toolbar.

Å Button for menu command $OLJQPHQW�+RUL]RQWDO

6HWWLQJ�XS�D�JULG

This tool helps you align the individual objects of your control program easily on theprogramming interface. The grid is turned on by default.

You can set the spacing between the individual grid intersections in increments of5 points.

If you have turned on the snap-to-grid function, the objects are aligned with theindividual grid intersections. This helps you to avoid objects being vertically orhorizontally offset.

You can hide the grid by clearing the Visibility check box.

$OLJQLQJ�VHOHFWHG�REMHFWV�WR�WKH�JULG

If you have made changes to the grid spacing, or inserted objects with the gridswitched off, objects may snap into place offset to one another. To correct this offset,select the objects and realign them using this command.

Page 40: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 40

������ 9LHZ�0HQX

*HQHUDO�GHVFULSWLRQ

The View menu allows you to set the zoom factor at which your circuit is displayed andspecify whether to show or hide various display windows.

=RRP

LOGO!Soft Comfort offers a variety of options for enlarging or reducing the size atwhich the control program is displayed. When you choose Zoom, a dialog box opens inwhich you can select the zoom factor from a list of set choices or enter a custom zoomfactor in the relevant box.

If you choose an unsuitable zoom factor, the objects might appear out of focus on yourscreen. For that reason you should use the set zoom factors wherever possible. This"out of focus" appearance has no effect on the appearance of the control programwhen printed out.

=RRP�,Q

The zoom factor is increased in the following fixed increments:

100 Å 150 Å 200 Å 250 Å 300 Å 400 (maximum).

There is also a button for this menu command on the standard toolbar.

Å Button for menu command =RRP�,Q

Page 41: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 41

=RRP�2XW

The zoom factor is decreased in the following fixed increments:

100 Å 75 Å 50 Å 25 (minimum).

There is also a button for this menu command on the standard toolbar.

Å Button for menu command =RRP�2XW

7RROEDUV

This command allows you to specify individually for each of the toolbars whether theyshould be shown or hidden.

• Standard: showing and hiding the standard toolbar

• Tools: showing and hiding the tools toolbar

• Simulation: showing and hiding the simulation toolbar

0HVVDJH�ZLQGRZ

The message window displays program messages. Following simulation of a controlprogram, the message window shows details of the resources used together with thecurrent date and time. Details of the LOGO! modules on which the simulated controlprogram can be used are also given.

Other messages that appear in the message window are as follows:

Page 42: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 42

Outputs without function: lists output blocks which have been placed on the drawingboard but to which no link to a terminal block is assigned (inputs, Hi, Lo). In otherwords, the value of the connected output will never be able to change.

([DPSOH�

Blocks without links to an output: lists blocks that have been placed on the drawingboard but to which no link with an output is assigned.

([DPSOH�

6WDWXV�EDU

This command allows you to have the status bar showing or hidden. The status bar ismade up of three sections. The first section, on the far left, shows details of the activetool and any program messages. The second section indicates whether the opencontrol program has been modified, and the third section shows the current zoomfactor.

7RROWLSV

When you hover the mouse over a button, a Tooltip appears showing the name of thebutton. Tooltips can be switched on or off.

Page 43: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 43

������ 7RROV�0HQX

*HQHUDO�GHVFULSWLRQ

The Tools menu provides commands for entering the settings for program transfer aswell as for the LOGO! module, the program simulation and other options.

7UDQVIHU

The program is transferred via the serial interface specified at Tools Å OptionsÅ Interface.

The LOGO! module must be connected to the PC using the connecting lead and musthave been set to PC/Card Å PCØLOGO ready for transfer of the program.

Otherwise LOGO!Soft Comfort will return an appropriate error message.

Page 44: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 44

7UDQVIHU��3&��/2*2�

The control program created on the PC in LOGO!Soft Comfort is downloaded to theLOGO! module.

Before transfer is started, the minimum LOGO! model required to run the programcreated is established. If the control program created can not be run on the LOGO!module being used, an error message is displayed and transfer of the program isterminated. If the LOGO! model can not be established, a message is displayedinforming the user. The user then has the choice of continuing with the transfer orcanceling it.

There is also a button for this menu command on the tools toolbar.

ŠButton for menu command 3&��/2*2� (Download)

Transfer messages are displayed on the status bar and in the message window.

If errors occur during transfer the user can restart the transfer after a query. If noerrors occur during transfer, a message to that effect appears on the status bar.

Error messages are shown in detail in the message window.

7UDQVIHU��/2*2���3&

The control program on the LOGO! module is uploaded to LOGO!Soft Comfort.

When a program is uploaded from the LOGO! module it lacks the graphicalinformation used in LOGO!Soft Comfort for arrangement of the blocks on the drawingboard. In such cases, a suitable layout for the control program is automaticallygenerated. The circuit diagram generated corresponds to the layout in the LOGO!Softblock diagram except that function blocks used more than once are not displayedmore than once but are identified by block links.

On completion of the transfer operation, the control program uploaded from theLOGO! module is displayed on the drawing board. It is always positioned in the top leftcorner of the drawing board. If necessary, you should use the scroll bars to bring thecircuit into view.

Page 45: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 45

There is also a button for this menu command on the tools toolbar.

ŠButton for menu command /2*2���3& (Upload)

Transfer messages are displayed on the status bar and in the message window.

'HWHUPLQH�/2*2�

When you choose this command, LOGO!Soft Comfort works out the minimum LOGO!model needed to run the control program created. The result is shown on the statusbar. The message window details all models that can run the control program created.

6HOHFW�'HYLFH

When programming in LOGO!Soft Comfort 2.0, you can either implement your controlprogram first and then determine the device required by means of 'HWHUPLQH�/2*2�,or you can choose 6HOHFW�'HYLFH to specify the LOGO! device for which you want tocreate your control program.

The function shows you which function blocks are available for each selected deviceand what memory resources are available to you.

If you have already created a control program or are using a number of functionblocks, only those LOGO! devices that you can use with the functions currently beingused are offered to you for selection.

Page 46: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 46

6HW�FORFN���

This command allows you to set the date and time. In order to be able to communicatewith a LOGO! module, the LOGO! module must first be set to PC/Card Å PCØLOGOand connected to the PC using the connecting lead.

Clicking Read or Write reads the current date from the LOGO! module or writes thedate set in LOGO!Soft Comfort to the LOGO! module. The Current Time button adoptsthe PC system time as the current date.

&DOHQGDU�IXQFWLRQ

The simplest way to set the current date is to use the Calendar button. Simply use themouse to select the appropriate year, month and day, and then click OK to concludeyour entry.

6HW�&ORFN��HQWHULQJ�GDWH�WLPH�PDQXDOO\

If you place the insertion point in the date/time boxes rather than clicking the up anddown arrows, you can type the figures directly on the keyboard. If the date details aretransferred to the LOGO! module but the date is implausible, the LOGO! moduleautomatically counts the "surplus" days as part of the next month.

([DPSOH

Input: Day 41; Month 5; Year 1999

Interpreted by LOGO! as: Day 10, Month 6, Year 1999

May has 31 days, so there are 10 surplus days which are carried over to the nextmonth. The Set Clock dialog box then shows the date as it has been interpreted by theLOGO! module. The identical procedure is also applied to implausible figures in any ofthe other boxes.

6LPXODWLRQ�WRRO

When you select the Simulation tool, a toolbar for monitoring and controlling inputs andoutputs appears. A software switch acts as a means of simulating a power failure sothat the circuit can be tested for retentivity. The control program created and all itsfunction blocks remain visible during the simulation.

There is also a button for this menu command on the tools toolbar.

Å Button for menu command 6LPXODWLRQ

Page 47: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 47

6LPXODWLRQ�3DUDPHWHUV���

A dialog box listing all available inputs opens. Here you can assign an appropriatefunction to every input used.

Buttons, switches and frequency and analog inputs are available here for selection. Inthe case of the frequency inputs, the simulated frequency can be set in Hz. The valuesof the analog inputs can be set in volts in advance.

Page 48: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 48

2SWLRQV��*HQHUDO

Here you can specify the settings for language and the number of pages to be used forcreating the program. You can define how the pages are to be arranged to suit yourcircuit layout requirements. The language setting determines the language used for themenus and online Help.

2SWLRQV��6FUHHQ

Here you can specify what types of text objects you wish to have displayed on thescreen.

Page 49: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 49

2SWLRQV��3ULQW

Here you can specify which types of text object you wish to be visible on the printout.

2SWLRQV��,QWHUIDFH

Here you can manually enter the interface to be used or you can choose to have itdetected automatically. With the latter option, all interfaces are checked for thepresence of a LOGO! module.

Page 50: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 50

&RORUV

You can configure the color settings to suit your requirements, changing the color ofthe working surface and background and of the signal lines carrying the “1” or “0”signals in the simulation. You can restore the default settings at any time.

6LPXODWLRQ

The display of signal states and actual values can be switched on and off at any time.

Page 51: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��*XLGH�WR�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 51

������ +HOS

*HQHUDO�GHVFULSWLRQ

This menu provides access to Help and other information about LOGO!Soft Comfort.

&RQWHQWV

This command opens the LOGO!Soft Comfort manual. The PDF file format makes forstraightforward printing out of the Help manual. If the program fails to find a PDF filereader, the user must specify the path for the reader.

$ERXW���

This displays the version number and the release date of your LOGO!Soft Comfortprogram.

Page 52: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 52

8SGDWH�&HQWHU���

You can use the Update Center to install additional languages, program add-ons andservice packs. To do this, you select the source of the update.

Alternatively, you can select between the Internet or an update from the file system.

Page 53: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 53

�� 3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

���� 6SHFLILFDWLRQ�RI�/2*2��0RGHO

,QWURGXFWLRQ

Specific program settings are not required. With LOGO!Soft Comfort you can startdesigning your own control programs right away. In LOGO!Soft Comfort you write yourprograms first and then have LOGO!Soft Comfort work out for you which LOGO!model you need as a minimum to implement your ideas!

The minimum LOGO! model you require to implement your ideas depends on anumber of factors as follows:

• The number of inputs and outputs to be used

• The amount of memory used by the control program

• Special functions used

• Use of an ASi bus connection

/2*2��PRGHOV

You can use LOGO!Soft Comfort to create programs for LOGO! devices belonging todifferent generations. LOGO! has continuously been improved over the years, andthere are differences in terms of performance, memory space and program blocks(e.g. memory marker blocks). Since there are therefore device-specific differences asregards the functions, as well as distinguishing between the LOGO! models you alsohave to pay attention to the release number. The release number is the last digit in theLOGO! order number.

The current LOGO! models belong to the 3rd generation. They are part of the secondLOGO! Innovation range and can be recognized by the last digits of their ordernumber: 0BA2. You can recognize the first two generations of LOGO! devices by theend digits 0 and 1.

Currently the range of models is as follows:

0RGHO 'HVLJQDWLRQ 2UGHU�1XPEHU

LOGO! 12/24RC * 6ED1 052-1MD00-0BA2

LOGO! 24 * 6ED1 052-1CC00-0BA2

LOGO! 24RC (AC) 6ED1 052-1HB00-0BA2

LOGO! 230RC 6ED1 052-1FB00-0BA2

LOGO! 12/24RCo * 6ED1 052-2MD00-0BA2

LOGO! 24RCo (AC) 6ED1 052-2HB00-0BA2

Standard

LOGO! 230RCo 6ED1 052-2FB00-0BA2

LOGO! 12RCL 6ED1 053-1BB00-0BA2

LOGO! 24L 6ED1 053-1CA00-0BA2

LOGO! 24RCL 6ED1 053-1HB00-0BA2

Long

LOGO! 230RCL 6ED1 053-1FB00-0BA2

LOGO! 24RCLB11 6ED1 053-1HH00-0BA2Bus

LOGO! 230RCLB11 6ED1 053-1FH00-0BA2

*: also with analog inputs

Page 54: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 54

For the purposes of the control program, the LOGO! Innovation models aredistinguished by the number and type of inputs and outputs and whether or not theyhave an ASi connection. All of these models have the same amount of memory.

6SHFLDO�IXQFWLRQV�GHSHQGHQW�RQ�/2*2��PRGHOV

6SHFLDO�)XQFWLRQ�%ORFN 8VDEOH�:LWK�/2*2��0RGHO

0BA0Standard

0BA0...L

0BA0...LB11

0BA1All

0BA2All

On delay Yes Yes Yes Yes Yes

Off delay Yes Yes Yes Yes Yes

Retentive on delay Yes Yes Yes Yes Yes

On/off delay No No No No Yes

Latching relay (Yes) Yes Yes Yes Yes

Current impulse relay (Yes) Yes Yes Yes Yes

Interval time-delay relay No Yes Yes Yes Yes

Edge-triggered interval time-delayrelay

No No No No Yes

Seven-day time switch Yes Yes Yes Yes Yes

Twelve-month time switch No No No Yes Yes

Up/down counter (Yes) Yes Yes Yes Yes

Operating hours counter No Yes Yes Yes Yes

Symmetrical clock pulse generator Yes Yes Yes Yes Yes

Asynchronous pulse generator No No No Yes Yes

Random generator No No No No Yes

Frequncy trigger No Yes Yes Yes Yes

Analog trigger No No No No Yes

Analog comparator No No No No Yes

Stairwell light switch No No No No Yes

Dual-function switch No No No No Yes

Message texts No No No No Yes

Limitations of 0BA0 Standard: current impulse relay, counter and latching relay haveno retentivity, the counter is 4-digit.

Page 55: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 55

���� 0HPRU\�DQG�3URJUDP�/LPLWV

,QWURGXFWLRQ

There are a number of limits for a control program on a LOGO! module as follows:

• Memory (use of memory by function blocks)

• Number of blocks connected in sequence (nesting depth)

8VH�RI�PHPRU\

The function blocks in a control program require a certain amount of memory. Thetable below summarizes how much memory each function block occupies in eachmemory area.

)XQFWLRQ�%ORFN 3DU 5$0 7LPHU 5(0

Basic functions 0 0 0 0

On delay 1 1 1 0

Off delay 2 1 1 0

Retentive on delay 2 1 1 0

On/off delay 2 1 1 0

Latching relay* 0 (1) 0 (1)

Current impulse relay* 0 (1) 0 (1)

Interval time-delay relay 1 1 1 0

Edge-triggered interval time-delayrelay

1 1 1 0

Seven-day time switch 6 2 0 0

Twelve-month time switch 2 0 0 0

Up/down counter* 2 (2) 0 (2)

Operating hours counter 2 0 0 4

Symmetrical clock pulse generator 1 1 1 0

Asynchronous pulse generator 3 1 1 0

Random generator 2 1 1 0

Frequncy trigger 3 3 1 0

Analog trigger 4 2 0 0

Analog comparator 3 4 0 0

Stairwell light switch 1 1 1 0

Dual-function switch 2 1 1 0

Message texts 1 0 0 0

* Depending on whether the function is parameterized with or without the retentivefeature, the function occupies the following memory area:

• Retentive feature off: function occupies RAM area

• Retentive feature on: function occupies REM area

Page 56: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 56

6WRUDJH

A program in a LOGO! module can occupy the following storage areas at most:

0HPRU\ %ORFNV 3DU 5$0 7LPHU 5(0 0DUNHUV

LOGO! 0BA2 Innovation 2 56 48 27 16 15 8

LOGO! 0BA1 Innovation 56 48 27 16 15 4

LOGO! 0BA0 30 27 24 10 0/7 0

3URJUDP�SDWK

A program path consists of a series of function blocks starting with a terminal blockand ending with an output block. The number of function blocks in a program pathindicates the nesting depth.

Terminal blocks for the purposes of determining nesting depth are:

• Inputs (I, Ia)

• High, Low (Hi, Lo)

• Memory markers (M)

• Outputs (Q, Qa)

Function blocks are:

• Basic function blocks

• Special function blocks

1HVWLQJ�GHSWK

There is a maximum nesting depth that you can implement in your control program fora LOGO! module. The maximum nesting depth in a program path is 58 blocks.

The following equation therefore results:

++

1 terminal block56 function blocks1 output block

Max. program path nesting level: 58 Blocks

If a program path that exceeds the maximum nesting depth is entered in LOGO!SoftComfort, an error message is displayed if you attempt to perform a download orsimulation.

,PSOHPHQWLQJ�ORQJ�SURJUDP�SDWKV

Longer program paths can be implemented by means of signal feedback. This is doneby placing a marker block at the end of a path. The remaining function blocks areconnected to the output of the memory marker. The LOGO! interprets the memorymarker as the output of the first program path and as the terminal block of thesucceeding function blocks. On the LOGO! the long path with the memory marker istreated as two separate paths. If no more memory markers are available, you can usean output block instead.

Page 57: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 57

���� %ORFNV�DQG�%ORFN�1XPEHUV

%ORFNV

Blocks symbolize terminals or functions. In LOGO!Soft Comfort various types of blockare distinguished and identified by abbreviations.

%ORFN�7\SH ,GHQWLILHU %ORFN�7\SH ,GHQWLILHU

Input I Bit M

ASi input Ia High level Hi

Output Q Low level Lo

ASi output Qa Function B

%ORFN�QXPEHUV

Whenever you insert a function block in your control program, LOGO!Soft Comfortassigns that block a number, the block number. On the LOGO! and in LOGO!Soft, thenumber of the current block is shown at the top right of the display. In LOGO!SoftComfort, the block number is shown directly above the block.

Block numbers assist navigation around the LOGO! display and the assignment oflinks. In LOGO!Soft Comfort you can also trace back split links by the block numberindicated.

The block designations of the inputs and outputs can be changed by means of theparameter assignment facility. In this case the designations are a representation of thereal inputs and outputs on the LOGO! module. A specific input or output can beselected by means of the parameter assignment facility.

The blocks High and Low are not assigned numbers as they do not change their circuitstate and therefore do not have to be distinguished.

Page 58: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 58

���� &RQVWDQWV�DQG�&RQQHFWLQJ�7HUPLQDOV��&R�

������ ,QSXWV

Input blocks represent the input terminals on a LOGO! module. Up to 12 inputs can beused. Using the block parameter assignment facility, an individual input block can alsobe assigned a different input terminal. However, the choice of inputs only includesthose that have not already been assigned in the control program.

������ ,QSXWV�IRU�$6L

The LOGO! models with the designation B11 have the facility for connection to an ASibus. Up to 4 ASi inputs can be used. Using the block parameter assignment facility, anindividual input block can also be assigned a different ASi input. However, the choiceof inputs only includes those that have not already been assigned in the controlprogram.

Page 59: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 59

������ $QDORJ�,QSXWV

The LOGO! models with the designations 12/24RC, 132/24Rco and 24RC allowanalog signals to be processed. Up to 2 inputs can be used. Using the blockparameter assignment facility, an individual input block can be assigned an inputterminal. However, the choice of inputs only includes those that have not already beenassigned in the control program.

������ 2XWSXWV

Output blocks represent the output terminals on a LOGO! module. Up to 8 inputs canbe used. Using the block parameter assignment facility, an individual output block canalso be assigned a different output terminal. However, the choice of outputs onlyincludes those that have not already been assigned in the control program.

The signal applied at the output is always that of the last program cycle. The signal isnot changed within a program cycle.

Page 60: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 60

������ 2XWSXWV�IRU�$6L

The LOGO! models with the designation B11 have the facility for connection to an ASibus. Up to 4 ASi outputs can be used. Using the block parameter assignment facility,an individual output block can also be assigned a different ASi output. However, thechoice of outputs only includes those that have not already been assigned in thecontrol program.

The signal applied at the output is always that of the last program cycle. The signal isnot changed within a program cycle.

������ 0HPRU\�0DUNHUV

Marker blocks apply the same signal to their outputs that is applied to their inputs. Upto 8 memory markers can be used. Using the block parameter assignment facility, anindividual memory marker can also be assigned a different memory marker number.However, the choice of memory marker numbers only includes those that have notalready been assigned in the control program.

The signal applied at the output is always that of the last program cycle. The signal isnot changed within a program cycle.

Memory marker M8 is set in the first cycle of the user program and can be usedsubsequently in your program as a startup flag. It is automatically reset after the firstcycle of program processing.

As regards setting, deletion and evaluation, memory marker M8 can be used in thesame way as memory markers M1 to M7 in all subsequent cycles.

Page 61: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 61

������ )L[HG�6LJQDO�/HYHOV

If the signal level ’1’ or ’H’ is to be applied constantly to the input of a block then itshould be assigned the fixed signal KL (stands for high). Blocks for representing fixedvoltage levels can not be configured.

If the signal level ’0’ or ’L’ is to be applied constantly to the input of a block then itshould be assigned the fixed signal OR (stands for low). Blocks for representing fixedvoltage levels can not be configured.

Page 62: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 62

���� %DVLF�)XQFWLRQV��%)�

������ $1'

The output of the AND function only adopts the state 1 if DOO inputs have the state 1(i.e. are closed). If an input pin of this block is not connected it automatically has thestate ’1’.

Logic table for AND block:

�,QSXW�� ,QSXW�� ,QSXW�� 2XWSXW

0 0 0 00 0 1 00 1 0 00 1 1 01 0 0 01 0 1 01 1 0 01 1 1 1

������ $1'�ZLWK�5/2�(GJH�'HWHFWLRQ

The output of the AND with RLO edge detection only switches to state 1, if all theinputs have the state 1 and if at least one input in the previous cycle had the state 0.

If an input pin of this block is not connected it automatically has the state ’1’.

Timing diagram for AND with RLO edge detection

Page 63: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 63

������ 1$1'

The output of the NAND (not AND) function only adopts the state 0 if DOO inputs havethe state 1 (i.e. are closed). If an input pin of this block is not connected it automaticallyhas the state ’1’.

Logic table for NAND block:

�,QSXW�� ,QSXW�� ,QSXW�� 2XWSXW

0 0 0 10 0 1 10 1 0 10 1 1 11 0 0 11 0 1 11 1 0 11 1 1 0

������ 1$1'�ZLWK�5/2�(GJH�'HWHFWLRQ

The output of NAND with RLO edge detection only switches to the state 1 if DW�OHDVWRQH input has the state 0 and if DOO the inputs in the previous cycle had the state 1.

If an input pin of this block is not connected it automatically has the state ’1’.

Timing diagram for NAND with RLO edge detection

Page 64: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 64

������ 25

The output of the OR function adopts the state 1 if DW�OHDVW one input has the state 1(i.e. is closed). If an input pin of this block is not connected it automatically has thestate ’0’.

Logic table for OR block:

�,QSXW�� ,QSXW�� ,QSXW�� 2XWSXW

0 0 0 00 0 1 10 1 0 10 1 1 11 0 0 11 0 1 11 1 0 11 1 1 1

������ 125

The output of the NOR (not OR) function only adopts the state 1 if all inputs have thestate 0 (i.e. are switched off). Immediately any of the inputs is switched on (state 1) theoutput switches off. If an input pin of this block is not connected it automatically has thestate ’0’.

Logic table for NOR block:

�,QSXW�� ,QSXW�� ,QSXW�� 2XWSXW

0 0 0 10 0 1 00 1 0 00 1 1 01 0 0 01 0 1 01 1 0 01 1 1 0

Page 65: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 65

������ 127

The output adopts the state 1 if the input has the state 0 (i.e. the NOT function invertsthe state at the input). If an input pin of this block is not connected it automatically hasthe state ’1’.

The advantage of the NOT function can be illustrated by the following example: you nolonger require break switches for LOGO! You use a make switch and convert it into abreak switch by using the NOT function.

Logic table for NOT block:

�,QSXW�� 2XWSXW

0 11 0

������ ;25

The output of XOR (exclusive OR) adopts the state 1 if the inputs have differing states.If an input pin of this block is not connected it automatically has the state ’0’.

Logic table for XOR block:

�,QSXW�� ,QSXW�� 2XWSXW

0 0 00 1 11 0 11 1 0

Page 66: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 66

���� 6SHFLDO�)XQFWLRQV��6)�

������ 2Q�'HOD\

%ULHI�GHVFULSWLRQ

In the case of the on delay, the output is not switched through until a parameterizabletime has elapsed.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

When the state at the input Trg changes from 0 to 1, a timed period Ta commences.

Ta is the current time on the LOGO! module. If the state at the input Trg remains 1 for

long enough for the time T to elapse, the output is set to 1. There is a delay betweenthe time when the input is switched on and the output switches on.

If the state at the input Trg�switches back to 0 before the time T has elapsed, the timeris reset.

The output is reset to 0 if the state at the input Trg is 0.

In the event of a power failure, the elapsed time is reset.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input 7UJ The input Trg (Trg stands for trigger) starts thetimer for the on delay.

Parameter 7 T is the delay period after which the output isswitched on (output signal is switched from 0 to 1).

Output 4 Q switches on after expiry of the parameterized timeT if Trg is still set.

Page 67: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 67

3DUDPHWHU�DVVLJQPHQW

The time parameter T can be set in the block properties in seconds, minutes or hours.

The Protection active check box allows you to specify whether the parameter can bedisplayed and altered in parameter assignment mode on the LOGO! module.

Page 68: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 68

������ 2II�'HOD\

%ULHI�GHVFULSWLRQ

In the case of the off delay, the output is not switched off until a parameterizable timehas elapsed.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

If the input Trg switches to the state 1, the output Q switches to 1 immediately. If thestate at Trg switches to 0, a timer starts timing the elapsed time Ta on the LOGO!

module, and the output remains set. If Ta reaches the time specified for T (Ta=T), the

output Q is reset to 0.

If the input Trg switches on and off again the timer starts timing the elapsed time Taagain.

The input R (Reset) resets the elapsed time Ta and the output before the set time

delay T has elapsed.

In the event of a power failure, the elapsed time is reset.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input 7UJ A negative edge (change from 1 to 0) at the inputTrg (Trg stands for trigger) starts the off delay timer.

Input 5 The input R (Reset) resets the elapsed time for theoff delay and sets the output to 0(Reset has priority over Trg).

Parameter 7 T is the delay period after which the output isswitched off (output signal is switched from 1 to 0).

Output 4 Q switches on when Trg does but when Trgswitches off remains on until the delay period T haselapsed.

Page 69: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 69

3DUDPHWHU�DVVLJQPHQW

The time parameter T can be set in the block properties in seconds, minutes or hours.

The Protection active check box allows you to specify whether the parameter can bedisplayed and altered in parameter assignment mode on the LOGO! module.

Page 70: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 70

������ �5HWHQWLYH�2Q�'HOD\

%ULHI�GHVFULSWLRQ

Following an input pulse, a parameterizable timed period starts on expiry of which theoutput is set.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

When the state at the input Trg changes from 0 to 1, a timed period Ta commences. Ifthe elapsed time Ta reaches the time T, the output Q is set to 1. If the input Trg isswitched again, it has no effect on Ta.

The output and Ta are not reset to 0 until the state at the input R changes to 1.

In the event of a power failure, the elapsed time is reset.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input 7UJ The input Trg (Trg stands for trigger) starts thetimer for the delay period

Input 5 The input R (Reset) resets the elapsed time for theon delay and sets the output to 0(Reset has priority over Trg).

Parameter 7 T is the delay period after which the output isswitched on (output signal is switched from 0 to 1).

Output 4 Q is switched on when the delay period T haselapsed.

Page 71: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 71

3DUDPHWHU�DVVLJQPHQW

The time parameter T can be set in the block properties in seconds, minutes or hours.

The Protection active check box allows you to specify whether the parameter can bedisplayed and altered in parameter assignment mode on the LOGO! module.

Page 72: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 72

������ 2Q�2II�'HOD\

%ULHI�GHVFULSWLRQ

In the case of the On/Off delay, the output is switched through after a programmabletime and reset after a parameterizable time period has elapsed.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

When the state at the input Trg changes from 0 to 1, the timed period TH elapses.

If the state at the input Trg remains 1 at least for the duration of the parameterizedtime TH, the output is set to 1 after the time TH has elapsed (there is a delay betweenthe input being switched on and the output coming on).

If the state at the input Trg switches back to 0 before the time T H has elapsed, thetime is reset.

When the state at the input changes to 0 again, the timed period TL elapses.

If the state at the input Trg remains at 0 at least for the duration of the parameterizedtime TL, the output is set to 0 after the time TL has elapsed (there is a delay betweenthe input being switched off and the output going off).

If the state at the input Trg switches back to 1 before the time T L has elapsed, the timeis reset.

In the event of a power failure, the elapsed time is reset.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input 7UJ A rising edge (change from 0 to 1) at the Trg(trigger) input starts the on delay.

A falling edge (change from 1 to 0) starts the offdelay.

Parameter 3DU TH is the time after which the output is switched on(output signal is switched from 0 to 1).

TL is the time after which the output is switched off(output signal is switched from 1 to 0).

Output 4 Q switches on after the parameterized time TH haselapsed if Trg is still set, and switches off after timeTL has elapsed if Trg has not been set again in theinterim.

Page 73: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 73

3DUDPHWHU�DVVLJQPHQW

Page 74: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 74

������ /DWFKLQJ�5HOD\

%ULHI�GHVFULSWLRQ

An input S sets the output Q, and another input R resets the output.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

A latching relay is a simple binary memory cell. The signal at the output depends onthe state of the inputs and the previous state of the output.

Logic table for latching relay:

6 5 4 5HPDUNV

0 0 x State remains unchanged0 1 0 Reset1 0 1 Set1 1 0 Reset

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input 6 The input S (Set) sets the output Q to 1.

Input 5 The input R (Reset) resets the output Q to 0. If Sand R simultaneously have the state 1 then theoutput is reset (Reset takes precedence over Set).

Parameter 3DU This parameter is used to switch the retentivefeature on or off.

Rem:

Off = retentive feature off

On = state can be stored retentively

Output 4 Q switches on when S does and remains on untilinput R is set.

Page 75: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 75

3DUDPHWHU�DVVLJQPHQW

The retentive feature can be selected for the block in the block properties. If theretentive feature is selected, the state of the block output is stored in the event of apower failure and restored when the power is restored. If the retentive feature is notselected, the block output is set to 0 when power is restored after a failure.

Page 76: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 76

������ &XUUHQW�,PSXOVH�UHOD\

%ULHI�GHVFULSWLRQ

The output is set and reset by a short pulse at the input.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

Every time the state at the input Trg changes from 0 to 1, the output Q changes itsstate (i.e. the output is switched on or off). The input R resets the current impulse relayto its original state. After a power on or reset, the current impulse relay is reset and theoutput set to 0.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input 7UJ The input Trg (Trg stands for trigger) switches theoutput Q on and off.

Input 5 The input R (Reset) resets the current impulse relayand sets the output to 0.

(Reset has priority over Trg)

Parameter 3DU This parameter is used to switch the retentivefeature on or off.

Rem:

Off = retentive feature off

On = the state can be stored retentively

Output 4 Q switches on when Trg switches on and off againthe next time Trg switches on.

Page 77: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 77

3DUDPHWHU�DVVLJQPHQW

The retentive feature can be selected for the block in the block properties. If theretentive feature is selected, the state of the block output is stored in the event of apower failure and restored when the power is restored. If the retentive feature is notselected, the block output is set to 0 when power is restored after a failure.

Page 78: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 78

������ ,QWHUYDO�7LPH�'HOD\�5HOD\�3XOVH�2XWSXW

%ULHI�GHVFULSWLRQ

An input signal produces a signal of a parameterizable duration at the output.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

When the input Trg switches to the state 1, the output Q immediately switches to thestate 1. At the same time, the current time Ta starts running; the output remains set. If

Ta reaches the time specified for T (Ta=T), the output Q is reset to 0 (pulse output).

If the state at the input Trg switches back from 1 to 0 before the specified time haselapsed, the output also immediately switches back from 1 to 0.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input 7UJ The input Trg (Trg stands for trigger) starts thetimer for the wiping relay.

Parameter 7 T is the period after which the output is switched off(output signal is switched from 1 to 0).

Output 4 Q switches on when Trg does but when Trgswitches off remains on until the delay period T haselapsed.

Page 79: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 79

3DUDPHWHU�DVVLJQPHQW

The time parameter T can be set in the block properties in seconds, minutes or hours.

The Protection active check box allows you to specify whether the parameter can bedisplayed and altered in parameter assignment mode on the LOGO! module.

Page 80: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 80

������ (GJH�7ULJJHUHG�,QWHUYDO�7LPH�'HOD\�5HOD\

%ULHI�GHVFULSWLRQ

An input signal produces a signal of a parameterizable duration at the output(retriggerable).

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

When the input Trg switches to the state 1, the output Q immediately switches to thestate 1. At the same time, the time Ta starts running. If Ta reaches the time specifiedfor T (Ta=T), the output Q is reset to 0 (pulse output).

If the input Trg changes again from 0 to 1 before the set time has elapsed(retriggering), the time Ta is reset and the output remains on.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input 7UJ The input Trg (Trg stands for trigger) starts the timefor the edge-triggered interval time-delay relay.

Parameter 7 T is the period after which the output is switched off(output signal is switched from 1 to 0).

Output 4 T is the period after which the output is switched off(output signal is switched from 1 to 0).

3DUDPHWHU�DVVLJQPHQW

Page 81: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 81

������ 6HYHQ�'D\�7LPH�6ZLWFK

%ULHI�GHVFULSWLRQ

The output is controlled by a parameterizable on/off date. Every possible combinationof weekdays is supported. Select the active weekdays by hiding the inactive weekdays.

7LPLQJ�GLDJUDPV����H[DPSOHV�

No. 1: Daily: 06:30 to 08:00

No. 2: Tuesday: 03:10 to 04:15

No. 3: Saturday and Sunday: 16:30 to 23:10

'HVFULSWLRQ�RI�IXQFWLRQ

Each seven-day time switch has three setting cams, each of which can be used toconfigure a time window. You use the cams to set the on and off times for the timewindows. At the on times, the seven-day time switch activates the output if it is notalready on.

At the off times, the seven-day time switch deactivates the output if it is not already off.If you set an on time on one cam that is the same as the off time on another cam onthe seven-day time switch, then the on and off times conflict. In such cases, Cam 3has priority over Cam 2 and Cam 2 has priority over Cam 1.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Parameter&DP���&DP��&DP�

The Cam parameter is used to set the on and offtimes for each of the &DPV of the seven-day timeswitch. You specify the day and the time.

Output 4 Q switches on when the parameterizable cam isswitched on.

:HHNGD\

The letters stand for the following:

• M : Monday

• T : Tuesday

• W : Wednesday

• T : Thursday

• F : Friday

• S : Saturday

• S : Sunday

An uppercase letter means the weekday has been selected. A "-" means the weekdayhas not been selected.

Page 82: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 82

6ZLWFKLQJ�WLPHV

You can set any time between 00:00 and 23:59.

- -:- - means no switching on or off.

3DUDPHWHU�DVVLJQPHQW

&ORFN�EXIIHULQJ

The internal clock of a LOGO! module continues to run if there is a power failure (i.e. ithas a power buffer). The duration of the reserve power is affected by the ambienttemperature. At an ambient temperature of 25°C the typical power buffer is 80 hours.

Page 83: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 83

������� 7ZHOYH�0RQWK�7LPH�6ZLWFK

%ULHI�GHVFULSWLRQ

The output is controlled by a parameterizable on/off date.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

Each twelve-month time switch has an on and an off time.

At the on time, the twelve-month time switch switches the output on and at the off time,it switches the output off. The off date indicates the date on which the output is reset to0.

The LOGO! module is not susceptible to year-2000 problems.

&ORFN�EXIIHU

The internal clock of a LOGO! module continues to run if there is a power failure (i.e. ithas a power buffer). How long the power buffer lasts depends on the ambienttemperature. At an ambient temperature of 25°C the typical power buffer is 80 hours.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Parameter 1R The Cam parameter defines the on and off times forthe twelve-month time switch.

Output 4 Q switches on when the configurable cam isswitched on.

Page 84: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 84

3DUDPHWHU�DVVLJQPHQW

The on and off dates can be set in the block properties. A more convenient way ofsetting the date is provided by the Calendar button. This opens a dialog box withbuttons for selecting the day and month.

The Protection active check box allows you to specify whether the parameter can bedisplayed and altered in parameter assignment mode on the LOGO! module.

0DQXDO�HQWU\

Left clicking on the time boxes places the insertion point in the box so that you cantype the figures for the hours and minutes directly on the keyboard. Figures enteredmanually in this way must not exceed the logical maximum figures for the boxesconcerned. Otherwise LOGO!Soft Comfort returns an error message.

Å Incorrect figure for month

Å Incorrect figure for day

Page 85: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 85

([DPSOH�RI�3DUDPHWHU�DVVLJQPHQW

The output of a LOGO! module is to be switched on every year between 1 March and 4April and from 7 July to 19 November. For this you require 2 blocks each of which isconfigured for one of the on periods. The outputs are then linked by an OR block.

Place two year-clock special function blocks on your drawing board and configurethem as shown.

Link the blocks with an OR basic function block. The output of the OR block switcheson if either of the two twelve-month time switches is switched on.

Page 86: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 86

������� �8S�'RZQ�&RXQWHU

%ULHI�GHVFULSWLRQ

On receipt of an input pulse, an internal counter starts counting either up or down,depending on configuration When the parameterizable count value is reached, theoutput is set. The direction of the count is set by a separate input.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

Every positive edge at the input Cnt either increases the internal counter value by one(Dir = 0) or decreases it by one (Dir = 1).

If the internal counter value is greater than or equal to the value specified for Par, theoutput Q is set to 1.

The Reset input R can be used to reset the internal counter value and the output to’000000’. As long as R=1, the output remains set to 0 and the pulses at the input Cntare not counted.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input 5 The input R (Reset) resets the internal countervalue and the output to zero (Reset has priority overCnt).

Input &QW The counter counts the number of changes of statefrom 0 to 1 at the input Cnt (Count). A change ofstate from 1 to 0 is not counted. Maximum countfrequency at the input terminals: 5 Hz

Input 'LU The input Dir (Direction) determines the countingdirection as follows:

Dir = 0: counter counts upwardsDir = 1: counter counts downwards

Parameter 3DU Par is the count threshold value; when the internalcounter reaches that value, the output is set.

Output 4 Q switches on when the count threshold value isreached.

Page 87: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 87

3DUDPHWHU�DVVLJQPHQW

The counter parameter Par can be set in the block properties to a value in the range0 to 999999.

The Protection active check box allows you to specify whether the parameter can bedisplayed and altered in parameter assignment mode on the LOGO! module.

The retentive feature can be selected for the block in the block properties. If theretentive feature is selected, the internal counter value is stored in the event of a powerfailure and restored when the power is restored. If the retentive feature is not selected,the counter value is set to 0 when power is restored after a failure.

Page 88: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 88

������� +RXUV�&RXQWHU

%ULHI�GHVFULSWLRQ

When the input is set, a parameterizable timed period starts running. The output is setwhen the defined period has elapsed.

'LDJUDP

MI = Defined time interval

MN = Remaining time

OT = Total elapsed time since last 1 signal at the input Ral

'HVFULSWLRQ�RI�IXQFWLRQ

The hours counter monitors the input En. As long as the signal 1 is present at thatinput, the LOGO! monitors the elapsed time and the remaining time MN. The LOGO!displays those times in parameter assignment mode. When the remaining time MNreaches 0, the output Q is set to 1.

The reset input R resets the output Q and the timer for the remaining time to thespecified period MI. The internal counter OT continues to run.

The reset input Ral resets the output Q and the timer for the remaining time to thespecified period MI. The internal counter OT is reset to 0.

/LPLW�IRU�27

When you reset the hours counter with the signal R, the accumulated time remainsstored in OT. The maximum limit for the counter OT is 99999 h.

If the hours counter reaches that figure, no more hours are recorded.

Page 89: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 89

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input 5 5� ��� Hours can be counted if Ral is not 1

5� ��� Hours counter is stopped

The input R (Reset) resets the output. Theremaining time of the service interval MN is set toMN = MI. The previously elapsed time (OT -operating time) remains stored.

Input (Q En is the monitored input. The LOGO! measuresthe time in which this input is set ("1").

Input 5DO 5DO� ��� Hours can be counted if R is not 1

5DO� ��� Hours counter is stopped

The input Ral (Reset all) resets the counter and theoutput to, i.e.

Output Q = 0,

Recorded operating time OT = 0 and

Remaining time of service interval MN = MI.

Parameter 3DU:(MI)

0,� specified service interval in hours.

MI can be any number of hours in the range0 to 9999.

Output 4 If the remaining time MN = 0 (see timing diagram),the output is set.

Page 90: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 90

3DUDPHWHU�DVVLJQPHQW

The service interval parameter Par can be set in the block properties to a value in therange 0 to 9999.

The Protection active check box allows you to specify whether the parameter can bedisplayed and altered in parameter assignment mode on the LOGO! module.

The retentive feature is active permanently on the hours counter. Following a powerfailure, the program continues from the values reached before the power failure.

Page 91: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 91

������� 6\PPHWULFDO�&ORFN�3XOVH�*HQHUDWRU

%ULHI�GHVFULSWLRQ

A clock pulse with a parameterizable period length is output at the output.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

The parameter T specifies the length of the on and off periods. The input (Q (Enable)switches the pulse generator on. The pulse generator sets the output to 1 for theperiod T and then sets it to 0 for the period T and continues repeating that cycle untilthe state of the input En changes to 0.

The time specified for T must be ≥ 0.1 s. For T = 0.05 s and T = 0.00 s the time T isnot defined.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input (Q The input En (Enable) switches the pulse generatoron (En=1) and off (En=0).

Parameter 7 T is the period for which the output is switchedon/off.

Output 4 Q switches on and off cyclically in time with thepulse period T.

3DUDPHWHU�DVVLJQPHQW

The time parameter T can be set in the block properties in seconds, minutes or hours.

The Protection active check box allows you to specify whether the parameter can bedisplayed and altered in parameter assignment mode on the LOGO! module.

Page 92: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 92

������� �$V\QFKURQRXV�3XOVH�*HQHUDWRU

%ULHI�GHVFULSWLRQ

The output pulse wave form can be modified by means of the parameterizable pulseduration/interpulse period ratio.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

The pulse duration and interpulse period can be set with the parameters TH and TL.The cursor keys can be used to set the time scale divisions to seconds, minutes orhours. Both parameters have the same time basis, they can not be set individually todifferent bases.

The INV input allows the output to be inverted. The INV input only negates the output ifthe block is activated by EN.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input (Q The input En (Enable) switches the asynchronouspulse generator on and off.

Input ,QY��$� The Inv input is used to invert the output signal ofthe active asynchronous pulse generator.

Parameter 3DU You can set the pulse duration TH and the interpulseperiod TL.

Output 4 Q switches on and off cyclically with the times TH

and TL.

Page 93: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 93

3DUDPHWHU�DVVLJQPHQW

The time parameters TH and TL can be set in the block properties in seconds, minutesor hours.

The Protection active check box allows you to specify whether the parameter can bedisplayed and altered in parameter assignment mode on the LOGO! module.

Page 94: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 94

������� �5DQGRP�*HQHUDWRU

%ULHI�GHVFULSWLRQ

In the case of the random generator, the output is switched on and off again within aparameterizable time period.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

If the state at the input En changes from 0 to 1, a random time (on delay time) between0 s and TH is defined and started. If the state at the input En remains at 1 at least forthe duration of the on delay time, the output is set to 1 after the on delay time haselapsed.

If the state at the input En switches back to 0 before the on delay time has elapsed, thetimer is reset.

If the state at the input En changes again to 0, a random time (off delay time) between0 s and TH is defined and started.

If the state at the input En remains at 0 at least for the duration of the off delay time,the output is set to 0 after the off delay time has elapsed.

If the state at the input En switches back to 1 before the off delay time has elapsed,the timer is reset.

In the event of a power failure, the elapsed time is reset.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input (Q A rising edge (change from 0 to 1) at the En(enable) input starts the on delay time of therandom generator.A falling edge (change from 1 to 0) starts the offdelay time of the random generator.

Parameter 3DU The on delay time is set randomly between 0 s andTH.The off delay time is set randomly between 0 s andTL.TL must have the same time base as TH.

Output 4 Q switches on after the on delay time has elapsed,ifTrg is still set, and switches off after the off delaytime has elapsed if Trg has not been set again inthe interim.

Page 95: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 95

3DUDPHWHU�DVVLJQPHQW

Page 96: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 96

������� )UHTXHQF\�7ULJJHU

%ULHI�GHVFULSWLRQ

??

The output is switched on or off depending on whether the frequency at the input isbetween two parameterizable limits.

'LDJUDP

6:↑ is the on threshold. It can be any frequency in the range 0000 to 9999.

6:↓ is the off threshold. It can be any frequency in the range 0000 to 9999.

*B7 is the time interval in which the pulses at Fre are counted. G_T can be a periodbetween 00.05s and 99.95s.

'HVFULSWLRQ�RI�IXQFWLRQ

The trigger measures the signals at the Cnt input. The pulses received are recordedover a parameterizable period G_T. If the frequency of the pulses received in theperiod G_T is greater than the on and the off thresholds, the output Q switches on.

Q switches off again if the measured pulse frequency reaches or falls below the offthreshold.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input &QW At the Cnt input you apply the input that supplies thepulses to be counted.

Use

• Inputs I5/I6 (basic models 0BA1) or I11/I12(LOGO!...L 0BA1) for higher frequencies (24 Vinputs): max. 1 kHz

• Any other input or circuit component for lowerfrequencies.

Parameter 3DU:(SW↑, SW↓, G_T)

SW↑: on threshold

SW↓: off threshold

G_T: time interval over which the signal pulsesapplied are counted.

Output 4 Q switches on or off depending on SW↑ and SW↓(see description below).

Page 97: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 97

3DUDPHWHU�DVVLJQPHQW

The on and off thresholds and the timer period can be set in the block properties.

The Protection active check box allows you to specify whether the parameter can bedisplayed and altered in parameter assignment mode on the LOGO! module.

1RWH

When using frequency inputs it should be noted that the inputs of the LOGO! shouldonly be operated at frequencies of up to 5 Hz. The exception to this rule are the inputsI5/I6 on the basic models or the inputs I11/I12 on the L models which can takefrequencies of up to 1 kHz if the inputs are applied directly to the trigger function.

Page 98: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 98

������� $QDORJ�7ULJJHU

%ULHI�GHVFULSWLRQ

The output is switched on, if the analog value exceeds a parameterizable on threshold.The output is switched off if the analog value falls below the parameterizable offthreshold (hysteresis).

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

The function reads in the analog value AI1 or AI2.

The Offset parameter is then added to the analog value. This value is then multipliedby the Gain parameter.

If this value exceeds the on threshold (SW ���WKH�RXWSXW�4�LV�VHW�WR���

Q is reset to 0 again if the value falls below the off threshold (SW ).

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input $[ At the output Ax, apply the analog signal AI1 or AI2to be evaluated.Use the terminals I7 (AI1) or I8 (AI2).

0-10 V corresponds to 0-1000 (internal value).

Parameters:�� ��6: ��6:

�� Gain in %Range 0..1000 %

�� OffsetRange ±999

SW �� On thresholdRange 0..9999

SW �� Off thresholdRange 0..9999

Output 4 Q is set or reset depending on the threshold values.

Page 99: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 99

3DUDPHWHU�DVVLJQPHQW

Page 100: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 100

������� $QDORJ�&RPSDUDWRU

%ULHI�GHVFULSWLRQ

The output is switched on if the difference between Ax and Ay exceeds the setthreshold value.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

The function produces the difference between the analog values Ax and Ay.

The Offset parameter is then added to the difference. The difference is then multipliedby the Gain parameter.

If this value exceeds the threshold value parameterized under , the output Q is set to1.

Q is reset to 0 again if the threshold value is violated again.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Inputs:$[� $\

At the Ax and Ay inputs, apply the analog signalsAI1 and AI2 whose difference is to be evaluated.

Use the terminals I7 (AI1) and I8 (AI2).

Parameter Par:

�� ��

�� Gain in %Range 0..1000 %

�� OffsetRange ±999

: Threshold value

Output 4 Q is set to 1 if the difference between Ax and Ayexceeds the threshold value.

Page 101: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 101

3DUDPHWHU�DVVLJQPHQW

Page 102: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 102

������� 6WDLUZHOO�/LJKW�6ZLWFK

%ULHI�GHVFULSWLRQ

Following an input pulse (edge-controlled), a parameterizable timed period starts. Theoutput is reset when the defined period has elapsed. 15 s before the time has elapsed,an off warning is issued.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

If the state of the input Trg changes from 0 to 1, the current time Ta starts and theoutput Q is set to 1.

15 s before Ta reaches time T, the output Q is reset to 0 for 1 s.

If the elapsed time Ta reaches the time T, the output Q is reset to 0.

If the input Trg is switched again while Ta is running, Ta resets (retrigger option).

In the event of a power failure, the elapsed time is reset.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input 7UJ Use the Trg (trigger) input to start the time for thestairwell light switch (off delay).

Parameter 7 T is the time after which the output is switched off(output state changes from 1 to 0).

Minutes are preset as the time base.

Output 4 Q is switched off when the time T has elapsed. 15 sbefore the time has elapsed, the output switches to0 for 1 s.

&KDQJLQJ�WKH�WLPH�EDVH

You can also set other values for the warning time and warning duration.

7LPH�%DVH�7 :DUQLQJ�7LPH :DUQLQJ�'XUDWLRQ

Seconds* 750 ms 50 ms

Minutes 15 s 1 s

Hours 15 min 1 min

* Only relevant for programs with a cycle time of < 25 ms

Page 103: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 103

3DUDPHWHU�DVVLJQPHQW

Page 104: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 104

������� 'XDO�)XQFWLRQ�VZLWFK

%ULHI�GHVFULSWLRQ

Switch with 2 different functions:

• Current impulse switch with off delay

• Switch (permanent light)

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

If the state 0 changes to 1 at the input Trg, the current time Ta starts and the output Qis set to 1.

If the time Ta reaches the time TH, the output Q is reset to 0.

In the event of a power failure, the elapsed time is reset.

If the state 0 changes to 1 at the input Trg, and 1 remains set at least for the time TL,the permanent light function is activated and the output Q is switched on permanently.

If the input Trg is switched again, TH is reset and the output Q is switched off.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input 7UJ Switch on the output Q via the Trg (trigger) input (offdelay or permanent light). When the output Q isswitched on, it can be reset with Trg.

Parameter 3DU TH is the time after which the output is switched off(output state changes from 1 to 0).

TL is the length of time that has to be set for theinput to activate the permanent light function.

Output 4 The output Q switches on with Trg and switches offagain after a parameterizable time depending onthe length of the pulse to Trg, or it is reset after Trgis activated again.

Page 105: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 105

3DUDPHWHU�DVVLJQPHQW

Page 106: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��3URJUDPPLQJ�LQ�/2*2�6RIW�&RPIRUW

LOGO!Soft Comfort Manual 106

������� 0HVVDJH�7H[WV

%ULHI�GHVFULSWLRQ

Display of a parameterized message text during RUN.

'HVFULSWLRQ�RI�IXQFWLRQ

If the state at the input changes from 0 to 1, the message text you have parameterizedis displayed in RUN mode. If the state at the input changes from 1 to 0, the messagetext is not displayed.

If several message text functions have been triggered with En=1, the message with thehighest priority is displayed. By pressing the � NH\�� \RX� FDQ� DOVR� GLVSOD\� WKH� ORZHUpriority messages.

You can switch between the standard display and the message text display using thekeys �DQG� �

/LPLWDWLRQ

A maximum of 5 message text functions is possible.

3LQ�DVVLJQPHQW

&RQQHFWLRQ 'HVFULSWLRQ

Input (Q Changing the state from 0 to 1 at the En (Enable)input starts the output of the message text.

Parameter 3 P is the priority of the message text.

Parameter 3DU Par is the text for the message output.

Output 4 Q has the same state as the input En.

3DUDPHWHU�DVVLJQPHQW

Page 107: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 107

�� ([DPSOH�$SSOLFDWLRQV

���� 3UDFWLFDO�([DPSOH��+RXVHKROG�:DWHU�3XPS

,QWURGXFWLRQ

The household water pump example application is intended to provide new LOGO!users with a practical programming example that can be followed through step by step.In contrast with the tutorial, the use of the functions learned about is illustrated step bystep using an example of a practical application.

������ 'HVFULSWLRQ�RI�7DVN

$SSOLFDWLRQ

Nowadays, private households are more and more frequently making use of rainwateralongside the mains domestic water supply. This saves money and helps protect theenvironment. Rainwater can be used for the following, for example:

• washing clothes,

• watering the garden,

• watering indoor plants,

• washing the car or

• flushing the toilet.

With a suitable system, rainwater can be collected and used for those types ofpurposes instead of the mains water.

Page 108: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 108

'HVFULSWLRQ�RI�WKH�V\VWHP

The rainwater is collected in a large water butt. From the water butt it is pumped by apumping station into a piping system provided for it. From there it can be drawn off inthe same way as the normal household water supply. If the water butt should run dry, itcan be topped up with mains water.

A program is to be created which meets the requirements of a control system for suchan installation.

The sketch below illustrates how such a rainwater supply system works:

Rainwater inlet

Large water buttfor rainwater

Mains water inlet

PLC in thedistributor box

Connection forhousehold water

PumpM1

S3

S4

S2

Mains water inlet off

Run-dry prevention on

Mains water inlet onRun-dry prevention off

K4

S1

Pressure switch

5HTXLUHPHQWV�RI�WKH�FRQWURO�V\VWHP

• The system must be capable of supplying water at all times. If necessary, thecontrol system must switch over to mains water if the rainwater runs out.

• The system must not allow rainwater to enter the mains supply when switchingover to mains water.

• It must not be possible to switch on the pump when there is not enough water inthe rainwater butt (run-dry prevention system).

Page 109: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 109

������ &RQYHQWLRQDO�6ROXWLRQ

A pump and a solenoid valve are controlled by means of a pressure switch and 3 floatswitches that are fitted in the rainwater butt. The pump must be switched on when thepressure in the cylinder falls below the minimum level. Once the operating pressurehas been reached, the pump is switched off again following a short overrun period.The overrun period prevents the pump continuously cutting in and out if water is drawnoff for a prolonged period.

p<

L1

N

K1 K2

K2

K3

K3

K3

K4

K4

Y1

S1

S2S3

S3S4

Pump Overrun period Run-dryprevention

Mains waterinlet

������ ,PSOHPHQWDWLRQ�ZLWK�/2*2�

$GGLWLRQDO�HTXLSPHQW

In addition to a LOGO! module, you require only the pressure switch and the floatswitches for controlling the pump. If you are using a 3-phase AC motor, you must usea master contactor for switching the pump. On systems using single-phase AC pumps,you must fit a contactor if the AC pump requires a higher current than can be switchedby the output relay Q1. The power of a solenoid valve is so low that it can normally becontrolled directly.

&RQQHFWLRQ�GLDJUDP

s

LOGO! 230RC

L1 N I1 I2 I3 I4 I5 I6

Q1 Q2 Q3 Q4

p<

L1

NK1 Y1

S1 S2 S3 S4

Pump Mains water inlet

Page 110: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 110

)XQFWLRQ�GLDJUDP

The function diagram shows how you can connect up the control system for the pumpand the solenoid valve. Its layout corresponds to that of the current flow diagram.

56

56

I1

I3

I4

I3

I2

Q2

Q1T = 20 s

Float switchRun-dry prevention on

Float switch Mains water inlet off

Pressure switch

Float switchMains water inlet off

Float switchRun-dry prevention off

Pump

Mains water inlet

$GGLWLRQDO�SRVVLELOLWLHV

You also have the possibility of incorporating additional functions for specificapplications that would only be possible with the inclusion of extra equipment if youwere using conventional technology, e.g.:

• Pump to be enabled only at specific times, e.g. only in the summer or betweenparticular hours of the day

• Indication of imminent or existing shortage of water

• Reporting of system faults

������ 3URJUDPPLQJ

(QWHULQJ�WKH�SURMHFW�GDWD

Once you have planned your project, you can start to create it in LOGO!Soft Comfort.The first step is to enter the project data in the Properties dialog box, assuming youdon’t prefer to start programming right away.

Page 111: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 111

When working through the following steps, you should remember to save your controlprogram at regular intervals. You may want to open a revised version at some time totest out different possibilities.

,QVHUWLQJ�WKH�IXQFWLRQ�EORFNV

The next step is to place the required function blocks on the drawing board. Whendoing so, remember that apart from the basic and special functions, you also requireblocks for the inputs and outputs. At this stage of the process it is sufficient to placethe blocks roughly in the position they will need to be in when you connect them up.Precise positioning will be done at a later stage.

Page 112: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 112

6HOHFWLQJ�WKH�IXQFWLRQ�EORFNV

Now connect up the blocks according to the plan you made earlier. When connectingup the blocks you should join the connecting line to the output of a block first and thento the input of the destination block. The advantage of this is that when you areconnecting to the input pin of a function block the name of the selected pin isdisplayed. This is particularly helpful with the various pins on the special functionblocks.

Page 113: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 113

�7LG\LQJ�8S��WKH�GUDZLQJ�ERDUG

Some of the connecting lines run over the top of the blocks. As it is at present, thecontrol program layout is not particularly clear. In order to "tidy up" the drawing board,you now select connecting lines and, if necessary, blocks and move them around oralign them to obtain the best layout for the control program.

Page 114: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 114

2SWLPL]LQJ�WKH�/D\RXW

If you are left with undesirable but unavoidable intersections between connecting lines,the offending lines can be split using the Split/Reconnect tool. This further improvesthe clarity of the diagram as it prevents difficulties interpreting the circuit. Otherwise itis difficult in LOGO!Soft Comfort to distinguish between connecting line intersectionsand junctions.

The program is now finished. Check once again that all connections have been madeand set your parameters as you require.

Page 115: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 115

������ 6LPXODWLRQ

6WDUWLQJ�DQG�DVVHVVLQJ�WKH�VLPXODWLRQ

To test out the control program, you switch to simulation mode. When you start thesimulation, LOGO!Soft Comfort checks the program and returns a message that youcan view by opening the message window. The statistics and any error messages areshown. It also lists the LOGO! models that you can use to implement your project.However, it is not absolutely essential to open the message window. The minimumLOGO! model required to run your program is also displayed at the bottom left of thescreen on the status bar.

Page 116: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 116

3URJUDP�WHVW

Although you already know that your program will run on a LOGO! module, you stillhave to check that it will actually work as you intend it to. You may also want to adjustcertain parameters. You can try out different input values, check the behavior of thesystem in the event of a power failure and compare your calculations or expectationswith the actual behavior of the outputs.

The characteristics of the float switches and the pressure switch are the same as forkeys. If, however, you wish to simulate the behavior of your circuit, for testing purposessimply change the function of the inputs from keys to switches.

If everything runs as expected, or when you have made any final correctionsnecessary, you can set about documenting your program.

Page 117: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 117

������ 'RFXPHQWDWLRQ

3URJUDP�FRPPHQWV

Now add comments to your program using the Label tool. Give the inputs and outputsdescriptions and make your circuit easy to follow. You do not have to have the terminalnames displayed on the screen. Nevertheless, you should make use of this facility sothat you can print out a terminal list at some point if you wish.

$UFKLYLQJ

Before you download your program, you should save it again. Choose the relevantcommand from the menu and enter a name for the program and the path to which youwant to save it.

3ULQWLQJ�RXW�WKH�SURJUDP

A printout of the program can be very helpful for planning modifications on paper or ifyou wish to show the program to friends or colleagues when there is no PC available.The print options allow you to specify the print format and which details are to beomitted from the printed version.

Pressure switch

Float switchRun-dry prevention offMains water inlet off

Float switchMains water inlet off

Float switchRun-dry prevention on

Mains waterinlet

Pump

Page 118: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 118

������ 3URJUDP�7UDQVIHU

([SRUWLQJ�DQG�LPSRUWLQJ

You may also need a version of your program in LOGO!Soft format or perhaps youwant to combine a program created in LOGO!Soft with your LOGO!Soft Comfortprogram. If so, you can use the import and export functions to carry out the necessaryprogram conversions. You import a program by opening the file.

8SORDGLQJ�DQG�GRZQORDGLQJ

Last of all, you download your program to a suitable LOGO! module and then connectthe module up. Connect the LOGO! module to the consumer units in your project.

Within a very short space of time, you have now created a control program inLOGO!Soft Comfort which would have required much more time and effort using theconventional method.

Page 119: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 119

���� 6DPSOH�3URJUDPV

,QWURGXFWLRQ

To give you an idea of how versatile LOGO! modules are, we have put together acollection of other applications in addition to the domestic water pump applicationdescribed in detail above. The examples referred to here are taken from the LOGO!manual. In the LOGO! manual they are described in more detail, in other wordsshowing the conventional solution and comparing it with the simpler solution using aLOGO! module.

Here in the LOGO!Soft Comfort manual, we have given a description of the taskfollowed by the finished solution created in LOGO!Soft Comfort. The control programsillustrated are also included on the LOGO!Soft Comfort CD-ROM.

1RWH

The LOGO! applications are provided free of charge to our customers. The examplesdescribed within them are provided without guarantee and for the purposes of generalinformation as to the possible applications of LOGO! modules and the LOGO!SoftComfort software. Customer-specific solutions may differ from them.

The user is responsible for ensuring that the system operates properly. We would alsodraw your attention to to the need to comply with any applicable local standards andsystem-related installation regulations.

������ 'XDO�)XQFWLRQ�6ZLWFK

5HTXLUHPHQWV�IRU�VWDLUZHOO�OLJKWLQJ

The basic requirements for a stairwell lighting system in an apartment block are asfollows:

• When someone is using the stairs, the stairwell lights should be on.

• If no-one is in the stairwell, the lights should go out in order to save energy.

&RQYHQWLRQDO�VROXWLRQ

Conventionally, there have been two ways to control such a lighting system as follows:

• Current impulse relay: when the lights are off, pressing any of the push buttonsswitches the lights on. When the lights are on, pressing any of the push buttonsswitches the lights off again.Disadvantage: people frequently forget to switch the lights off.

• Automatic stairwell lighting timer: when any one of the push buttons is pressed, thelights are switched on. When a preset time has elapsed, the lights switch off againautomatically.Disadvantage: you can’t keep the lights switched on for an extended period. Thepermanent on switch is usually on the stairwell lighting timer unit which may bedifficult or impossible to gain access to.

The wiring for the two lighting systems is identical.

Page 120: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 120

/2*2�6RIW�&RPIRUW�VROXWLRQ

You can use a LOGO! module to replace the stairwell lighting timer or the currentimpulse relay. And you can implement both functions (timed off delay and currentimpulse relay) in a single unit. What is more, you can incorporate extra functionswithout making any alterations to the wiring. In our example program we havecombined the advantages of both the current impulse relay and the automatic stairwelllighting timer as follows:

• Press the push button Å lights come on then go off again after the preset delay of6 minutes (off delay)

• Press the push button twice Å lights come on and stay on indefinitely (the latchingrelay is set by the current impulse relay)

• Press and hold down the push button for 2 seconds Å lights go off (on delayswitches lights off - whether on indefinitely or for timed period - in the circuit thisbranch is used twice)

The external wiring for the lighting system using a LOGO! module is no different fromthe conventional method of wiring a stairwell lighting system. Only the automaticlighting timer/current impulse relay is replaced.

/2*2�6RIW�&RPIRUW�SURJUDP

The control program shows the circuit for an input and corresponding output. You usethe off delay B02 to set the length of the timed "lights on" period and blocks B03 andB08 to set the time the push button has to be held to switch the lights off.

You can duplicate the circuit for the remaining inputs and outputs. For example, youcould replace 4 automatic lighting timers or 4 current impulse relays with just oneLOGO! module.

'XDO�IXQFWLRQ�VZLWFKLights on/off

"Lights on" period

Light

Page 121: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 121

������ 9HQWLODWLRQ�6\VWHP

5HTXLUHPHQWV�IRU�YHQWLODWLRQ�V\VWHP

The purpose of a ventilation system is either to bring fresh air into a room or to extractstale air from a room. Let us consider the following example arrangement:

• A room contains an extractor fan and a fresh-air fan.

• Both fans are monitored by a flow sensor.

• The pressure in the room must not be allowed to rise above atmospheric pressure.

• The fresh-air fan must only be switched on provided reliable functioning of theextractor fan is signaled by the flow sensor.

• A warning lamp indicates if one of the fans fails.

&RQYHQWLRQDO�VROXWLRQ

The fans are monitored by flow sensors. If, after a short delay, no air flow is registered,the system is switched off and a fault reported which can be reset by pressing the offbutton.

Monitoring of the fans requires an analyzer circuit with several switching devices inaddition to the flow sensors. The analyzer circuit can be replace by a single LOGO!module.

/2*2�6RIW�&RPIRUW�VROXWLRQ

If you use a LOGO! module you require less switchgear. That saves you installationtime and space in the control cabinet. Under certain circumstances it may even allowyou to use as a smaller control cabinet.

With a LOGO! module you can also stagger shut off of the fans after the system isswitched off.

Page 122: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 122

&LUFXLW�LQ�/2*2�6RIW�&RPIRUW

The system is switched on and off at the inputs I1 and I2. The fans are connected tooutputs Q1 and Q2 and the inputs I3 and I4 are connected to the flow sensors. BlocksB07 and B10 are used to set the times after which the flow sensors must send a signalto the fault output Q3.

By negating output Q3 you can also use an output Q4 as a message output. Relay Q4only drops out if the mains power fails or if there is a fault in the system. The outputcan then be used for a remote fault indicator.

9HQWLODWLRQ�&RQWURO�6\VWHP

Off switch

On switch

Flowsensorfor stale air

Flowsensorfor fresh air

Extractor fan

Fresh-air fan

Fault

Page 123: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 123

������ )DFWRU\�*DWH

5HTXLUHPHQWV�IRU�JDWH�FRQWURO�V\VWHP

The entrances to factory grounds are frequently secured by sliding gates. Those gatesare only opened when vehicles need to enter or leave the factory grounds. The gatecontrols are operated by the porter.

• The sliding gate is opened and closed by the operation of a push button in thegatehouse. The porter is able to monitor the operation of the gate at the sametime.

• The sliding gate is normally fully opened or closed. However, movement of thegate can be halted at any time.

• A flashing light is activated 5 seconds before the gate is operated and while thegate is in motion.

• A safety pressure strip ensures that people are not injured or objects trapped anddamaged when the gate shuts.

&RQYHQWLRQDO�VROXWLRQ

There is a wide variety of control systems that are used for operating automatic gates.The OPEN and CLOSE buttons move the gate in the appropriate direction provided itis not already moving in the other direction. Movement of the gate is halted by theSTOP button or the relevant limit switch.

/2*2�6RIW�&RPIRUW�VROXWLRQ

In addition to the facilities of the conventional control system, the LOGO! modulesolution uses a safety strip which stops the gate closing. 5 seconds before the gate isopened or closed, a flashing light is activated which signals that the gate is about tostart moving and continues to flash until the gate has stopped moving.

In contrast with the conventional solution, the LOGO! module solution of course allowsmodifications to be made to the control system easily and economically.

Page 124: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 124

&LUFXLW�LQ�/2*2�6RIW�&RPIRUW

The gate is opened and closed by means of push buttons I1 and I2 and a push buttonconnected to I3 can be used to stop the gate. The limit switches for the gate areconnected to the inputs I4 and I5 and the safety strip to I6. The motor for moving thegate is controlled via outputs Q1 and Q2 and the flashing light is connected to Q3.Blocks B05 and B07 are used to set the delay period between when the push button ispressed and when the gate starts moving. Block B16 is used to set the flashingfrequency of the warning light.

Our additional feature opens the gate again automatically if the safety strip is actuated.

Safetystrip

)DFWRU\�*DWH�&RQWURO�6\VWHP

Push buttonfor OPEN

Gate isopen

Keyfor STOP

Gate isclosed

Start buttonfor CLOSE

Flashing light

Open

Close

Page 125: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 125

������ 8QFRLOHU

5HTXLUHPHQWV�IRU�XQFRLOHU

An uncoiler feeds a coiled strip of sheet metal into a punch. The basic requirements foran uncoiler are as follows:

• The metal strip fed in must not be allowed to curl

• The tension on the metal strip must not exceed a specified maximum level

• If the tension on the metal strip is too great, the punch must be switched off

&RQYHQWLRQDO�VROXWLRQ

A key-operated switch is used to change between automatic and manual operation. Inmanual mode, the uncoiler can be switched on and off with a push button. Three moreswitches monitor the tension on the metal strip and switch the punch off if it is too taut.

/2*2�6RIW�&RPIRUW�VROXWLRQ

With a LOGO! module, the necessary circuit can be considerably simplified by virtue ofthe fact that connection of the required switches, warning lamps and master contactorto the LOGO! is all that is required.

Using a LOGO! module, you need less switchgear and less wiring. That saves youinstallation time and space in the control cabinet. Under certain circumstances it mayeven allow you to use as a smaller control cabinet.

/2*2�6RIW�&RPIRUW�SURJUDP

Inputs I1 to I3 are used to connect the controls for the system. The system’s internalswitches for checking the metal strip are connected to inputs I4 to I6. Outputs Q1 toQ3 are used to control the master contactor for the uncoiler motor and the enablingsignal for the punch and the warning lamp.

Other additional functions or the use of the free inputs and outputs for another systemcan be easily be implemented.

Manual mode on

Manualuncoiler operation

Punch off

Strip is slack

Strip is taut

Automatic modeon

Enablepunch

Indicator lamp forAutomatic mode

Uncoiler motoron

8QFRLOHU

Page 126: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

,QGH[

LOGO!Soft Comfort Manual 126

,QGH[

$Actual values ........................................................ 21Aligning selected objects horizontally................... 25Aligning selected objects vertically ....................... 25Aligning to the grid................................................ 39Alignment.............................................................. 38AND ...................................................................... 60Applications, other .............................................. 117Archiving............................................................. 115Archiving programs............................................... 21ASi input ............................................................... 56ASi output ............................................................. 58Assigning parameters to function blocks................ 9Asynchronous pulse generator............................. 90

%Basic Functions tool ............................................. 29Block comments ................................................... 15Block numbering..................................................... 9Block numbers...................................................... 55Block Properties ................................................... 37Block Properties dialog box .................................. 37Blocks ................................................................... 55Bring To Front....................................................... 36

&Choice of modes................................................... 28Clipboard, internal ................................................ 30Clock buffer .......................................................... 81Comments tab ................................................ 15, 33Connecting line intersections................................ 13Constants and terminals tool ................................ 29Contents of the clipboard...................................... 35Copy ..................................................................... 35Copy selected object ............................................ 24Counter................................................................. 84Creating a program using toolbars ......................... 7Current impulse relay ........................................... 74Cut ........................................................................ 35Cut selected object ............................................... 24

'Data entry, manual ............................................... 82Date, current......................................................... 44Date, set ............................................................... 44Decreasing the screen.......................................... 27Determine LOGO!................................................. 44Disconnecting the power ...................................... 20Drawing board ...................................................... 22Drawing board, description..................................... 6Dual-function switch ........................................... 117

(Editing connecting lines........................................ 12Editing functions ................................................... 34Editing objects ...................................................... 12

Enclosing objects ................................................. 12Entering project data .......................................... 108Entering terminal designations ............................. 36Example application ........................................... 105Exit........................................................................ 34Exporting and importing...................................... 116

)Factory gate ....................................................... 121File extension ....................................................... 23Fixed signal levels ................................................ 59Font ...................................................................... 37Font color ............................................................. 37Font size............................................................... 37Font style.............................................................. 37Formatting options................................................ 37Frequency inputs.................................................. 95Frequency trigger ................................................. 94Function blocks, availability.................................... 9Function blocks, memory requirements ............... 52Function diagram................................................ 108

*General properties................................................ 33

+High, fixed signal .................................................. 59Hours counter....................................................... 86Household water pump....................................... 105

,Increasing the screen ........................................... 27Input terminals................................................ 56, 57Input, function....................................................... 18Inputs.............................................................. 17, 56Inputs for ASi.................................................. 56, 57Inserting function blocks..................................... 109Interval time-delay relay/pulse output................... 76

/Label tool........................................................ 14, 28Labels................................................................... 14Labels, bound and unbound................................. 14Language setting.................................................. 46Latching relay ....................................................... 72Limit for OT........................................................... 86Link tool ................................................................ 28Linking function blocks, help with ......................... 11Linking function blocks, procedure ....................... 10Linking function blocks, rules ............................... 11LOGO! applications ............................................ 117LOGO! logic module............................................... 4LOGO! model ....................................................... 17LOGO! models ..................................................... 49LOGO!, 3rd generation......................................... 49Low, fixed signal ................................................... 59LSC ...................................................................... 23

Page 127: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

,QGH[

LOGO!Soft Comfort Manual 127

0Manual.................................................................. 48Memory area......................................................... 52Memory marker, state........................................... 20Memory markers................................................... 58Memory, required.................................................. 52Menu bar .................................................... 7, 22, 30Message window ............................................ 16, 40

1NAND ................................................................... 61Nesting depth ....................................................... 53New ................................................................ 23, 30NOR...................................................................... 62NOT ...................................................................... 63Nudging ................................................................ 12Number of pages for creating program................. 46

2Off delay ............................................................... 66On delay ............................................................... 64Open............................................................... 23, 31Opening a program............................................... 21Optimizing diagram view....................................... 11Optimizing layout ................................................ 112Options: General .................................................. 46Options: Interface ................................................. 47Options: Print........................................................ 47Options: Screen.................................................... 46OR ........................................................................ 62Order number 0BA1 ............................................. 49Output block ......................................................... 53Output terminals ................................................... 57Output, state ......................................................... 20Outputs ................................................................. 57Outputs for ASi ..................................................... 58Overview of user interface .................................... 22

3Page breaks ......................................................... 13Page settings........................................................ 32Page Setup........................................................... 32Parameter assignment windows........................... 21Parameters, displaying current values ................. 21Paste .................................................................... 35Paste object.......................................................... 24Path and file name................................................ 24Path, to save program to ...................................... 21PC connecting lead .............................................. 42PDF file reader ..................................................... 48Pin designation ..................................................... 11Positioning ............................................................ 12Positioning function blocks ..................................... 8Power failure......................................................... 20Print ...................................................................... 33Printing ............................................................... 115Program comments ............................................ 115Program conversions.......................................... 116Program path........................................................ 53Program paths, overlong ...................................... 54Program settings .................................................. 49Program simulation............................................... 15Program test ....................................................... 114

Properties of program to be created..................... 23

5Recursion ............................................................. 11Redo..................................................................... 24Release date ........................................................ 48Resources ............................................................ 16Restart characteristics.......................................... 20Retentive on delay................................................ 68Retentivity............................................................. 20

6Save ............................................................... 24, 31Save As... ............................................................. 32Scroll bars ............................................................ 23Select All .............................................................. 36Selecting function blocks................................ 8, 110Selecting objects .................................................. 11Selection tool.................................................. 11, 28Send To Back....................................................... 36Set Clock .............................................................. 44Set Clock: entering date/time manually................ 44Setting up a grid ................................................... 38Signal feedback.................................................... 54Simulation parameters ......................................... 45Simulation tool................................................ 29, 45Simulation, assigning parameters ........................ 21Simulation, starting............................................... 15Solution, conventional ........................................ 107Solution, implementation with LOGO! ................ 107Special functions dependent on LOGO! models .. 51Special Functions tool .......................................... 29Split/Reconnect button ......................................... 12Split/Reconnect tool ............................................. 28Splitting links, advantages.................................... 13Splitting links, procedure ...................................... 12Standard toolbar............................................... 7, 23Starting and assessing simulation...................... 113Statistics tab ......................................................... 34Status bar ................................................... 7, 22, 41Status display ....................................................... 17Storage areas, maximum usable.......................... 53Symmetrical clock pulse generator ...................... 89

7Terminal block ...................................................... 53Terminal names.............................................. 15, 36Terminals.............................................................. 55Text boxes, bound and unbound .......................... 14Tidying up the drawing board ............................. 111Toolbars ......................................................... 22, 40Tools menu........................................................... 42Tools toolbar..................................................... 7, 28Tooltips................................................................. 41Transfer ................................................................ 42Transfer: LOGO! Å PC ........................................ 43Transfer: PC Å LOGO! ........................................ 43Twelve-month time switch .................................... 81Twelve-month time switch, parameter

assignment example......................................... 83Types of text object .............................................. 46

Page 128: LOGO!Soft Comfort V2 - MECHATRONICA · LOGO!Soft Comfort Manual 2 ... The Siemens universal logic module LOGO! has been on the market since 1996 and is enjoying growing popularity

,QGH[

LOGO!Soft Comfort Manual 128

8Uncoiler .............................................................. 123Undo ............................................................... 24, 35Up/down counter .................................................. 84Uploading and downloading ............................... 116Use of memory ..................................................... 52User interface, elements......................................... 7

9Ventilation system .............................................. 119Version number .................................................... 48

View settings ........................................................ 39Voltage levels ....................................................... 59

;XOR...................................................................... 63

=Zoom .................................................................... 39Zoom factor .......................................................... 39Zoom In ................................................................ 40Zoom Out ............................................................. 40