Top Banner

of 53

FPWIN 6.1

Apr 07, 2018

Download

Documents

Zed Espada
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • 8/3/2019 FPWIN 6.1

    1/53

  • 8/3/2019 FPWIN 6.1

    2/53

    1. Click START2. Click All

    Programs3. Click Panasonic-

    EW Control4. Click FPWIN Pro

    65. Click icon FPWIN

    Pro 6

  • 8/3/2019 FPWIN 6.1

    3/53

    Create a new project

    with the start-up wizard.

  • 8/3/2019 FPWIN 6.1

    4/53

    Everything is pre-selected in the wizard(but changeable):

    File location

    PLC type

    Program name

    Click for Create

    Project

    Editor type

  • 8/3/2019 FPWIN 6.1

    5/53

    Hardware

    The Navigator provides a structured

    overview of your program:

    Variables

    Programs

    The programming window appears

    on the right side of your screen.

    Libraries

    See the next slidefor detailed

    information on theproject navigator.

  • 8/3/2019 FPWIN 6.1

    6/53

    Variables

    Task pool

    Libraries

    Hardware

    POU pool

    Programs

    In the Library Pool all instructions, functions and

    function blocks which are available are stored.

    With the sytem registers it is possible to change

    hardware characteristics (e.g. no. ofTimers/Counters)

    The programs of the POU pool have to be entered

    into the Task pool as program or interrupt.

    This will be done automatically with the start wizard.

    If IEC 61131-3 programming style is used, the

    global variables have to be entered here.

    The programs are stored in the POU pool.

    Several programs are allowed.

    Each program has a header (variables) and a

    body (program code).

    The header is only used for IEC 61131-3 style.

    The start wizard installs 1 program; more programscan be added with the menu: EDIT -> New -> POU.

    Navigator explanation:

  • 8/3/2019 FPWIN 6.1

    7/53

    ASPECTSSEQUENTIAL FUNCTION CHART

    (SFC) / PANASONICSTATEMENT LIST / FESTO

    INPUT / OUTPUT16 INPUTS / 14 OUTPUTS 32 INPUTS / 16 OUTPUTS

    ALLOCATION LISTX

    OPERANDS

    X0 X9

    XA XF

    Y0 Y9

    YA YD

    I0.0 I0.7

    I1.0 I1.7

    I2.0 I2.7

    I3.0 I3.7

    O0.0 O0.7

    O1.0 O1.7

    INPUTS

    OUTPUTS

    OUTPUTS

    INPUTS

  • 8/3/2019 FPWIN 6.1

    8/53

    The big box is foroutput operands while

    the small box is forinput operands

  • 8/3/2019 FPWIN 6.1

    9/53

    Double click on the big box to insertoutput operands. Y3 is to move swivel

    drive to magazine position and Y5 is to

    switch on red light. Unlike statement list,

    in SFC output should be programmed inevery following big boxes according to

    the sequence to make sure outputcontacts activated. See the next slide for

    more details.

  • 8/3/2019 FPWIN 6.1

    10/53

    Click on the small boxand type input

    operand. XA is theoperand for start

    button.

  • 8/3/2019 FPWIN 6.1

    11/53

    Click this icon toadd step and

    transition

  • 8/3/2019 FPWIN 6.1

    12/53

    Click once on the 2nd big boxto insert the comment (up to

    the programmer). Thendouble click on the same

    box to insert outputoperands.

  • 8/3/2019 FPWIN 6.1

    13/53

    Y4 used to move swivel

    drive to position nextstation and Y7 is to

    switch on green light.

  • 8/3/2019 FPWIN 6.1

    14/53

    When swivel drive moveto the position next station,

    limit switch will activate(X4).

    Click this icon toadd step and

    transition

  • 8/3/2019 FPWIN 6.1

    15/53

    Cylinder pushes out work piece(Y0). To make green light remainswitched on until the sequenceend, Y7 should be inserted in

    every following big boxes.

  • 8/3/2019 FPWIN 6.1

    16/53

  • 8/3/2019 FPWIN 6.1

    17/53

    After cylinder retract, delay 5seconds for swivel drive move

    to the magazine position. TypeTIMER_1 to activate timer.

  • 8/3/2019 FPWIN 6.1

    18/53

    Click New Action

  • 8/3/2019 FPWIN 6.1

    19/53

    Type TIMER_1 and

    choose LadderDiagram (LD)

    Click OK

  • 8/3/2019 FPWIN 6.1

    20/53

    Timer programmed in ladder diagram.Next slide will show how.

  • 8/3/2019 FPWIN 6.1

    21/53

    Click this icon

    Choose TON

    Click Insert

  • 8/3/2019 FPWIN 6.1

    22/53

    Place TIMER here

  • 8/3/2019 FPWIN 6.1

    23/53

    Name it andpress ENTER

    TIMER ON

    al timer is started for each rising edgedetected at IN

    SWITCH ON DELAY

    t value : 0-327.27s, 32-bit value : 0-

    ,836.47s; resolution 10ms each) the

    n delay is defined here (PT = PresentTime)

    SIGNAL OUTPUT

    Is set if PT = ET

    ELAPSED TIMEthe current value of the elapsed time

    IN

    PT

    Q

    ET

  • 8/3/2019 FPWIN 6.1

    24/53

    Click Declare

  • 8/3/2019 FPWIN 6.1

    25/53

    X2 will on when

    cylinder pushes outwork piece

    T#5S indicates 5seconds

    After 5 seconds thetimer will activate

    relay 1 (R1)

    Name it and pressENTER

    Click Declare

  • 8/3/2019 FPWIN 6.1

    26/53

    Insert the SIGNAL

    OUTPUT fromTimer. Timer will

    activate R1 after 5seconds.

    Double click toopen the main

    program

  • 8/3/2019 FPWIN 6.1

    27/53

    X6 is the optical sensor to

    detect availability of work

    pieces. X6 remains on if thereis no work piece. not X6

    means normally close.

  • 8/3/2019 FPWIN 6.1

    28/53

  • 8/3/2019 FPWIN 6.1

    29/53

    Click Jump icon

  • 8/3/2019 FPWIN 6.1

    30/53

    Type JUMP

  • 8/3/2019 FPWIN 6.1

    31/53

    Click this box andclick Label icon

  • 8/3/2019 FPWIN 6.1

    32/53

    Type JUMP

  • 8/3/2019 FPWIN 6.1

    33/53

  • 8/3/2019 FPWIN 6.1

    34/53

    The sequence willcontinue from here

    until all the work

    pieces finish

  • 8/3/2019 FPWIN 6.1

    35/53

  • 8/3/2019 FPWIN 6.1

    36/53

    Click this box andclick Right

    Divergence icon

  • 8/3/2019 FPWIN 6.1

    37/53

    Name the box where we

    program counter andpress ENTER twice

  • 8/3/2019 FPWIN 6.1

    38/53

    Type

    COUNTER

  • 8/3/2019 FPWIN 6.1

    39/53

    Click New Action

  • 8/3/2019 FPWIN 6.1

    40/53

    Type COUNTERand choose LadderDiagram (LD)

    Click OK

  • 8/3/2019 FPWIN 6.1

    41/53

  • 8/3/2019 FPWIN 6.1

    42/53

    Click this icon

    Choose CB_FB

    Click Insert

    Name it and

  • 8/3/2019 FPWIN 6.1

    43/53

    Name it andpress ENTER

    COUNT CONTACT

    Each time a rising is detected at Count, the

    value 1 is subtracted from the elapsed value

    EV until the value 0 is reached

    COUNT

    RESET CONTACT

    Each time a rising edge is detected at Reset,

    the value 0 is assigned to EV and the signal

    output C is reset; each time a falling edge isdetected at Reset, the value at SV is assigned

    to EV

    SET VALUE

    Value of EV after a reset procedure

    SIGNAL OUTPUT

    Is set when EV becomes 0

    ELAPSED VALUE

    current counter value

    RESET

    SV

    C

    EV

  • 8/3/2019 FPWIN 6.1

    44/53

    Change the Classfrom VAR to

    VAR_RETAIN

    Click Declare

  • 8/3/2019 FPWIN 6.1

    45/53

    X3 is the pressure switch.

    Whenever swivel drive grip workpiece, it will send signal to the

    counter to count.

    XB is reset button.

    Its used to reset

    counter.

    SV is up to theprogrammer to decidehow many cycle he or

    she wants.

    R1 is used in timerso R2 is used in

    counter.

  • 8/3/2019 FPWIN 6.1

    46/53

    Double click

    Choose Rising Edge

    and click OK

  • 8/3/2019 FPWIN 6.1

    47/53

    Double click

    Choose Rising Edge

    and click OK

  • 8/3/2019 FPWIN 6.1

    48/53

    Click here and clickStep and

    Transition icon

  • 8/3/2019 FPWIN 6.1

    49/53

    Insert the SIGNALOUTPUT from

    Counter. Counter

    will activate R2 after3 cycles.

  • 8/3/2019 FPWIN 6.1

    50/53

    If R2 activated by counterthen swivel drive will move

    the magazine position.

    XB is reset button. Next

    step is if reset buttonpressed then the program

    jump to Initial Step

    Click Jump icon

  • 8/3/2019 FPWIN 6.1

    51/53

  • 8/3/2019 FPWIN 6.1

    52/53

  • 8/3/2019 FPWIN 6.1

    53/53