Professional Documents
Culture Documents
FEC
Manual
GB
_____________________________________________________
Festo
E.FEC-20-DC and E.FEC-20-AC
Page 1
_____________________________________________________
FEC Hardware Description V1.7 01/ 98 R.Mller, Fa. Beck ; P.Janssen YC-EPM S.Baerwald, YC-ECI
Copyright 1997 Festo AG & Co, 73726 Esslingen, Germany All rights reserverd, including translation rights. No part of this documentation may be reproduced by any means (printing, copying, microfilming or any other process) without the written consent of Festo AG & Co.
Page 2
_____________________________________________________ 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:..................................................................................................................................11 THE LAYOUT OF THE FEC............................................................................................................12 DIFFERENCES BETWEEN FESTO FEC-20-DC AND FESTO FEC-20-AC .........................................13
_____________________________________________________ POWER / SENSOR SUPPLY CIRCUIT CONNECTION E.FEC-20-DC..................................................19 POWER / SENSOR SUPPLY CIRCUIT CONNECTION E.FEC-20-DC..................................................20 INPUTS .........................................................................................................................................21 INPUT 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
_____________________________________________________ RUN INDICATION.........................................................................................................................40 INPUT INDICATION .......................................................................................................................41 OUTPUT INDICATION ...................................................................................................................41 ERROR 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
APPENDIX A .............................................................................................. 61
FEC Hardware Description V1.7 0198 Page 5
_____________________________________________________ COMMAND INTERPRETER (CI)......................................................................................................61 ACCESSING THE COMMAND INTERPRETER (CI).............................................................................62 COMMANDS .................................................................................................................................64 PARAMETERS ...............................................................................................................................65 CI EXAMPLE ................................................................................................................................67
APPENDIX B .............................................................................................. 68
EXPANSION OF THE FEC TO 40 I/OS ............................................................................................68
Page 6
_____________________________________________________
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.
Page 7
_____________________________________________________ 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 nearest Festo office. This manual is subject to change without notice.
Page 8
_____________________________________________________ CE Confirmation The manufacturer declares in sole responsibility that the product FEC-20-DC FEC-20-AC is in accordance with the directive 89/336/EWG in harmonisation with the following standards: noise immunity emitted interference EN 50082-2 EN 50081-2
This is a class A device. It can cause transmission interferences in residential areas. In this case it is the responsibility of the user to take appropriate measures and bear any costs incurred in stemming such interferences.
Page 9
_____________________________________________________ Guidelines for user safety and protection of the Festo FEC This manual has been written to be used by trained and competent personnel for the installation of the Festo FEC product. Safety guidelines are defined by the European directives for machinery, low voltage and EMC. Throughout this manual, symbols are used to highlight information relating to the user's personal safety, and protection of the equipment's integrity. When any of these symbols are encountered, its associated note should be read and understood.
Page 10
_____________________________________________________ Warnings: 1) The identified danger will cause physical or property damage.
Page 11
_____________________________________________________ The Layout of the FEC 1 2 3 4 5 6 7 8 9 10 Sensor supply 24 V DC / 100 mA Input terminal RUN/STOP switch Analog timer Power LED Run/error LED Communication interface Extension interface Output terminal Power supply terminal
2 1 5 6 3 4
8 9 10
Page 12
E.FEC-20-AC
10 msec
15 VA
Page 13
_____________________________________________________
_____________________________________________________ The unit can be mounted on a DIN rail (DlN46277, width: 35 mm/1.38 in) or directly by using 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 and large power equipment. Do not allow wire cuttings, fillings or shavings to fall into the unit when drilling holes or connecting 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.
Page 15
24V
0V
SENSOR SUPPLY
53,0
OUT
7
POWER
FEC20-DC
EXT.
COM
122,5
4,0
60,0
Page 16
80,0
IN
S0
10
11
12
13
S1
Separate signal input and output wiring in separate ducting and avoid bundling the signals together. Do not use the same multi core cable for signal input and output wiring
Page 17
1 4 E.KFEC-PC150
5 1 2 3 4 1 2 3 4 5 6 7 8 9 1
6 9
Page 18
24V
0V
SENSOR SUPPLY
IN OUT
S0
10
11
12
13
S1
7
POWER
POWER 24V 0V
C0
C1
C2
RUN
FEC20-DC
Power supply 24 V DC
EXT.
COM
Page 19
24V
0V
SENSOR SUPPLY
IN OUT
S0
10
11
12
13
S1
7
POWER
POWER L N
C0
C1
C2
RUN
FEC20-AC
Power supply L
EXT.
COM
Page 20
_____________________________________________________ Inputs 12-PNP or -NPN inputs (automatic detection) first group 8 inputs, second group 4 inputs The last two inputs of the second group can also be used as counters with a maximum 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)
Page 21
_____________________________________________________ Input specifications and circuit connection Specifications 12 inputs Input voltage Delay time Input sensitivity Voltage ON current OFF / ON NPN or PNP 24V DC 5 msec Input current 7mA
15V DC min.
Voltage OFF
5V DC max.
4.5mA or more
ON / OFF
1.4mA or less
Page 22
Fuse
DC/DC
24 V 5V Programmable controller
Page 23
120-230 V AC L Fuse
24 V AC/DC 0V
24 V
0V
S0
I0.0
I0.1
I0.2
...
Fuse
DC/DC
24 V 5V
Programmable controller
Page 24
NPN type
Fuse
DC/DC
24 V 5V Programmable controller
Page 25
NPN type
24 V
0V
S0
I0.0
I0.1
I0.2
...
Programmable controller
Page 26
_____________________________________________________ Analog potentiometer The FEC includes an analog potentiometer which can be easily adjusted with a screw driver within a decimal value range of 1 ... 63. This value can be evaluated by the user's application program as the current setting of the potentiometer is stored within a logical Input 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.
Page 27
_____________________________________________________ Outputs 8 relay outputs Switching voltage switching current contact rating Delay time Signal indication Connection 1- normally open contact per output in groups of 4/2/2. max. 30 V DC or 250 V AC 2 A max. see chapter " Life of relay output contacts " in this manual 10 msec LED for every output 12-pin screw-type terminal, (each terminal accommodates 2x0,75 mm wires)
Page 28
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 inductive loads 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.
FEC Hardware Description V1.7 0198 Page 29
_____________________________________________________ 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 local wiring 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 to suppress electrical interference. Connecting a surge suppressor in parallel to an AC inductive load will reduce electrical noise generation.
Page 30
_____________________________________________________ Output specifications Specification Rated current Load voltage 2 A per output point 250 V AC 30 V DC or less 80 VA(inductive) 100 W (lamp)
Max. load
Page 31
_____________________________________________________ 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 1A 2A 1.000.000 cyles 500.000 cycles 300.000 cycles 800.000 cycles 300.000 cycles 100.000 cycles
Page 32
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 and the 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.
Page 33
_____________________________________________________ Writing and checking a program Power: ON, PLC: STOP Write a program by using a peripheral device such as a PC together with the Festo software 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 the programming 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) to green.
FEC Hardware Description V1.7 0198 Page 34
_____________________________________________________ Operation and testing Power: ON, PLC: STOP The FEC is equipped with an internal RUN/STOP switch. As a further option, a socalled remote RUN/STOP switch can be used. This remote RUN/STOP switch is an external switch, assigned to one of the FEC's inputs. If this option is to be used, then this 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 is used) the RUN LED lights YELLOW (or in case of error the RUN LED lights "RED").
Page 35
_____________________________________________________ Power: ON PLC: RUN When the RUN/STOP switch is set to RUN (when no remote RUN/STOP switch is used) 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 large capacity loads. Please see table in the chapter Life of relay output contacts
FEC Hardware Description V1.7 0198 Page 36
_____________________________________________________ Also check the following points: Environmental conditions Ambient temperature in the control panel 0 to 55 oC Humidity 0 to 95 % Relative Humidity without condensation Dust must be relatively dust-free
Page 37
_____________________________________________________ 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.
Page 38
_____________________________________________________
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-supply terminal. If the POWER LED lights then this indicates that the sensor power load is too
FEC Hardware Description V1.7 0198 Page 39
_____________________________________________________ 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 PLC or other fault conditions exist. If this is the case and changing the fuse does not solve the 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 RUN perform the checks in the section Error indication below. If the RUN LED lights GREEN when the RUN/STOP switch is set to RUN but the program will not execute perform the following checks: Check your settings for remote RUN/STOP switch (Configuration in the programming software). It may be this run/stop input is set to "STOP".
Page 40
_____________________________________________________ Input indication Irrespective of whether the ON/OFF state of the input device agrees or not with the status of the LED of that input, check the input device for proper operation, poor electrical contact or other abnormalities. An input that is turned ON and then OFF in a period shorter than the operation cycle or scan time of the PLC may not be recognised.
Output indication If the status of the output indication LED does not agree with the actual output status, check for the correct operation of the output device. Check to ensure that the required voltage is supplied to the common terminals for the outputs.
FEC Hardware Description V1.7 0198 Page 41
_____________________________________________________ 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 package or the Service Device Unit. (option)
Error word There is currently no automated recognition of the presence and service ability of connected inputs or outputs. In applications in which this can result in problems appropriate measures must be taken (additional program with operational test, external signal detection, feedback of signals etc.). Additional appropriate error numbers can be created from these in the user program.
Page 42
_____________________________________________________ List of system generated error numbers The following error numbers are currently generated by the PLC operating system: 6 Program 0 not found on start 7 Program not found 9 Project could not be started 11 I/O stage defective 34 Arithmetic error (division by 0) 36 Illegal module call 57 Project not found 99 invalide remote access An user error program can be written and configured to run if an error occurs. This program should not be activated during normal operation (For further information see documentation included with the FSTIPC / FEC software). The configuration also allows setting an error output in the event of a system error. If this is the case, then this output must also entered into the configuration.
FEC Hardware Description V1.7 0198 Page 43
_____________________________________________________ Statement List (STL) and Ladder Diagram (LAD) Programming Programming in STL and LAD follows the standard Festo FST software conventions. For a description of FST software, please refer to the appropriate documentation accompanying the software. Other manuals are available detailing programming in statement list and ladder diagram. Please contact your local Festo office for further information.
Page 44
_____________________________________________________ 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.3 Output word OW0 with O0.0 to O0.7 Error word EW, also as E Initial execution flag FI, per program Flag words FW0 to FW9999 with Fx.0 to Fx.15 Registers R0 to R255 Function units FU0 to FU255, FU32 to FU38 per program Timers T0 to T255 (also TP and TW for every timer) TON, TOFF Counters C0 to C255 (also as CP and CW for every counter) Programs P0 to P63 Program status PS0 to PS63 Function modules CFM0 to CFM99 (predefined by Festo) Program modules CMP0 to CMP99 (definable by user)
FEC Hardware Description V1.7 0198 Page 45
Operand output word ( OW ) Register ( Rx) Timer preselect ( TP ) Counter ( Cx ) Counter preselect ( CP ) Counter word ( CW ) Flag word ( FW )
Operand number 0 ... 1 0 ... 127 0 ... 127 0 ... 127 0 ... 127 0 ... 127 0 ... 255
Remarks
Page 46
_____________________________________________________ Flowcharts
General flowchart
Start Yes
No
No
Page 47
_____________________________________________________
I/O sequence normal ? Yes Enviromental conditions normal ? Yes Replace FEC
No
No
Page 48
_____________________________________________________
"Power supply" flowchart
Power indicator "OFF"
Power supplied
No
Supply power
Yes No
Power indicator lit ?
Yes
No
Yes No B
Power indicator lit ?
Yes
End
Page 49
_____________________________________________________
B
Fuse blown ?
No
Power indicator lit ? Loose screws or break wires ?
Yes
Yes
No No
Sensor supply connected ? Power indicator lit ?
Yes
Yes No
Return to "General flowchart" Power indicator lit ?
Yes End
Page 50
_____________________________________________________
RUN/STOP switch to "RUN"
"Failure flowchart"
Read out the error no. with the programming- or service device
No
Yes See FSTIPC error list Check the program, find and correct errors download project again;
End
Page 51
_____________________________________________________
I/O flowchart
Start Use "ONLINE Display" to monitoring the program
NO
NO
Normal ?
YES
Use tester to check terminal voltage Turn ON ext. PS.
YES
Use tester to check terminal voltage
YES
NO NO
External power supply ON ?
YES
Replace FEC
Page 52
_____________________________________________________
C D E
YES
Check output device
Normal ?
NO
Replace FEC
Page 53
_____________________________________________________
F
NO
YES
Check terminal voltage of input x Normal ?
NO
YES
Normal ?
NO
Disconnect ext. wirings
YES
YES
Check input device
Normal ?
NO
Replace FEC
Page 54
_____________________________________________________
Technical data
Hard and software features Processor . . Memory Program memory (compiled) Working memory . Data storage . . Program storage (source) Programming interface AM186-(20 MHZ), (Intel 80186 compatible) 256 kB 16 bit flash (Cycles of reading/writing >100.000) 256 kB 16 bit SRAM 32 kB (retentive Data 2 kB in flash memory) 32 kB in flash memory RS232 3-wire 9600 baud, opto isolated (connection RJ11 mini)
Page 55
_____________________________________________________ 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 ) Run/Stop switch RUN LED . Operating system Programming software . . " YELLOW " " GREEN " " RED " Stop status Run status Error status
Page 56
_____________________________________________________ Electrical features Supply voltage . Festo FEC-20-DC: Festo FEC-20-AC: Festo FEC-20-DC: Festo FEC-20-AC: Festo FEC-20-DC: Festo FEC-20-AC: Festo FEC-20-DC: Festo FEC-20-AC: 24 V DC (+20 % /-15 %) 120 V AC - 230 V AC (+10% / -15%) 50-60 Hz 1 x 315 mA (slow blowing) 1 x 315 mA (slow blowing) 1 x 800 mA (slow blowing) 10 W 15 VA Same as Supply voltage 24 V DC, 100 mA
Fuse
Page 57
_____________________________________________________ Inputs 12 PNP or NPN inputs (auto detection), 2 inputs of the second group as 4kHz counter (via sw module) Galvanic isolation Delay time . . Signal indication . optoelectronic coupler 5 msec. LED green (after galvanic isolation) 14-pin screw-type terminal, each capable of 2 x 0.75 mm2 24 V DC, 7 mA, (in 2 groups 8/4)
. .
. .
Connection .
Page 58
_____________________________________________________ Outputs 8 relay outputs (1-working contact), Switching voltage Switching current Switching contact rating Delay time . . (in 3 groups: 4/2/2) max. 250 V AC, 30 V DC max. 2 A see information " Life of relay output contact " 10 msec LED green Connection 12-pin screw-type terminal, each capable of 2 x 0.75 mm2
Signal indication
Page 59
_____________________________________________________ Protection class Temperature range Transport and storage temperature Ambient temperature Humidity Relative humidity (25 o C ) IP 20
Page 60
_____________________________________________________
Appendix A
Command Interpreter (CI) The command interpreter is part of the FEC oerating system and represents the user level of it. It is used for: test, service, diagnostic and commissioning purposes. for UP/DOWNLOAD of files The command interpreter (CI) offers checking functions for the complete control system. In the case of programs and operands the user can: start and stop programs display individuell or all programs display and modify operands
FEC Hardware Description V1.7 0198 Page 61
_____________________________________________________ Accessing the command interpreter (CI) When an interactive device is connected to the FEC, the user must adopt the following procedure 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). The baud rate is measured automatically after a BREAK signal or after POWER ON, if no valid 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)
Page 62
_____________________________________________________ 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, almost always a parameter and somtimes a parameter value. Entry can be made either in upper or lower case letters and is concluded with <CR>. Input format <CI letter> [<parameter> [parameter value]] Deleting incorrect entries Incorrect entries can be deleted with Backspace (CTRL H) before conclusion with <CR>.
Page 63
_____________________________________________________ Commands Extract of the commands of the FEC command interpreter are listed below: Command letter and command D = DISPLAY M = MODIFY R = RUN S = STOP X = EXIT = Display operands = Modify operands = Start or continue Explanation Display contents / status / operands Start program Stop program Exit command interpreter
Page 64
_____________________________________________________ Parameters Different parameters must be entered depending on which operand a command is to be used. Parameter A x.y AW x E x.y EW x Meaning Output Output word Input Input word Parameter value 0.0 ... 0.7 0 0.0 ... 0.7; 1.0 ... 1.3 0 ... 1 2... 255 for Trimmer and fast counter
Error
Page 65
Meaning Flag Flag word Program Program status Register Timer Timer preselect Timer word Counter Counter preselect Counter word
Parameter value 0.0 ... 9999.15 0 ... 9999 0 ... 63 0 ... 63 0 ... 255 0 ... 255 0 ... 255 0 ... 255 0 ... 255 0 ... 255 0 ... 255
Page 66
_____________________________________________________ CI Example Display Display the status of the single-bit operand output 0.6 DA0.6 <CR> CI response = 0 or 1 Display the status of the single-bit operand input 1.2 DE1.2 <CR> CI response = 0 or 1 Display the status of timer 20 DT20 <CR>
CI response = 0 or 1
Display the status of flag 1000.15 DM1000.15 <CR> CI response = 0 or 1 Modify Modify the contents of register 0 to 255 MR0 <CR> CI response = xxx : 255 <CR> xxx = old value ; 255 <CR> enter new value
FEC Hardware Description V1.7 0198 Page 67
_____________________________________________________
Appendix B
Expansion of the FEC to 40 I/Os 1. The RUN/STOP switch of the remote unit (the FEC20 without its own control program) 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 such files). Procedure for checking memory contents: Start FSTIPC Utilities > Program execution > Host <-> IPC file transfer F1 : From IPC
FEC Hardware Description V1.7 0198 Page 68
_____________________________________________________ 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 or disconnecting extension cables. 4. The power supply for the master/remote system must be from a single source with a common fuse protection. Do not use separate power supplies for the master and remote units.
Page 69