Sei sulla pagina 1di 18

Aplicacin Tpica de LOGO!

Q1
(Drinking water supply line)

If the water level drops below level (I1), the drinking water supply is to switch on automatically. If the water level reaches level (I2), the drinking water supply is to switch off automatically.

I3 (Pump off)

I2
(Drinking water supply off)

I1
(Drinking water supply on)

I4
(Pump off)

SIMATIC Totally Integrated Automation

Paso 1: Insertando Conectores (CO)


How many inputs and outputs are needed to solve this task?

1. The tool must be selected if you want to place input blocks, output blocks, memory bits, or constants (high, low) on the programming interface. 2. Then, the specific function blocks are selected using this symbol bar: 3. The following symbol now appears in the work area:

3.

2.
Now, move the mouse to the required position. The function is inserted by clicking the left mouse button.

1.

SIMATIC Totally Integrated Automation

Paso 2: Insertando Funciones Basicas (BF)


Which basic functions are needed to solve this task?

1. Select the tool if you want to place simple basic logic elements of Boolean algebra on the programming interface. 2. A specific function block is selected using the symbol bar. 3. The following symbol appears in the work area:

3.

2.

1.

Now, move the mouse to the required position. The function is inserted by clicking the left mouse key.

SIMATIC Totally Integrated Automation

Paso 3: Insertando Funciones Especiales (SF)


Which special functions are needed to solve this task?

1. Select the tool if you want to place additional functions on the programming interface. 2. A specific function block is selected using the symbol bar. 3. The following symbol now appears in the work area:

3. 2.

1.

Now, move the mouse to the required position. The function is inserted by clicking the left mouse button.

SIMATIC Totally Integrated Automation

Paso 4: Conectando los Bloques


In order to complete the circuit, the individual blocks must be connected to one another:

1. The tool must be selected if you want to connect the inputs and outputs of the function blocks to one another. Now, point the mouse to a connection pin of a block and click using the left mouse button. Keeping the mouse button pressed, move the mouse until it is pointing at the pin that you want to connect to and release the mouse button. LOGO!Soft Comfort then connects the two pins together. This results in a connection between two block pins. Use the same procedure for the other connections.

SIMATIC Totally Integrated Automation

Paso 5: Insertando Campo de Textos (1)


Inserting text fields makes the program easier to understand. LOGO! Soft Comfort gives you several options for inserting text in the program structure:

1. Use the context menu to inserting a comment for each block in the program.

SIMATIC Totally Integrated Automation

Paso 5: Insertando Campo de Textos (2)


2. Insert your own text field.

A
2. 3. 1. 4.

SIMATIC Totally Integrated Automation

Paso 6: Moviendo y Ordenando


Once the function blocks are inserted and connected, the circuit program is done. Some follow-up work is needed, however, to obtain a view of the created circuit that is visible at a glance and easy to understand. Objects placed in the work area such as function blocks, lines, and text fields can be moved:

1. Select the tool if you want to move function blocks, text fields, or connection lines.

SIMATIC Totally Integrated Automation

Paso 7: Alineando los Bloques


To achieve a more attractive and easier-to-view appearance for your program, you can align the individual function blocks vertically or horizontally.

1. First, the function blocks that are to be aligned must be selected.

2. Activate the button to vertically align the selected function blocks.

SIMATIC Totally Integrated Automation

Paso 8: Asignando Parametros (1)


In the case of special functions and basic functions, there us a tab for comments and one or more tabs for parameters. Here, you can specify values or settings that are to be adopted by the function block in its circuit.

1.

2.

1. Select function and click using the right mouse button. or 2. Select the Block Properties menu item.

Double-click the function using the left mouse button.

3. Another address can be assigned for each individual input and output block by means of block parameter assignment. However, only the inputs and outputs not already assigned in the circuit program are considered in the selection.

SIMATIC Totally Integrated Automation

Paso 8: Asignando Parametros (2)


In addition, you have the option of changing and checking all of the block properties centrally.

SIMATIC Totally Integrated Automation

Paso 9: Asignando Nombres de Conexin


For the sake of clarity, you can also assign symbolic names for the input and output connectors in addition to the text fields in the program:

SIMATIC Totally Integrated Automation

Paso 10: Dar Formato a los Comentarios

SIMATIC Totally Integrated Automation

Paso 11: Documentacin (1)


For purposes of program documentation, you can display all of the connectors, basic functions, and special functions used in the program.

A list of all blocks used in the program is displayed using the Edit -> Go to Block menu command. The list contains information on the block number and the type of the block. For example, you can display the special functions that you used. You can enter the brief description of the block, I1, Q2, B02, etc., in the search function, and you will be shown the position of the block in the list. Clicking OK causes the block that you searched for to be highlighted.

SIMATIC Totally Integrated Automation

Paso 11: Documentacin (2)


You obtain additional information for program documentation from the information window. It is usually located at the lower edge of the screen.

The View -> Information Window menu command displays program messages. Following simulation of a circuit program, the resources used along with the current date and time of day are displayed in the information window.

SIMATIC Totally Integrated Automation

Paso 11: Documentacin (3)


Program or system data can be entered using the File -> Properties menu item in the General tab. These data are displayed in the program printout in the parent window below.

SIMATIC Totally Integrated Automation

Paso 11: Documentacin (4)

SIMATIC Totally Integrated Automation

Paso 11: Documentacin (5)


You can define which documents are to be printed under Properties in the Print Preview window. The circuit diagram, the parameter list, and the list of connector names are normally selected.

SIMATIC Totally Integrated Automation

Paso 11: Documentacin (6)


In the case of large or complex programs, it is often useful to divide up the circuit diagram onto several pages.

SIMATIC Totally Integrated Automation

Paso 11: Documentacin (7)


Various connection lines must be separated when the program is divided onto several pages.

The connection lines can be easily separated using the selected cut tool. The interfaces are uniquely labeled by the page number, block number, and input pin. By clicking on one of the interface wildcards again using the cut tool, the separation is undone.

SIMATIC Totally Integrated Automation

Paso 12: Prueba del Programa (1)


Once the programming and documentation is completed, the program is tested. Q1
(Drinking water supply)

I2 I1 I4

You know that your program can run in LOGO!, but you still have to check whether it functions as intended. You may also want to modify some parameters.You can experimentally change the input values, test the response to a power failure, and compare your calculations or expectations with the actual output behavior.

SIMATIC Totally Integrated Automation

Paso 12: Prueba del Programa (2)


An excellent tool is available for testing your program. 1. Select the test your program. tool if you want to

3.

2. Once the simulation is activated, a symbol bar for operator control and monitoring of inputs and outputs is called. A software switch is used to simulate a power failure in order to test the retentive features of the circuit behavior. 3. The input states can be modified by clicking the button in the symbol bar (2) or clicking on the inputs in the display.

2.

3. 1.

The connection sequence can be tracked by the change in color of the connection lines from blue (low signal) to red (high signal). This facilitates the detection and removal of errors significantly.

SIMATIC Totally Integrated Automation

Paso 12: Prueba del Programa (3)


As an additional aid for program testing, a particular switch function can be assigned to each input.

The context menu (right mouse click) can be used to assign an appropriate switch function to each of the inputs used in the program. You can select from a momentary-contact switch, maintained-contact switch, and frequency input. For frequency inputs, the simulated frequency setting in Hz can be entered. For analog inputs, the range and the starting value is specified. These parameters can also be changed and reviewed centrally using the Extras -> Simulation parameters menu command.

SIMATIC Totally Integrated Automation

Paso 13: Asignar un Password al Programa


In order to protect the program and the knowledge it contains, you can assign a 10-digit password to be applicable to this program alone.

This password protects your program only on LOGO! Without the password, you cannot change or view the program, only delete it. The password is also needed to download a password-protected program to a PC. To delete a previously assigned password, enter the old password and leave the new password blank.

SIMATIC Totally Integrated Automation

Paso 14: Transferir Programa a LOGO! (1)


When programming in LOGO!Soft Comfort 3, you have the option of first implementing your circuit program and then determining the required unit using the Extras -> Define LOGO! menu command, or you can use the Extras -> Unit Selection menu command to first define the LOGO! unit for which you want to create your circuit program.

The unit selection shows the available function blocks and memory resources for each selected unit.

SIMATIC Totally Integrated Automation

Paso 14: Transferir Programa a LOGO! (2)


Once a successful program test has been performed, the program should be transferred to the LOGO! Certain requirements must be satisfied for this.

SIEMEN S Program ..

SIEMEN S

SIEMENS PC <-> Stop? Press ESC


LOGO!

>

PC <-> -> Card Card ->

>

PC / Card .. Clock .. Start


E S C

LOG O!

O K

LOGO !

E S C

O K

ESC

OK

1.

2.

The LOGO! unit must be connected with the PC cable and prepared for the transfer using the PC/Card, PC <-> setting.

SIMATIC Totally Integrated Automation

Paso 14: Transferir Programa a LOGO! (3)


All preparations have been made. The program can now be transferred. Select the function to transfer a circuit program created in the PC with LOGO! Soft Comfort to a LOGO! unit. Prior to transferring, LOGO! identifies the minimum version required for the created circuit program. If the created circuit program cannot be transferred to the available LOGO! unit, an error message is displayed and the transfer is canceled.

A message is displayed in the status bar indicating that the data transfer was successful.

If LOGO! is not suitably prepared for the data transfer, an error message is displayed.

SIMATIC Totally Integrated Automation

Paso 15: Poner LOGO! a RUN


SIEMENS PC <-> Stop? Press ESC
LOGO!

ESC

OK

SIEMENS > Program .. PC / Card .. Clock .. Start


LOGO!

ESC

OK

SIEMENS Program .. PC / Card .. Clock .. > Start


LOGO!

ESC

OK

2.

1.
LOGO! 12/24 RC SIEMENS Q1

3.

I :0.,1.,2.
1 23456789

I3 (Pump off)

0123456789 01234 LOGO!


ESC OK

I2 I1 I4

SIMATIC Totally Integrated Automation

Paso 16: Ajustar Hora y Fecha (1)


The software can also be used to set the system clock in LOGO! Of course, the time of day can also be set directly on the unit.

To be able to use this function, the LOGO! must be placed in the PC/Card, PC <-> transfer mode again. Pressing the Write button transfers the time-of-day setting to the LOGO!

SIMATIC Totally Integrated Automation

Paso 16: Ajustar Hora y Fecha (2)


With LOGO! Modular, you have the option of configuring the system clock to automatically change for seasonal time variations. This can be done by means of the software and directly on the device.

The LOGO! Must be placed in the PC/Card, PC <-> transfer mode for this function. The time change in effect for the selected region is applied.

SIMATIC Totally Integrated Automation

Otras Opciones
Various other settings can be made using the Extras -> Options menu command.

SIMATIC Totally Integrated Automation

Ejemplo de Aplicacin

SIMATIC Totally Integrated Automation

Control de Faja Trasnportadora


Function Description A bottle filling machine is to be controlled. Part 1 The conveyor control is switched on or off using (I1). When the conveyor control is switched on, the motor for the conveyor belt (Q1) runs. The motor is able to be switched off at any time by means of Off (I3). Part 2 When the sensor (I2) detects a bottle, the motor is switched off for 3 seconds (filling operation). Afterwards, the motor starts running again.

I3 (OFF)

I2
(Fill)

I1
(ON)

SIMATIC Totally Integrated Automation

Solucin: Control de Faja Part 1 (1)


Part 1 The conveyor control is switched on or off using (I1). When the conveyor control is switched on, the motor for the conveyor belt (Q1) runs. The motor is able to be switched off at any time by means of Off (I3).

I3 (OFF)

I2
(Fill)

I1
(ON)

SIEMENS Edit Prg

>

Prg Name Clear Prg Password


LOGO! 12/24 RC B02 1 I3 B01 B02 I1 x & Q1 B01 B02 I1 x & Q1 B01 Q1 B01 Q1 B01
ESC OK

SIMATIC Totally Integrated Automation

Solucin: Control de Faja Part 1 (2)


Part 1 The conveyor control is switched on or off using (I1). When the conveyor control is switched on, the motor for the conveyor belt (Q1) runs. The motor is able to be switched off at any time by means of Off (I3).

I3 (OFF)

I2
(Fill)

I1
(ON)

SIMATIC Totally Integrated Automation

Solucin: Control de Faja Part 2


Part 2 When the sensor (I2) detects a bottle, the motor is switched off for 3 seconds (filling operation). Afterwards, the motor starts running again.

I3 (OFF)

I2
(Fill)

I1
(ON)

SIMATIC Totally Integrated Automation

Potrebbero piacerti anche