background image

Electronics  Manual

CoDeSys  Controller

Type
CPX−CEC−C1

CPX  Terminal

Manual

569  122
en  0907NH
[745  684]

Summary of Contents for CPX-CEC-C1

Page 1: ...Electronics Manual CoDeSys Controller Type CPX CEC C1 CPX Terminal Manual 569 122 en 0907NH 745 684...

Page 2: ......

Page 3: ...rmany 2009 Internet http www festo com E Mail service_international festo com The reproduction distribution and utilization of this document as well as the comunication of its contents to others witho...

Page 4: ...RX Registered trademark of Acument Intellectual Properties LLC Troy Michigan USA This product uses open source software which is subject to the GNU General Public License Version 2 The licensing condi...

Page 5: ...3 Parameterisation 1 11 1 4 Meaning of the LED displays 1 12 1 4 1 CPX specific LEDs 1 13 2 Installation 2 1 2 1 General installation instructions 2 3 2 2 Dismantling and fitting 2 4 2 2 1 Dismantlin...

Page 6: ...tion of the CANopen slaves 3 8 3 5 Parameterisation 3 9 3 5 1 Parameterisation via control configuration in CoDeSys 3 10 3 5 2 Parameterisation via the handheld type CPX MMI 3 13 3 6 Forcing 3 14 4 Di...

Page 7: ...net The CPX terminal with the CPX CEC C1 may only be used as follows as designated in industrial applications without any modifications by the user Only the conver sions or modifications described in...

Page 8: ...ol system programming errors in user programs and projects Simply switching off the compressed air supply or load voltage are not suitable locking procedures In the event of a fault this could lead to...

Page 9: ...or example the standards listed under the EC Machinery Directive must be observed Without additional measures in accordance with statutory minimum requirements the product is not suitable for use in s...

Page 10: ...roup This manual is intended exclusively for technicians trained in control and automation technology who have experience in installing commissioning programming and diagnosing positioning systems Ser...

Page 11: ...is made between the following danger warnings Warning means that failure to observe this instruction may result in serious personal injury or property damage Caution means that failure to observe thi...

Page 12: ...he Festo product Environment Information on the environmentally friendly use of Festo products Text markings The bullet indicates activities which may be carried out in any order 1 Numerals denote act...

Page 13: ...additional information on the device in the followingdocumentation Type Title Description Short manual CoDeSys Controller Type P BE K CPX CEC Connection and display elements mouting installation and t...

Page 14: ...e integrated in a CPX terminal DHCP Dynamic Host Configuration Protocol Dynamic protocol for automatic assignment of IP addresses DIL switch Dual in line switches consist of several switch elements wi...

Page 15: ...modular electric peripherals and the pneumatics TCP IP Combination of the protocols TCP and IP the most widely used protocol in communication via Ethernet TCP Transmission Control Protocol Protocpl fo...

Page 16: ...Contents and general instructions XIV Festo P BE CPX CEC EN en 0907NH...

Page 17: ...System summary 1 1 Festo P BE CPX CEC EN en 0907NH Chapter 1...

Page 18: ...controller CPX CEC 1 3 1 2 The operating modes of the CPX CEC C1 1 5 1 3 The CoDeSys provided by Festo programming environment 1 8 1 3 1 Programming languages 1 10 1 3 2 Libraries 1 11 1 3 3 Parameter...

Page 19: ...s provided by Festo as per IEC 61131 3 The CoDeSys controller is available in the following variants Variant Characteristics Availability CPX CEC C1 CoDeSys controller with CANopen interface Available...

Page 20: ...an OPC client The CPX CEC C1 offers a CANopen interface to which up to 31 CANopen slaves can be connected The CoDeSys controller controls a CPX terminal in the Stand Alone or Remote Controller operati...

Page 21: ...arious operating modes depending on the demand Stand Alone Remote Controller Ethernet Remote Controller Field Bus field bus node required The individual operating modes are briefly presented in the fo...

Page 22: ...PX CEC EN en 0907NH Remote Controller Ethernet operating mode Ethernet 1 2 1 CPX CEC C1 connected to an Ethernet network for communication 2 CPX terminal controlled by the CPX CEC C1 Fig 1 2 Remote Co...

Page 23: ...ler Field Bus operating mode 2 1 3 1 CPX CEC C1 connected to the field bus for communication over the field bus node 2 CPX field bus node hier CPX FB13 3 CPX terminal controlled by CPX CEC C1 Fig 1 3...

Page 24: ...egrated visualisation editor Documentation with the integrated project documentation Debugging functions Testing program sequence observing and changing variables error search To be able to use a cont...

Page 25: ...r 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...

Page 26: ...ILE DO as in high level languages Sequential function chart SFC Graphic programming language Enables programming of sequencers and so is suited for structuring and organising projects With transi tion...

Page 27: ...ependently of projects such as modules declarations and visualisations A library administrator with which you can integrate and view libraries is available for this purpose You will find detailed desc...

Page 28: ...4 Meaning of the LED displays The LEDs on the cover indicate the operating status of the CPX CEC C1 and are arranged in two groups 1 Controller LEDs see section 4 2 RUN STOP ERROR TP 2 CPX specific LE...

Page 29: ...erating voltage sensor supply outside the tolerance range Eliminate undervoltage LED flashes ON OFF Internal fuse for the operating voltage sensor supply has responded 1 Eliminate short circuit overlo...

Page 30: ...System Failure system error LED red Sequence 1 Meaning Error treatment LED is off ON OFF No error LED flashes ON OFF Simple error information Error class 1 See description of error numbers in the CPX...

Page 31: ...equence Meaning Error treatment LED is off ON OFF Force is not active LED flashes ON OFF Force is active The Force function is enabled see CPX system manual system parameter Force mode function no 440...

Page 32: ...1 System summary 1 16 Festo P BE CPX CEC EN en 0907NH...

Page 33: ...Installation 2 1 Festo P BE CPX CEC EN en 0907NH Chapter 2...

Page 34: ...splay elements 2 6 2 4 Setting of the switches of the CoDeSys controller 2 7 2 4 1 RUN STOP rotary switch 2 7 2 4 2 DIL switches 2 8 2 5 Ethernet interface 2 9 2 5 1 Ethernet cable 2 10 2 6 Communicat...

Page 35: ...mponents Therefore do not touch any components Observe the handling specifications for electrostatically sensitive components Note Check within the framework of your EMERGENCY STOP concept to ascertai...

Page 36: ...Dismantling Dismantle the CoDeSys controller as follows 1 Loosen the four screws of the CoDeSys controller with a TORX screwdriver size T10 2 Pull the CoDeSys controller carefully and without tilting...

Page 37: ...DeSys controller in the interlocking block Make sure that the grooves with the power contact terminals on the bottom of the CPX CEC lie above the power rails 3 Push the CoDeSys controller carefully an...

Page 38: ...ing and display elements can be found on the CPX CEC C1 2 3 4 6 7 5 1 1 Status LEDs 2 RUN STOP rotary switch 3 Ethernet interface 10 100BaseT RJ45 4 CANopen interface 9 pin Sub D plug 5 DIL switch 1 6...

Page 39: ...t position 0 STOP during installation The switch setting of the RUN STOP rotary switch with four internal digital inputs is passed on to the controller and can be evaluated there Rotary switch Setting...

Page 40: ...rved Leave the two switch elements of DIL switch 1 at OFF CPX CEC C1 DIL switch 1 Reserved DIL 1 1 OFF DIL 1 2 OFF Tab 2 2 Setting the DIL switch 1 DIL switch 2 For CPX CEC C1 you can switch the CAN b...

Page 41: ...an RJ45 socket Socket Pin Signal Explanation 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 Metal covering TD TD RD n c n c RD n c n c Shield Transmitted data Transmitted data Received data not connected not connect...

Page 42: ...ng part of a machine the Ethernet cable on the moving part must be provided with strain relief Network connection In order to connect your CoDeSys controller to a network or PC you will require a patc...

Page 43: ...n c CAN_L CAN_GND n c CAN_SHLD CAN_GND CAN_H n c n c FE not connected CAN low CAN ground not connected Connection to functional earth FE 2 CAN ground optional 1 CAN high not connected not connected T...

Page 44: ...sistor incorrect screened connection branches large distances unsuitable cables Use a twisted screened 4 core cable as CAN bus line The CoDeSys controller communicates with the drive controllers via t...

Page 45: ...max 0 4 Nm You can connect the CPX CEC C1 easily to the CAN bus with the CAN bus plug from Festo type FBS SUB 9 BU 2x5POL B You can disconnect the plug from the node without interrupting the bus cabl...

Page 46: ...tion window 2 Clamp strap for screening connection 1 3 Protective cap if connection is not used 4 CAN bus outgoing OUT 5 CAN bus incoming IN 6 Sub D plug 1 1 connected capacitively V GND H L SLD V GND...

Page 47: ...t the CAN bus interface Connect the screen There are further possibilities of connecting the CAN bus with adapters which can be ordered separately from Festo These adapters and additional accessories...

Page 48: ...operating and observing automation tasks at the field level Follow the accompanying user documentation when installing the device Fig 2 5 CPX terminal with CPX CEC C1 and operator unit type FED incl...

Page 49: ...of the displayeed data the connection to the CPX MMI is interrupted during a program download Use only the following original cables www festo com catalogue for connecting the handheld Type Cable leng...

Page 50: ...5 IP67 Cover 1 IP65 IP67 Ethernet RJ45 Plug type FBS RJ45 8 GS Cover 2 type AK RJ45 CANopen interface Sub D and DIL switch Plug type FBS SUB 9 BU 2X5POL B Transparent cover 2 type AK SUB 9 15 B Servic...

Page 51: ...Commissioning 3 1 Festo P BE CPX CEC EN en 0907NH Chapter 3...

Page 52: ...mmissioning 3 3 3 2 First steps 3 3 3 3 Configuration of the CPX modules 3 5 3 4 Configuration of the CANopen slaves 3 8 3 5 Parameterisation 3 9 3 5 1 Parameterisation via control configuration in Co...

Page 53: ...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 2 Con...

Page 54: ...icable 7 Open the Network configuration register 8 Carry out the Search network function 9 Select the desired CoDeSys controller 10 Carry out the Set as active PLC function 11 Back up the project You...

Page 55: ...reated a new project in section 3 2 and selected the desired CoDeSys controller now continue commissioning with configuration of the CPX modules 1 Click in the window PLC Configuration on the nodes to...

Page 56: ...guration function if you want to perform module configuration automatically The I O modules of a CPI module are not included in automatic module configuration In this case carry out a manual module co...

Page 57: ...at position 0 From the list of the CPX modules select the CPX module to the right of CPX CEC Repeat Append Subelement until you have selected all CPX modules Addressing of inputs and outputs takes pla...

Page 58: ...s results in a change of the address assignment of the CANopen slaves 1 In the PLC Configuration window click with the right mouse key on the Root node of the CoDeSys controller 2 In the Append Subele...

Page 59: ...the parameters and data as well as basic information on parameterisation of the CPX terminal can be found in the CPX system manual type P BE CPX SYS Detailed information on the module parameters can...

Page 60: ...undertaken for the setpoint configuration logout Parameters are transferred when the project is loaded When the relevant dialogue has been opened you can view and modify the individual parameters Par...

Page 61: ...gister you receive the following information on the CoDeSys controller Fig 3 5 Module 0 register Network configuration logout Look for the controller for which you want to prepare the new CoDeSys proj...

Page 62: ...EN en 0907NH System parameters Set the system parameters in the System Parameters register Fig 3 7 System Parameters register Trace parameters Set the following parameters in the Trace Parameters reg...

Page 63: ...I The parameters of the CPX terminal can be read and modified via a connected handheld Note Parameterisations via the handheld are saved only locally in the CPX terminal and are lost with Power OFF ON...

Page 64: ...held type CPX MMI Forcing an input does not modify the input signal itself and cannot be observed at the relevant status LED The logical status of the input changes internally and in some cases has an...

Page 65: ...ssing image and are therefore not recognized by the controller They are not therefore represented in the online display You have various possibilities of temporarily influencing input or output signal...

Page 66: ...3 Commissioning 3 16 Festo P BE CPX CEC EN en 0907NH...

Page 67: ...Diagnosis 4 1 Festo P BE CPX CEC EN en 0907NH Chapter 4...

Page 68: ...4 Diagnosis 4 2 Festo P BE CPX CEC EN en 0907NH Contents 4 1 General error response of the CoDeSys controller 4 3 4 2 Diagnosis via controller LEDs 4 5 4 3 Further diagnostics options 4 7...

Page 69: ...ries Include error handling mechanisms for all error categories in the user program Make sure that no persons are in the operating range of the drives or any other connected actuators The CoDeSys cont...

Page 70: ...e section 4 2 CPX specific LEDs see section 1 4 Handheld type CPX MMI Fast on the spot recognition of faults See CPX system manual Control configuration Online diagnosis without programming See online...

Page 71: ...OP switch is in position 1 F LED is off ON OFF PLC program stopped RUN STOP switch is in position 0 Set RUN STOP switch to position 1 F Tab 4 2 Displays of LED RUN STOP PLC status stopped LED yellow S...

Page 72: ...or CoDeSys pbF LED is off ON OFF No error Tab 4 4 Displays of LED ERROR TP Ethernet connection link traffic LED green Sequence Status Error number Error handling LED lights up ON OFF Ethernet connecti...

Page 73: ...ions Detailed information on diagnosis with the handheld type CPX MMI can be found in the CPX system manual type P BE CPX SYS You will find detailed information on diagnostics for the controller confi...

Page 74: ...4 Diagnosis 4 8 Festo P BE CPX CEC EN en 0907NH...

Page 75: ...Technical appendix A 1 Festo P BE CPX CEC EN en 0907NH Appendix A...

Page 76: ...A Technical appendix A 2 Festo P BE CPX CEC EN en 0907NH Contents A 1 Technical data A 3...

Page 77: ...emory 4 MB user program Protocol CoDeSys Level 2 EasyIP Modbus TCP TCP IP Device specific diagnostics Channel and module oriented diagnostics Undervoltage short circuit modules Diagnostic memory Addit...

Page 78: ...TCP Protection class only in conjunction with plugs and covers in protection class IP65 IP67 IP65 IP67 Nominal operating voltage 24 V DC Loadvoltage without pneumatics with pneumatics type Midi Maxi...

Page 79: ...Index B 1 Festo P BE CPX CEC EN en 0907NH Appendix B...

Page 80: ...B Index B 2 Festo P BE CPX CEC EN en 0907NH...

Page 81: ...d type CPX MMI 2 17 CAN bus Cable 2 12 Connecting 2 12 2 15 Termination 2 8 CoDeSys provided by Festo XIII 1 8 Configuration CANopen slaves 3 8 CPX modules 3 5 Connection and display elements 2 6 CPX...

Page 82: ...nterfaces CANopen 2 11 Ethernet 2 9 L LEDs Controller LEDs 4 5 CPX specific 1 12 O Operating modes 1 5 Operator unit type FED 2 16 P Parameterisation 3 9 via control configuration 3 10 via handheld ty...

Page 83: ...B 5 Festo P BE CPX CEC EN en 0907NH S Service IX Strain relief 2 12 Switch RUN STOP rotary switch 2 7 Switches DIL switch 2 8 System parameters 3 12 T Target group IX Technical data A 3 U User instruc...

Page 84: ...B Index B 6 Festo P BE CPX CEC EN en 0907NH...

Reviews: