ue logo!-ejemplos de aplicación

Upload: liam-jj

Post on 05-Apr-2018

227 views

Category:

Documents


1 download

TRANSCRIPT

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    1/18

    SIMATIC Totally Integrated Automation

    Aplicacin Tpica de LOGO!

    If the water level drops below level (I1), the drinking watersupply is to switch on automatically.

    If the water level reaches level (I2), the drinking water supply isto switch off automatically.

    P

    I3 (Pump off)

    I1(Drinking water supply on)

    I2

    (Drinking water supply off)

    I4(Pump off)

    Q1(Drinking water supply line)

    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:

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

    mouse button.1.

    2.

    3.

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    2/18

    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:

    Now, move the mouse to the required

    position. The function is inserted by clicking

    the left mouse key.1.

    2.

    3.

    SIMATIC Totally Integrated Automation

    Paso 3: Insertando Funciones Especiales (SF)

    2. A specific function block

    is selected using the symbol

    bar.

    3. The following symbol now

    appears in the work area:

    Now, move the mouse to the

    required position. The

    function is inserted by

    clicking the left mousebutton.

    1. Select thetool if you want to place

    additional functions on the

    programming interface.

    Which special functions are needed to solve this task?

    1.

    2.

    3.

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    3/18

    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.

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    4/18

    SIMATIC Totally Integrated Automation

    Paso 5: Insertando Campo de Textos (2)

    2. Insert your own text field.

    A

    1.

    2.3.

    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.

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    5/18

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

    Double-click

    the function

    using the leftmouse 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 inthe selection.

    1. Select function and

    click using the right

    mouse button.

    2. Select theBlock

    Properties menu item.

    or

    2.

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    6/18

    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:

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    7/18

    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 Blockmenu 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 theblock in the list. Clicking OK causes the block that you searched

    for to be highlighted.

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    8/18

    SIMATIC Totally Integrated Automation

    Paso 11: Documentacin (2)

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

    The View -> Information Windowmenu

    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 -> Propertiesmenu item in the General tab. These data

    are displayed in the program printout in the parent window below.

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    9/18

    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 Propertiesin the Print Preview window. The

    circuit diagram, the parameter list, and the list of connector names are normally selected.

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    10/18

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

    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.

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    11/18

    SIMATIC Totally Integrated Automation

    Paso 12: Prueba del Programa (1)

    Once the programming and documentation is completed, the program is tested.

    I1

    I2

    I4

    Q1(Drinking water supply)

    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 tool if you want to

    test your program.

    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.

    1.

    2.

    3.

    3.

    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.

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    12/18

    SIMATIC Totally Integrated Automation

    Paso 12: Prueba del Programa (3)

    As an additional aid for program testing, a particular switch functioncan 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 passwordand leave the

    new passwordblank.

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    13/18

    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 thendetermining the required unit using the Extras -> Define LOGO!menu command,

    or you can use the Extras -> Unit Selectionmenu 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.

    LOGO!

    OK

    ESC

    Program ..

    PC / Card ..

    Clock ..

    Start

    >

    SIEMENS

    LOGO!

    OK

    ESC

    SIEMENS

    PC

    -> Card

    Card ->

    >

    LOGO!

    OKESC

    SIEMENS

    PC

    Stop?Press ESC

    1. 2.

    The LOGO! unit must be connected with the PC cable and prepared for the transfer using the PC/Card, PC

    setting.

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    14/18

    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.

    If LOGO! is not suitably prepared for the data

    transfer, an error message is displayed.

    A message is displayed in the status

    bar indicating that the data transfer

    was successful.

    SIMATIC Totally Integrated Automation

    Paso 15: Poner LOGO! a RUN

    LOGO!OKESC

    SIEMENS

    PC

    Stop?Press ESC

    LOGO!OKESC

    Program ..

    PC / Card ..

    Clock ..Start

    >SIEMENS

    LOGO!OKESC

    Program ..

    PC / Card ..

    Clock ..Start>

    SIEMENS

    1.2.

    3.

    P

    I3 (Pump off)

    I1

    I2

    I4

    Q1LOGO! 12/24 RC

    LOGO!

    OKESC

    SIEMENS

    I :0.,1.,2.

    23456789

    0123456789

    01234

    1

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    15/18

    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 ofday can also be set directly on the unit.

    To be able to use this function, theLOGO! must be placed in the

    PC/Card, PC transfer mode

    again.

    Pressing the Writebutton 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.

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    16/18

    SIMATIC Totally Integrated Automation

    Otras Opciones

    Various other settings can be made using the Extras -> Optionsmenu command.

    SIMATIC Totally Integrated Automation

    Ejemplo de Aplicacin

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    17/18

    SIMATIC Totally Integrated Automation

    Control de Faja Trasnportadora

    I1(ON)

    I3 (OFF)I2(Fill)

    Function Description

    A bottle filling machine is to be controlled.

    Part 2 When the sensor (I2) detects a bottle,the motor is switched off for 3

    seconds (filling operation).Afterwards, the motor starts runningagain.

    Part 1 The conveyor control is switched onor off using (I1).

    When the conveyor control isswitched on, the motor for theconveyor belt (Q1) runs.

    The motor is able to be switched offat any time by means of Off (I3).

    SIMATIC Totally Integrated Automation

    Solucin: Control de Faja Part 1 (1)

    I1(ON)

    I3 (OFF)I2(Fill)

    Part 1 The conveyor control is switched onor off using (I1).

    When the conveyor control isswitched on, the motor for the

    conveyor belt (Q1) runs.

    The motor is able to be switched offat any time by means of Off (I3).

    OKESC

    Edit Prg

    Prg Name

    Clear Prg

    Password

    >

    LOGO! 12/24 RC

    SIEMENS

    Q1B01Q1B01Q1

    B02B01

    I1

    x

    &

    Q1

    B02B01

    I1x

    &

    B01

    B02

    I3

    1

  • 7/31/2019 UE LOGO!-Ejemplos de Aplicacin

    18/18

    SIMATIC Totally Integrated Automation

    Solucin: Control de Faja Part 1 (2)

    I1(ON)

    I3 (OFF)I2(Fill)Part 1 The conveyor control is switched on

    or off using (I1).

    When the conveyor control isswitched on, the motor for theconveyor belt (Q1) runs.

    The motor is able to be switched offat any time by means of Off (I3).

    SIMATIC Totally Integrated Automation

    Solucin: Control de Faja Part 2

    I1(ON)

    I3 (OFF)I2(Fill)Part 2 When the sensor (I2) detects a bottle,

    the motor is switched off for 3seconds (filling operation).Afterwards, the motor starts runningagain.