UE LOGO!-Programación

  • Upload
    liam-jj

  • View
    223

  • Download
    0

Embed Size (px)

Citation preview

  • 7/31/2019 UE LOGO!-Programacin

    1/10

    SIMATIC Totally Integrated Automation

    ! Antes:

    ! Ahora:

    1L1

    N

    No1No2No3

    L1

    S1

    L1

    L1

    L1 S1

    N

    Cableado Standard vs LOGO!

    SIMATIC Totally Integrated Automation

    LOGO! Respuesta a Power ON

    Whether a program is stored in the internal LOGO! memory

    Whether a program module is inserted

    Program in theprogrammodule orprogram in theinternalmemory

    LOGO!

    No Program

    Press ESC

    No program in theprogram moduleand no program inthe internalmemory

    SIEMENS

    LOGO!

    Program

    PC/Card..

    Clock..

    Start

    >

    If there is a program in theprogram module, it isautomatically copied to theinternal LOGO! memory. Anyprogram already present in theinternal LOGO! memory isoverwritten.

    SIEMENS

  • 7/31/2019 UE LOGO!-Programacin

    2/10

  • 7/31/2019 UE LOGO!-Programacin

    3/10

    SIMATIC Totally Integrated Automation

    Men Principal / Men Programa

    In the first position of the first line, you see a >.Using the keys, you move the > up and down.

    Move the > to Programand press . LOGO! switches to the program menu.OK

    In addition, you can move the > up and downusing the keys.

    Move the > to Edit Prg andpress the key.LOGO! now displays the first output (Q1).

    OK

    Using the keys, you can select the otheroutputs (Q1, Q2, Q3, etc.).

    When entering your circuit, take into account the followingrules ....

    LOGO! 12/24 RCOKESC

    Program ..

    PC / Card ..

    Clock ..

    Start

    >

    LOGO! 12/24 RCOKESC

    Edit Prg

    Prg Name

    Clear Prg

    Password

    >

    OKESC

    Q1

    SIEMENS

    SIEMENS

    SIEMENS

    LOGO!

    SIMATIC Totally Integrated Automation

    Reglas de Operacin de LOGO! (1)

    1. Always enter a circuit from the output tothe input.

    2. You can connect one output to more thanone input.

    3. However, you cannot connect an output to a input

    preceding it in the same path (no feedback loops).

    I

    I1

    Q

    Q1

    Q

    Q1

    &

    I1

    >

    I2

    &

    Q1

    Q

    Q2

    &

    I1

  • 7/31/2019 UE LOGO!-Programacin

    4/10

    SIMATIC Totally Integrated Automation

    Reglas de Operacin de LOGO! (2)

    4. If the cursor appears as an underscore (_), you can move it using the keys:

    Q1B01Q1B01Q1

    B02

    B01

    I1

    x

    &

    Q1

    B02

    B01

    I1

    x

    &

    B01

    B02

    I3

    1

    SIMATIC Totally Integrated Automation

    Reglas de Operacin de LOGO! (3)

    Use to accept the selection

    Use to go back one step

    OK

    OK Q1BF

    Q1SF

    Q1Co

    Q1

    B01

    &

    Q1

    B01

    &

    Q1

    B01

    >1

    OKQ1

    B01

    &

    OKQ1

    B01

    &Co

    Q1

    B01

    &x

    OK

    Q1

    B01

    &I1

    5. If the cursor appears as a (solid block), you can use thekeys to select a connector (Co), a basic function (BF), or a special function (SF).

    ESC

  • 7/31/2019 UE LOGO!-Programacin

    5/10

    SIMATIC Totally Integrated Automation

    Programa Inicial

    Refer to the following parallel circuit containing two switches.

    Switch S1 and switch S2 switch the load.The parallel circuit of S1 and S2 is anOR operation in LOGO!, becauseS1 or S2 switches on the output.

    >1

    I1

    I2

    x

    Q1

    S1 S2

    K1

    K1

    E1

    v

    SIMATIC Totally Integrated Automation

    Cableado

    Switch S1 acts on input I1 and switch S2acts on input I2. The load is connected at

    relay Q1.

    You now enter the program (from theoutput to the input!). To start, LOGO!displays output Q1.

    Below the Q of Q1, you see anunderscore (_). We refer to theunderscore as a cursor. The cursorindicates your current location in theprogram.

    L1

    N

    S1

    LOGO! 12/24 RCOKESC

    Q1

    I1 I2 I3 I4 I5 I6L1 N

    Q1 Q2 Q3 Q4

    S2

    L

    N

    SIEMENS

    I7 I8

  • 7/31/2019 UE LOGO!-Programacin

    6/10

    SIMATIC Totally Integrated Automation

    Ingresando un Programa (1)

    Now, press the key. The cursormoves to the left.

    The cursor indicates your location in the

    program. You enter the first block (the OR

    block) at this location.

    Change to editing mode by pressing .OK

    The cursor now appears as a solid block

    Now, use the keys to select one of

    the following:

    Connector (Co)

    Basic function (BF)

    Special function (SF)

    LOGO! 12/24 RC

    OKESC

    Q1

    LOGO! 12/24 RC

    OKESC

    Q1

    LOGO!

    OKESC

    Q1Co

    SIEMENS

    SIEMENS

    SIEMENS

    SIMATIC Totally Integrated Automation

    Ingresando un Programa (2)

    Select the basic function using (GF) and confirmwith .

    The first block on the list of basic functions (BF) is

    the AND block.

    Now use the keys to select one of the

    following:

    OK

    AND

    AND (Edge)

    NAND

    NAND (Edge)

    OR

    NOR

    XOR

    NOT

    Select the OR block (>1

    ) and confirm with .OK

    LOGO! 12/24 RC

    OKESC

    Q1BF

    LOGO! 12/24 RC

    OKESC

    Q1

    B01

    &

    LOGO!

    OKESC

    Q1

    B01

    >1

    SIEMENS

    SIEMENS

    SIEMENS

  • 7/31/2019 UE LOGO!-Programacin

    7/10

    SIMATIC Totally Integrated Automation

    Ingresando un Programa (3)

    You have entered the first block. Each block thatyou enter has a block number (B01). Now all you

    have to do is connect the inputs of the block

    (B01).

    Press the key.OK

    The cursor now appears as a solid block

    Now, use the keys to select from the

    following:

    Connector (Co)

    Basic function (BF)

    Special function (SF)

    Select connector (Co) and confirm with .OK

    The first element in the list (Co) is an x, which

    is the character for input not used. Select input

    I1 using the keys.

    Confirm the selection with .OK

    LOGO! 12/24 RC

    OKESC

    Q1

    B01

    >1

    LOGO! 12/24 RC

    OKESC

    Q1

    B01

    >1Co

    LOGO!

    OKESC

    Q1

    B01>1I1

    SIEMENS

    SIEMENS

    SIEMENS

    SIMATIC Totally Integrated Automation

    Ingresando un Programa (4)

    Now connect input I2 to the input of the OR

    block. You already know the procedure for this:

    1. Change to editor mode with

    2. Select the Co list with

    3. Accept the Co list with

    4. Select I2 with

    5. Accept I2 with

    OK

    OK

    OK

    We do not need the last input of the OR block for

    this program. In a LOGO! program, we designate

    an unused input with an x. You now know the

    principle behind doing this:

    1. Change to editor mode with

    2. Select the Co list with

    3. Accept the Co list with

    4. Select x with

    5. Accept x with

    OK

    OK

    OK

    OKESC

    Q1

    B01>1I1

    SIEMENS

    LOGO! 12/24 RC

    OKESC

    Q1

    B01>1I1

    I2

    SIEMENS

    LOGO! OKESC

    Q1

    B01>1I1

    I2

    x

    SIEMENS

  • 7/31/2019 UE LOGO!-Programacin

    8/10

    SIMATIC Totally Integrated Automation

    Arrancando un Programa

    Now, all inputs of the block are connected.

    LOGO! considers the program to be complete.

    LOGO! jumps back to output Q1.

    If you still want to view your initial program, you can move

    the cursor through the program

    using the keys.

    In order to be able to start the program, you must

    return to the main menu using the

    key.ESC

    Using the keys, move the cursor to

    Start and confirm with the

    key.OK

    LOGO! 12/24 RCOKESC

    Q1B01

    OKESC

    Edit Prg

    Prg Name

    Clear Prg

    Password

    >

    LOGO! 12/24 RC

    LOGO!OKESC

    Program ..

    PC / Card ..

    Clock ..

    Start

    >

    SIEMENS

    SIEMENS

    SIEMENS

    However, we now leave the program entering

    step and return to the program menu

    using the key.ESC

    SIMATIC Totally Integrated Automation

    LOGO! En Modo RUN

    LOGO! displays the following in RUN mode:

    Input states:

    State of input I = 1

    State of input I = 0

    1

    1Output states:

    State of output Q = 1

    State of output Q = 0

    1

    1

    Refer to our example below:

    If switch S1 is closed, input I1 is energized and the state of input I1 = 1.

    The LOGO! program determines the output states.

    In this example, the state of output Q1 = 1.

    If the state of Q1 = 1, LOGO! enables relay Q1 and the load at Q1 is energized.

    L1

    S1=1

    S2=0

    I :0.,1.,2.

    23456789

    0123456789

    01234

    N

    Q1

    =1

    Mo 09:00

    06.21.01

    1

    Q :0.,1.

    23456789

    0123456

    1The window on the left shows the time of day

    and the date.

    The window in the center shows the input states

    (I1 to I9; I10 to I19; I20 to I24).

    The window on the right shows the output

    states (Q1 to Q9; Q10 to Q16)

  • 7/31/2019 UE LOGO!-Programacin

    9/10

    SIMATIC Totally Integrated Automation

    Asignando Parametros en LOGO! (1)

    Assigning parameters of functions:

    You can assign the following:

    Time delays of time functions

    Switching times for timer switches

    Threshold for a counter

    Monitoring interval of an elapsed time counter

    On and off thresholds for the threshold switch

    By assigning parameters, we mean the assignment of parameters of

    functions.

    You can assign parameters in the following operating modes:

    Programming

    Parameter assignment

    You reach parameter assignment mode by pressing the

    key in RUN mode, placing the cursor on Set Param,

    and confirming with the key.OK

    ESC

    LOGO! 12/24 RC

    LOGO!

    OKESC

    I :0.,1.,2.

    123456789

    0123456789

    01234

    SIEMENS

    LOGO! 12/24 RC

    LOGO!

    OKESC

    Stop

    Set Param

    Set Clock

    Set Name

    >

    SIEMENS

    SIMATIC Totally Integrated Automation

    Asignando Parametros en LOGO! (2)

    When the setting for the required block has been made, press

    the key. The cursor jumps to the first parameter

    to be modified. You can now modify the value using the

    keys.

    OK

    When the setting for the required value has been made,

    press the key. The cursor jumps to the block

    number. Using the keys, you can select the

    next block to be changed, and so on.

    OK

    Select a block:

    In parameter assignment mode, select the appropriate block

    using the keys.

    LOGO! 12/24 RC

    OKESC

    B01:ParLim=005

    Cnt=000000

    LOGO! 12/24 RCLOGO! 12/24 RC

    OKESC

    B04: TT = 5.0s

    Ta=0.0s

    LOGO! 12/24 RCLOGO! 12/24 RC

    LOGO!OKESC

    B07: TT = 8.0s

    Ta=0.0s

    SIEMENS

    SIEMENS

    SIEMENS

  • 7/31/2019 UE LOGO!-Programacin

    10/10

    SIMATIC Totally Integrated Automation

    Asignando Parametros en LOGO! (3)

    ESC Use the key to return to the menu.

    ESC Use the key to return to RUN mode.

    LOGO! 12/24 RCLOGO! 12/24 RC

    LOGO!

    OKESC

    B07: TT = 8.0s

    Ta=0.0s

    SIEMENS

    LOGO! 12/24 RC

    LOGO!

    OKESC

    Stop

    Set Param

    Set Clock

    Set Name

    >

    SIEMENS

    LOGO! 12/24 RC

    LOGO!

    OKESC

    I :0.,1.,2.

    123456789

    0123456789

    01234

    SIEMENS

    SIMATIC Totally Integrated Automation

    Function RE

    Basic function 0 0 0 0

    ON delay 1 1 1 0

    OFF delay 2 1 1 0Impulse relay 1 1 1 0

    Pulse relay 1) 0 1 0 0

    Pulse relay 2) 0 0 0 1

    Clock 6 2 0 0

    Latching relay 1) 0 1 0 0

    Latching relay 2) 0 0 0 1

    Clock-pulse generator 1 1 1 0

    Latching ON delay 2 1 1 0

    Counter 1) 2 2 0 0

    Counter 2) 2 0 0 2

    Operating hours counter 2 0 0 4Trigger 3 3 1 0

    1) LOGO! - sin remanencia2) LOGO! - con remanencia

    Temporizadores (Timer)

    Set Points (Par)

    Valores Actuales (RAM)

    RE Remanencia

    Memoria Disponible en LOGO!

    F