Logo Comfort En

106
LOGO!Soft Comfort User Documentation Siemens AG 1999

Transcript of Logo Comfort En

Page 1: Logo Comfort En

LOGO!Soft Comfort User Documentation

Siemens AG 1999

Page 2: Logo Comfort En

&RQWHQWV

LOGO!Soft Comfort Manual 2

&RQWHQWV

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

��� /2*2��DQG�/2*2�6RIW ���������������������������������������������������������������������������������������������������������� �

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

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

��� *HWWLQJ�6WDUWHG��%ULHI�*XLGH�WR�&UHDWLQJ�&RQWURO�3URJUDPV ���������������������������������������������� �2.1.1 Description of User Interface.............................................................................................52.1.2 Creating Programs............................................................................................................ 62.1.3 Editing the Diagram......................................................................................................... 102.1.4 Documenting the Program .............................................................................................. 13

��� *HWWLQJ�6WDUWHG��6LPXODWLQJ�D�&RQWURO�3URJUDP ���������������������������������������������������������������� ��2.2.1 Starting the Simulation .................................................................................................... 142.2.2 Simulating the Control Program ...................................................................................... 162.2.3 Archiving Programs......................................................................................................... 19

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

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

��� 'HVFULSWLRQ�RI�$YDLODEOH�%XWWRQV���������������������������������������������������������������������������������������� ��3.2.1 Standard Toolbar ............................................................................................................ 213.2.2 Tools Toolbar .................................................................................................................. 23

��� 'HVFULSWLRQ�RI�0HQX�%DU������������������������������������������������������������������������������������������������������ ��3.3.1 File Menu ........................................................................................................................ 263.3.2 Edit Menu........................................................................................................................ 313.3.3 Format Menu................................................................................................................... 333.3.4 View Menu ...................................................................................................................... 343.3.5 Tools Menu ..................................................................................................................... 373.3.6 Help Menu....................................................................................................................... 44

� 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�7HUPLQDOV��&R� �������������������������������������������������������������������������������������������� ��4.4.1 Inputs .............................................................................................................................. 504.4.2 Inputs for ASi .................................................................................................................. 504.4.3 Outputs ........................................................................................................................... 514.4.4 Outputs for ASi................................................................................................................ 514.4.5 Flags ............................................................................................................................... 524.4.6 Fixed Signal Levels ......................................................................................................... 52

Page 3: Logo Comfort En

&RQWHQWV

LOGO!Soft Comfort Manual 3

��� %DVLF�)XQFWLRQV��%)� ����������������������������������������������������������������������������������������������������������� ��4.5.1 AND ................................................................................................................................ 534.5.2 OR................................................................................................................................... 534.5.3 NOT ................................................................................................................................ 544.5.4 XOR ................................................................................................................................ 544.5.5 NAND.............................................................................................................................. 544.5.6 NOR ................................................................................................................................ 55

��� 6SHFLDO�)XQFWLRQV��6)���������������������������������������������������������������������������������������������������������� ��4.6.1 ON Delay ........................................................................................................................ 564.6.2 OFF Delay....................................................................................................................... 584.6.3 Pulse Relay..................................................................................................................... 604.6.4 Time Switch .................................................................................................................... 624.6.5 Latching Relay ................................................................................................................ 664.6.6 Symmetrical Pulse Generator ......................................................................................... 684.6.7 Retentive ON Delay ........................................................................................................ 694.6.8 Up/Down Counter............................................................................................................ 714.6.9 Hours Counter................................................................................................................. 734.6.10 Wiping Relay/Pulse Output ............................................................................................. 764.6.11 Frequency Trigger........................................................................................................... 784.6.12 Year Clock ...................................................................................................................... 804.6.13 Asynchronous Pulse Generator ...................................................................................... 83

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

��� 3UDFWLFDO�([DPSOH��+RXVHKROG�:DWHU�3XPS���������������������������������������������������������������������� ��5.1.1 Description of Task ......................................................................................................... 855.1.2 Conventional Solution ..................................................................................................... 875.1.3 Implementation with LOGO!............................................................................................ 875.1.4 Programming .................................................................................................................. 885.1.5 Simulation ....................................................................................................................... 935.1.6 Documentation................................................................................................................ 955.1.7 Program Transfer ............................................................................................................ 96

��� ([DPSOH�3URJUDPV��������������������������������������������������������������������������������������������������������������� ��5.2.1 Convenience Switch........................................................................................................ 975.2.2 Ventilation System .......................................................................................................... 995.2.3 Factory Gate ................................................................................................................. 1015.2.4 Uncoiler......................................................................................................................... 103

Page 4: Logo Comfort En

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

LOGO!Soft Comfort Manual 4

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

���� /2*2��DQG�/2*2�6RIW

7KH�ORJLF�PRGXOH

The Siemens universal logic module LOGO! has been on the market since 1996 andis enjoying 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 toa vast range of tasks. Its ASi bus compatibility means that the LOGO! can also providesolutions for small-scale automation tasks.

/2*2�6RIW�SURJUDPPLQJ�VRIWZDUH

LOGO!Soft is a program which simulates a configured LOGO! unit on a PC. Theprogramming software enables control programs to be created, tested, edited,archived and printed out on a PC. This offline programming facility considerablyimproves the user-friendliness of the LOGO!. The user interface provides a graphicalrepresentation of the unit being programmed. Once created, programs can betransferred between the PC and the LOGO!.

���� /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 Comfort En

��7XWRULDO

LOGO!Soft Comfort Manual 5

�� 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 creating function diagrams. In order to be able to transfer programs you will alsorequire the connecting lead for connecting the PC with the LOGO! module via the PC’sserial interface.

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

,QWURGXFWLRQ

In order to illustrate the basic functions of LOGO!Soft Comfort, we will demonstratethe creation 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�%RDUG

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.

DrawingBoard

Scroll bars

Tools toolbar

Standard toolbar

Menu bar

Status bar

Page 6: Logo Comfort En

��7XWRULDO

LOGO!Soft Comfort Manual 6

(OHPHQWV�RI�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.

7RROV�WRROEDU

On the left is the Tools toolbar. 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.

6WDQGDUG�WRROEDU

Above the Drawing Board is the Standard toolbar. This contains buttons for creating anew program, opening an existing program and saving the current program as well asfor cutting, copying and pasting circuit objects and uploading or downloadingprograms to or from the LOGO! module.

0HQX�EDU

Above the Standard toolbar is the Menu bar. The Menu bar menus contain variouscommands for editing and managing your control programs. There are also functionsfor entering default settings and transferring programs.

6WDWXV�EDU

At the bottom of the application window is a Status bar. This displays informationabout the active tool, the program status and the current zoom factor.

������ &UHDWLQJ�3URJUDPV

(QWHULQJ�D�QHZ�SURJUDP

When you start LOGO!Soft Comfort for the first time, you can start creating a newprogram right away.

If you have used LOGO!Soft Comfort before and there are still circuit componentsfrom a pervious 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 pleaserefer to the succeeding chapters in this manual.

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

È

Page 7: Logo Comfort En

��7XWRULDO

LOGO!Soft Comfort Manual 7

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�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 rightof the 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 8: Logo Comfort En

��7XWRULDO

LOGO!Soft Comfort Manual 8

%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 onthe diagram. In the case of constants and terminal blocks, instead of a block number,the relevant LOGO! terminal description or a simple description of the block is shown.In addition, inputs, outputs and flags can be assigned other block descriptions usinglabels. The signal blocks for signal levels high and low do not have block numbers.

$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 yourcircuit.

You can tell 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 function quantity structurepermits, the functions that can no longer be used are shown in gray. If the currentlyselected function can no longer be used, the first function still usable immediatelybecomes the selected 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 circuitcan not be implemented with the quantity structure of a LOGO! module, you shouldfirst try to make full use of the options offered by the LOGO! in terms of its wide varietyof functions. For example, you could try replacing memory-intensive function blockswith a combination of multiple function blocks that in total requires less memory.

�6HH�&KDSWHU�����0HPRU\�DQG�3URJUDP�/LPLWV�

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.

Parameter

Page 9: Logo Comfort En

��7XWRULDO

LOGO!Soft Comfort Manual 9

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 9 (7 functionblocks plus one input and one output in the path).

�6HH�&KDSWHU�����0HPRU\�DQG�3URJUDP�/LPLWV�

/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

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.

Page 10: Logo Comfort En

��7XWRULDO

LOGO!Soft Comfort Manual 10

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 flag or an output has to beconnected 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.

������ (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 and space-saving, view of the circuit created. Objects placed onthe circuit diagram such 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.

Page 11: Logo Comfort En

��7XWRULDO

LOGO!Soft Comfort Manual 11

(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.

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.

Page 12: Logo Comfort En

��7XWRULDO

LOGO!Soft Comfort Manual 12

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 optimise 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.

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. Ifthe Split/Reconnect tool is not used, connecting lines that join blocks on differentpages are cut off at the end of the page without any reference to theirorigin/destination.

Page 13: Logo Comfort En

��7XWRULDO

LOGO!Soft Comfort Manual 13

������ 'RFXPHQWLQJ�WKH�3URJUDP

/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

If you then click on a block or anywhere else on the Drawing Board, a window opensfor you 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,the label 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 orpasted. If a bound label is pasted from the Clipboard, it is no longer bound to theoriginal block.

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

Page 14: Logo Comfort En

��7XWRULDO

LOGO!Soft Comfort Manual 14

%ORFN�FRPPHQWV

In the block properties dialog box you will see a Comments tab on which you canenter a name for the function block or remarks as to the purpose of the of the block inyour circuit.

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.

���� *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 functioningand optimized 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 15: Logo Comfort En

��7XWRULDO

LOGO!Soft Comfort Manual 15

0HVVDJH�:LQGRZ

When you start the simulation, the control program is analysed 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 16: Logo Comfort En

��7XWRULDO

LOGO!Soft Comfort Manual 16

6WDWXV�GLVSOD\

In simulation mode, buttons/message windows are displayed above the DrawingBoard next to the Standard toolbar for displaying the status of inputs, outputs andpower supply.

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

È Status box for input module I3 È frequency input

Page 17: Logo Comfort En

��7XWRULDO

LOGO!Soft Comfort Manual 17

)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

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 frequencyinput can be preset or changed while the simulation is running. The frequency shouldbe entered in Hz. A frequency input is a special case in this context as it should onlybe used with the trigger special function block.

�6HH�&KDSWHU��������)UHTXHQF\�7ULJJHU�

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.

Page 18: Logo Comfort En

��7XWRULDO

LOGO!Soft Comfort Manual 18

'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 remanencecan be tested with this function.

2XWSXWV

The status of an output or flag is indicated by a light or dark bulb symbol. Below thebulb symbol is the designation of the output in your control program.

È Status icon for output Q1 È output not conducting

È Status icon for output Q1 È output conducting

The output status icons are purely status 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 flags. Some outputs mayhave the identification letters Qa, in which case they are outputs for the ASi bus (onlyavailable on the applicable LOGO! models).

Page 19: Logo Comfort En

��7XWRULDO

LOGO!Soft Comfort Manual 19

$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.

������ $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 wish to export your control program, revise it, or download it to a LOGO!module, you can open it again at any time.

È 2SHQ

Page 20: Logo Comfort En

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

LOGO!Soft Comfort Manual 20

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

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

*HQHUDO�GHVFULSWLRQ

0HQX�EDU

The Menu bar menus 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 accessto the most important and most frequently used functions in LOGO!Soft Comfort.

6WDWXV�EDU

The status bar displays details of the currently selected tool, the program status andthe current zoom factor.

'UDZLQJ�%RDUG

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 toolbar

Menu bar

Status bar

Page 21: Logo Comfort En

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

LOGO!Soft Comfort Manual 21

���� '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

There are buttons for the commands 1HZ, 2SHQ and 6DYH from the File menu andthe commands &XW, &RS\ and 3DVWH from the Edit menu. Buttons are also providedfor the file transfer commands /2*2���3& (Upload) and 3&��/2*2� (Download)from the Tools menu.

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.

It is essential that any previously created control program on the Drawing Board issaved before clicking the Open button as this action clears the Drawing Board readyto load the program being opened. If you do not save an existing program beforepressing the Open button, LOGO!Soft Comfort asks you to confirm that you definitelydo not wish to save the existing program. Alternatively, you have the option ofperforming a Quick Save.

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.

Page 22: Logo Comfort En

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

LOGO!Soft Comfort Manual 22

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 versionof the program is overwritten by the revised version - in other words the new programis saved to the same path and name as the source file.

&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.

/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.

�6HH�&KDSWHU�������7RROV�0HQX�

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.

�6HH�&KDSWHU�������7RROV�0HQX�

Page 23: Logo Comfort En

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

LOGO!Soft Comfort Manual 23

������ 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 24: Logo Comfort En

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

LOGO!Soft Comfort Manual 24

&RQVWDQWV�DQG�7HUPLQDOV�WRRO

This tool has to be selected if you want to place input blocks, output blocks, flags orconstants (high, low) on the Drawing Board. The specific type of function block to beinserted is selected from an additional toolbar which appears when you select theConstants 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 BasicFunctions tool.

6SHFLDO�)XQFWLRQV�WRRO

This tool has to be selected if you want to place special remanence or time-relatedfunction blocks on the Drawing Board. The specific type of function block to beinserted is selected from an additional toolbar which appears when you select theSpecial Functions tool.

6LPXODWLRQ�WRRO

When you select the Simulation tool, a toolbar for monitoring and controlling inputsand outputs appears. A software switch acts as a means of simulating a power failureso that the circuit can be tested out for remanence characteristics. The controlprogram created and all its function 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 25: Logo Comfort En

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

LOGO!Soft Comfort Manual 25

���� '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 26: Logo Comfort En

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

LOGO!Soft Comfort Manual 26

������ )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 boxwith three tabs for entering the properties of the program to be created may appear. Itcan in any case be recalled at any time to either enter or alter property settings bychoosing File È Properties from the menu bar.

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. 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 27: Logo Comfort En

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

LOGO!Soft Comfort Manual 27

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 control program on the Drawing Board issaved before clicking the Open button as this action clears the Drawing Board readyfor creation of a new program. In order to prevent an existing program beingaccidentally deleted, a dialog box opens asking the user if the current program shouldbe saved first.

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 versionof the program is overwritten by the revised version - in other words the new programis saved 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 28: Logo Comfort En

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

LOGO!Soft Comfort Manual 28

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.

([SRUW

LOGO!Soft Comfort provides an interface for exchanging control programs with theprogram LOGO!Soft in LOGO!Soft version 3.x format to the path specified. When thefile is converted, additional information such as the graphical data relating to theposition of the function blocks is omitted.

For details of how to open a LOGO!Soft program in LOGO!Soft Comfort, refer to thedescription of the command File Open.

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.

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 297 mm x 420 mm (A3) and can therefore be adjusted to fit all commonlyused paper formats.

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 29: Logo Comfort En

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

LOGO!Soft Comfort Manual 29

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

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 30: Logo Comfort En

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

LOGO!Soft Comfort Manual 30

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

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.

Page 31: Logo Comfort En

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

LOGO!Soft Comfort Manual 31

������ (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.

8QGR

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. Functions thatare undone can not automatically be reinstated. If you hover the mouse over the Undocommand, a tooltip appears indicating the what type of action will be undone.

&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

Page 32: Logo Comfort En

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

LOGO!Soft Comfort Manual 32

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.

6HOHFW�$OO

All objects on the Drawing Board are selected, i.e. function blocks, connecting linesand labels.

%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.

7HUPLQDO�'HVFULSWLRQ���

A dialog box for entering terminal descriptions opens. Here you can enter designationsfor inputs and outputs. The terminal designations are shown in brackets next to theblock designation. You can specify whether or not the terminal designations are to beshown on the screen and on printouts by choosing Tools È Options È Screen fromthe menu bar.

Page 33: Logo Comfort En

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

LOGO!Soft Comfort Manual 33

%ORFN�3URSHUWLHV���

To open the Block Properties window, 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.

������ )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

font, the font style, font size and font color of text. To define the format of existing textobjects, you have to select them first. You can then specify the font attributes yourequire and click OK to apply the new formatting.

7KH�IROORZLQJ�IRQW�IRUPDW�RSWLRQV�DUH�DYDLODEOH�

Font Font size Color

DialogSansSerifSerifMonospacedDialogInput

Font style

BoldItalic

891012141824364872

BlackBlueGreenRedPinkMagentaOrange

YellowAquamarineSea greenDark grayLight grayWhiteTransparent

Page 34: Logo Comfort En

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

LOGO!Soft Comfort Manual 34

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.

• Vertical: selected objects are aligned flush right.

• Horizontal: selected objects are aligned horizontally.

Objects are aligned with the first block selected if blocks are selected individually orwith the last block included if blocks are selected collectively.

������ 9LHZ�0HQX

*HQHUDO�GHVFULSWLRQ

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

Page 35: Logo Comfort En

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

LOGO!Soft Comfort Manual 35

=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 opensin which you can select the zoom factor from a list of set choices or enter a customzoom factor 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)

=RRP�2XW

The zoom factor is decreased in the following fixed increments:

100 È 75 È 50 È 25 (minimum)

Page 36: Logo Comfort En

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

LOGO!Soft Comfort Manual 36

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

0HVVDJH�:LQGRZ

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:

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�

Page 37: Logo Comfort En

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

LOGO!Soft Comfort Manual 37

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�%DU

This command allows you to have the Status Bar showing or hidden. The Status Baris made up of three sections. The first section, on the far left, shows details of theactive tool and any program messages. The second section indicates whether theopen control program has been modified, and the third section shows the currentzoom factor.

7RROWLSV

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

������ 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.

Page 38: Logo Comfort En

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

LOGO!Soft Comfort Manual 38

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.

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

Transfers a control program created in LOGO!Soft Comfort to a LOGO! 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 orcancelling 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.

Page 39: Logo Comfort En

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

LOGO!Soft Comfort Manual 39

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 topleft corner of the Drawing Board. If necessary, you should use the scroll bars to bringthe circuit into view.

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.

Page 40: Logo Comfort En

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

LOGO!Soft Comfort Manual 40

6HW�&ORFN���

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.

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.

'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 programcreated.

6LPXODWLRQ

When you choose Simulation, 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 out for remanence characteristics. The control programcreated and all its function 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 41: Logo Comfort En

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

LOGO!Soft Comfort Manual 41

6LPXODWLRQ�3DUDPHWHUV���

A dialog box listing all available inputs opens. Here you can assign an appropriatefunction to every input used. The choice of functions offered extends to key, switch orfrequency input. In the case of frequency inputs, the simulated frequency in Hz can beentered.

2SWLRQV��*HQHUDO

Here you can specify the settings for language and the number of pages to be usedfor creating the program. You can define how the pages are to be arranged to suityour circuit layout requirements. The language setting determines the language usedfor the menus and online Help.

Page 42: Logo Comfort En

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

LOGO!Soft Comfort Manual 42

2SWLRQV��6FUHHQ

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

2SWLRQV��3ULQW

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

Page 43: Logo Comfort En

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

LOGO!Soft Comfort Manual 43

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 44: Logo Comfort En

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

LOGO!Soft Comfort Manual 44

������ +HOS�0HQX

*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 45: Logo Comfort En

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

LOGO!Soft Comfort Manual 45

�� 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��0RGHOV

LOGO!Soft Comfort distinguishes between the LOGO! Innovation models and the 1st-generation models, identifiable by the last digits of the order number (0BA0). Amongother things, the latter have less memory and no bit memory blocks.

The current LOGO! models are 2nd-generation models. They are part of the LOGO!Innovations range. They are recognizable by the last digits of their order number asfollows: 0BA1.

Currently the range of models is as follows:

'HVLJQDWLRQ 2UGHU�1XPEHU 'HVLJQDWLRQ 2UGHU�1XPEHU

12 RC 6ED1052-1BB00-0BA1 24 RCL 6ED1053-1HB00-0BA112 RCL 6ED1053-1BB00-0BA1 230 RC 6ED1052-1FB00-0BA124 6ED1052-1CA00-0BA1 230 RCL 6ED1053-1FB00-0BA124 L 6ED1053-1CA00-0BA1 24 RCL B11 6ED1053-1HH00-0BA124 RC 6ED1052-1HB00-0BA1 230 RCL B11 6ED1053-1FH00-0BA1

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

Page 46: Logo Comfort En

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

LOGO!Soft Comfort Manual 46

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

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

0BA0Standard

0BA0...L

0BA0...LB11

0BA1All

ON delay Yes Yes Yes Yes

OFF delay Yes Yes Yes Yes

Pulse relay (Yes) Yes Yes Yes

Time switch Yes Yes Yes Yes

Latching relay (Yes) Yes Yes Yes

Pulse generator Yes Yes Yes Yes

Retentive ON delay Yes Yes Yes Yes

Counter (Yes) Yes Yes Yes

Wiping relay No Yes Yes Yes

Hours counter No Yes Yes Yes

Trigger No Yes Yes Yes

Year clock No No No Yes

Asynchronous pulse generator No No No Yes

Limitations of 0BA0 Standard: pulse relay, counter and latching relay have noremanence, the counter is 4-digit.

Page 47: Logo Comfort En

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

LOGO!Soft Comfort Manual 47

���� 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

Pulse relay* 0 (1) 0 (1)

Time switch 6 2 0 0

Latching relay* 0 (1) 0 (1)

Pulse generator 1 1 1 0

Retentive ON delay 2 1 1 0

Counter* 2 (2) 0 (2)

Wiping relay 1 1 1 0

Hours counter 2 0 0 4

Trigger 3 3 1 0

Year clock 2 0 0 0

Asynchronous pulse generator 3 1 1 0

* Depending on configuration of remanence for function, each function occupies thefollowing amount of memory:

• Remanence switched off: function occupies RAM area

• Remanence switched on: function occupies REM area

0HPRU\

The maximum amount of memory a program can occupy on a LOGO! module is asfollows:

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

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.

Page 48: Logo Comfort En

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

LOGO!Soft Comfort Manual 48

Terminal blocks for the purposes of determining nesting depth are:

• Inputs (I, Ia)

• High, Low (Hi, Lo)

• Flags (M)

• Outputs (Q, Qa)

Outputs for the purposes of determining nesting depth are:

• Outputs (Q, Qa)

• Flags (M)

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 9 blocks.

The following equation therefore results:

++

1 Terminal block7 Function blocks1 Output block

Max. program path nesting level: 9 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 flag block at the end of a path. The remaining function blocks areconnected to the output of the flag. The LOGO! interprets the flag as the output of thefirst program path and as the terminal block of the succeeding function blocks. On theLOGO! the long path with the flag is treated as two separate paths. If no more flagsare available, you can use an output block instead.

Max. nesting depthexceeded

Error message

Page 49: Logo Comfort En

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

LOGO!Soft Comfort Manual 49

���� %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 Flag 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 theirswitching condition and therefore do not have to be distinguished.

Page 50: Logo Comfort En

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

LOGO!Soft Comfort Manual 50

���� &RQVWDQWV�DQG�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

Some LOGO! models (...B11) have the facility for connection to an ASi bus. Up to 4ASi inputs can be used. Using the block parameter assignment facility, an individualinput block can also be assigned a different ASi input. However, the choice of inputsonly includes those that have not already been assigned in the control program.

Page 51: Logo Comfort En

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

LOGO!Soft Comfort Manual 51

������ 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.

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

Some LOGO! models (...B11) have the facility for connection to an ASi bus. Up to 4ASi outputs can be used. Using the block parameter assignment facility, an individualoutput block can also be assigned a different ASi output. However, the choice ofoutputs only includes those that have not already been assigned in the controlprogram.

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

Page 52: Logo Comfort En

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

LOGO!Soft Comfort Manual 52

������ )ODJV

Flag blocks apply the same signal to their outputs that is applied to their inputs. Flagscan be used to increase the nesting level of a path by connecting a flag block to theoutput of the path. Up to 4 flags can be used. Using the block parameter assignmentfacility, an individual flag can also be assigned a different flag number. However, thechoice of flag numbers 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.

������ )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 53: Logo Comfort En

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

LOGO!Soft Comfort Manual 53

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

������ $1'

The output of the AND function only adopts the condition 1 if DOO inputs have thecondition 1, i.e. are closed. If an input pin of this block is not connected it automaticallyhas the condition ’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

������ 25

The output of the OR function adopts the condition 1 if DW� OHDVW one input has thecondition 1, i.e. is closed. If an input pin of this block is not connected it automaticallyhas the condition ’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

Page 54: Logo Comfort En

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

LOGO!Soft Comfort Manual 54

������ 127

The output adopts the condition 1 if the input has the condition 0, i.e. the NOT functioninverts the condition at the input. If an input pin of this block is not connected itautomatically has the condition ’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 the XOR (exclusive OR) block adopts the condition 1 if the inputs havediffering conditions. If an input pin of this block is not connected it automatically hasthe condition ’0’.

Logic table for XOR block:

�,QSXW�� ,QSXW�� 2XWSXW

0 0 00 1 11 0 11 1 0

������ 1$1'

The output of the NAND (not AND) function only adopts the condition 0 if DOO inputshave the condition 1, i.e. are closed. If an input pin of this block is not connected itautomatically has the condition ’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

Page 55: Logo Comfort En

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

LOGO!Soft Comfort Manual 55

������ 125

The output of the NOR (not OR) function only adopts the condition 1 if all inputs havethe condition 0, i.e. are switched off. Immediately any of the inputs is switched on(condition 1) the output switches off. If an input pin of this block is not connected itautomatically has the condition ’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 56: Logo Comfort En

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

LOGO!Soft Comfort Manual 56

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

������ 21�'HOD\

%ULHI�GHVFULSWLRQ

In the case of the ON delay, the output is not switched over until a definable timeperiod has elapsed.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

When the condition at the input Trg changes from 0 to 1, a timed period Tacommences.

Ta is the elapsed time on the LOGO! module. If the condition at input Trg remains 1

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

If the condition at the input Trg�switches back to 0 before the time T has elapsed, thetimer is reset.

The output is reset to 0 if the condition 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 delay period

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 defined time T ifTrg is still set.

Page 57: Logo Comfort En

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

LOGO!Soft Comfort Manual 57

3DUDPHWHU�DVVLJQPHQW

The time delay parameter T can be set in the block properties in seconds, minutes orhours.

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 58: Logo Comfort En

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

LOGO!Soft Comfort Manual 58

������ 2))�'HOD\

%ULHI�GHVFULSWLRQ

In the case of the OFF delay, the output is not switched off until a definable timeperiod has elapsed.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

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

module, 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 signal edge (change from 1 to 0) at theinput Trg (Trg stands for trigger) starts the OFFdelay 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 59: Logo Comfort En

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

LOGO!Soft Comfort Manual 59

3DUDPHWHU�DVVLJQPHQW

The time delay parameter T can be set in the block properties in seconds, minutes orhours.

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 60: Logo Comfort En

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

LOGO!Soft Comfort Manual 60

������ 3XOVH�5HOD\

%ULHI�GHVFULSWLRQ

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

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

Every time the condition at the input Trg changes from 0 to 1, the output Q changes itscondition, i.e. the output is switched on or off. The input R resets the pulse relay to itsoriginal condition. After a power on or reset, the pulse relay is reset and the output setto 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 pulse relay and setsthe output to 0.

(Reset has priority over Trg)

Parameter�3DU This parameter is used to switch remanence on oroff.

Rem:

Off = no remanence

On = condition can be remanently stored

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

Page 61: Logo Comfort En

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

LOGO!Soft Comfort Manual 61

3DUDPHWHU�DVVLJQPHQW

The block’s remanence can be activated in the block properties. If remanence isactive, the condition of the block output is stored in the event of a power failure andrestored when the power is restored. If remanence is not active, the block output is setto 0 when power is restored after a failure.

Page 62: Logo Comfort En

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

LOGO!Soft Comfort Manual 62

������ 7LPH�6ZLWFK

%ULHI�GHVFULSWLRQ

Up to three time windows in which the output is active can be defined.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

Each time switch has three setting cams each of which can be used to configure atime window.

You use the cams to set the on and off times for the time windows. At the on times,the time switch switches the output on if it is not already on. At the off times, the timeswitch switches the output off 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 time switch then the on and off times conflict. In such cases, Cam 3 has priorityover Cam 2 and Cam 2 has priority over Cam 1.

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

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 time switch.You specify the the times in terms of day and time.

Output 4 Q switches on when a configurable cam is switchedon.

Page 63: Logo Comfort En

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

LOGO!Soft Comfort Manual 63

3DUDPHWHU�DVVLJQPHQW

The cam parameters can be set in the block properties.

In the Mode box you specify the day or days on which the on and off times are to beactive. The choice of modes is as follows:

• Monday

• Tuesday

• Wednesday

• Thursday

• Friday

• Saturday

• Sunday

• Monday to Friday

• Monday to Saturday

• Monday to Sunday (i.e. every day)

• Saturday and Sunday

In the On Time and Off Time boxes, you enter the relevant times in the followingrange:

any time between 00:00 and 23:59

You activate or deactivate the on and off times by means of the check boxes.

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 64: Logo Comfort En

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

LOGO!Soft Comfort Manual 64

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 number for hours

È Incorrect number for minutes

Page 65: Logo Comfort En

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

LOGO!Soft Comfort Manual 65

([DPSOH�RI�SDUDPHWHU�DVVLJQPHQW

The output of the time switch is to be switched on between from 08:00 to 13:00 andfrom 15:00 to 18:30 on the days Monday to Saturday. It is also to be switched onbetween the hours of 11:00 and 15:00 on Sundays. This requires you to set 3 cams asfollows:

Page 66: Logo Comfort En

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

LOGO!Soft Comfort Manual 66

������ /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 condition of the inputs and the previous condition of the output.

Logic table for latching relay:

6 5 4 5HPDUNV

0 0 x Condition 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 condition 1 then theoutput is reset (Reset takes precedence over Set).

Parameter�3DU This parameter is used to switch remanence on oroff.

Rem:

Off = no remanence

On = condition can be remanently stored

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

Page 67: Logo Comfort En

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

LOGO!Soft Comfort Manual 67

3DUDPHWHU�DVVLJQPHQW

The block’s remanence can be activated in the block properties. If remanence isactive, the condition of the block output is stored in the event of a power failure andrestored when the power is restored. If remanence is not active, the block output is setto 0 when power is restored after a failure.

Page 68: Logo Comfort En

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

LOGO!Soft Comfort Manual 68

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

%ULHI�GHVFULSWLRQ

A clock pulse with a definable 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 condition of 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 signal period parameter T 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 69: Logo Comfort En

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

LOGO!Soft Comfort Manual 69

������ 5HWHQWLYH�21�'HOD\

%ULHI�GHVFULSWLRQ

Following an input pulse, a definable timed period starts on expiry of which the outputis set.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

When the condition at the input Trg changes from 0 to 1, a timed period Tacommences. If the elapsed time Ta reaches the time T, the output Q is set to 1. If theinput Trg is switched again, it has no effect on Ta.

The output and Ta are not reset to 0 until the condition at 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 70: Logo Comfort En

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

LOGO!Soft Comfort Manual 70

3DUDPHWHU�DVVLJQPHQW

The delay period parameter T 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 71: Logo Comfort En

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

LOGO!Soft Comfort Manual 71

������ 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 definable count value is reached, the output isset. The direction of the count is set by a separate input.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

Every positive signal edge at the input Cnt either increases the internal counter valueby 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 ofcondition from 0 to 1 at the input Cnt (Count). Achange of condition from 1 to 0 is not counted.Maximum count frequency at the input terminals: 5Hz

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 72: Logo Comfort En

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

LOGO!Soft Comfort Manual 72

3DUDPHWHU�DVVLJQPHQW

The counter parameter Par can be set in the block properties to a value in the range 0to 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 block’s remanence can be activated in the block properties. If remanence isactive, the internal counter value is stored in the event of a power failure and restoredwhen the power is restored. If remanence is not active, the counter value is set to 0when power is restored after a failure.

Page 73: Logo Comfort En

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

LOGO!Soft Comfort Manual 73

������ +RXUV�&RXQWHU

%ULHI�GHVFULSWLRQ

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

'LDJUDP

MI = Defined time period

MN = Remaining period

OT = Total elapsed time since last 1 signal at 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 period MN. The LOGO!displays those times in parameter assignment mode. When the remaining period MNreaches 0, the output Q is set to 1.

The reset input R resets the output Q and the timer for the remaining period 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 period 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 74: Logo Comfort En

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

LOGO!Soft Comfort Manual 74

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 period of the service interval MN is set toMN = MI. The previously elapsed time (OT -operating time) remains stored.

Input (Q En is the the monitored input. The LOGO!measures the length of time that that 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 period of service interval MN = MI.

Parameter 3DU:(MI)

0,� specified service interval in hours.

MI can be any number of hours in the range 0 to9999.

Output 4 If the remaining period MN = 0 (see timingdiagram), the output is set.

Page 75: Logo Comfort En

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

LOGO!Soft Comfort Manual 75

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.

Remanence is permanently active on the hours counter. Following a power failure, theprogram continues from the values reached before the power failure.

Page 76: Logo Comfort En

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

LOGO!Soft Comfort Manual 76

������� :LSLQJ�5HOD\�3XOVH�2XWSXW

%ULHI�GHVFULSWLRQ

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

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

When the input Trg switches to the condition 1, the output Q immediately switches tothe condition 1. At the same time, the elapsed 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 condition 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 and remains on untilthe time T has elapsed.

Page 77: Logo Comfort En

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

LOGO!Soft Comfort Manual 77

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 78: Logo Comfort En

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

LOGO!Soft Comfort Manual 78

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

%ULHI�GHVFULSWLRQ

The output is switched on or off depending on whether the frequency at the input isbetween two definable 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 period 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 input Fre. The pulses received are recordedover a definable period G_T. If the frequency of the pulses received in the period G_Tis 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 )UH The input whose frequency is to be measured isapplied to the input Fre.

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 period over which the signal pulsesapplied are counted.

Output 4 Q switches on or off depending on whether thefrequency is outside the limits SW↑ and SW↓ (seedescription below).

Page 79: Logo Comfort En

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

LOGO!Soft Comfort Manual 79

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 that 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 80: Logo Comfort En

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

LOGO!Soft Comfort Manual 80

������� <HDU�&ORFN

%ULHI�GHVFULSWLRQ

The output is controlled by a definable ON/OFF date.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

Each year clock has an ON and an OFF time.

At the ON time, the year clock switches the output on and at the OFF time, it switchesthe output off. The OFF date indicates the date on which the output is reset to 0.

The LOGO! module is not susceptible 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 &DP The parameter Cam defines the ON and OFF timesfor the year clock.

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

Page 81: Logo Comfort En

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

LOGO!Soft Comfort Manual 81

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 month and day boxes places the insertion point in the box so thatyou can type the figures for the month and day directly on the keyboard. Figuresentered manually in this way must not exceed the logical maximum figures for theboxes concerned. Otherwise LOGO!Soft Comfort returns an error message.

È Incorrect figure for month

È Incorrect figure for day

Page 82: Logo Comfort En

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

LOGO!Soft Comfort Manual 82

([DPSOH�RI�SDUDPHWHU�DVVLJQPHQW

The output of a LOGO! module is to be switched on every year between 1 March and4 April 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 year clocks is switched on.

Page 83: Logo Comfort En

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

LOGO!Soft Comfort Manual 83

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

%ULHI�GHVFULSWLRQ

The output pulse wave form can be modified by means of the definable pulseduration/interval ratio.

'LDJUDP

'HVFULSWLRQ�RI�IXQFWLRQ

The pulse duration and pulse interval can be set by means of the parameters TH andTL. 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 input INV allows the output to be inverted. The input INV only negates the outputif the 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 input Inv is used to invert the output signal ofthe asynchronous pulse generator when active.

Parameter 3DU The pulse duration TH and pulse interval TL can beset.

Output 4 Q switches on and off cyclically on the basis of thepulse timing parameters TH and TL.

Page 84: Logo Comfort En

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

LOGO!Soft Comfort Manual 84

3DUDPHWHU�DVVLJQPHQW

The pulse timing parameters TH and TL 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 85: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 85

�� ([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 bystep. In contrast with the tutorial, the use of the functions learned about is illustratedstep by step 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 86: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 86

'HVFULSWLRQ�RI�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,it can 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 onTrockenlaufschutz Aus

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 87: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 87

������ &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.

7HUPLQDO�FRQQHFWLRQ�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 88: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 88

)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 89: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 89

When working through the succeeding steps, you should remember to save yourcontrol program at regular intervals. You may want to open a revised version at sometime to test 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 90: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 90

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 91: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 91

�7LG\LQJ�XS��WKH�'UDZLQJ�%RDUG

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 92: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 92

2SWLPL]LQJ�WKH�OD\RXW

If you are left with undesirable but unavoidable intersections between connectinglines, the offending lines can be split using the Split/Reconnect tool. This furtherimproves the clarity of the diagram as it prevents difficulties interpreting the circuit.Otherwise it is difficult in LOGO!Soft Comfort to distinguish between connecting lineintersections and junctions.

The program is now finished. Check once again that all connections have been madeand set your parameters as you require.

Page 93: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 93

������ 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 94: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 94

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 testingpurposes simply 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 95: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 95

������ '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 theterminal descriptions displayed on the screen. Nevertheless, you should make use ofthe facility so that 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 96: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 96

������ 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 97: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 97

���� ([DPSOH�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.

������ &RQYHQLHQFH�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:

• Pulse relay: when the lights are off, pressing any of the push buttons switches thelights on. When the lights are on, pressing any of the push buttons switches thelights off again.Disadvantage: people frequently forget to switch the lights off.

• Automatic stairwell lighting timer: when any one of the push buttons is pressed,the lights are switched on. When a preset time has elapsed, the lights switch offagain automatically.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 98: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 98

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

You can use a LOGO! module to replace the stairwell lighting timer or the pulse relay.And you can implement both functions (timed OFF delay and pulse relay) in a singleunit. What is more, you can incorporate extra functions without making any alterationsto the wiring. In our example program we have combined the advantages of both thepulse relay and the automatic stairwell lighting timer as follows:

• Press push button È lights come on then go off again after the preset delay of 6minutes (OFF delay)

• Press push button twice È lights come on and stay on indefinitely (the latchingrelay is set by the pulse relay)

• Press and hold push button for 2 seconds È lights go off (ON delay switcheslights off - whether on indefinitely or for timed period - in the circuit this branch isused 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/pulse 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 pulse relays with just one LOGO!module.

&RQYHQLHQFH�VZLWFKLights on/off

"Lights on" period

Light

Page 99: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 99

������ 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 atmosphericpressure.

• The fresh-air fan must only be switched on provided reliable functioning of theextractor fan is signalled 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 isregistered, the system is switched off and a fault reported which can be reset bypressing the OFF button.

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 100: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 100

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

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 101: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 101

������ )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 persons 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 usas 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 102: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 102

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

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 isactuated.

Safetystrip

)DFWRU\�*DWH�&RQWURO�6\VWHP

Push buttonfor OPEN

Gate isopen

Push buttonfor STOP

Gate isclosed

Push buttonfor CLOSE

Flashing light

Open

Close

Page 103: Logo Comfort En

��([DPSOH�$SSOLFDWLRQV

LOGO!Soft Comfort Manual 103

������ 8QFRLOHU

5HTXLUHPHQWV�IRU�XQFRLOHU

An uncoiler feeds a coiled strip of sheet metal into a punch. The basic requirementsfor an 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 virtueof the fact that connection of the required switches, warning lamps and mastercontactor to 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

Punchoff switch

Strip is slack

Strip is taut

Automatic modeon

Enablepunch

Indicator lamp forautomatic mode

Uncoiler motoron

8QFRLOHU

Page 104: Logo Comfort En

,QGH[

LOGO!Soft Comfort Manual 104

,QGH[

$Actual values ......................................................... 19Alignment .............................................................. 34AND....................................................................... 53Applications, other................................................. 97Archiving................................................................ 95Archiving programs ............................................... 19ASi input ................................................................ 50ASi output.............................................................. 51Assigning parameters to function blocks................. 8Asynchronous pulse generator ............................. 83

%Basic Functions tool .............................................. 24Block comments .................................................... 14Block numbering...................................................... 8Block numbers....................................................... 49Block Properties .................................................... 33Block properties dialog box ................................... 33Blocks.................................................................... 49Bring To Front ....................................................... 32

&Choice of modes ................................................... 23Clipboard, internal ................................................. 26Clock buffer ........................................................... 80Comments tab ................................................. 14, 30Connecting line intersections ................................ 12Constants and Terminals tool ............................... 24Contents of the Clipboard ..................................... 32Convenience switch .............................................. 97Copy ...................................................................... 31Copy selected object ............................................. 22Counter.................................................................. 71Creating a program using toolbars.......................... 6Cut......................................................................... 31Cut selected object................................................ 22

'Data entry, manual .......................................... 64, 81Date, current.......................................................... 40Date, set ................................................................ 40Determine LOGO! ................................................. 40Disconnecting the power....................................... 18Drawing Board....................................................... 20Drawing Board, description ..................................... 5

(Editing connecting lines ........................................ 11Editing functions.................................................... 31Editing objects ....................................................... 11Enclosing objects .................................................. 10Entering project data ............................................. 88Entering terminal descriptions............................... 32Example application .............................................. 85Exit ........................................................................ 30

Export.....................................................................28Exporting and importing .........................................96

)Factory gate ........................................................ 101File extension.........................................................21Fixed signal levels..................................................52Flag, status ............................................................18Flags ......................................................................52Font ........................................................................33Font color ...............................................................33Font size ................................................................33Font style ...............................................................33Formatting options .................................................33Frequency inputs ...................................................79Frequency trigger...................................................78Function blocks, availability .....................................8Function blocks, memory requirements.................47Function diagram ...................................................88

*General properties .................................................29

+high ........................................................................52Hours counter ........................................................73Household water pump..........................................85

,Input terminals .......................................................50Input, function ........................................................17Inputs .............................................................. 16, 50Inputs for ASi .........................................................50Inserting function blocks ........................................89

/Label tool ........................................................ 13, 23Labels ....................................................................13Labels, bound and unbound ..................................13Language setting ...................................................41Last digits of order number ....................................45Latching relay.........................................................66LGO........................................................................28Limit for OT ............................................................73Link tool..................................................................23Linking function blocks, help with ............................9Linking function blocks, procedure ..........................9Linking function blocks, rules.................................10LOGO! applications................................................97LOGO! Innovation ..................................................45LOGO! logic module ................................................4LOGO! model.........................................................16LOGO! models .......................................................45LOGO!, 1st generation...........................................45LOGO!, 2nd generation..........................................45LOGO!Soft ........................................................ 4, 28Low ........................................................................52

Page 105: Logo Comfort En

,QGH[

LOGO!Soft Comfort Manual 105

LSC ....................................................................... 21

0Manual................................................................... 44Memory area ......................................................... 47Memory, maximum usable .................................... 47Memory, required .................................................. 47Menu bar ..................................................... 6, 20, 25Message window................................................... 36Message Window.................................................. 15

1NAND .................................................................... 54Nesting depth ........................................................ 48New ................................................................. 21, 26NOR ...................................................................... 55NOT....................................................................... 54Nudging ................................................................. 11Number of pages for creating program ................. 41

2OFF delay.............................................................. 58ON delay ............................................................... 56Open................................................................ 21, 27Opening a program ............................................... 19Optimizing diagram view ....................................... 10Optimizing layout................................................... 92Options: General ................................................... 41Options: Interface.................................................. 43Options: Print......................................................... 42Options: Screen..................................................... 42OR ......................................................................... 53or number 0BA1 .................................................... 45Order number 0BA0 .............................................. 45Output block .......................................................... 47Output terminals .................................................... 51Output, status ........................................................ 18Outputs.................................................................. 51Outputs for ASi ...................................................... 51Overview of user interface .................................... 20

3Page breaks .......................................................... 12Page settings......................................................... 28Page Setup............................................................ 28Parameter assignment windows ........................... 19Parameters, displaying current values .................. 19Paste ..................................................................... 31Paste object........................................................... 22Path and file name ................................................ 22Path, to save program to....................................... 19PC connecting lead ............................................... 38PDF file reader ...................................................... 44Pin designation........................................................ 9Positioning............................................................. 11Positioning function blocks...................................... 7Power failure ......................................................... 18Print ....................................................................... 29Printing .................................................................. 95Program comments............................................... 95Program conversions ............................................ 96Program path......................................................... 47

Program paths, overlong........................................48Program settings....................................................45Program simulation ................................................14Program test ..........................................................94Properties of program to be created ......................21Pulse relay .............................................................60

5Recursion...............................................................10Release date..........................................................44Remanence characteristics....................................18Resources..............................................................15Restart characteristics ...........................................18Retentive ON Delay ...............................................69

6Save................................................................ 22, 27Save As..................................................................28Scroll bars ..............................................................20Select All ................................................................32Selecting function blocks .................................. 7, 90Selecting objects....................................................10Selection tool .................................................. 10, 23Send To Back ........................................................32Set Clock................................................................40Set Clock: entering date/time manually .................40Signal feedback .....................................................48Simulation ..............................................................40Simulation parameters ...........................................41Simulation tool .......................................................24Simulation, assigning parameters..........................19Simulation, starting ................................................14Solution, conventional............................................87Solution, implementation with LOGO!....................87Special functions dependent on LOGO! models....46Special Functions tool............................................24Split/Reconnect button...........................................11Split/Reconnect tool ...............................................23Splitting links, advantages .....................................12Splitting links, procedure........................................11Standard toolbar ............................................... 6, 21Starting and assessing simulation .........................93Statistics tab...........................................................30Status bar.................................................... 6, 20, 37Status display.........................................................16Symmetrical pulse generator .................................68

7Terminal block........................................................47Terminal Description ..............................................32Terminals ...............................................................49Text boxes, bound and unbound ...........................13Tidying up the Drawing Board ...............................91Time switch ............................................................62Time switch, parameter assignment example .......65Toolbars .......................................................... 20, 36Tools menu ............................................................37Tools toolbar ..................................................... 6, 23Tooltips ..................................................................37Transfer..................................................................38Transfer: LOGO! ��3&...........................................39Transfer: PC ��/2*2�...........................................38Types of text object................................................42

Page 106: Logo Comfort En

,QGH[

LOGO!Soft Comfort Manual 106

8Uncoiler ............................................................... 103Undo...................................................................... 31Up/down counter ................................................... 71Uploading and downloading.................................. 96Use of memory ...................................................... 47User interface, elements ......................................... 6

9Ventilation system ................................................. 99Version number ..................................................... 44View settings ......................................................... 34Voltage levels ........................................................ 52

:Wiping relay/pulse output...................................... 76

;XOR .......................................................................54

<Year clock ..............................................................80Year clock, parameter assignment example..........82

=Zoom......................................................................35Zoom factor............................................................35Zoom In..................................................................35Zoom Out ...............................................................35