interfase festo

Upload: balderasi

Post on 07-Apr-2018

226 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/6/2019 INTERFASE FESTO

    1/70

    _____________________________________________________

    FEC

    Manual

    GB

  • 8/6/2019 INTERFASE FESTO

    2/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 1

    Festo

    E.FEC-20-DCand

    E.FEC-20-AC

  • 8/6/2019 INTERFASE FESTO

    3/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 2

    Description: FEC Hardware DescriptionEdition: V1.7 01/ 98Author: R.Mller, Fa. Beck ; P.Janssen YC-EPMEditor: S.Baerwald, YC-ECI

    Copyright 1997 Festo AG & Co, 73726 Esslingen, Germany

    All rights reserverd, including translation rights. No part of this documentation may bereproduced by any means (printing, copying, microfilming or any other process) withoutthe written consent of Festo AG & Co.

  • 8/6/2019 INTERFASE FESTO

    4/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 3

    Contents

    FOREWORD................................................................................................. 7

    IMPROVED COST EFFECTIVENESS....................................................................................................7

    ABOUT THIS MANUAL.....................................................................................................................8

    CE CONFIRMATION........................................................................................................................9

    GUIDELINES FOR USER SAFETY AND PROTECTION OF THE FESTO FEC..........................................10

    WARNINGS:..................................................................................................................................11THE LAYOUT OF THE FEC............................................................................................................12

    DIFFERENCES BETWEEN FESTO FEC-20-DC AND FESTO FEC-20-AC .........................................13

    INSTALLATION AND WIRING.............................................................. 14

    DURING MOUNTING......................................................................................................................15

    OUTSIDE DIMENSIONS ..................................................................................................................16

    DURING WIRING ...........................................................................................................................17

    THE PIN ALLOCATION OF THE CONNECTING CABLE (FEC TO PC) .................................................18

  • 8/6/2019 INTERFASE FESTO

    5/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 4

    POWER / SENSOR SUPPLY CIRCUIT CONNECTION E.FEC-20-DC..................................................19

    POWER / SENSOR SUPPLY CIRCUIT CONNECTION E.FEC-20-DC..................................................20

    INPUTS .........................................................................................................................................21INPUT SPECIFICATIONS AND CIRCUIT CONNECTION .......................................................................22

    ANALOG POTENTIOMETER............................................................................................................27

    OUTPUTS......................................................................................................................................28

    IMPORTANT ..................................................................................................................................29

    OUTPUT SPECIFICATIONS..............................................................................................................31

    LIFE OF RELAY OUTPUT CONTACTS ..............................................................................................32

    PRELIMINARY TESTS AND MAINTENANCE....................................................................................33

    WRITING AND CHECKING A PROGRAM ..........................................................................................34

    OPERATION AND TESTING ............................................................................................................35

    PERIODIC INSPECTION ..................................................................................................................36

    ENVIRONMENTAL CONDITIONS.....................................................................................................37

    MOUNTING ..................................................................................................................................38

    TROUBLE SHOOTING AND ERROR CHECKING............................. 39

    POWER INDICATION......................................................................................................................39

  • 8/6/2019 INTERFASE FESTO

    6/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 5

    RUN INDICATION.........................................................................................................................40

    INPUT INDICATION.......................................................................................................................41

    OUTPUT INDICATION ...................................................................................................................41ERROR INDICATION ......................................................................................................................42

    ERROR WORD...............................................................................................................................42

    LIST OF SYSTEM GENERATED ERROR NUMBERS ............................................................................43

    STATEMENT LIST (STL) AND LADDER DIAGRAM (LAD) PROGRAMMING ....................................44

    OPERANDS ...................................................................................................................................45

    FLOWCHARTS...............................................................................................................................47

    TECHNICAL DATA .................................................................................. 55

    HARD AND SOFTWARE FEATURES.................................................................................................55

    ELECTRICAL FEATURES ................................................................................................................57

    INPUTS .........................................................................................................................................58

    OUTPUTS......................................................................................................................................59

    APPENDIX A .............................................................................................. 61

  • 8/6/2019 INTERFASE FESTO

    7/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 6

    COMMAND INTERPRETER (CI)......................................................................................................61

    ACCESSING THE COMMAND INTERPRETER (CI).............................................................................62

    COMMANDS .................................................................................................................................64PARAMETERS ...............................................................................................................................65

    CI EXAMPLE ................................................................................................................................67

    APPENDIX B .............................................................................................. 68

    EXPANSION OF THE FEC TO 40 I/OS ............................................................................................68

  • 8/6/2019 INTERFASE FESTO

    8/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 7

    Foreword

    The FEC is designed as a low cost versatile industrial control system that can be

    quickly and easily installed and operated by persons with little experience with

    programmable controllers.

    Improved cost effectiveness

    All functions for a small scale control system are integrated in a single housing.

    The FEC can be used in the place of conventional relay control panels and is ideally

    suited for the economical control of manufacturing and other applications with require

    small numbers of input and output control points.

  • 8/6/2019 INTERFASE FESTO

    9/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 8

    About this manual

    This manual contains text, diagrams and explanations which will guide the reader in the

    correct installation, safe use and operation of the Festo FEC and should be read and

    understood before attempting to install or use the unit.

    If in doubt at any stage during the installation of the Festo FEC please consult a

    qualified electrical engineer who is also familiar with Iocal safety and wiring standards.

    lf in doubt about the operation or use of the Festo FEC please consult your nearestFesto office.

    This manual is subject to change without notice.

  • 8/6/2019 INTERFASE FESTO

    10/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 9

    CE Confirmation

    The manufacturer declares in sole responsibility that the product

    FEC-20-DCFEC-20-AC

    is in accordance with the directive 89/336/EWG in harmonisation with the followingstandards:

    noise immunity EN 50082-2emitted interference EN 50081-2

    This is a class A device. It can cause transmission interferences in residential areas. Inthis case it is the responsibility of the user to take appropriate measures and bear anycosts incurred in stemming such interferences.

  • 8/6/2019 INTERFASE FESTO

    11/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 10

    Guidelines for user safety and protection of the Festo FEC

    This manual has been written to be used by trained and competent personnel for theinstallation of the Festo FEC product. Safety guidelines are defined by the Europeandirectives for machinery, low voltage and EMC. Throughout this manual, symbols areused to highlight information relating to the user's personal safety, and protection of theequipment's integrity. When any of these symbols are encountered, its associated noteshould be read and understood.

  • 8/6/2019 INTERFASE FESTO

    12/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 11

    Warnings:

    1) The identified danger will cause physical or property damage.

    2) The identified danger could possibly cause physical or propertydamage.

    3) Point of further interest or further explanation.

  • 8/6/2019 INTERFASE FESTO

    13/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 12

    The Layout of the FEC

    1 Sensor supply 24 V DC / 100 mA2 Input terminal3 RUN/STOP switch4 Analog timer5 Power LED6 Run/error LED

    7 Communication interface8 Extension interface9 Output terminal10 Power supply terminal

    1

    2 34

    5

    6

    78

    9

    10

  • 8/6/2019 INTERFASE FESTO

    14/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 13

    Differences between Festo FEC-20-DC and Festo FEC-20-AC

    Type Power supply voltage Max permissiblevoltage drop out time

    Powerconsumption

    E.FEC-20-DC 24V DC(+20% / -15%)

    5 msec 10 W

    E.FEC-20-AC 120 - 230 V AC(+10% / -15%)

    10 msec 15 VA

  • 8/6/2019 INTERFASE FESTO

    15/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 14

    INSTALLATION AND WIRING

    When installing the FEC, please pay attention to the environmental conditions underwhich the unit will normally operate.

    Do not install the PLC:

    in areas subject to excessive dust, oily mist, conductive dust, or corrosivegas.

    directly in areas subject to shock or vibration.

    in areas subject to high temperature, direct sun light, moisture, or rain.

    near high voltage equipment or wiring.

  • 8/6/2019 INTERFASE FESTO

    16/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 15

    The unit can be mounted on a DIN rail (DlN46277, width: 35 mm/1.38 in) or directly byusing M4 screws. (Refer to the following diagram for outside dimensions and mounting

    hole centres.)

    During mounting

    Be sure to mount the unit as far as possible from high-voltage equipment andlarge power equipment.

    Do not allow wire cuttings, fillings or shavings to fall into the unit when drilling holes orconnecting cables.

    Avoid mounting the PLC directly above any heat-generating source, such as a heater,transformer or high wattage resistor.

    If the ambient temperature is above 55oC within the cabinet you must install a fan for

    forced air ventilation.

  • 8/6/2019 INTERFASE FESTO

    17/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 16

    Outside dimensions

    0

    0

    1

    1

    02

    2

    13

    3 4 5 6 7

    24 35 6 7

    OUT

    S1S0IN

    RUN

    POWER

    SENSOR

    SUPPLY

    POWER

    4 5 60 1 2 3 7 1210 11 13

    24V 0V

    24V 0V

    C0 C1 C20 1 2 3 4 5 6 7 FEC20-DC

    RUN STOP

    EXT. COM

    130,0

    53,

    0

    122,5

    4,

    0

    80,

    0

    60,0

  • 8/6/2019 INTERFASE FESTO

    18/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 17

    During wiring

    Separate signal input and output wiring in separate ducting and avoid bundlingthe signals together.

    Do not use the same multi core cable for signal input and output wiring

  • 8/6/2019 INTERFASE FESTO

    19/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 18

    The pin allocation of the connecting cable (FEC to PC)

    15

    6

    9

    1

    4

    1

    234

    1

    23456789

    E.KFEC-PC150

  • 8/6/2019 INTERFASE FESTO

    20/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 19

    Power / Sensor supply circuit connection E.FEC-20-DC

    0

    0

    1

    1

    02

    2

    13

    3 4 5 6 7

    24 35 6 7

    OUT

    S1S0IN

    RUN

    POWER

    SENSORSUPPLY

    POWER

    4 5 60 1 2 3 7 1210 11 13

    24V 0V

    24V 0V

    C0 C1 C20 1 2 3 4 5 6 7 FEC20-DC

    RUN STOP

    EXT. COM

    Sensor supply +24 V Sensor supply 0 V

    Power supply

    24 V DC

    Power supply0 V

    Power supply

  • 8/6/2019 INTERFASE FESTO

    21/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 20

    Power / Sensor supply circuit connection E.FEC-20-DC

    0

    0

    1

    1

    02

    2

    13

    3 4 5 6 7

    24 35 6 7

    OUT

    S1S0IN

    RUN

    POWER

    SENSORSUPPLY

    POWER

    4 5 60 1 2 3 7 1210 11 13

    L N

    24V 0V

    C0 C1 C20 1 2 3 4 5 6 7 FEC20-AC

    RUN STOP

    EXT. COM

    Sensor supply +24 V Sensor supply 0 V

    Power supply

    L

    Power supplyN

    Power supply

  • 8/6/2019 INTERFASE FESTO

    22/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 21

    Inputs

    12-PNP or -NPN inputs (automatic detection) first group 8 inputs, second group 4inputs

    The last two inputs of the second group can also be used as counters with amaximum counting frequency of 4 kHz (via sw module).

    Galvanic isolation (optoelectronic coupler)

    Delay time 5 msec

    Signal indication through LEDs (after galvanic isolation).

    Connection via 14-pin screw type terminal. (each terminal accommodates 2 x

    0.75mm2

    wires)

  • 8/6/2019 INTERFASE FESTO

    23/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 22

    Input specifications and circuit connection

    Specifications

    12 inputs NPN or PNP

    Input voltage 24V DC Input current 7mA

    Delay time 5 msec

    Input sensitivityVoltage ON 15V DC min. Voltage OFF 5V DC max.

    currentOFF / ON 4.5mA or more ON / OFF 1.4mA or less

  • 8/6/2019 INTERFASE FESTO

    24/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 23

    DC power supply type [+] common [source) connection

    Class 3 ground(

  • 8/6/2019 INTERFASE FESTO

    25/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 24

    AC power supply type [+] common (source) connection

    PNP type

    Class 3 ground(

  • 8/6/2019 INTERFASE FESTO

    26/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 25

    DC power supply type [-] common (sink) connection

    NPN type

    Class 3 ground(

  • 8/6/2019 INTERFASE FESTO

    27/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 26

    AC power supply type [-] common (sink) connection

    NPN type

    Class 3 ground(

  • 8/6/2019 INTERFASE FESTO

    28/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 27

    Analog potentiometer

    The FEC includes an analog potentiometer which can be easily adjusted with a screwdriver within a decimal value range of 1 ... 63. This value can be evaluated by the user'sapplication program as the current setting of the potentiometer is stored within a logicalInput Word (IW).

    This built-in feature provides an economical manner for performing tasks such as

    "fine-tuning" operating parameters (e.g. timer values) or a variety of similar tasks.

    This feature can be enabled / disabled by means of the FST software.

  • 8/6/2019 INTERFASE FESTO

    29/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 28

    Outputs

    8 relay outputs 1- normally open contact per output in groups of 4/2/2.

    Switching voltage max. 30 V DC or 250 V AC

    switching current 2 A max.

    contact rating see chapter " Life of relay output contacts " in this manual

    Delay time 10 msec

    Signal indication LED for every output

    Connection 12-pin screw-type terminal, (each terminal accommodates

    2x0,75 mm wires)

  • 8/6/2019 INTERFASE FESTO

    30/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 29

    Important

    Do not connect to any of the unused terminals.

    Since a fuse is not included in the output circuit of the programmable controller (PLC),

    a 5 to 10 A fuse should be used for every group of 4 output points to prevent the PLC

    output circuitry from being damaged due to a load short circuit, etc.

    Connecting a surge absorbing diode in parallel to DC inductiveloads will greatly lengthen the service life of the relay contacts.

    For loads such as forward/reverse motor contactors which may be dangerous if turned

    on simultaneously, interlocks external from the PLC, as well as programmed interlocks,should be used to prevent such loads from simultaneous activation.

  • 8/6/2019 INTERFASE FESTO

    31/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 30

    For emergency stop functions, the output loads should be turned of using a

    switch external to the PLC which isolates power from the output terminals.

    When connecting an emergency stop circuit please ensure adherence to localwiring and safety regulations.

    In the case of operation with inductive loads, the surge voltage suppression

    circuits available from the various manufacturers should be used in order tosuppress electrical interference.

    Connecting a surge suppressor in parallel to an AC inductive load will reduce electricalnoise generation.

  • 8/6/2019 INTERFASE FESTO

    32/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 31

    Output specifications

    Specification

    Rated current 2 A per output point

    Load voltage 250 V AC30 V DC or less

    Max. load 80 VA(inductive)100 W (lamp)

    Response time Approx. 10 msec

  • 8/6/2019 INTERFASE FESTO

    33/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 32

    Life of relay output contacts

    Specified service life of contactors or solenoid valves shown in the table below.

    Current / load resistive load inductive load

    no current 20.000.000 cycles

    0.2 A 1.000.000 cyles 800.000 cycles

    1 A 500.000 cycles 300.000 cycles

    2 A 300.000 cycles 100.000 cycles

  • 8/6/2019 INTERFASE FESTO

    34/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 33

    Preliminary Tests and Maintenance

    Power: OFF

    Incorrect connection of the Power supply terminals, a short between the DC input lines

    and the power supply cable, or a short in the output lines may seriously damage the

    PLC. Before turning on the power, check the power supply and ground connections andthe input/output line connections.

    If it is necessary to measure the PLC maximum withstand voltage and insulation

    resistance, disconnect the input and output lines and the power supply cable from the

    PLC, and perform the measurement tests across a common point of all the terminals

    and the ground terminal.

  • 8/6/2019 INTERFASE FESTO

    35/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 34

    Writing and checking a program

    Power: ON, PLC: STOP

    Write a program by using a peripheral device such as a PC together with the Festosoftware package FSTIPC / FEC.

    Check the program to make sure it has been written correctly. Syntax checking of

    errors will be done automatically when you download the program(s) from theprogramming device into the FEC.

    For testing of wiring or output devices, each output can be forced ON and OFF with the

    programming device when the PLC is in STOP condition.

    If the RUN/STOP switch is switched to RUN, then the previously loaded program

    should have been completed. The RUN LED will change colour from yellow (or red) togreen.

  • 8/6/2019 INTERFASE FESTO

    36/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 35

    Operation and testing

    Power: ON, PLC: STOP

    The FEC is equipped with an internal RUN/STOP switch. As a further option, a so-called remote RUN/STOP switch can be used. This remote RUN/STOP switch is anexternal switch, assigned to one of the FEC's inputs. If this option is to be used, thenthis input must be defined as an additional RUN/STOP switch in the configuration.

    When the RUN/STOP switch is set to STOP (also when remote RUN/STOP switch isused) the RUN LED lights YELLOW (or in case of error the RUN LED lights "RED").

  • 8/6/2019 INTERFASE FESTO

    37/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 36

    Power: ON PLC: RUN

    When the RUN/STOP switch is set to RUN (when no remote RUN/STOP switch isused) the RUN LED lights GREEN and the PLC starts to execute. It is possible to

    change the settings for timers, counters, data registers, flags or force devices ON or

    OFF while the PLC is running. However, these values can be altered whilst the program

    is being processed.

    Regular inspection

    Regular inspections and appropriate maintenance of the PLC are essential to ensure

    the full service life of your PLC and trouble-free operation of your control system

    This PLC is not equipped with any consumable or user serviceable parts which may

    shorten the service life of the PLC. However it is necessary before operation to check

    the service life of output relays if they are operated frequently or used to drive largecapacity loads. Please see table in the chapter Life of relay output contacts

  • 8/6/2019 INTERFASE FESTO

    38/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 37

    Also check the following points:

    Environmental conditions

    Ambient temperature in the control panel 0 to 55oC

    Humidity 0 to 95 % Relative Humidity without condensation

    Dust must be relatively dust-free

  • 8/6/2019 INTERFASE FESTO

    39/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 38

    Mounting

    Caution:

    Be sure that the power is OFF before replacing any cables or other activities

    Ensure mounting screws are not loose.

    Ensure terminal screws for external wiring are not loose.

    Any external wiring must be free from visible damage.

  • 8/6/2019 INTERFASE FESTO

    40/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 39

    Trouble Shooting and Error checking

    If a problem occurs while the PLC is running first check the power supply voltage, thePLC terminal screws and the input output devices for looseness or other abnormalities.As a second step check the LEDs on the PLC as described below.The LEDs will help you determine if the PLC is faulty or if the problem is being causedby an external reason.

    Power indication

    POWER LED

    The power LED of the PLC panel is lit by the internal 5V power supply of the PLC.

    If the LED is not lit when the power is turned on then disconnect the 24V Sensor-supplyterminal. If the POWER LED lights then this indicates that the sensor power load is too

  • 8/6/2019 INTERFASE FESTO

    41/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 40

    high. In this case the sensors must be powered by an external 24volt power supply.

    The internal fuse in the FEC may blow if conductive foreign matter has entered the PLCor other fault conditions exist. If this is the case and changing the fuse does not solvethe problem, please contact your local FESTO office for further advice.

    RUN indication

    If the RUN LED does not light "GREEN when the RUN/STOP switch is set to RUNperform the checks in the section Error indication below.

    If the RUN LED lights GREEN when the RUN/STOP switch is set to RUN but theprogram will not execute perform the following checks:Check your settings for remote RUN/STOP switch (Configuration in the programmingsoftware). It may be this run/stop input is set to "STOP".

  • 8/6/2019 INTERFASE FESTO

    42/70

  • 8/6/2019 INTERFASE FESTO

    43/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 42

    Error indication

    RUN LED lights "RED"A program or internal error is indicated. The error number can read out via the CI(Command Interpreter test system of the FEC) of the FSTIPC / FEC software packageor the Service Device Unit. (option)

    Error word

    There is currently no automated recognition of the presence and service ability ofconnected inputs or outputs. In applications in which this can result in problemsappropriate measures must be taken (additional program with operational test, externalsignal detection, feedback of signals etc.). Additional appropriate error numbers can becreated from these in the user program.

  • 8/6/2019 INTERFASE FESTO

    44/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 43

    List of system generated error numbers

    The following error numbers are currently generated by the PLC operating system:6 Program 0 not found on start7 Program not found9 Project could not be started11 I/O stage defective34 Arithmetic error (division by 0)

    36 Illegal module call57 Project not found99 invalide remote access

    An user error program can be written and configured to run if an error occurs. Thisprogram should not be activated during normal operation (For further information seedocumentation included with the FSTIPC / FEC software).

    The configuration also allows setting an error output in the event of a system error. Ifthis is the case, then this output must also entered into the configuration.

  • 8/6/2019 INTERFASE FESTO

    45/70

  • 8/6/2019 INTERFASE FESTO

    46/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 45

    Operands

    The FEC has the following operands that can be accessed via FST software or the CI.Input words IW0 to IW1 with I0.0 to I0.7, I1.0 to I1.3Output word OW0 with O0.0 to O0.7Error word EW, also as EInitial execution flag FI, per programFlag words FW0 to FW9999 with Fx.0 to Fx.15

    Registers R0 to R255Function units FU0 to FU255, FU32 to FU38 per programTimers T0 to T255 (also TP and TW for every timer)

    TON, TOFFCounters C0 to C255 (also as CP and CW for every

    counter)Programs P0 to P63

    Program status PS0 to PS63Function modules CFM0 to CFM99 (predefined by Festo)Program modules CMP0 to CMP99 (definable by user)

  • 8/6/2019 INTERFASE FESTO

    47/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 46

    Overview of retentive operands

    Operand Operandnumber

    Remarks

    output word ( OW ) 0 ... 1

    Register ( Rx) 0 ... 127

    Timer preselect ( TP ) 0 ... 127

    Counter ( Cx ) 0 ... 127

    Counter preselect ( CP ) 0 ... 127

    Counter word ( CW ) 0 ... 127

    Flag word ( FW ) 0 ... 255

  • 8/6/2019 INTERFASE FESTO

    48/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 47

    Flowcharts

    Start

    Power

    indicator lit ?Refer to "power

    supply" flowchart

    General flowchart

    RUN indicator

    lit ?

    Refer to "failure"

    flowchart

    No

    No

    Yes

    Yes

    Yes

    A

  • 8/6/2019 INTERFASE FESTO

    49/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 48

    I/O sequence

    normal ?Refer to "I/O"

    flowchart

    Enviromental

    conditions normal

    ?

    Refer to "I/O"

    flowchart

    Replace FEC

    General flowchart (cont.)

    Ye s

    No

    No

    Ye s

    A

  • 8/6/2019 INTERFASE FESTO

    50/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 49

    Power indicator

    "OFF"

    "Power supply" flowchart

    Power

    suppliedSupply power

    Power

    indicator lit ?

    Supply voltage in

    rated rangePower supply in rated range

    Power

    indicator lit ?

    BEnd

    No

    No

    Yes

    Yes

    No

    No

    Yes

    Yes

  • 8/6/2019 INTERFASE FESTO

    51/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 50

    Fuse blown ?Replace fuse

    Power

    indicator lit ?

    Loose screws or

    break wires ?Tighten loose screws etc.

    Power

    indicator lit ?

    Disconnect 24V Sensor supply.

    Power

    indicator lit ?

    B

    Return to

    "General flowchart"End

    Sensor supply

    connected ?

    Yes

    Yes

    Yes

    Yes

    Yes

    "Power supply" flowchart (cont.)

    Yes

    No

    No

    No

    No

  • 8/6/2019 INTERFASE FESTO

    52/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 51

    RUN/STOP

    switch to "RUN"

    RUN indicator lits

    "RED"

    Read out the error no. with

    the programming- or servicedevice

    See FSTIPC error list

    Check the program, find

    and correct errors

    download project again;

    set RUN/STOP

    switch to "RUN"

    RUN indicator

    lits "GREEN"

    End

    No

    Yes

    "Failure flowchart"

  • 8/6/2019 INTERFASE FESTO

    53/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 52

    Start

    Output indicator

    normal ?

    Use "ONLINE Display" tomonitoring the program

    Normal ?

    Use tester to check

    terminal voltage

    Normal ?

    Disconnect external

    wirings check

    continuity

    C D

    NO

    YES

    Use tester to checkterminal voltage

    Normal ?

    External powersupply ON ?

    E

    Turn ON ext.

    PS.

    Replace FEC

    NO

    YES

    NO

    YES

    YES

    NO

    I/O flowchart

    NO

    YES

  • 8/6/2019 INTERFASE FESTO

    54/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 53

    C D E

    Normal ?Replace FEC

    Check output

    device

    NOYES

    F

  • 8/6/2019 INTERFASE FESTO

    55/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 54

    Input indicator

    x normal ?

    F

    Check terminal

    voltage of input x

    Use tester to check

    terminal voltage

    Replace FEC

    Normal ?

    Normal ?

    Normal ?

    Check input device

    Disconnect ext. wirings

    NO

    YES

    YES

    NO

    NO

    YES

    NOYES

  • 8/6/2019 INTERFASE FESTO

    56/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 55

    Technical data

    Hard and software features

    Processor . . AM186-(20 MHZ), (Intel 80186 compatible)Memory

    Program memory (compiled) 256 kB 16 bit flash (Cycles of reading/writing

    >100.000)Working memory . 256 kB 16 bit SRAM

    Data storage . . 32 kB (retentive Data 2 kB in flash memory)

    Program storage (source) 32 kB in flash memoryProgramming interface RS232 3-wire 9600 baud, opto isolated

    (connection RJ11 mini)

    The serial COM port is not according to the standard EIA-RS232-C.

  • 8/6/2019 INTERFASE FESTO

    57/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 56

    The FEC-COM interface is isolated by optocouplers and operates with signal levels of+/-5V to +/-15V. If communication problems are encountered, your service unit may

    supply a lower signal level.

    Expansion interface . Serial asynchronous TTL (connection RJ12)(4-wire max 115 kBaud )

    Operational controls . Run/Stop switch

    Operation indicator RUN LED " YELLOW " Stop status" GREEN " Run status

    . " RED " Error status

    Operating system . Runtime kernel FST-IPC / FEC

    Programming software . FST-IPC / FEC

  • 8/6/2019 INTERFASE FESTO

    58/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 57

    Electrical features

    Supply voltage . Festo FEC-20-DC: 24 V DC (+20 % /-15 %)

    Festo FEC-20-AC: 120 V AC - 230 V AC

    (+10% / -15%) 50-60 Hz

    Fuse Festo FEC-20-DC: 1 x 315 mA (slow blowing)

    Festo FEC-20-AC: 1 x 315 mA (slow blowing)

    1 x 800 mA (slow blowing)

    Power consumption. Festo FEC-20-DC: 10 WFesto FEC-20-AC: 15 VA

    Sensor supply voltage . Festo FEC-20-DC: Same as Supply voltage

    Festo FEC-20-AC: 24 V DC, 100 mA

  • 8/6/2019 INTERFASE FESTO

    59/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 58

    Inputs

    12 PNP or NPN inputs (auto detection), 24 V DC, 7 mA,(in 2 groups 8/4)

    2 inputs of the second group as 4kHz counter(via sw module)

    Galvanic isolation optoelectronic couplerDelay time . . . . . 5 msec.

    Signal indication . . . LED green (after galvanicisolation)

    Connection . . . . . 14-pin screw-type terminal,each capable of 2 x 0.75 mm

    2

  • 8/6/2019 INTERFASE FESTO

    60/70

  • 8/6/2019 INTERFASE FESTO

    61/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 60

    Protection class IP 20

    Temperature rangeTransport and storage temperature -25 ..... + 70 grad CAmbient temperature 0 ... 55 grad C

    HumidityRelative humidity (25

    oC ) 0 ... 95% (max.)

    non condensing

  • 8/6/2019 INTERFASE FESTO

    62/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 61

    Appendix A

    Command Interpreter (CI)

    The command interpreter is part of the FEC oerating system and represents the userlevel of it.

    It is used for:

    test, service, diagnostic and commissioning purposes.

    for UP/DOWNLOAD of filesThe command interpreter (CI) offers checking functions for the complete controlsystem.In the case of programs and operands the user can:

    start and stop programs

    display individuell or all programs

    display and modify operands

  • 8/6/2019 INTERFASE FESTO

    63/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 62

    Accessing the command interpreter (CI)

    When an interactive device is connected to the FEC, the user must adopt the followingprocedure in the sequence shown in order to access the CI.

    Apply the operating voltage to the FEC

    Switch on the interactive device.

    Access the CI:The interactive terminal should be set at the correct baud rate (default 9600 Bd). Thebaud rate is measured automatically after a BREAK signal or after POWER ON, if novalid baud rate is noted in the system memory.

    Input format

    CTRL T

    The CI responds with: IPC Vm.n (m.n = no. of operating system)>_

  • 8/6/2019 INTERFASE FESTO

    64/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 63

    The CI can still accessed with CTRL T even when the controller indicates an error. This

    error must, however, be eliminated before any further action.

    Command structure:

    A complete command always consists of a letter for the command identification, almostalways a parameter and somtimes a parameter value.Entry can be made either in upper or lower case letters and is concluded with .

    Input format [ [parameter value]]

    Deleting incorrect entries

    Incorrect entries can be deleted with Backspace (CTRL H) before conclusion with

    .

  • 8/6/2019 INTERFASE FESTO

    65/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 64

    Commands

    Extract of the commands of the FEC command interpreter are listed below:

    Command letter and command Explanation

    D = DISPLAY = Display operands Displaycontents / status / operands

    M = MODIFY = Modify operandsR = RUN = Start or continue Start program

    S = STOP Stop program

    X = EXIT Exit command interpreter

  • 8/6/2019 INTERFASE FESTO

    66/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 65

    Parameters

    Different parameters must be entered depending on which operand a command is to beused.

    Parameter Meaning Parameter value

    A x.y Output 0.0 ... 0.7

    AW x Output word 0

    E x.y Input 0.0 ... 0.7; 1.0 ... 1.3

    EW x Input word 0 ... 12... 255 for Trimmerand fast counter

    F Error

  • 8/6/2019 INTERFASE FESTO

    67/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 66

    Parameter Meaning Parameter value

    M x.y Flag 0.0 ... 9999.15MW x Flag word 0 ... 9999

    P x Program 0 ... 63

    PS x Program status 0 ... 63

    R x Register 0 ... 255

    T x Timer 0 ... 255

    TV x Timer preselect 0 ... 255

    TW x Timer word 0 ... 255

    Z x Counter 0 ... 255

    ZV x Counter preselect 0 ... 255ZW x Counter word 0 ... 255

  • 8/6/2019 INTERFASE FESTO

    68/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 67

    CI Example

    DisplayDisplay the status of the single-bit operand output 0.6

    DA0.6 CI response = 0 or 1

    Display the status of the single-bit operand input 1.2DE1.2 CI response = 0 or 1

    Display the status of timer 20DT20 CI response = 0 or 1

    Display the status of flag 1000.15DM1000.15 CI response = 0 or 1

    ModifyModify the contents of register 0 to 255

    MR0 CI response = xxx : 255 xxx = old value ; 255 enter new value

  • 8/6/2019 INTERFASE FESTO

    69/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 68

    Appendix B

    Expansion of the FEC to 40 I/Os

    1. The RUN/STOP switch of the remote unit (the FEC20 without its own controlprogram) must always be set to STOP.

    2. Ensure that the remote unit has no files with the names "PROJECT.RUN" or"STARTUP.BAT" in the directory on drive B (as supplied, the unit has no suchfiles).

    Procedure for checking memory contents:

    Start FSTIPC

    Utilities > Program execution > Host IPC file transfer F1 : From IPC

  • 8/6/2019 INTERFASE FESTO

    70/70

    _____________________________________________________

    FEC Hardware Description V1.7 0198 Page 69

    F7 : Enter IPC drive B Check whether "PROJECT.RUN" or "STARTUP.BAT" is present in the

    directory If so, delete the two files using F1 Conclude with F8: Exit terminal program Switch the FEC20 off and back on.

    3. Be sure that the system power supply is turned off before connecting ordisconnecting extension cables.

    4. The power supply for the master/remote system must be from a single source witha common fuse protection. Do not use separate power supplies for the master andremote units.