Festo CPX-CEC Electronic Manual

Festo CPX-CEC Electronic Manual

Codesys controller
Hide thumbs Also See for CPX-CEC:

Advertisement

Quick Links

CPX Terminal
Electronics Manual
CoDeSys Controller
Type
CPX−CEC
CPX−CEC−C1/−M1
Manual
569 122
en 1004a
[753 482]

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPX-CEC and is the answer not in the manual?

Questions and answers

Summary of Contents for Festo CPX-CEC

  • Page 1 CPX Terminal Electronics Manual CoDeSys Controller Type CPX−CEC CPX−CEC−C1/−M1 Manual 569 122 en 1004a [753 482]...
  • Page 3 ....... . . 569 122 © (Festo AG & Co. KG, D 73726 Esslingen, Germany, 2010) Internet: http://www.festo.com E−mail:...
  • Page 4 This product uses open−source software which is subject to the "GNU General Public License, Version 2". The licensing conditions of the GPL are located either in the product’s engineering tool or at the following addresses: http://<IP address of the device>/product−information.html http://www.gnu.org/copyleft/gpl.html Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 5: Table Of Contents

    ..... 1−6 The CoDeSys provided by Festo programming environment ... . .
  • Page 6 ............B−1 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 7: Designated Use

    Designated use The type CPX−CEC/CPX−CEC−... CoDeSys controller docum ented in this manual is intended exclusively for use in Festo CPX terminals for installation in a machine or an automation control system. In combination with a CPX terminal, the CPX−CEC/CPX−CEC−... is used for...
  • Page 8: Safety Instructions

    Make sure that no persons are in the operating range of · the drives or any other connected actuators. Do not switch on the compressed air supply until the · system is correctly installed and parameterised. Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 9 Do not connect, disconnect or open pressurised tubing. · The tubing must always be vented before removal · (release compressed air). Use suitable protective equipment (e.g. safety goggles, · safety shoes, etc.). Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 10: Target Group

    This manual is intended exclusively for technicians trained in control and automation technology, who have experience in installing, commissioning, programming and diagnosing positioning systems. Service Please consult your local Festo Service if you have any techni cal problems. VIII Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 11: Important User Instructions

    ... means that failure to observe this instruction may result in damage to property. The following pictogram marks passages in the text which describe activities with electrostatically sensitive components: Electrostatically sensitive devices: Improper handling can result in damage to components. Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 12 Pictograms Information: Recommendations, tips and cross−references to other in formation sources. Accessories: Information on necessary or useful accessories for the Festo product. Environment: Information on the environmentally friendly use of Festo products. Text markings The bullet indicates activities which may be carried out in ·...
  • Page 13: Notes On The Use Of This Manual

    CoDeSys controller CPX−CEC−C1 from Rev 01 CoDeSys controller CPX−CEC and CPX−CEC−M1 from Rev 05 Programming environment CoDeSys provided by Festo from Version 2.3 This manual contains information on the function, fitting, installation and commissioning of the CoDeSys controller. Further information on the device can be found in the...
  • Page 14 CoDeSys = Controller Development System (= CoDeSys pbF) CoDeSys provided by Festo permits configuration, commissioning and programming of various components and devices by Festo. In this documentation, called "CoDeSys pbF" for short CPX terminal Complete system consisting of CPX modules with or without...
  • Page 15 Contents and general instructions Term/abbreviation Meaning FHPP (Festo Handling and Uniform fieldbus data profile for positioning controllers from Festo Positioning Profile) FTP (File Transfer Protocol) Protocol for file transfer via TCP/IP Handheld type CPX−MMI Handheld terminal for commissioning and service purposes...
  • Page 16 User data Telegram data without protocol frame data. The length of the user data is defined in the configuration of the fieldbus slave World Wide Web Tab. 0/2: Product−specific terms and abbreviations Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 17: System Summary

    System summary Chapter 1 1−1 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 18 ..... 1−6 The CoDeSys provided by Festo programming environment ... . .
  • Page 19: The Codesys Controller Cpx−Cec/Cpx−Cec

    CoDeSys controller with RS232 interface Tab. 1/1: Variants of the CoDeSys controller All variants offer... Programming with CoDeSys provided by Festo as per IEC 61131−3 Programming and communication via Ethernet Process visualisation within CoDeSys provided by Festo, with a type FED operator unit or with the software VipWin...
  • Page 20 CANopen master. The SoftMotion functions are then not available. CPX−CEC offers... An RS232 interface (Sub−D, 9−pin) for connecting a type FED operator unit or for operating external devices. With external devices, data communication must be programmed by the user. 1−4 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 21: Supported Motor Controllers

    1. System summary Supported motor controllers The CoDeSys controllers CPX−CEC−C1/−M1 as CANopen masters support all motor controllers from Festo. CPX−CEC−M1 with SoftMotion functions supports the following motor controllers: Motor controller Required firmware from Version... CMMP−AS 3.5.1501.2.1 CMMS−AS 1.3.0.1.11 CMMS−ST 1.3.0.1.7 (the versions 1.3.0.1.10 and 1.3.0.1.12 are...
  • Page 22: The Operating Modes Of The Codesys Controllers

    Remote Controller Ethernet Remote Controller Fieldbus (fieldbus node required) The individual operating modes are briefly presented in the following: Stand Alone operating mode CPX−CEC/CPX−CEC−... CPX terminal controlled by the CPX−CEC/CPX−CEC−... Fig. 1/1: Stand Alone operating mode 1−6 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 23 1. System summary Remote Controller Ethernet operating mode Ethernet CPX−CEC/CPX−CEC−... connected to an Ethernet network for communication CPX terminal controlled by the CPX−CEC/CPX−CEC−... Fig. 1/2: Remote Controller Ethernet operating mode 1−7 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 24 Remote Controller Fieldbus operating mode CPX−CEC/CPX−CEC−... connected to the fieldbus for communication over the fieldbus node CPX fieldbus node, here: CPX−FB13 CPX terminal controlled by the CPX−CEC/CPX−CEC−... Fig. 1/3: Remote Controller Fieldbus operating mode (fieldbus node required) 1−8 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 25: The Codesys Provided By Festo Programming Environment

    1. System summary The CoDeSys provided by Festo programming environment Use CoDeSys provided by Festo to commission and program the CoDeSys controller. CoDeSys provided by Festo offers a convenient user interface with the following functions: Configuration and parameterisation of the CPX−CEC/ CPX−CEC−...
  • Page 26 1. System summary CoDeSys provided by Festo is supplied with the Target Support Package for the CoDeSys controller. It also contains additional functions that are specially adapted to the CoDeSys controller. Information about which functions of CoDeSys provided by Festo are supported by the CoDeSys controller and which additional functions are available can be found in the online help (key word "Functional Overview").
  • Page 27: Programming Languages

    1. System summary 1.4.1 Programming languages CoDeSys provided by Festo offers five of the programming languages standardised in IEC 61131−3, see Tab. 1/3. Each of these programming languages has certain characteristics that are especially suited for solving specific tasks. Programming...
  • Page 28: Libraries

    1. System summary 1.4.2 Libraries To make programming easier, CoDeSys provided by Festo makes it possible to organise into libraries objects that are usable independently of projects, such as modules, declar ations and visualisations. A library administrator, with which you can integrate and view libraries, is available for this purpose.
  • Page 29: Meaning Of The Leddisplays

    The LEDs on the cover indicate the operating status of the device and are arranged in two groups. Controller LEDs (see section 4.2) STOP ERROR CPX−specific LEDs Fig. 1/4: LED displays of the device (here CPX−CEC−C1/−M1 as an example) 1−13 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 30: Cpx−Specific Leds

    (default) Power OFF/ON is necessary · The operating voltage/ Check the operating voltage sensor supply is not connection of the electronics applied LED is off Tab. 1/4: Displays of PS LED 1−14 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 31 The system error LED flashes depending on the class of error which has occurred. Error class 1 (minor error): flash once, pause Error class 2 (error): flash twice, pause Error class 3 (serious error): flash three times, pause Tab. 1/6: Displays of SF LED 1−15 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 32 The Force function is enabled (see CPX system manual, system parameter Force mode; LED flashes function no. 4402). Tab. 1/7: Displays of M LED Information on the controller LEDs can be found in section 4.2. 1−16 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 33: Installation

    Installation Chapter 2 2−1 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 34 ......2−19 Complying with protection class IP65/IP67 ......2−20 2−2 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 35: General Installation Instructions

    EMERGENCY STOP (e.g. switching off power sources, load voltage supply, compressed air, etc.). Information on fitting the CPX terminal can be found in the CPX system manual type P.BE−CPX−SYS−..2−3 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 36: Dismantling And Fitting

    2. Pull the controller carefully and without tilting away from the contact rails of the interlinking block. CPX−CEC/ CPX−CEC−... Interlinking block Contact rails Screws Fig. 2/1: Dismantling/fitting of the controller (here CPX−CEC−C1/−M1 as an example) 2−4 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 37: Fitting

    4. Place the screws so that the self−cutting threads can be used. Tighten the screws by hand. 5. Tighten the screws with a TORX screwdriver size T10 with torque 0.9 ... 1.1 Nm. 2−5 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 38: Connection And Display Elements

    Ethernet interface Connection for a handheld of type (10/100BaseT, RJ45) CPX−MMI CPX−CEC−C1/−M1: CANopen interface (plug, 9−pin, Sub−D ) CPX−CEC: RS232 interface (socket, 9−pin, Sub−D) Fig. 2/2: Connection and display elements (here for CPX−CEC−C1/−M1 as an example) 2−6 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 39: Setting The Switches Of The Codesys Controller

    Rotary switch Setting Meaning STOP CoDeSys controller stopped The STOP LED lights up yellow 1 ... F CoDeSys controller started The RUN LED lights up green Tab. 2/1: Switch settings of the RUN/STOP rotary switch 2−7 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 40: Dil Switches

    DIL switch 1 DIL switch 1 is reserved. Leave the two switch elements of DIL switch 1 at OFF. CPX−CEC/CPX−CEC−... DIL switch 1 Reserved DIL 1.1: OFF DIL 1.2: OFF Tab. 2/2: Setting the DIL switch 1 2−8 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 41 DIL 2.2: OFF Termination switched on DIL 2.1: ON DIL 2.2: OFF All further switch settings are reserved. The DIL switch 2 on the CPX−CEC has no function. Tab. 2/3: Setting the DIL switch 2 2−9 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 42: Ethernet Interface

    2.5.1 Ethernet cable Use as connecting cable: Cable specification Screened flexible Ethernet round cable of category 5 Max. outer diameter: 5.4 mm Core diameter: 0.89 ... 1.0 mm AWG24−26 Ready made: Crimping pliers on RJ45 2−10 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 43 PC, you will require a patch or crossover cable. The interface automatically recognises which cable is connected and automatically converts the signals. Note Use the RJ−45 plug from Festo in order to comply with the protection class IP65/IP67: Type FBS−RJ45−8−GS Observe the fitting instructions for the plug.
  • Page 44: Communication Interfaces

    CAN ground (optional), pin 6 cannot be used on the CPX−CEC−C1/−M1. FE: Functional earthing Tab. 2/5: Pin assignment for the CANopen interface The connected CAN bus slaves are not supplied with power over the CANopen interface. 2−12 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 45 Use a twisted, screened 4−core cable as a CAN bus line. The CoDeSys controller communicates with the drive controllers via the CAN bus line. If the Festo CAN bus plug is used, a cable diameter of 5 ... 8 or 7 ... 10 mm is permitted. Note...
  • Page 46 (T−Tap function). Note The clamp strap in the Festo CAN bus plug is connected only capacitively internally with the metal housing of the sub−D socket. This prevents equalising currents from flowing via the screening of the CAN bus line (Fig.
  • Page 47 Clamp strap for screened connection Protective cap if connection is not used CAN bus outgoing (OUT) CAN bus incoming (IN) SUB−D plug connected capacitively Fig. 2/4: CAN bus plug from Festo, type FBS−SUB−9−BU−2x5POL−B 2−15 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 48 CAN bus interface. Connect the screen. · There are further ways of connecting the CAN bus with adapters, which can be ordered separately from Festo. These adapters and additional accessories can be found under: è www.festo.com/catalogue M12 adapter 5−pin (protection class IP65), type FBA−2−M12−5POL...
  • Page 49: Rs232 Interface (Cpx−Cec)

    Transmitted data n.c. not connected Data reference potential n.c. not connected n.c. not connected n.c. not connected n.c. not connected Screen Screen Connection to functional earth (FE) Tab. 2/6: Pin assignment of the RS232 interface (CPX−CEC) 2−17 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 50: Connection Of An Operator Unit Type Fed

    FED incl. optional Ethernet interface Connect an operator unit of type FED with Ethernet interface to the CoDeSys controller using an Ethernet cable. With the CPX−CEC, connection can also take place over the RS232 interface. 2−18 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 51: Connection Of A Handheld Type Cpx−Mmi

    Fig. 2/6: CPX terminal with handheld type CPX−MMI The connection with the CPX−MMI is interrupted during a program download if parameters have been changed via the CoDeSys provided by Festo software. This guarantees the consistency of the displayed data. Use only the following original cables (è...
  • Page 52: Complying With Protection Class Ip65/Ip67

    Connecting cable and Protective cap plug of the CPX−MMI type ISK−M12 Rotary switch Cover type AK−RJ45 If connection is not used Included in scope of delivery Tab. 2/8: Connections and covers for protection class IP65/IP67 2−20 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 53: Commissioning

    Commissioning Chapter 3 3−1 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 54 ............3−14 3−2 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 55: Prerequisites For Commissioning

    · actuators and without compressed air. 1. Install the program environment CoDeSys provided by Festo on a PC on which you carry out commissioning, configuration and programming. Detailed installation instructions can be found on the accompanying CD−ROM. Observe the instructions on the cover of the CD−ROM.
  • Page 56 9. Select the desired CoDeSys controller. 10. Carry out the "Set as active PLC" function. 11. Save the project. You can now log in to the controller, if necessary. Fig. 3/1: Network configuration using the example of the CPX−CEC−C1 3−4 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 57: Configuration Of The Cpx Modules

    1. Click in the window "PLC Configuration" on the nodes to the left of the CPX−CEC−... 2. Click with the right mouse button on the element "IOModules[FIX]". Fig. 3/2: Configuration of the CPX modules Now you can perform module configuration automatically or manually. 3−5 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 58 The I/O modules of a CPI module are not included in auto matic module configuration. In this case, carry out a manual module configuration (see next section) or perform the "Scan" function in the "CP Modules" tab. Fig. 3/3: "CP Modules" tab 3−6 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 59 The rotary switch of the CPX−CEC−C1, for example, occupies only 4 bits of inputs, but 4 bytes are reserved. Alternatively, you can also manually address the inputs and outputs. Information can be found in the online help. 3. Save the project. 3−7 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 60: Configuration Of The Canopen Slaves

    Detailed information on configuration of the CANopen slaves can be found in the online help and in the file "CANopen for 3S Runtime Systems V2_...pdf" in the installation directory of CoDeSys provided by Festo. 3−8 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 61: Parameterisation Of The Cpx Terminal

    Power OFF/ON Handheld type CPX−MMI Parameterisation is carried Parameterisation is saved only locally out via menu−listed entries in the CPX terminal and is lost with with the handheld Power OFF/ON Tab. 3/1: Parameterisation options 3−9 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 62: Parameterisation Via Control Configuration In Codesys

    In the following, parameterisation is described using the example of the Root node: Click in "PLC Configuration" on the symbol for the · CPX−CEC. Settings Set the following parameters in the "Settings" tab, · if necessary: Fig. 3/4: "Settings" tab 3−10 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 63 CoDeSys controller: Fig. 3/5: "Module #0" tab Network configuration (logout) Look for the controller for which you want to prepare the · new CoDeSys project in the "Network configuration" tab: Fig. 3/6: "Network configuration" tab 3−11 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 64 System parameters Set the system parameters in the "System Parameters" · tab: Fig. 3/7: "System Parameters" tab Trace parameters Set the following parameters in the "Trace Parameters" · tab: Fig. 3/8: "Trace Parameters" tab 3−12 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 65: Parameterisation Via The Handheld Type Cpx−Mmi

    The connection with the CPX−MMI is interrupted during a · program download if parameters have been changed via the CoDeSys provided by Festo software. Parameters changed by the CPX−MMI and Festo_CPX.lib · are only then overwritten during the project download if parameter changes have also been made in the CoDeSys project.
  • Page 66: Forcing

    The forced input status is trans ferred to the image table of the inputs. The online display in CoDeSys provided by Festo therefore shows the forced input signal. Forcing of outputs with Forcing an output does modify the actual output signal and handheld type CPX−MMI...
  • Page 67 3. Commissioning Note The online display in CoDeSys provided by Festo always shows the signal status valid in the process diagram. When forcing with the handheld type CPX−MMI, observe the following: Forced input states are transferred to the image table and therefore recognised by the controller.
  • Page 68 3. Commissioning 3−16 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 69: Diagnosis

    Diagnosis Chapter 4 4−1 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 70 ........4−7 4−2 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 71: General Error Response Of The Codesys Controller

    The CoDeSys controller makes available the following error handling mechanisms in user programs: System event CPX_system_fault Channel/module diagnosis in the flag words Module support in the Festo_CPX.lib Detailed information on error handling in user programs can be found in the online help. 4−3 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 72 See online help programming User program Detailed diagnostic See online help evaluation: System event CPX_system_fault Channel/module diag nosis in the flag words Module support in the Festo_CPX.lib Tab. 4/1: Diagnostic options of the CoDeSys controller 4−4 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 73: Diagnosis Via Controller Leds

    (RUN/STOP switch is in position "0") LED lights up PLC program started Set RUN/STOP · (RUN/STOP switch is in switch to position LED is off position "1 ... F") "0" Tab. 4/3: Displays of STOP LED 4−5 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 74 LED lights up Data transfer active (LED flashes irregularly) LED flashes Ethernet connection to the Check · parameterisation PC not OK the connection the IP address LED is off Tab. 4/5: Displays of TP LED 4−6 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 75: Further Diagnostic Options

    4. Diagnosis Further diagnostics options Further information on diagnosis via the control configuration in CoDeSys provided by Festo and via user programs can be found in the online help. Further information on diagnostics with SoftMotion (CPX−CEC−M1) can be found in the online help.
  • Page 76 4. Diagnosis 4−8 Festo P.BE−CPX−CEC−EN en 1004a...
  • Page 77 Technical appendix Appendix A A−1 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 78: A. Technical Appendix

    ..........A−3 A−2 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 79: A.1 Technical Data

    Motion functions for electric drives CPX−CEC−M1 SoftMotion functions for electric drives CPX−CEC RS232 communication function Baud rate 10/100 bit/s as per IEEE802.3 (10BaseT) or 802.3u (100BaseTx) Approx. 200 ìs/1k instructions Processing time LED display (bus−specific) Ethernet connection: link/traffic A−3 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 80 Midi/Maxi 21.6 ... 26.4 V DC with pneumatics type CPA 20.4 ... 26.4 V DC with pneumatics type MPA 18 ... 30 V DC Intrinsic current consumption at rated voltage Typically 85 mA A−4 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 81 Storage temperature 20 ... +70 °C Ambient temperature 5 ... +50 °C Relative air humidity 95%, non−condensing Product weight 155 g Dimensions W x L x H 50 mm x 107 mm x 55 mm A−5 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 82 A. Technical appendix A−6 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 83 Index Appendix B B−1 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 84: B. Index

    B. Index B−2 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 85 ........3−14 Front end display (FED) ......2−18 B−3 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 86 2−10 RS232 interface ......2−17 B−4 Festo P.BE−CPX−CEC−E N en 1004a...
  • Page 87 User instructions ....... . . B−5 Festo P.BE−CPX−CEC−E N en 1004a...

This manual is also suitable for:

Cpx-cec-m1Cpx-cec-c1

Table of Contents