Festo CECC-X-M1 Description
Hide thumbs Also See for CECC-X-M1:
Table of Contents

Advertisement

CECC-X-M1
Controller
Description
Controller
CECC-X-M1
CECC-X-M1-MV
CECC-X-M1-MV-S1
8063788
en 1608
[8063790]

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CECC-X-M1 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Festo CECC-X-M1

  • Page 1 CECC-X-M1 Controller Description Controller CECC-X-M1 CECC-X-M1-MV CECC-X-M1-MV-S1 8063788 en 1608 [8063790]...
  • Page 2 This product uses open-source software which is subject to the "GNU General Public License, Version 2". The terms of the General Public License can be found within the programming system as well as at the following address: – http://www.gnu.org/copyleft/gpl.html  (Festo AG & CO. KG, D-73726 Esslingen, 2016) Internet: http://www.festo.com E-Mail: service_international@festo.com The reproduction, distribution and utilisation of this document as well as the communication of its contents to others without explicit authorisation is prohibited.
  • Page 3: Table Of Contents

    Manually adding a device..................... 11 4.3.5 Activating the communication channel ................. 12 4.3.6 Adding a controller as a gateway ................. 12 4.4 Scan Festo Devices ........................13 4.4.1 Changing network properties: ..................13 4.5 Programming information ......................14 4.5.1 Directory paths and their meaning ................14 4.6 Configuring the I/O interface ......................
  • Page 4 4.21.3 CODESYS ........................71 4.21.4 Overview ........................72 4.21.5 Miscellaneous ......................74 4.22 Backing up and restoring data with the Festo Field Device Tool ..........75 4.22.1 Backup ......................... 75 4.22.2 Restore ........................77 4.23 Vision/Quality (CECC-X-M1-MV/-S1) ..................79 4.23.1 Commissioning Vision/Quality using CheckKon/CheckOpti .........
  • Page 5: Important Information

    Festo controller CECC-X-M1-... Important information Designated use The controller CECC-X-M1-... documented in this manual is exclusively intended for installation in a machine or automated system. The device is used for: – controlling pneumatic and electric actuators – interrogating electric sensor signals –...
  • Page 6: Service

    Festo controller CECC-X-M1 1.2.2 Service  Contact your local Festo Service partner if you have any technical problems  http://www.festo.com. Including the following information will make it easier to process support queries: Response to the command "getdevinfo"  PLC shell –...
  • Page 7: Further Conventions

    If the right-hand mouse button is to be used, this will be explicitly mentioned. Version information This manual refers to the following versions: Festo controller CECC-X-M1-... – firmware as from version 3.2.6 – – CODESYS V3 SP7 provided by Festo (pbF) software package The manual contains information on the function of the controller as well as its assembly, installation and commissioning.
  • Page 8: System Overview

    2 USB 3.0 interfaces for machine vision applications and mass storage – OPC UA server – Programming using CODESYS V3.5 SP7 provided by Festo (pbF) in accordance with IEC 61131-3 – Programming, communication and visualisation via Ethernet – Controller configuration using CODESYS V3 pbF for commissioning, programming and diagnosing the system –...
  • Page 9: Programming Software

    Using the controller as a target system under CODESYS V3.5 SP7 pbF requires the associated package for the controller CECC-X-M1-..This package enables the system functions of the target system to be accessed with the help of libraries and contains corresponding information in the form of online Helps. This enables CODESYS functions to be used for the target system or restrict it.
  • Page 10: Installation

    Festo controller CECC-X-M1 Installation Information on installation  Quick guide for controller CECC-X-M1-..Connection for operator unit CDPX The operator unit CDPX is a display for executing and monitoring automation tasks at the field level.  Refer to the accompanying user documentation when installing the device.
  • Page 11: Commissioning

    Install the CODESYS V3 SP7 pbF programming software on the PC used to commission, configure and program the controller. Launch CODESYS with administrator rights. Install the CECC-X-M1-... package. To do this, open the Package Manager in CODESYS using the [Package Manager] command in the [Tools] menu.
  • Page 12: Getting Started

    Festo controller CECC-X-M1 Getting started  Launch CODESYS. You will find the program on your Windows PC in the Start menu directory [Programs] [Festo Software] [CODESYS V3]. 4.3.1 Creating a project Create a new project: menu command [File] [New Project...].
  • Page 13 1 Device window with CECC-X-M1/-MV/-MV-S1, its interfaces and PLC logic 2 Editing window with tabs for the objects activated in the device window 3 Message window with information about the CECC-X-M1-... as well as error messages and warnings Figure: CODESYS program window with selected controller...
  • Page 14: Scanning For A Device

    – The IP address settings for the network connection and controller match If these criteria are not met, the device must be detected using the Festo scan program  "Scan Festo Devices" The network properties for the device can be read out in this scan program and changed to suit...
  • Page 15: Manually Adding A Device

    Festo controller CECC-X-M1-... 4.3.4 Manually adding a device You can also manually add a known device as an alternative to automatic selection. Click the local gateway. Click the "Add device..." button. Figure: "Add device" dialog Enter the name, node address or IP address of the device to be connected in the "Add device" dialog.
  • Page 16: Activating The Communication Channel

    Festo controller CECC-X-M1 4.3.5 Activating the communication channel You need a communication channel to exchange data with the connected controller.  Start by clicking the controller in the device window and then click the "Set active path" button. The currently active path is shown in bold in the list and "(active)" is appended to the name.
  • Page 17: Scan Festo Devices

    This scan program finds all controllers connected to the network. Click the icon in the toolbar of the CODESYS program window or click the menu command [Online] [Scan Festo Devices]. Figure: "Scan Festo Devices" scan program Click the button to select the controller "CECC-X".
  • Page 18: Programming Information

    Festo controller CECC-X-M1 Programming information 4.5.1 Directory paths and their meaning The basic recommendation is to store all data in the CODESYS project directory. In the case of files without an explicit path, the CODESYS program directory is automatically placed before the file name.
  • Page 19: Configuring The I/O Interface

    Festo controller CECC-X-M1-... Configuring the I/O interface 4.6.1 "Front" I/O interfaces [X2, X3, X4] (onboard) Click the "Digital Inputs" interface under the "Onboard" branch in the CODESYS device window. Figure: Device window - Onboard I/O interface Double-click the "Digital Inputs" interface.
  • Page 20 Festo controller CECC-X-M1 Select the setting "Enabled 1" or "Enabled 2" for the "Always update variables" option in offline mode to show the states of the unused inputs in real time. The settings "Enabled 1" or "Enabled 2" should only be selected if the corresponding inputs are not being used in the program.
  • Page 21 "SetCounterOutput" function block. Function blocks in the Festo CECC_3 library Detailed description of the function blocks  Online Help for Festo CECC_3 library. The signal inputs of the encoder port [X14] can also be used. This enables e.g. times between the index pulses to be measured.
  • Page 22 Festo Vision/Quality (machine vision kernel), i.e. in some cases separate functions can run between Vision/Quality and CODESYS  Vision/Quality. In this case, the digital I/Os of Festo Vision/Quality are configured using the Festo CheckKon software (available free of charge) rather than from CODESYS.
  • Page 23 "Codesys" (default) within CheckKon. Table: Special functions for MachineVision By default, all Festo Vision/Quality I/Os are set to "Codesys" and their special functions are not active. In the case of the digital inputs X2.2 and X2.3, a configured encoder results in a double assignment.
  • Page 24: Lower" I/O Interfaces X17, X19 And X20

    Festo controller CECC-X-M1 4.6.2 "Lower" I/O interfaces X17, X19 and X20 Click the "Digital Inputs" interface under the "Extension" branch in the CODESYS device window. Figure: Device window - Extension I/O interface Double-click the "Digital Inputs" interface. The tab for configuring the inputs of the I/O interface appears in the editing window.
  • Page 25 Festo controller CECC-X-M1-... Select the setting "Enabled 1" or "Enabled 2" for the "Always update variables" option in offline mode to show the states of the unused inputs in real time. The settings "Enabled 1" or "Enabled 2" should only be selected if the corresponding inputs are not being used in the program.
  • Page 26 Festo controller CECC-X-M1 11. Click the [Analog Inputs I/O Mapping] sub-tab to show the current values for the inputs. Figure: I/O mapping of the analogue inputs 12. Select the setting "Enabled 1" or "Enabled 2" for the "Always update variables" option in offline mode so that the states of the unused inputs will also be shown in real time.
  • Page 27 Festo controller CECC-X-M1-... Figure: I/O mapping for various status bits Parameter Value Explanation Torque off TRUE / FALSE Status bit for the Torque Off input [X25]. reading If Torque Off is active (i.e. the load voltage at the motor controller connections is disconnected), 0 V is present at input [X25] and TRUE is displayed in the status bit.
  • Page 28: Motor Controller Connections X22, X23, X26 And X27

    A ballast circuit ("brake chopper") is also integrated for the compact, integrated drives of the EMCX series from Festo in order to be able to reduce any braking energy that arises (e.g. with vertical axes). A Torque Off input [X25] tailored to the EMCX series is also provided to be able to realise extremely compact configurations without further safety-related switch-off devices.
  • Page 29: Configuring A Canopen Slave

    Festo controller CECC-X-M1-... Configuring a CANopen slave Connecting via CANopen requires an appropriate baud rate. The tab for setting the baud rate is opened by double-clicking the "CANbus" branch in the CODESYS device window. The controller has two CANopen interfaces, network "1" [X18] and network "0" [X6].
  • Page 30: Adding A Canopen Slave

    Festo controller CECC-X-M1 4.7.3 Adding a CANopen slave Click the "CANopen_Manager" branch in the CODESYS device window. Figure: Device window - selecting "CANbus - CANopen_Manager" Open the "Add Device" dialog – menu command [Project] [Add Device] or – context menu [Add Device] Figure: "Add Device"...
  • Page 31 Festo controller CECC-X-M1-... Click the added CANopen slave in the device window. Figure: Device window - selecting "FB14" Double-click the added device "FB14" or "CO2". The tab for configuring the CANopen slave appears in the editing window, for example CO2: Figure: Editing window with [CO2] tab for CANopen slave ...
  • Page 32: Installing The Driver For The Integrated Drive Emcx (Softmotion)

    Festo controller CECC-X-M1 The PDO mapping can be found on the [PDOs] sub-tab. Figure: [PDOs] sub-tab, for example "FB14" 4.7.4 Installing the driver for the integrated drive EMCX (SoftMotion) Click [Tools] [Device Repository] in the menu bar. Click "SoftMotion drives", "CAN drives".
  • Page 33: Adding An Integrated Drive Emcx (Softmotion)

    Festo controller CECC-X-M1-... Click "Install" 1 and select the "*.compiled-library" file contained in the zip file of the integrated drive EMCX. Figure: Library repository and the installed integrated drive EMCX The drive is displayed in the list after installation is complete 2.
  • Page 34 Figure: Configuration window for motion control Click the "CANopen-Manager" branch in the device tree and select "Add Device" in the context menu. Select the integrated drive "EMCX-ST/EC_SoftMotion" under the manufacturer Festo AG & Co. KG. Figure: Add Device selection window Repeat steps 3 and 4 to add further drives.
  • Page 35 Festo controller CECC-X-M1-... Double-click the added device in the device tree and set the node ID on the [General] sub-tab. Figure: Configuration window on the [General] sub-tab of the SoftMotion device EMCX Further SDOs can be added and edited on the [SDOs] sub-tab. This is not normally necessary in the case of integrated drives EMCX.
  • Page 36 Festo controller CECC-X-M1 Figure: Configuration window on the [PDOs] sub-tab of the SoftMotion device EMCX A total of four send and four receive PDOs are available. For details about the integrated drives EMCX  www.festo.com/sp.
  • Page 37: Integrating Cpv Terminals

    Festo controller CECC-X-M1-... 4.7.6 Integrating CPV terminals CPV terminals are added to CANopen slaves CO2 (CPV-CO2) as sub-modules  Adding a CANopen slave, step 3. Click the CANopen slave "CO2" in the device window. Open the "Add Device" dialog –...
  • Page 38: Node Guarding

    Check the "Update IO while in stop" box. Figure: [PLC settings] sub-tab Configuring RS232 interfaces The controller CECC-X-M1-... provides two serial interfaces: – RS232-1 – RS232-2  Use the appropriate libraries (e.g. "CAA SerialCom") together with the Festo SerialComEx_3 library to parameterise the serial interfaces.
  • Page 39: Configuring An Encoder

    Festo controller CECC-X-M1-... Configuring an encoder To use an encoder, the device must be integrated in the controller configuration. Add the "General Purpose Serial" interface to the CODESYS device window. Click the "General Purpose Serial" branch. Right-click a free placeholder.
  • Page 40 Festo controller CECC-X-M1 Encoder settings Parameter Setting Explanation Encoder type Encoder deactivated Activates and presets the encoder. Encoder 90° phase single eval. Encoder 90° phase double eval. Encoder 90° phase quad. eval. Encoder with impulse and direct. Debounce time AB0...
  • Page 41 Festo controller CECC-X-M1-... 1 Upper compare value = 10 6 Signal curve for "counter value within compare values" 2 Lower compare value = -10 7 Signal curve for "counter value outside compare values" 3 Signal curve for "counter value = 8 Signal curve for "counter value = lower compare value...
  • Page 42 A buffer memory (latch) can be used to record the position value of the encoder when an external signal (latch result) occurs. This buffer memory can be read out during the next PLC cycle. The external signal is connected to the latch input. On the controller CECC-X-M1-..., this is the fourth input on the I/O interface (X2.3).
  • Page 43: Sample Program

    Festo controller CECC-X-M1-... Encoder inputs and outputs In addition to the actual position value, the encoder also supplies other values that are available as inputs and outputs. Figure: [Encoder port I/O Mapping] sub-tab Input/output Explanation Current value Current encoder position value.
  • Page 44: Configuring Rs422

    Festo controller CECC-X-M1 4.10 Configuring RS422 To use the RS422 interface, it must be integrated in the controller configuration. Add the "General Purpose Serial" interface to the CODESYS device window. Click the "General Purpose Serial" branch. Right-click a free placeholder.
  • Page 45: Configuring An Io-Link Master

    Note To use the IO-Link interface you need the IODD file for the relevant IO-Link device.  Festo device: Download the IODD file from the Festo Support Portal www.festo.com/sp.  Third-party device: Request the IODD file from the respective vendor.
  • Page 46: Selecting An Io-Link Device

    Festo controller CECC-X-M1 The sub-tabs contain the following information and setting options: Sub-tab Explanation IO-Link master Validation setting: Read in the serial number. Options: – Data storage: Save the parameters – Autoswitch: Automatically switch to Operate mode (default) Reserved (I/O mapping  Configuring an IO-Link device).
  • Page 47 Festo controller CECC-X-M1-... Actions in the "Plug Device" dialog Action Explanation Adding a device Select device for connecting to the selected connection. Insert device Does not work, since the number of connections is clearly defined. Plug device Replace device for connecting to the selected connection.
  • Page 48: Scanning For An Io-Link Device

    Festo controller CECC-X-M1 4.12.3 Scanning for an IO-Link device Instead of manually selecting an IO-Link device, you can also have CODESYS find it by scanning. Prerequisites: – There is a (temporary) connection to the device via the active path CODESYS has been logged into the device at least once  Online mode –...
  • Page 49: Configuring An Io-Link Device

    Festo controller CECC-X-M1-... 4.12.4 Configuring an IO-Link device Click a plugged device in the "IO-Link Master" branch in the CODESYS device window (here: VTUB- 12 8 Valves). Figure: Device window - selecting "Added IO-Link Device" Double-click the plugged device. The tab for configuring the respective IO-Link device appears in the editing window:...
  • Page 50: Configuring An Io-Link Device

    Note To use the IO-Link interface you need the associated IODD file (not with CAPC).  Download the IODD file for the controller from the Festo Support Portal www.festo.com/sp. Click the "IO-Link Device" branch in the CODESYS device window. Figure: Device window - selecting "IO-Link Device"...
  • Page 51 Festo controller CECC-X-M1-... Figure: Sample [I/O Mapping] sub-tab for the controller as an IO-Link device...
  • Page 52: Configuring Modbus Tcp

    Select the entry "Ethernet" in the "Device" drop-down list. Click the "Add Device" button. Leave the "Add Device" dialog open. If you want to configure the controller CECC-X-M1-... as a Modbus TCP client Configuring the controller as a Modbus TCP client.
  • Page 53: Configuring The Controller As A Modbus Tcp Client

    4.14.2 Configuring the controller as a Modbus TCP client Click the "Ethernet" branch in the device window. If there is no "Ethernet" branch added to the controller CECC-X-M1-..., add an "Ethernet" branch  Configuring Ethernet. Select the module "Modbus TCP Master" in the "Add Device" dialog.
  • Page 54 Festo controller CECC-X-M1 Enter the unit ID of the Modbus TCP server. This unit ID must be the same as the unit ID in the assigned Modbus TCP server in order for communication to take place. 10. Enter the port of the Modbus TCP server.
  • Page 55 Festo controller CECC-X-M1-... Figure: Settings on channel 2 This gives the controller an I/O map of the Modbus TCP server: Figure: [ModbusTCPSlave I/O Mapping] sub-tab 14. Repeat steps 4 to 13 for each additional Modbus TCP server ("Modbus TCP Slave") to be grouped with the selected "Modbus TCP Master".
  • Page 56: Configuring The Controller As A Modbus Tcp Server

    4.14.3 Configuring the controller as a Modbus TCP server Click the "Ethernet" branch in the device window. If there is no "Ethernet" branch added to the controller CECC-X-M1-..., add an "Ethernet" branch  Configuring Ethernet. Select the module "Modbus TCP Slave Device" in the "Add Device" dialog.
  • Page 57: Configuring Ethernet/Ip

    Festo controller CECC-X-M1-... 4.15 Configuring EtherNet/IP Click the "Ethernet" branch in the device window. If there is no Ethernet branch added to the controller CECC-X-M1-..., add an "Ethernet" branch  Configuring Ethernet. Select the "EtherNet/IP Adapter" in the "Add Device" context menu.
  • Page 58 Festo controller CECC-X-M1 10. Click the "..." button. Figure: [Ethernet] tab, [General] sub-tab with the settings for the network interface Only the network interface "eth0" at the connector [X8] is available for Ethernet/IP. 11. Click the network interface "eth0" (connector [X8]) and make the appropriate data settings.
  • Page 59 Festo controller CECC-X-M1-... A functioning EtherNet/IP server is indicated by the green status indicators. Figure: Device tree in online mode An appropriate EDS file must then be made available to the higher-order EtherNet/IP node. This generic EDS file can be found in the CODESYS installation folder on your PC: C:\ProgramData\CODESYS\Devices\101\1285_12_120_1\Major Revision%3D16%231%2C Minor Revision %3D 16%231\CODESYS_EtherNetIP_Adapter.eds...
  • Page 60: Configuring An Ethercat Slave

    Festo controller CECC-X-M1 4.16 Configuring an EtherCAT slave The controller has two gigabit LAN interfaces. Only "eth1" at the connector [X10] can be used for an EtherCAT network. 4.16.1 Adding an EtherCAT device Add the "EtherCAT Master" interface to the CODESYS device window.
  • Page 61 Festo controller CECC-X-M1-... Figure: Selecting the network adapter of the CECC-X-M1-... The auto configuration mode (option: Autoconfig Master/Slaves) is checked by default and sufficient for standard applications. If this mode is not enabled, all the configuration settings for the master and slave(s) must be made manually and expert knowledge is required! The auto...
  • Page 62: Adding An Ethercat Slave

    Festo controller CECC-X-M1 4.16.2 Adding an EtherCAT slave Click the "EtherCAT Master" branch in the CODESYS device window. Figure: Device window - selecting "EtherCAT Master" Open the "Add Device" dialog – menu command [Project] [Add Device] or – context menu [Add Device] Figure: "Add Device"...
  • Page 63 Festo controller CECC-X-M1-... Click the added EtherCAT slave in the device window. Figure: Device window - selecting "FB38" Double-click the added device "CPX-FB38 EtherCAT Fieldbus module". The tab for configuring the EtherCAT slave appears in the editing window, for example "FB38": Figure: Editing window with FB38 tab for EtherCAT slave Check the "Enable Expert Settings"...
  • Page 64: Configuring An Opc Ua Server

    Festo controller CECC-X-M1 4.17 Configuring an OPC UA server Click the "Application" branch in the device window. Select the "Symbol Configuration" entry in the "Add Object" dialog. Select "Support OPC UA Features" in the subsequent dialog. Click "Add". Figure: Properties of the symbol configuration Double-click the new "Symbol Configuration"...
  • Page 65 Festo controller CECC-X-M1-... Click in the "Member Variables" column. A further window where the selection can be made opens: Figure: Defining member variables Click "Build" to accept the settings. Any subsequent changes to variable definitions must be explicitly compiled within the symbol configuration.
  • Page 66 Festo controller CECC-X-M1 The server is automatically started after the application starts and the data is available for an OPC UA client. Figure: Sample program "UaExpert" from Unified Automation GmbH as an OPC UA client The "Micro Embedded Device Server" profile of the OPC UA specification is currently available.
  • Page 67: Online Mode

    Festo controller CECC-X-M1-... 4.18 Online mode Caution Risk of injury due to uncontrolled movements of the connected actuators.  Test projects and programs without active actuators and without compressed air initially. A configured project including program (CECC-X application) is to be transferred to the controller. Online mode must be activated for transfer, i.e.
  • Page 68: Starting And Monitoring The Application

    The entries for the controller and the application are shown against a green background in the device window. The application is running. "[run]" appears after the application. The circular arrows light up green. The "Run" status LED lights up green. Figure: Device window with controller CECC-X-M1/-MV/-MV-S1 in debug mode...
  • Page 69: Manually Setting I/Os

    Festo controller CECC-X-M1-... 4.18.3 Manually setting I/Os The editing window contains the online views for all program modules and offers the following options: – Writing and forcing variables – Using monitoring lists – Troubleshooting in applications (debugging) Example: "Front" I/O interfaces [X2, X3, X4] (onboard) Double-click "Digital Outputs"...
  • Page 70: Plc Shell

    This functionality is used for diagnostic, debugging and configuration purposes. To use the PLC shell: Click the controller CECC-X-M1-... in the CODESYS device window. Double-clicking the device opens the [Device] tab in the editing window for configuring the controller. Open the [PLC shell] sub-tab.
  • Page 71 Festo controller CECC-X-M1-... ist of standard commands for any target systems  CODESYS online Help. The following commands are additionally available for the controller CECC-X-M1-..Command Comment Shows all commands for the device in the active path. bootdevget Shows the current boot device configuration.
  • Page 72: External Usb And Microsd Storage Media

    Festo controller CECC-X-M1 4.20 External USB and microSD storage media USB storage devices and microSD memory cards can, in principle, be used as general mass storage media with the controller, e.g. for CODESYS and customer data. The controller also supports the execution of CODESYS boot projects and quality check programs from an external microSD memory card using the "microSD card"...
  • Page 73: Changing The Boot Device Configuration

    Festo controller CECC-X-M1-... 4.20.2 Changing the boot device configuration Connect the microSD memory card to the controller or remove the microSD memory card from the controller while it is de-energised. Switch on the controller. Change the boot project configuration  web interface or  PLC shell.
  • Page 74: Vision/Quality In Combination With An Microsd Memory Card As The Boot Device

    Festo controller CECC-X-M1 4.20.6 Vision/Quality in combination with an microSD memory card as the boot device If the microSD memory card has been selected as the boot device, the Vision/Quality configuration on the device will be duplicated on the microSD memory card the next time the device restarts. The configuration will then be loaded from there and any changes to it will only be synchronised with the microSD memory card.
  • Page 75: Web Interface

    The homepage of the web interface is accessed by entering the IP address of the controller in question in a web browser or by selecting the "Device homepage" via the Festo Field Device Tool (FFT). The homepage shows the current controller configuration as an icon. Various subcategories with further device-specific information and functions can be called up using the dynamic menu bar.
  • Page 76: Overview

    Festo controller CECC-X-M1 4.21.4 Overview – Vision/Quality Offers an overview of – Camera properties – Digital inputs used by Vision/Quality – Digital outputs controlled by Vision/Quality – Camera status (with the option to acknowledge simple error states using a web button) –...
  • Page 77 Festo controller CECC-X-M1-... Figure: Virtual Device View...
  • Page 78: Miscellaneous

    Festo controller CECC-X-M1 4.21.5 Miscellaneous Root authentication once per browser session is a mandatory requirement. It is recommended to execute the available functions with great care to avoid faults. The login name is "root" and the password is "Festo". –...
  • Page 79: Backing Up And Restoring Data With The Festo Field Device Tool

    Festo controller CECC-X-M1-... 4.22 Backing up and restoring data with the Festo Field Device Tool The Festo Device Tool (FFT) is available in the Support Portal  www.festo.com/sp.  Open the Festo Field Device Tool (FFT). Figure: Festo Field Device Tool (FFT) 4.22.1 Backup...
  • Page 80 Festo controller CECC-X-M1 A new window opens. Enter the name of the backup file and the storage location. Click the "OK" button. The backup starts: Figure: Backup settings After the backup is complete, the default web browser opens with the results of the backup operation:...
  • Page 81: Restore

    Click the controller. Select "Restore" in the context menu. Figure: Controller context menu in the Festo Field Device Tool (FFT) A new window opens. Enter the name of the backup file and the storage location.
  • Page 82 After the restore is complete, the default web browser opens with the results of the restore operation: Figure: Results page for the restore operation The Festo Field Device Tool includes a "Firmware with Backup" function, which combines the backup, firmware download and restore functions.
  • Page 83: Vision/Quality (Cecc-X-M1-Mv/-S1)

    The Vision/Quality settings such as exposure times or digital I/Os as well as the actual check programs, on the other hand, are created using the free software packages "CheckKon" and "CheckOpti", i.e. it is possible to execute Vision/Quality on the CECC-X-M1-... without CODESYS since Vision/Quality is commissioned separately from the CODESYS development environment.
  • Page 84 Either enter the IP address of the CECC-X-M1-MV/-S1 directly or click "Search...". All settings of the CECC-X-M1-MV/-S1 are automatically read and transferred into the project. Click [View], [System parameters] to be able to made the settings for the Vision/Quality functions as well as settings for the digital I/Os.
  • Page 85 A dialog opens that helps you to define a calibration. The calibration data for the coordinate transformation is permanently saved in the CECC-X-M1- MV/-S1 as well as in the project. This data is not stored on the camera! Existing check programs can optionally be transferred to the CECC-X-M1-MV/-S1 using the Check program Manager.
  • Page 86 Select the corresponding target device or perform a search for the target device by clicking "Ethernet interface". Either enter the IP address of the CECC-X-M1-MV/-S1 directly or click [Search...]. All the settings are transferred into the project by clicking "OK" and can be subsequently customised under [View], [Project properties].
  • Page 87 Festo controller CECC-X-M1-... 1 Parts list of sample parts 2 Parts list of test parts Figure: CheckOpti parts list Figure: Manual trigger in the Part contour window 10. Click a sample or test part in the parts list to display the part in the part contour window. You can switch between the contour and camera image display (the contour image will only be displayed if this was activated under "Camera image pre-processing"...
  • Page 88 A maximum of 256 tools can be added per check program. A maximum of 256 check programs are available. You can view the results directly in the information area of the Part contour window since CheckOpti performs the same calculations on your PC as the CECC-X-M1-MV/-S1. This permits offline working.
  • Page 89 Festo controller CECC-X-M1-... Defining data output Once all the check programs have been created, a corresponding data output can be defined in order to make the data available for CODESYS or external controllers (via telnet). In the area of the menu bar, select the check program you want to add a data output to.
  • Page 90 Festo controller CECC-X-M1 Assign the data output a communication name (max. 3 characters) on the [Settings] tab. The default values can be used for the rest of the settings. Several data outputs can be defined for each check program. The data outputs are differentiated by the communication names.
  • Page 91 The "< Copy" function imports a check program from the device into the project In total approx. 16 MB of check program memory is available to the CECC-X-M1-MV/-S1. This is also the case when using the "microSD card" boot device option.
  • Page 92: Special Function Of The Digital I/Os

    Festo controller CECC-X-M1 4.23.2 Special function of the digital I/Os Digital input X2.2 The digital input can be used as a hardware trigger. The corresponding entry under "I/O configuration" in CheckKon must be clicked for this. The polarity can also be specified at the input.
  • Page 93 X2.3 or X2.4. As a result the CECC-X-M1-MV/-S1 acts like a current amplifier since the cameras cannot operate components with higher power ratings (e.g. LED lights) directly (option "Output of ...").
  • Page 94: Controlling Vision/Quality Via Codesys

    4.23.3 Controlling Vision/Quality via CODESYS Vision/Quality can both be executed as a standalone function and controlled from CODESYS. The following function blocks are provided for this within the Festo MachineVision_3 library. Detailed description of the function blocks  online Help for Festo MachineVision_3 library.
  • Page 95 Festo controller CECC-X-M1-... The associated visualisation for the function block "FB_Basic" looks as follows: Figure: Visualisation for the function block "FB_Basic" Vision/Quality check programs cannot be executed while the live image is being displayed! In triggered mode, the current image is displayed in the window.
  • Page 96 Festo controller CECC-X-M1 FB_FlagwordAccess Used for write and read access to the Vision/Quality flagwords via CODESYS. Figure: Function block FB_FlagwordAccess There are freely usable flagwords (e.g. for saving variables that both Vision/Quality and CODESYS should permanently provide) and flagwords with fixed content.
  • Page 97: Version Conflict

     [Device] [Information] sub-tab. Possible remedies:  Update the firmware version of the controller using the FFT.  Use a suitable package (older version)  www.festo.com/sp.  Contact your local Festo Service partner if you have any questions  www.festo.com.
  • Page 98: Diagnosis

    Information 200 ... 255 Warning 1 ... 127 Error 128 ... 199 1) The Festo Field Device Tool (FFT) program can be downloaded via the Festo Support Portal  www.festo.com/sp. Table: Error evaluation options Figure: Editing window with [Log] sub-tab...
  • Page 99 Festo controller CECC-X-M1-... Error message Error no. Error class Remedy IoDrv: Overload Warning Check the outputs for possible short circuit. IoDrv: IO power supply Warning Check the I/O power supply. failure Undervoltage in power Warning Check the power supply. supply...
  • Page 100: Status Leds

    3 Ethernet 4 Power supply (24 V) for the device, digital and analogue inputs and the motor controller direct connection 5 Inputs and outputs (I/O) and power supply for I/O Figure: Status LEDs on the CECC-X-M1-... Sequence Meaning Comment 24 Volt...
  • Page 101 Festo controller CECC-X-M1-... Sequence Meaning Comment I/Os Lights up green 24 V input Inputs and outputs. Lights up yellow 24 V output RS232-1/-2 TX Lights up green CECC-X-M1-... sending data Data transmission. RS232-1/-2 RX Lights up green CECC-X-M1-... receiving data...
  • Page 102: Technical Appendix

    Festo controller CECC-X-M1 Technical appendix Technical data Feature Controller CECC-X-M1-... Operating voltage X1 and X5 19.2 ... 30 V DC Operating voltage X21 19.2 ... 50 V DC Current consumption 200 mA nominal at 24 V DC Integrated brake chopper –...
  • Page 103: Remanent Variables

    Make sure during programming that the total size of all the remanent data does not exceed the maximum available range of 4,096 bytes. This will avoid errors when transferring an application to the CECC-X-M1-..Further information can be found in the Festo Support Portal  www.festo.com/sp.
  • Page 104: Explanation Of The Severity Level (Sl) For Vibration And Shock Resistance

    Festo controller CECC-X-M1 Explanation of the severity level (SL) for vibration and shock resistance Vibration load Frequency range [Hz] Acceleration [m/s2] Deflection [mm] 2 … 8 2 … 8 – – ±3,5 ±3,5 8 … 27 8 … 27 –...
  • Page 105: Glossary

    CANopen: CAN-based fieldbus protocol standardised as a European standard. CODESYS V3 pbF: CODESYS V3 provided by Festo allows the configuration, commissioning and programming of different Festo components and devices. Abbreviation used sometimes in this document: CODESYS.
  • Page 106 Festo controller CECC-X-M1 Package: All of the configuration and expansion files that are required to make a specific controller (target system) usable for the CODESYS V3 pbF programming environment are combined in a package. PLC: Programmable logic controller. TCP: Transmission Control Protocol; protocol for data transport and backup.

This manual is also suitable for:

Cecc-x-m1-mvCecc-x-m1-mv-s1

Table of Contents

Save PDF