Terminal CPX Bus node CPX-FB39 Electronics description Network protocol Sercos III 8028633 1504NH [8028639] Bus node CPX-FB39 Translation of the original instructions P.BE-CPX-FB39-EN CODESYS®, SERCOS®, SPEEDCON® are registered trademarks of the respective trademark owners in certain countries. Identification of hazards and instructions on how to prevent them: Warning Hazards that can cause death or serious injuries. Caution Hazards that can cause minor injuries or serious material damage. Other symbols: Note Material damage or loss of function. Recommendations, tips, references to other documentation. Essential or useful accessories. Information on environmentally sound usage. Text designations: Activities that may be carried out in any order. 1. Activities that should be carried out in the order stated. – General lists. 2 Festo – P.BE-CPX-FB39-EN – 1504NH – English Bus node CPX-FB39 Table of Contents – Bus node CPX-FB39 1 Safety and requirements for product use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.1 Safety . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1.1 General safety instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1.2 Use for intended purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Requirements for product use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2.1 Technical requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2.2 Qualification of the specialized personnel (requirements for the personnel) . . . 1.2.3 Range of application and certifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2.4 Quoted guidelines and standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 7 7 8 9 9 9 9 2 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.1 2.2 2.3 2.6 General instructions on installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Electrical connections and indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mounting and dismantling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.1 Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.2 Dismantling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.3 Complying with degree of protection IP65/IP67 . . . . . . . . . . . . . . . . . . . . . . . . . Settings of the DIL switches on the bus node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4.1 Removing and attaching the DIL switch cover . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4.2 Arrangement of the DIL switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4.3 Setting the DIL switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4.4 Setting the operating mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4.5 Setting of the diagnostic mode (remote I/O) . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4.6 Setting of the I/O mode (remote controller) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4.7 Set the Sercos address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting to the network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.1 General notes about Sercos networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.2 Overview of connection technology and network plugs . . . . . . . . . . . . . . . . . . . 2.5.3 Cable specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.4 Network connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.5 Setting the IP address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.6 Webserver function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 11 12 12 12 13 14 14 14 15 15 16 17 18 19 19 19 20 20 21 22 23 3 Commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.1 3.2 3.3 General points about Sercos III . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Depiction of the CPX system on the Sercos-device model . . . . . . . . . . . . . . . . . . . . . . . . . . Device description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 25 25 1.2 2.4 2.5 Festo – P.BE-CPX-FB39-EN – 1504NH – English 3 Bus node CPX-FB39 3.4 Address assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.1 Bus node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.2 Digital modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.3 Analogue modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.4 Technology modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.5 Determination of the address assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.1 Basic rules for addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.2 Example 1: CPX terminal with electronic modules VMPA1 and VMPA2 . . . . . . . . 3.5.3 Example 2: CPX terminal with electrical interface (CP interface) . . . . . . . . . . . . 3.5.4 Example 3: CPX terminal with analogue module and pneumatic interface . . . . . 3.5.5 Address assignment after extension/conversion . . . . . . . . . . . . . . . . . . . . . . . . Incorporation in the host system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6.1 Codesys control software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6.2 Installing device description files (SDDML files) . . . . . . . . . . . . . . . . . . . . . . . . . 3.6.3 Inserting field bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6.4 Insert bus node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6.5 Inserting other modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6.6 I/O assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6.7 Changing parameters in Codesys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Parameterisation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7.1 Introduction to parameterisation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7.2 Prerequisite for parameterization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7.3 Methods of parameterisation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7.4 Parameterisation via the Festo Maintenance Tool (CPX-FMT) software . . . . . . . 3.7.5 Parameterization with the control device (CPX-MMI) . . . . . . . . . . . . . . . . . . . . . 3.7.6 Parameterization via Sercos III . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 27 28 31 32 34 35 35 36 37 38 39 40 40 40 42 44 47 48 49 50 50 51 51 52 52 52 4 Diagnostics and error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 4.1 4.2 Summary of diagnostics options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnostics via LED displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2.1 Standard operating status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2.2 CPX-specific LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2.3 Network-specific LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnostics via status bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnostics via the I/O diagnostics interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnostics via Sercos III . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.5.1 Basic diagnostic functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.5.2 I/O diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.5.3 I/O diagnostics with Festo-specific extensions . . . . . . . . . . . . . . . . . . . . . . . . . . Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 54 55 55 57 59 60 61 61 61 62 63 3.5 3.6 3.7 4.3 4.4 4.5 4.6 4 Festo – P.BE-CPX-FB39-EN – 1504NH – English Bus node CPX-FB39 A Technical appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 A.1 A.2 Technical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . List of abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 65 B Identification Numbers (IDNs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 B.1 Sercos Communication Profile (SCP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.1.1 Function Group - SCP Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.1.2 Function Group - Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.1.3 Function Group - Telegram Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.1.4 Function Group - Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.1.5 Function Group - Bus Diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.1.6 Function Group - Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.1.7 Function Group - NRT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Generic Device Profile (GDP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.2.1 Function Group - Diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.2.2 Function Group - Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.2.3 Function Group - Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.2.4 Function Group - Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Function Specific Profile IO (FSP IO) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.1 Function Group - Generic I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.2 Function Group - Bus Coupler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.3 Manufacturer-specific extensions to the Function Specific Profile IO (FSP IO) . . Overview of the supported classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.4.1 Supported classes of the Sercos Communication Profile (SCP) . . . . . . . . . . . . . B.4.2 Supported classes of the Generic Device Profile (GDP) . . . . . . . . . . . . . . . . . . . 67 67 67 67 68 68 69 69 70 70 70 71 71 72 72 72 73 74 74 74 C Diagnostic messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 C.1 C.2 Depiction of CPX diagnostic classes on Sercos diagnostic classes . . . . . . . . . . . . . . . . . . . Depiction of CPX diagnostic messages on Sercos status codes . . . . . . . . . . . . . . . . . . . . . 75 75 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 B.2 B.3 B.4 Festo – P.BE-CPX-FB39-EN – 1504NH – English 5 Bus node CPX-FB39 Instructions on this documentation This description contains specific information about the installation, commissioning and diagnostics of the CPX bus node for Sercos III as well as specific information about Sercos III relating to the paramet­ erization, commissioning, programming and diagnostics of a CPX terminal in a Sercos III network. You will find further information about Sercos III on the Internet: è www.sercos.org General basic information about the mode of operation, mounting, installation and commissioning of CPX terminals can be found in the CPX system description (è P.BE-CPX-SYS-…). Information about additional CPX modules can be found in the description for the respective module. An overview of the structure of user documentation for the CPX terminal can be found in the CPX system description (è P.BE-CPX-SYS-…). Service Please consult your regional Festo contact if you have any technical problems. 6 Festo – P.BE-CPX-FB39-EN – 1504NH – English 1 Safety and requirements for product use 1 Safety and requirements for product use 1.1 Safety 1.1.1 General safety instructions The general safety information in the corresponding chapters must be observed. Special safety and danger warnings are written directly before the action instruction. Please Note Damage to the product from incorrect handling. Switch off the supply voltage before mounting and installation work. Switch on sup­ ply voltage only when mounting and installation work are completely finished. Never unplug or plug in a product when powered! Observe the handling specifications for electrostatically sensitive devices. 1.1.2 Use for intended purpose The module described in this document, used in conjunction with a CPX terminal, makes it possible to connect up as a participant on a Sercos III network. The module is intended for use in an industrial environment. Outside of industrial environments, e.g. in commercial and mixed-residential areas, actions to suppress interference may have to be taken. The module is intended exclusively for use in CPX terminals from Festo for installation in machines or automated systems and may be used only in the following ways: – In perfect technical condition – in original status without unauthorised modifications, except for the adaptations described in this documentation – within the limits of the product defined through the technical data (è A.1 Technical data). Festo – P.BE-CPX-FB39-EN – 1504NH – English 7 1 Safety and requirements for product use Warning Electrical voltage Injury caused by electric shock, damage to machine and to system For the electrical power supply, use only PELV circuits in accordance with IEC 60204-1 (Protective Extra-Low Voltage, PELV). Observe the general requirements of IEC 60204-1 for PELV circuits. Use only voltage sources which guarantee reliable electrical isolation of the operat­ ing and load voltage in accordance with IEC 60204-1. Always connect all circuits for operating and load voltage supply UEL/SEN, UVAL and UOUT. Through the use of PELV circuits, protection against electric shock (protection against direct and indir­ ect contact) is ensured in accordance with IEC 60204-1. Note the information about the power supply and about the applicable grounding measures provided in the CPX system description (è P.BE-CPX-SYS-…). Please Note In the event of damage caused by unauthorised manipulation or other than intended use, the guarantee is invalidated and the manufacturer is not liable for damages. 1.2 Requirements for product use Make this documentation available to the design engineer, installer and personnel responsible for commissioning the machine or system in which this product is used. Make sure that the specifications of the documentation are always complied with. Consider also the documentation for other components and modules (e.g. CPX system description, P.BE-CPX-SYS-…). Take into consideration the legal regulations applicable for the location as well as: – Regulations and standards – Regulations of the testing organisations and insurers – national specifications. 8 Festo – P.BE-CPX-FB39-EN – 1504NH – English 1 Safety and requirements for product use 1.2.1 Technical requirements General conditions for the correct and safe use of the product, which must be observed at all times: Comply with the connection and ambient conditions specified in the technical data of the product (è Appendix A.1) and for all connected components. Only compliance with the limit values or load limits permits operation of the product in accordance with the relevant safety regulations. Observe the notes and warnings in this documentation. 1.2.2 Qualification of the specialized personnel (requirements for the personnel) This description is directed exclusively to technicians trained in control and automation technology, who are experienced in: – the installation, commissioning, programming and diagnosis of programmable controllers (PLCs) and field bus systems – the applicable regulations for operating safety-engineered systems – the applicable regulations for accident prevention and industrial safety – the documentation for the product. 1.2.3 Range of application and certifications Standards and test values, which the product complies with and fulfils, can be found in the “Technical data” section (è Appendix A.1). The product-relevant EU directives can be found in the declaration of conformity. Certificates and declaration of conformity on this product can be found at www.festo.com. 1.2.4 Quoted guidelines and standards Issue status ANSI/TIA-568-B.1-3:2003-02 IEC 60204-SER:2013-04 IEC 60204-1:2009-02 IEC 60529:2001-02 IEC 61076-2:2011-06 IEEE 802.3:2012 ISO/IEC 11801:2008-09 Tab. 1.1 Festo – P.BE-CPX-FB39-EN – 1504NH – English 9 2 Installation 2 Installation 2.1 General instructions on installation Warning Uncontrolled movement of the actuators, loose tubing, undefined switching states of the electronics Injury caused by moving parts, damage to machine and to system Before mounting and installation work: Switch off the power supply Switch off the compressed air supply Vent the pneumatics. Caution The CPX bus node contains electrostatically sensitive devices. Therefore, do not touch any components. Observe the handling specifications for electrostatically sensitive devices. They will help you avoid damage to the electronics. Please Note Ensuring degree of protection IP65/IP67 Use cover caps or dummy plugs to seal unused connections (è 2.3.3 Complying with degree of protection IP65/IP67). 10 Festo – P.BE-CPX-FB39-EN – 1504NH – English 2 Installation 2.2 Electrical connections and indicators The following connections and displays are located on the bus node: 5 1 2 1 2 3 4 5 1) 2) 4 Network status and CPX-specific LEDs Network connection X11) Network connection X21) DIL switch cover Service interface2) for the control device (CPX-MMI) or the Festo Maintenance Tool software (CPX-FMT) 3 Connection bush M12, D-coded, 4-pin Connection bush M12, A-coded, 5-pin Fig. 2.1 Festo – P.BE-CPX-FB39-EN – 1504NH – English 11 2 Installation 2.3 Mounting and dismantling Warning Electrical voltage Injury caused by electric shock, damage to machine and to system Switch supply power off before assembly work. 2.3.1 Mounting Please Note Material damage due to incorrect mounting Select screws that are suitable for the material of the interlinking block: – plastic: thread-cutting tapping screws – metal: screws with metric thread. When ordering an individual module, all the screws required are enclosed. 1. Check seal and sealing surface. Replace damaged parts. 2. Push the module carefully and without tilting into the interlinking block up to the stop. 3. Turn the screws into the existing thread. 4. Tighten the screws in diagonally opposite sequence. Tightening torque: 0.9 … 1.1 Nm. 1 2 3 1 2 Screws Module Interlinking block 3 Fig. 2.2 Please Note In the Remote I/O operating mode, the bus node must be placed as the first module (slot 0) to the far left of the CPX terminal. 2.3.2 Dismantling 1. Unscrew screws. 2. Pull the module without tilting out of the interlinking block. 12 Festo – P.BE-CPX-FB39-EN – 1504NH – English 2 Installation 2.3.3 Complying with degree of protection IP65/IP67 Use connection technology with type of protection IP65/IP67 (è www.festo.com/catalogue, examples in Tab. 2.1). Use cover caps to seal unused connections. connection Connection technology Cover cap Network connection Service interface Plug connector NECU-M-S-D12G4-C2-ET Connecting cable KV-M12-M12-…1) ISK-M122) 1) Connecting cable for operator unit (CPX-MMI) 2) Included in the scope of delivery Tab. 2.1 Festo – P.BE-CPX-FB39-EN – 1504NH – English 13 2 Installation 2.4 Settings of the DIL switches on the bus node In order to set the bus node, you must first remove the cover for the DIL switches. Caution The CPX bus node contains electrostatically sensitive devices. Therefore, do not touch any components. Observe the handling specifications for electrostatically sensitive devices. They will help you avoid damage to the electronics. 2.4.1 Removing and attaching the DIL switch cover Use an appropriate tool to remove or attach the DIL switch cover. Please Note Observe the following notes when removing or attaching the DIL switch cover: Disconnect the power supply before removing the cover. Make sure that the seal is seated correctly when attaching the cover! Tighten the two mounting screws with a max. torque of 0.4 Nm. 2.4.2 Arrangement of the DIL switches There are 3 DIL switches available for configuring the bus node. These are located under the DIL switch cover (è 2.4.1 Removing and attaching the DIL switch cover). 1 2 3 1 2 3 1) DIL switch 1: – operating mode “remote I/O” – operating mode “remote controller” DIL switch 2:1) – diagnostics mode (remote I/O) – I/O mode (remote controller) DIL switch 3: – Sercos address (1 … 255) The function is dependent on the set operating mode (è DIL switch 1) Fig. 2.3 14 Festo – P.BE-CPX-FB39-EN – 1504NH – English 2 Installation 2.4.3 Setting the DIL switches 1. Switch supply power off. 2. Remove DIL switch cover (è 2.4.1). 3. Perform required settings (è 2.4.4 … 2.4.7). 4. Reinstall DIL switch cover (è 2.4.1). Please Note Parameterisation via DIL switch settings is taken over only when the power supply is switched on. 2.4.4 Setting the operating mode With the DIL switch element 1.1 on DIL switch 1 the operating mode of the bus node is set. Operating mode Remote I/O operating mode All functions of the CPX terminal are controlled directly by the Sercos controller or by a superordinate PLC/IPC. The bus node takes charge of connection to the Sercos III network. Remote Controller operating mode An FEC or CEC integrated into the CPX terminal controls all functions of the CPX terminal, i.e. the FEC or CEC undertakes the I/O control. The bus node takes charge of connection to the Sercos III network. Setting DIL switch 1 1.1: OFF (factory setting) 1.1: ON Tab. 2.2 Please Note Setting of the operating mode via DIL switch 1 has priority over all other settings. The switch element 1.2 of DIL switch 1 is reserved and without function. Festo – P.BE-CPX-FB39-EN – 1504NH – English 15 2 Installation 2.4.5 Setting of the diagnostic mode (remote I/O) The diagnostic mode is available only in the remote I/O operating mode. Diagnostic mode (remote I/O operating mode) Setting DIL switch 2 I/O diagnostics interface and status bits are switched off 2.1 OFF 2.2 OFF (factory setting) 2.1 ON 2.2 OFF I/O diagnostics interface is switched on1) Status bits are switched on2) 2.1 2.2 OFF ON Reserved 2.1 2.2 ON ON 1) The I/O diagnostic interface occupies an additional 16 input and 16 output bits 2) The status bits occupy an additional 16 input bits Tab. 2.3 Please Note The diagnostics mode reduces the available address space. When planning your CPX terminal, consider that the number of input and output bits available for communication is reduced with usage of the diagnostic mode. Subsequent activation of the diagnostics mode requires a reconfiguration. Observe that the CPX-internal I/O image can be displaced during subsequent activa­ tion of the diagnostics mode. In this case, repeat the network configuration. 16 Festo – P.BE-CPX-FB39-EN – 1504NH – English 2 Installation 2.4.6 Setting of the I/O mode (remote controller) The I/O mode is available only in the remote controller operating mode. Number of I/O bytes (Remote Controller operating mode) 8 byte I/8 byte O for communication of the bus node with the CPX-FEC or CPX-CEC. Reserved Setting DIL switch 2 2.1 OFF 2.2 OFF (factory setting) 2.1 ON 2.2 OFF 16 byte I/16 byte O for communication of the bus node with the CPX-FEC or CPX-CEC. 2.1 2.2 OFF ON Reserved 2.1 2.2 ON ON Tab. 2.4 Festo – P.BE-CPX-FB39-EN – 1504NH – English 17 2 Installation 2.4.7 Set the Sercos address DIL switch elements 3.1 to 3.8 are used for setting the binary coding of the Sercos address. If all switch elements of DIL switch 3 are in the OFF setting, the Sercos address can altered dynamically by write accesses to parameter S-0-1040. Setting DIL switch 3 Sercos address 3.8: 3.7: 3.6: 3.5: 3.4: 3.3: 3.2: 3.1: 4 5 6 7 8 Permitted addresses: – 1 … 255 (via DIL switches) – 0 … 511 (dynamically via S-0-1040)1) 1) 1 2 3 Factory reset: – 0 (DIL switch) – 254 (dynamic) 27 26 25 24 23 22 21 20 128 64 32 16 8 4 2 1 Only with dynamic address issue (all switch elements in the OFF setting) Tab. 2.5 Address: Address: 38 Address: Address: 6 7 8 + 128 + 64 + 32 – + 8 + 4 + 2 + 1 Address: 239 3 8 4 5 64 32 2 2 – + + – + – + – Address 239 1 8 5 6 7 4 2 1 55 3 4 32 16 2 8 7 6 2 4 2 3 4 5 32 – – + + – + + + Address 106 1 1 5 – – + – – + + – Address 55 1 8 7 6 5 4 3 4 2 – – – – – + – + Address 38 1 1 2 3 4 5 6 7 8 Address 05 106 Tab. 2.6 18 Festo – P.BE-CPX-FB39-EN – 1504NH – English 2 Installation 2.5 Connecting to the network 2.5.1 General notes about Sercos networks Please Note A Sercos network must always be structured as as ring or line topology. For this reason, the use of hubs or switches is not permitted. Please Note Connecting a PC to the Sercos network (e.g. to use the bus node with the CPX-FMT soft­ ware). – With line topology: Connect the PC to the free port of the Sercos slave. – With ring topology: Use a network tap suitable for Sercos. Please Note Sub-assemblies with Ethernet interfaces should only be operated in networks if all con­ nected network components are supplied by PELV circuits or integrated power circuits with equivalent protection. Installation guidelines Installation guidelines can be sourced from the Sercos user organization (è http://www.sercos.org). 2.5.2 Overview of connection technology and network plugs Note Faulty installation and high transmission rates may cause data transmission errors as a result of signal reflections and attenuations. Note wiring specification (è Tab. 2.8). Transmission errors can be caused by: – faulty screened connection – branches – transmission over distances which are too long – unsuitable cables. Connection technology Network connectors 2 x M12 bush, D-coded, 4-pin, in accordance with IEC 61076-2, SPEEDCON compatible Plug connector NECU-M-S-D12G4-C2-ET Tab. 2.7 Festo – P.BE-CPX-FB39-EN – 1504NH – English 19 2 Installation 2.5.3 Cable specification Use sheathed Industrial Ethernet wiring of category Cat 5 or higher. The bus node supports the “crossover detection” function (Auto-MDI/MDI-X). To connect the bus node to the network or to a PC, this means you can choose between patch cables or crossover cables. The circuitry for network connections X1 and X2 is adapted automatically. CPX-FB39 Cable specification Cable type Transmission class Cable diameter Wire cross section Connection length Industrial Ethernet cable, screened Category Cat 5 6 … 8 mm 0.14 … 0.75 mm², AWG 221) Maximum 100 m2) 1) Required for maximum connection length between the network participants 2) corresponding to specification for Ethernet networks, based on ISO/IEC 11801, ANSI/TIA/EIA-568 Tab. 2.8 Please Note When mounting the CPX terminal on a moving part of a machine. Use network wiring with tension relief. Note corresponding stipulations of IEC 60204. 2.5.4 Network connections There are two 4-pin, D-coded M12 sockets on the bus node for the network connection. The sockets are compatible with SPEEDCON plugs. Socket1) M12, 4-pin 1) Pin Connection [X1] Signal Explanation Connection [X2] Signal Explanation 1 2 3 4 TX+ RX+ TX– RX– RX+ TX+ RX– TX– Transmitted data + Received data + Transmitted data – Received data – Received data + Transmitted data + Received data – Transmitted data – Functional earth is accomplished via the housing. Tab. 2.9 Functional earth Please Note The shielded connection for both network connections is linked by RC element to the ground potential of the CPX terminal. Connect the ground connection of left-hand terminal plate in a low-current and low-impedance manner to the ground potential (è CPX system description P.BE-CPX-SYS-…). 20 Festo – P.BE-CPX-FB39-EN – 1504NH – English 2 Installation 2.5.5 Setting the IP address Alternatively the IP address for the bus node can be set via: – Dynamic addressing via DHCP/BOOTP – Stored network setting. The IP address is factory-set to 192.168.1.20. Dynamic addressing via DHCP/BOOTP Make sure that a DHCP/BOOTP server is located in the network. Alternatively activate dynamic addressing by DHCP/BOOTP via: – Operator unit (CPX-MMI) – Festo Maintenance Tool (CPX-FMT) software – Sercos IDNs. Saved network settings The bus node CPX-FB39 offers the option of saving network settings in a non-volatile memory unit. DHCP/BOOTP is thereby deactivated. Alternatively change the network settings via: – Operator unit (CPX-MMI) – Festo Maintenance Tool (CPX-FMT) software – Higher-order system – Sercos IDNs. This activates saving of the network settings. Festo – P.BE-CPX-FB39-EN – 1504NH – English 21 2 Installation 2.5.6 Webserver function A web server is integrated in the bus node CPX-FB39. It makes available read access to the most im­ portant parameters and diagnostic functions of the CPX terminal. Procedure 1. Open an Internet browser on a PC with a connection to the network. 2. Enter the set/identified IP address of the bus node in the address line of the Internet browser (è 2.5.5 Setting the IP address). Fig. 2.4 22 Festo – P.BE-CPX-FB39-EN – 1504NH – English 2 2.6 Installation Power supply The operating and load voltage supply is directed via the interlinking blocks (è CPX system descrip­ tion P.BE-CPX-SYS-…). Warning Electrical voltage Injury caused by electric shock, damage to machine and to system For the electrical power supply, use only PELV circuits in accordance with IEC 60204-1 (Protective Extra-Low Voltage, PELV). Observe the general requirements of IEC 60204-1 for PELV circuits. Use only voltage sources which guarantee reliable electrical isolation of the operat­ ing and load voltage in accordance with IEC 60204-1. Always connect all circuits for operating and load voltage supply UEL/SEN, UVAL and UOUT. Through the use of PELV circuits, protection against electric shock (protection against direct and indir­ ect contact) is ensured in accordance with IEC 60204-1. Note the information about the power supply and about the applicable grounding meas­ ures (è CPX system description P.BE-CPX-SYS-…). Festo – P.BE-CPX-FB39-EN – 1504NH – English 23 3 3 Commissioning Commissioning Please Note Only commission a correctly installed CPX terminal (è 2 Installation). Please Note A firmware update can be performed by the Festo Field Device Tool (FFT). The current version is available on the Festo Support Portal on the Internet (è www.festo.com/sp). – General information on commissioning the CPX terminal as well as a detailed description of individual parameters is found in the CPX system description (è P.BE-CPX-SYS-…). – Information on commissioning the analogue pneumatic interfaces and I/O modules can be found in the description (è P.BE-CPX-EA-…). – Instructions on commissioning the pneumatic components can be found in the corres­ ponding description of pneumatics. 3.1 General points about Sercos III Please Note The bus node CPX-FB39 is a remote I/O system that communicates with the Sercos controller via the Sercos IO profile (Function Specific Profile IO). Sercos III is an Ethernet-based communication protocol for automation applications. Communication on a Sercos III network is based on the time-stop process with cyclical data transmis­ sion in the form of telegrams based on the master-slave principle. This combines real-time and nonreal-time communication channels in a communication system. Real Time Channel (RTC) During transmission in real-time, a distinction is made between two types of telegram. – Master data telegram (MDT): For communication of nominal/setpoint data from master to slaves. – Acknowledge telegram (AT): For communication of status data from slaves to master and for trans­ verse communication between the individual controllers or slaves. Non-real-time channel (Universal Communication Channel - UCC) For the exchange of standard Ethernet telegrams between any participants on the network. You will find further information about Sercos III on the Internet: è www.sercos.org 24 Festo – P.BE-CPX-FB39-EN – 1504NH – English 3 Commissioning 3.2 Depiction of the CPX system on the Sercos-device model The underlying depiction of the CPX system on Sercos is illustrated by the next graphic (è Fig. 3.1). The CPX system is illustrated here as a Sercos device with a Sercos interface, a Sercos slave and the associated sub device. Communication is performed by the Sercos interface and the Sercos slave. Gen­ eric parts of the device application are implemented as part of the sub device. The resource IO is as­ signed to the sub device: It depicts the Sercos function profile (Function Specific Profile IO) and in­ cludes a depiction of the individual CPX modules on Sercos. Physical structure CPX system 1 consists 1…n includes 1 CPX modules 0…n uses 1 corresponds 1 Device (logical) 1 0…n 1 Sub Device 1 Generic Device Profile owns owns 1 1 Sercos interface 1 includes 1 1 includes Sercos slave 1 Resource IO Application Function Specific Profile IO communication Sercos Communication Profile Sercos-III network Fig. 3.1 3.3 Device description During initial commissioning of a Sercos participant, the controller software is notified of certain prop­ erties of the participant. These properties are administered in what are known as device description files in standardized XML format. The device description of Sercos-III devices is in the form of SDDML files (Sercos Device Description Markup Language) and is based on the Sercos-III device model. This provides a separate device de­ scription file for each device. The device description files (SDDML files) are available on the Festo support portal on the Internet (è www.festo.com/sp). Festo – P.BE-CPX-FB39-EN – 1504NH – English 25 3 3.4 Commissioning Address assignment A CPX terminal consists of a different number of inputs and outputs, depending on your order and the configuration of the bus node. The inputs and outputs are assigned automatically within the CPX terminal. When using device description files (SDDML files) the controller software can extrapolate the complete address assignment automatically. Warning Uncontrolled movement of the actuators, undefined switching statuses. Injury to people, damage to the machine and system. The byte sequence of the process data is Little Endian. Ensure that the process data is interpreted correctly. Please Note – Including bus nodes, a maximum of 10 electrical modules plus a pneumatic interface and/or MPA pneumatic module is permitted in a CPX terminal. – The address space of a CPX terminal is limited. The bus node provides the CPX ter­ minal a maximum address space of 64 bytes for inputs and 64 bytes for outputs. – An activated diagnostic mode reduces the number of available I/O bytes. – Each module of the CPX terminal occupies a specific number of bits, bytes or words for module communication. Establish the address assignment (number of allocated inputs/outputs) on the CPX terminal prior to commissioning. Tab. 3.8 serves to determine the address assignment and/or the number of assigned inputs and outputs on the CPX terminals. The number of assigned inputs and outputs for modules can be found in the following tables: – Bus node CPX-FB39: – FG S-0-1500.SI.0 – Bus Coupler (è Tab. 3.1) – Digital modules: – FG S-0-1502.SI.0 – Digital Output (è Tab. 3.2) – FG S-0-1503.SI.0 – Digital Input (è Tab. 3.3). – Analog modules: – FG S-0-1504.SI.0 – Analog Output (è Tab. 3.4) – FG S-0-1505.SI.0 – Analog Input (è Tab. 3.5). – Technology modules: – FG S-0-1507.SI.0 – Complex Protocol (è Tab. 3.6) – FG S-0-1508.SI.0 – Sub Bus Master(è Tab. 3.7). 26 Festo – P.BE-CPX-FB39-EN – 1504NH – English 3 Commissioning 3.4.1 Bus node FG S-0-1500.SI.0 (Bus Coupler) Bus node CPX-FB39 Remote I/O operating mode without diagnostics mode Status bits2) I/O diagnostics interface4) Remote Controller operating mode4) Module type Module Allocated address space identifiers1) Inputs Outputs CPX-FB39 FB39-RIO CPX-FB39 FB39-RC – 1x 16 bit3) 1x 16 bit 8x 8bit 8x 16 bit5) 1) Module identifier in the operator unit or in the hardware configuration of the programming software. 2) The additional input data are set up as FG S-0-1503.SI.0 (Digital Inputs). 3) Diagnostic mode status bits assigns 2 byte address space (8 inputs and/or 8 bits remain unused). 4) The additional input and output data are set up as FG S-0-1507.SI.0 (Complex Protocol). 5) Assigned address space depends upon the setting of DIL switch 2.2. – – 1x 16 bit 8x 8 bit 8x 16 bit5) Tab. 3.1 If the bus node is operated in Remote Controller operating mode, then only the FG Bus Coupler with additional FG Complex Protocol is depicted on structural entity 0. No depic­ tion of I/O modules takes place on Sercos objects. Festo – P.BE-CPX-FB39-EN – 1504NH – English 27 3 Commissioning 3.4.2 Digital modules FG S-0-1502.SI.0 (Digital Output) Module designation Module type Module Allocated address space identifiers1) Inputs Outputs Output module 4-fold CPX-4DA 4DO 8-fold CPX-8DA 8DO 8-fold (high current) CPX-8DA-H 8DO-H Input/output module each 8x CPX-8DE-8DA 8DI/8DO each 8-fold (with terminal CPX-L-8DE-8DA-16-KLL-8DI8DO-PI strip) 3POL Electronics module for MPA1 pneumatics module VMPA1-FB-EMS-8 MPA1S (1 … 8 valves) for MPA2 pneumatic module VMPA2-FB-EMS-4 MPA2S (1 … 4 valves) Electronics module (electrically isolated) for MPA1 pneumatics module VMPA1-FB-EMG-8 MPA1G (1 … 8 valves) for MPA2 pneumatic module VMPA2-FB-EMG-4 MPA2G (1 … 4 valves) Electrical module with diagnostic function for MPA1 pneumatics module VMPA1-FB-EMS-D2-8 MPA1S-D (1 … 8 valves) for MPA2 pneumatic module VMPA2-FB-EMS-D2-4 MPA2S-D (1 … 4 valves) Electrical module with diagnostic function (electrically isolated) for MPA1 pneumatics module VMPA1-FB-EMG-D2-8 MPA1G-D (1 … 8 valves) for MPA2 pneumatic module VMPA2-FB-EMG-D2-4 MPA2G-D (1 … 4 valves) – – – 4x 1 bit2) 8x 1 bit 8x 1 bit 8x 1 bit3) 8x 1 bit3) 8x 1 bit 8x 1 bit – 8x 1 bit4) – 8x 1 bit5) – 8x 1 bit4) – 8x 1 bit5) – 8x 1 bit4) – 8x 1 bit5) – 8x 1 bit4) – 8x 1 bit5) 1) Module identifier in the operator unit or in the hardware configuration of the programming software. 2) Digital 4x output modules (CPX-4DA) always occupy 8 outputs or 1 byte of address space. 3) Input data è FG S-0-1503.SI.0 (Digital Input) 4) VMPA1 modules always occupy 8 outputs regardless of the number of valves fitted. 5) VMPA2 modules always occupy 8 outputs, although only 4 bits are used. 6) Setting via DIL switches of the pneumatic interface. 28 Festo – P.BE-CPX-FB39-EN – 1504NH – English 3 Commissioning Module designation End plate (pneumatic interface for valve terminal MPA-S for valve terminal MPA-F for valve terminal MPA-L 1 ... 4 solenoid coils 1 ... 8 solenoid coils 1 ... 16 solenoid coils 1 ... 24 solenoid coils 1 ... 32 solenoid coils Pneumatic interface for valve terminal VTSA-/VTSA-F with setting:6) 1 ... 8 solenoid coils 1 ... 16 solenoid coils 1 ... 24 solenoid coils 1 ... 32 solenoid coils Module type Module Allocated address space identifiers1) Inputs Outputs VMPA-FB-EPL-… VMPAF-FB-EPL-… VMPAL-FB-EPL-… – – – – – – – – – – – – – – – – 8x 1 bit 8x 1 bit 16x 1 bit 24x 1 bit 32x 1 bit – – – – 8x 1 bit 16x 1 bit 24x 1 bit 32x 1 bit VABA-… VTSA type 44/45 1) Module identifier in the operator unit or in the hardware configuration of the programming software. 2) Digital 4x output modules (CPX-4DA) always occupy 8 outputs or 1 byte of address space. 3) Input data è FG S-0-1503.SI.0 (Digital Input) 4) VMPA1 modules always occupy 8 outputs regardless of the number of valves fitted. 5) VMPA2 modules always occupy 8 outputs, although only 4 bits are used. 6) Setting via DIL switches of the pneumatic interface. Tab. 3.2 Festo – P.BE-CPX-FB39-EN – 1504NH – English 29 3 Commissioning FG S-0-1503.SI.0 (Digital Input) Module designation input module 4-fold 8 valves 8-fold (n-switching) 8-fold (with channel diagnostics) 16 valves 16-fold (with channel diagnostics) 16-fold (with terminal strip) INPUT/OUTPUT MODULE each 8x each 8-fold (with terminal strip) Module type Module Allocated address space identifiers1) Inputs Outputs CPX-4DE CPX-8DE CPX-8NDE CPX-8DE-D 4DI 8DI 8NDI 8DI-D 4x 1 bit2) 8x 1 bit 8x 1 bit 8x 1 bit – – – – CPX-16DE CPX-M-16DE-D 16DI 16DI-D 16x 1 bit 16x 1 bit – – CPX-L-16DE-16-KL-3POL L-16DI-PI 16x 1 bit – CPX-8DE-8DA CPX-L-8DE-8DA-16-KL3POL 8DI/8DO 8x 1 bit L-8DI8DO-PI 8x 1 bit 1) Module identifier in the operator unit or in the hardware configuration of the programming software. 2) Digital quadruple input modules (CPX-4DE) always occupy 8 inputs. 3) Output data è FG S-0-1502.SI.0 (Digital Output) 8x 1 bit3) 8x 1 bit3) Tab. 3.3 – The address assignment within the individual CPX I/O modules can be found in the description for the I/O modules (è P.BE-CPX-EA-…). – Information about pneumatic interfaces and pneumatic modules can be found in the corresponding pneumatics descriptions. – An overview of the “Descriptions of the CPX terminal” documentation can be found in the CPX system description (è P.BE-CPX-SYS-…). – From the technical point of view, the individual pneumatic modules each represent an electric module for controlling the attached valves. 30 Festo – P.BE-CPX-FB39-EN – 1504NH – English 3 Commissioning 3.4.3 Analogue modules FG S-0-1504.SI.0 (Analog Output) Module designation Module type Module Allocated address space identifiers1) Inputs Outputs Analog module (2 outputs) Proportional pressure regulator CPX-2AA-U-I VPPM-…TA-L-1-F… 2AO VPPM – 1x 16 bit2) 1) Module identifier in the operator unit or in the hardware configuration of the programming software. 2) Input data è FG S-0-1505.SI.0 (analog input) 2x 16 Bit 1x 16 bit Tab. 3.4 FG S-0-1505.SI.0 (Analog Input) Module designation Module type Module Allocated address space identifiers1) Inputs Outputs Pressure sensors Proportional pressure regulator Analogue module 2 inputs 4 inputs 4 inputs 4 inputs (temperature module for RTD sensors) 4 inputs (temperature module for TC sensors) 4 inputs (pressure sensor module 0 … 10 bar) 4 inputs (pressure sensor module –1 … 1 bar) VMPA-FB-PS-… VPPM-…TA-L-1-F… MPA-P VPPM 1x 16 bit 1x 16 bit – 1x 16 bit2) CPX-2AE-U-I CPX-4AE-U-I CPX-4AE-I CPX-4AE-T 2AI 4AI 4AI-I 4AI-T – – – – CPX-4AE-TC 4AI-TC 2x 16 Bit 4x 16 bit 4x 16 bit 2x 16 Bit 4x 16 bit3) 4x 16 bit CPX-4AE-P-D10 4AI-P-D10 4x 16 bit – CPX-4AE-P-B2 4AI-P-B2 4x 16 bit – 1) – Module identifier in the operator unit or in the hardware configuration of the programming software. 2) Output data è FG S-0-1504.SI.0 (analog output) 3) Depending on the configuration. Tab. 3.5 The address assignment within the individual CPX analogue I/O modules can be found in the description for the analogue I/O modules (è P.BE-CPX-AX-…). Festo – P.BE-CPX-FB39-EN – 1504NH – English 31 3 Commissioning 3.4.4 Technology modules FG S-0-1507.SI.0 (Complex Protocol) Module designation Module type Module Allocated address space identifiers1) Inputs Outputs INPUT/OUTPUT MODULE Axis controller Control block (multi-axis interface) End-position controller Control block (FHPP interface) Measuring module CPX-2ZE2DA CPX-CMAX-C1-1 CPX-CMXX 2CI2DO CMAX-C1-C CMXX 3x 32 bit 8x 8bit 8x 16 bit 3x 32 bit 8x 8 bit 8x 16 bit CPX-CMPX-C-1-H1 CPX-CM-HPP CMPX-C-1 CM-HPP 6x 8 bit 32x 8 bit 6x 8 bit 32x 8 bit CPX-CMIX-CM-M1-1 CMIX 3x 16 bit 3x 16 bit 1) Module identifier in the operator unit or in the hardware configuration of the programming software. Tab. 3.6 FG S-0-1508.SI.0 (Sub bus Master) Module designation Module type Module Allocated address space identifiers1) Inputs Outputs Electrical interface (CP interface) Electrical interface with setting: 0E/0A byte 0E/8A byte 0E/16A byte 0E/24A byte 0E/32A byte 8E/0A byte 16E/0A byte 24E/0A byte 32E/0A byte 8E/8A byte 16E/16A byte 24E/24A byte 32E/32A byte CPX-CP-4-FB CPI CPX-CTEL-4-M12-5POL CTEL maximum 16x 8 bit2) maximum 16x 8 bit2) – – – – – 8x 8bit 16x 8 bit 24x 8 bit 32x 8 bit 8x 8bit 16x 8 bit 24x 8 bit 32x 8 bit – 8x 8bit 16x 8 bit 24x 8 bit 32x 8 bit – – – – 8x 8bit 16x 8 bit 24x 8 bit 32x 8 bit 1) Module identifier in the operator unit or in the hardware configuration of the programming software. 2) Maximum assigned address space is dependent on the string allocation 32 Festo – P.BE-CPX-FB39-EN – 1504NH – English 3 Commissioning Module designation Module type Module Allocated address space identifiers1) Inputs Outputs Electrical interface with setting: CPX-CTEL-2-M12-5POL-LK CTEL-2-LK I-port LK master 8E/8A byte 16E/16A byte 24E/24A byte 8x 8bit 16x 8 bit 24x 8 bit 1) Module identifier in the operator unit or in the hardware configuration of the programming software. 2) Maximum assigned address space is dependent on the string allocation 8x 8bit 16x 8 bit 24x 8 bit Tab. 3.7 Details on the technology modules can be found in the corresponding descriptions (è P.BE-CPX-…). Festo – P.BE-CPX-FB39-EN – 1504NH – English 33 3 Commissioning 3.4.5 Determination of the address assignment Tab. 3.8 serves to determine the address assignment and/or the number of assigned inputs and outputs on the CPX terminals. Modules (analogue/digital) and diagnostics mode Inputs Outputs bus node With status bits + 16 I + _____ I with I/O diagnostics interface + 16 I/O + _____ I CPX-2AE-U-I + ___ x 32 I + _____ I CPX-4AE-I, CPX-4AE-U-I, CPX-4AE-P-…, CPX-4AE-TC + ___ x 64 I + _____ I CPX-4AE-T + ___ x 32/64 I1) + _____ I CPX-2AA-U-I + ___ x 32 O VMPA-FB-PS-… (pressure sensors) + ___ x 16 I + _____ I VPPM-…TA-L-1-F… (Proportional pressure regulators) + __ x 16 I/O + _____ I + _____ O + ___ I/O + _____ I + _____ O CPX-4DE, CPX-8DE, CPX-8NDE, CPX-8DE-D + ___ x 8 I2) + _____ I CPX-16DE, CPX-M-16DE-D, CPX-L-16DE-16-KL-3POL + ___ x 16 I + _____ I CPX-4DA, CPX-8DA, CPX-8DA-H + ___ x 8 O2) CPX-8DE-8DA, CPX-L-8DE-8DA-16-KL-3POL + __ x 8 I/O VMPA1-…, VMPA2-… (Pneumatic modules) + ___ x 8 O2) + _____ O Analogue modules + _____ O Technology modules e.g. CPX-CMAX-C1-1, CPX-2ZE2DA, CPX-CP-4-FB Digital modules + _____ O + _____ I + _____ O VMPAL-…, VABA-… (pneumatic interfaces) Number of configured valve solenoid coils (+8 O … 32 O)3) Sum total of the assigned inputs and outputs of your CPX terminal (maximum 512 I and 512 O): + _____ O + _____ O = _____ I = _____ O 1) The number of inputs is dependent on the setting. 2) Digital modules with 4 inputs or outputs (CPX-4DE, CPX-4DA) as well as electric modules and electronic modules VMPA2 always 3) At the factory, 32 O (VABA, VMPAL) are configured. occupy 8 inputs or 8 outputs. Tab. 3.8 34 Festo – P.BE-CPX-FB39-EN – 1504NH – English 3 3.5 Commissioning Addressing 3.5.1 Basic rules for addressing – The address assignment of the inputs does not depend on the address assignment of the outputs. – Counting is byte-wise from left to right, in ascending order without gaps. Even modules with less than 8 bits occupy 8 bits of address space, but do not use all this space. – The bus node counts as a module with 0 inputs and 0 outputs when the status bits and the I/O dia­ gnostic interface are deactivated. Please Note Address assignment with activated status bits or activated I/O diagnostics interface. – If the 8 status bits are activated, these occupy the first 16 inputs in the address range, although only 8 inputs are used. – If the I/O diagnostics interface is activated, it will occupy the first 16 inputs and outputs in the address range. – The inputs and outputs of various different types of module are assigned separately from one an­ other, and the sequence depends on the arrangement of modules in the CPX terminal. – Input data: S-0-1500.SI.9 (Container Input Data) – Output data: S-0-1500.SI.5 (Container Output Data). Please Note In the Remote I/O operating mode, the bus node must be placed as the first module (slot 0) to the far left of the CPX terminal. Festo – P.BE-CPX-FB39-EN – 1504NH – English 35 3 Commissioning 3.5.2 Example 1: CPX terminal with electronic modules VMPA1 and VMPA2 The following graphic shows a CPX terminal with electronic modules VMPA1 and VMPA2 and the follow­ ing setting: – status bits and I/O diagnostics interface deactivated. 1 Module no.: 0 8DI 2 3 5 6 4DO 1 1 2 4 2 Bus node CPX-FB39 End plate VMPAL (pneumatic interface) 3 3 4 4 Electronic module VMPA1 (8DA) Electronic module VMPA2 (4DA) Fig. 3.2 The following diagram shows an example of the address assignment for the CPX terminal depicted: No. 0 1 2 3 4 5 6 1) Module CPX-FB39 CPX-8DE CPX-4DA VMPA-1 (8DA) VMPA-1 (8DA) VMPA-2 (4DA) VMPA-2 (4DA) Function group S-0-1500.0.9 (input data 1 byte) S-0-1503.1.9 (module 1) 8 bit S-0-1503.1.9 S-0-1502.2.5 S-0-1502.3.5 S-0-1502.4.5 S-0-1502.5.5 S-0-1502.6.5 S-0-1500.0.5 (output data 5 byte) S-0-1502.2.5 (module 2) 8 bit1) S-0-1502.3.5 (module 3) 8 bit S-0-1502.4.5 (module 4) 8 bit S-0-1502.5.5 (module 5) 8 bit1) S-0-1502.6.5 (module 6) 8 bit1) 8 bit assigned, 4 bit used Fig. 3.3 36 Festo – P.BE-CPX-FB39-EN – 1504NH – English 3 Commissioning 3.5.3 Example 2: CPX terminal with electrical interface (CP interface) The following graphic shows a CPX terminal with electrical interface and the following setting: – status bits and I/O diagnostics interface deactivated. Module no.: 1 0 8DI 2 3 4 4DO 8DI 5 6 8DO 1 4 2 5 3 6 1 2 Bus node CPX-FB39 CPV valve terminal (16DO) on string 1 of the electrical interface 3 cylinders Fig. 3.4 4 5 6 CP input module (16DI) Sensor CP output module (16DO) on string 4 of the electrical interface The following diagram shows an example of the address assignment for the CPX terminal depicted: No. 0 1 2 3 Module CPX-FB39 CPX-8DE CPX-4DA CPX-CP-4-FBI1) 4 CPX-8DE-8DA 5 6 VMPA-1 (8DA) VMPA-1 (8DA) 1) S-0-1500.0.9 (input data 6 byte) S-0-1503.1.9 (module 1) 8 bit S-0-1508.3.9 (module 3) 4x 8 bit S-0-1503.4.9 (module 4) 8 bit Function group S-0-1503.1.9 S-0-1502.2.5 S-0-1508.3.9 S-0-1508.3.5 S-0-1503.4.9 S-0-1502.4.5 S-0-1502.5.5 S-0-1502.6.5 Here 4 byte inputs and 16 byte outputs S-0-1500.0.5 (output data 20 byte) S-0-1502.2.5 (module 2) 8 bit2) S-0-1508.3.5 (module 3) 16x 8 bit S-0-1502.4.5 (module 4) 8 bit S-0-1502.5.5 (module 5) 8 bit S-0-1502.6.5 (module 6) 8 bit 2) 8 bit assigned, 4 bits used Fig. 3.5 Festo – P.BE-CPX-FB39-EN – 1504NH – English 37 3 Commissioning 3.5.4 Example 3: CPX terminal with analogue module and pneumatic interface The following graphic shows a CPX terminal with pneumatic interface and the following setting: – status bits activated and I/O diagnostic interface deactivated – pneumatic interface set with DIL switch to 1 ... 8 solenoid coils (8 DO). Module no.: 0 1 8DI 2 8DI 3 4DO 4 5 8DI 8DO 2AO 1 1 2 6 2 Bus node CPX-FB39 (status bits activated) Pneumatic interface (set with DIL switch to 1 ... 8 solenoid coils) 3 3 VTSA pneumatics Fig. 3.6 The following diagram shows an example of the address assignment for the CPX terminal depicted: No. 0 1 2 3 4 Module CPX-FB39 CPX-8DE CPX-8DE CPX-4DA CPX-8DE-8DA 5 6 CPX-2AA-U-I VABA (8DA)3) 1) 16 bit assigned, 8 bit used 2) 8 bit assigned, 4 bits used S-0-1500.0.9 (input data 5 byte) S-0-1503.0.9 (module 0) 16 bit1) S-0-1503.1.9 (module 1) 8 bit S-0-1503.2.9 (module 2) 8 bit S-0-1503.4.9 (module 4) 8 bit Function group S-0-1503.0.9 S-0-1503.1.9 S-0-1503.2.9 S-0-1502.3.5 S-0-1503.4.9 S-0-1502.4.5 S-0-1504.5.5 S-0-1502.6.5 S-0-1500.0.5 (output data 7 byte) S-0-1502.3.5 (module 3) 8 bit2) S-0-1502.4.5 (module 4) 8 bit S-0-1504.5.5 (module 5) 2x 16 bit S-0-1502.6.5 (module 6) 8x 1 bit 3) Set via DIL switches to 1 … 8 valve coils Fig. 3.7 38 Festo – P.BE-CPX-FB39-EN – 1504NH – English 3 Commissioning 3.5.5 Address assignment after extension/conversion If the requirements for the machine or system change, the CPX terminal can be adapted as required due to its modular design. Caution If the CPX terminal is extended or converted at a later stage, input/output addresses may be shifted. This applies in the following cases: – Additional modules are inserted between existing modules. – Existing modules are removed or replaced by other modules which have fewer or more input/output addresses. – Interlinking blocks or pneumatic connection blocks for monostable valves are re­ placed by interlinking blocks/connection blocks for bistable valves or vice versa (è Pneumatics description). – Additional interlinking blocks or connection blocks are inserted between existing ones. – Status bits or the I/O diagnostic interface are activated/deactivated. – The configured addresses of the pneumatic interface are modified. Please Note If the configuration of a CPX terminal was changed, new requirements for the CPX ter­ minal that may be necessary must be checked and adjusted, if necessary. Moreover, it should be noted that the needed address space may increase due to modific­ ation of the CPX terminal and thus the slave addresses of the following slaves in the net­ work must be checked and adjusted if necessary. Festo – P.BE-CPX-FB39-EN – 1504NH – English 39 3 Commissioning 3.6 Incorporation in the host system 3.6.1 Codesys control software To incorporate a CPX terminal in a Sercos-III network you can for example use Codesys control software from 3S (Smart Software Solution) (è www.codesys.com). The contents of this documentation serve as an example of the use of Codesys software and relate to version 3.5 SP4 in the Professional presentation format and an English language setting. The user interface for this software can be adapted individually and the window arrangement can be changed. The following illustration shows a possible layout for the user interface. 4 1 2 3 1 2 Parameter register (“Parameter tab”) Editor window (“Editor window”) 3 4 Device window (“Device window”) Device tab (“Device tab”) Fig. 3.8 3.6.2 Installing device description files (SDDML files) To insert the module extension of your CPX terminal in the control software and to be able to configure it, the device description files (SDDML files) of all modules used in the CPX terminal need to be installed once. The device description files (SDDML files) are available on the Festo support portal on the Internet (è www.festo.com/sp). Please Note Requirements for execution of the subsequent steps: – Device description files (SDDML files) downloaded from the Festo Support Portal and unpacked. 40 Festo – P.BE-CPX-FB39-EN – 1504NH – English 3 Commissioning Approach: 1. Start Codesys software. 2. Menu Tools (“Tools”) > Device Repository… (“Device Repository…”). The device repository dialog (“Device Repository”) opens up. Fig. 3.9 3. Press the Install button … (“Install…”). The “Install Device Description”dialog opens up. Fig. 3.10 4. Mark the required XML files and press the “Open”button. The selected device description files (SDDML files) are then installed. The device description files (SDDML files) are then available in the Codesys control software. Festo – P.BE-CPX-FB39-EN – 1504NH – English 41 3 Commissioning 3.6.3 Inserting field bus Please Note Requirements for execution of the subsequent steps: – Codesys project set up with programmable controller (PLC) – Device description files (SDDML files) available in Codesys (è 3.6.2 Installing device description files (SDDML files)). Procedure 1. Highlight entry of device in device window (“Device window”). 2. Project menu (“Project”) > Add device… (“Add Device…”). The “Add Device”dialog opens up. Fig. 3.11 3. Extend the “sercos”entry and highlight the “sercos Master”entry. 4. Press the “Add Device”button. The “sercos Master”entry appears in the device window (“Device window”). The Sercos master is now available as field bus in the Codesys project and the bus node can be added to the device tree (è 3.6.4 Insert bus node). 42 Festo – P.BE-CPX-FB39-EN – 1504NH – English 3 Commissioning Setting the cycle time 1. Highlight “sercos_Master (sercos Master)”entry in the device window (“Device window”). 2. Project menu (“Project”) > Edit object (“Edit Object”). The device tab (“Device tab”) “sercos_Master”appears in the Editor window (“Editor window”). Fig. 3.12 3. In the parameter tab (“Parameter tab”) “sercos Master”, set the Sercos cycle time (“sercos Cycle­ time”). Festo – P.BE-CPX-FB39-EN – 1504NH – English 43 3 Commissioning 3.6.4 Insert bus node Please Note Requirements for execution of the subsequent steps: – Codesys project set up with programmable controller (PLC) – Device description files (SDDML files) available in Codesys (è 3.6.2 Installing device description files (SDDML files)) – Field bus inserted in project (è 3.6.3 Inserting field bus). Procedure 1. Highlight “sercos_Master (sercos Master)”entry in the device window (“Device window”). 2. Project menu (“Project”) > Add device… (“Add Device…”). The “Add Device”dialog opens up. Fig. 3.13 Please Note Depending on the diagnostics mode, there is a choice of 3 entries: – CPX-FB39-RIO (without diagnostic mode) – CPX-FB39-RIO-ST (with status bits) – CPX-FB39-RIO-STI (with diagnostic interface). 3. Highlight corresponding bus node entry. 4. Press the “Add Device”button. 44 Festo – P.BE-CPX-FB39-EN – 1504NH – English 3 Commissioning In the device window (“Device window”), 2 entries appear for the bus node (è Fig. 3.14). – First entry: Bus node gateway – Second entry: Bus node module. 1 2 1 Bus node gateway 2 Bus node module Fig. 3.14 The CPX-FB39 module is now available as a bus node in the Codesys project and other modules of the CPX terminal can be added to the device tree (è 3.6.5 Inserting other modules). Festo – P.BE-CPX-FB39-EN – 1504NH – English 45 3 Commissioning Setting the Sercos address 1. Highlight bus node gateway entry in the device window (“Device window”). 2. Project menu (“Project”) > Edit object (“Edit Object”). The corresponding device tab (“Device tab”) appears in the editor window (“Editor window”). Fig. 3.15 3. Enter the correct Sercos address in the “sercos Slave”parameter tab (“Parameter tab”). Please Note The entry for the Sercos address must match the setting of DIL switch 3 on the bus node (è 2.4.7 Set the Sercos address). 46 Festo – P.BE-CPX-FB39-EN – 1504NH – English 3 Commissioning 3.6.5 Inserting other modules Please Note Requirements for execution of the subsequent steps: – Codesys project set up with programmable controller (PLC) – Device description files (SDDML files) available in Codesys (è 3.6.2 Installing device description files (SDDML files)) – Field bus inserted in project (è 3.6.3 Inserting field bus) – Bus node inserted in project (è 3.6.4 Insert bus node). Procedure 1. Highlight bus node gateway entry (upper entry) in the device window (“Device window”). 2. Project menu (“Project”) > Add device… (“Add Device…”). The “Add Device”dialog opens up. Fig. 3.16 3. Highlight the module. 4. Press the “Add Device”button. 5. Insert other modules in accordance with steps 3. and 4. Expansion of the CPX terminal is now available in the Codesys project and assignment of the inputs and outputs to variables in the higher-level controller (I/O mapping) is now possible (è 3.6.6 I/O assignment). Festo – P.BE-CPX-FB39-EN – 1504NH – English 47 3 Commissioning 3.6.6 I/O assignment Once all devices on the CPX terminal have been inserted in the Codesys controller software project, the inputs and outputs on the individual modules can be depicted on a higher-level control unit. Procedure 1. Click entry of device in the device window (“Device window”) with the right-hand mouse button. A context menu appears on screen. 2. In the context menu, select “Edit IO mapping”. The device tab (“Device tab”) “Edit IO mapping”appears in the editor window (“Editor window”). Fig. 3.17 All inputs and outputs on the individual modules are displayed in the Editor window (“Editor window”) and can be assigned to the variables in the higher-level controller. 48 Festo – P.BE-CPX-FB39-EN – 1504NH – English 3 Commissioning 3.6.7 Changing parameters in Codesys With the help of Codesys software, the user-defined parameters (“User Parameters”) of the modules inserted in a project can be displayed and changed. Procedure 1. Highlight the entry of a module in the device window (“Device window”). 2. Project menu (“Project”) > Edit object (“Edit Object”). The corresponding device tab (“Device tab”) appears in the editor window (“Editor window”). 3. Select parameter tab (“Parameter tab”) for user-defined parameters (“User Parameters”). The parameter appear in the editor window (“Editor window”). Fig. 3.18 4. Select the parameter settings by double-clicking “Value”in the (“Value”) column and edit the value using the pulldown menu. The parameter settings can be displayed as a symbolic value (standard) or as a numerical value. Refer to the corresponding CPX modules to find the meaning of the applicable numerical values. The changeover of display involves setting or not setting the tick on Symbolic Values (“Symbolic values”). Festo – P.BE-CPX-FB39-EN – 1504NH – English 49 3 Commissioning 3.7 Parameterisation 3.7.1 Introduction to parameterisation The CPX terminal is supplied with factory-preset parameters (default parameterisation). The system characteristics of a CPX terminal and of individual modules and channels can be parameter­ ized individually. A distinction is made here between the following parameters: Parameter Description Examples System parameters Global system functions for the complete CPX terminal Module and channel-specific functions of the respective module Operating method of the diagnostic memory – – – – – – Module parameters Diagnostic memory parameters Short-circuit monitoring System start Input debounce time Signal extension time Remaining entries with Power ON Error number filter Tab. 3.9 A detailed description of the individual parameters as well as basic principles of applica­ tion can be found in the CPX system description (è P.BE-CPX-SYS-...). Which parameters stand for the modules used are found in the description for the re­ spective module. Caution If the Modify-LED (M) lights up permanently, the parameterisation is not stored locally in the bus node and is not restored automatically by the higher-order system upon re­ placement. In these cases, check before replacement to see which settings are required and carry out these settings. Changes in parameterisation or application-specific parameter settings result in changes to the module or system behaviour. Check especially when replacing CPX terminals to see which settings are necessary and make sure that these are restored, if necessary (e.g. by appropriate systemstart parameterisation). Warning The connected actuators can move unexpectedly! Modification of the signal statuses and parameters can trigger dangerous movements of the connected actuator technology. Make sure that nobody is in the positioning range of connected actuators, and be very careful with the parameterisation or manipulation of signal statuses. Always note the instructions relating to “Force”, “Idle Mode”and “Fail Safe”in the CPX system description (è P.BE-CPX-SYS-…), in the description for the CPX-MMI (è P.BE-CPX-MMI-1-…) and in the online help for the CPX-FMT. 50 Festo – P.BE-CPX-FB39-EN – 1504NH – English 3 Commissioning 3.7.2 Prerequisite for parameterization Please Note A CPX terminal can be parameterised only if the function “System start with default parameterisation and current CPX expansion” is activated. Set the system parameter “System start”accordingly. With the system parameter “System start”, you can define the starting characteristics of the CPX ter­ minal. Factory settings are used unless parameterization is altered. Select the setting “System start with default parameterization and current CPX expansion”to permit the required parameterization. To conduct the parameterization, use the Festo Maintenance Tool (CPX-FMT) software or the control device (CPX-MMI). After parameterization, change the setting of the system parameter “System start”to “System start with stored parameterization and stored CPX expansion”to define the settings and to save them in the module. After a reboot of the CPX terminal, the Modify-LED (M) lights up continuously on the bus node. The terminal uses the saved parameter settings. Caution If the Modify-LED (M) is lit continuously, the parameterization during replacement is not set up automatically by the higher-level controller. In such cases, examine before replacement which settings are required and imple­ ment them. 3.7.3 Methods of parameterisation A CPX terminal with the bus node CPX-FB39 can be parameterised with various methods. Method Benefits Disadvantages Festo Maintenance Tool (CPX-FMT) Menu-guided parameter entries via PC software Operator unit (CPX-MMI) Menu-guided parameter entry Easy parameter entry guided by menu in plain text. Sercos III Parameterisation can be carried out via the control system. Parameterisation is saved locally in the CPX terminal and is lost if the CPX terminal or bus node is replaced. Parameterisation is saved locally in the CPX terminal and is lost if the CPX terminal or bus node is replaced. The controller must support the configuration via SDDML files. Easy parameter entry guided by menu in plain text. Tab. 3.10 Festo – P.BE-CPX-FB39-EN – 1504NH – English 51 3 Commissioning 3.7.4 Parameterisation via the Festo Maintenance Tool (CPX-FMT) software With the Festo Maintenance Tool (CPX-FMT) software, a CPX terminal can be parameterized via a USB or Ethernet connection. Please Note To run the software on the bus node via a USB connection, you need a USB connector cable and the USB adapter NEFC-M12G5-0.3-U1G5. The current version of the Festo Maintenance Tool (CPX-FMT) software is available for download in the Festo Support Portal (è www.festo.com/sp). 3.7.5 Parameterization with the control device (CPX-MMI) With the operator unit (CPX-MMI), a CPX terminal can be parameterised through a menu even without controller software. Information on general operation of the operator unit can be found in the corresponding description (è P.BE-CPX-MMI-1-…). Please Note The last parameterisation set or received in the CPX terminal is always valid. 3.7.6 Parameterization via Sercos III The bus node can be parameterized directly by the controller via Sercos III. This has the advantage that all parameters are saved in the controller software and auto­ matically transferred to the bus node at run-up of the controller. As a result, parameterisation remains intact if the bus node is replaced. 52 Festo – P.BE-CPX-FB39-EN – 1504NH – English 4 Diagnostics and error handling 4 Diagnostics and error handling 4.1 Summary of diagnostics options The CPX terminal provides comprehensive and user-friendly options for diagnostics and error handling. The following options are available, depending on the configuration: Diagnostic possibility Brief description Benefits Detailed Description LED display The LEDs show directly configuration errors, hardware errors, bus errors, etc. Internal inputs that supply coded common diagnostic messages. Bus-independent diagnostic interface at I/O level, which enables access to the internal data of the CPX terminal (16 inputs and 16 outputs). Diagnostic information can be displayed on the operator unit in a convenient and menu-driven manner. Access to all system data of the CPX terminal over the network. Fast “on-the-spot” error detection Section 4.2 Fast access to error messages, irrespective of the module and master. Detailed error recognition: the diagnostic data can be processed further, e.g. with a PLC user program. Section 4.3 and CPX system description (è P.BE-CPX-SYS-…) Section 4.4 and CPX system description (è P.BE-CPX-SYS-…) Fast “on-the-spot” recognition of errors Operator unit description (è P.BE-CPX-MMI-1-…) Detailed error detection Section 4.5 Status bits I/O diagnostics interface Diagnostics via the operator unit (CPX-MMI) Diagnostics via Sercos III Tab. 4.1 Please Note Note that the available diagnostic information is dependent on the DIL switch settings on the bus node, (è 2.4.5 Setting of the diagnostic mode (remote I/O)) as well as on the parameterisation of the CPX terminal. You can find additional information on general diagnostics of the CPX terminal in the CPX system description (è P.BE-CPX-SYS-…). Information on diagnostics of the pneumatics, of the pneumatic interface and of the I/O module are found in the corresponding descriptions. Festo – P.BE-CPX-FB39-EN – 1504NH – English 53 4 Diagnostics and error handling 4.2 Diagnostics via LED displays LED displays for the diagnostics of the CPX terminal are available on the bus node as well as on the individual modules. The significance of the LED displays on the electric modules can be found in the descrip­ tion for the relevant module. LED displays on the bus node CPX-FB39 1 1) Network-specific LEDs: – S (green, orange, red)1) – SD (green, orange, red)1) – TP1 (green) – TP2 (green) 2 S PS SD PL TP1 SF TP2 M S PS SD PL TP1 SF TP2 M 1 2 CPX-specific LEDs: – PS (green) – PL (green) – SF (red) – M (yellow) This figure depicts a green LED as an example. Fig. 4.1 In the following sections, the different statuses of the LED displays are represented as follows: LED lights up; 54 LED flashes; LED is out Festo – P.BE-CPX-FB39-EN – 1504NH – English 4 Diagnostics and error handling 4.2.1 Standard operating status operating status LED display 1) S PS SD PL TP1 SF TP2 M These LEDs light up green: – S – SD – PS – PL These LEDs flash green: – TP1 and TP2 The yellow LED (M) lights up, flashes or is dark.1) The red LED (SF) is dark. Standard Depending on the data communication or configuration. 4.2.2 CPX-specific LEDs PS (power system) – power sensor/logic supply LED (green) Process Status No error. Operating voltage/ – sensor supply applied. ON OFF Operating voltage/sensor Eliminate undervoltage. supply outside the toler­ ance range. Internal fuse for the operat­ 1. Eliminate short circuit/overload. ing voltage/sensor supply 2. Depending on the parameterisation: has responded. Sensor power supply is switched back on automatically after remedying the short circuit (factory setting). Power OFF/ON necessary. Operating voltage/sensor Check the operating voltage supply is not applied. connection of the electronics. LED illuminated LED flashes ON OFF LED not illuminated ON OFF PL (power load) – power load supply (outputs/valves) LED (green) Process Status Significance / error handling ON OFF No error. Load voltage applied. – ON OFF Load voltage at the system supply or additional supply outside the tolerance range. Eliminate undervoltage. LED illuminated LED flashes Significance / error handling ON OFF Festo – P.BE-CPX-FB39-EN – 1504NH – English 55 4 Diagnostics and error handling SF (system failure) – system fault LED (red) Sequence1) Status ON OFF LED flashes ON OFF ON OFF ON OFF Significance/error handling Simple error/information (error class 1) Error (error class 2) Serious error (error class 3) No error Description of error numbers in the CPX system description (è P.BE-CPX-SYS-…). – LED not illuminated 1) The system fault LED flashes depending on the class of fault which has occurred. Error class 1 (slight error): 1× flash, pause time Error class 2 (error): 2× flashes, pause time Error class 3 (severe error): 3× flashes, pause time M (modify) – parameterisation modified or Force active LED (yellow) Process Status Setting: System start with saved parametrisation and saved CPX expansion; Parameters and CPX expansion are stored permanently. ON OFF Force is active1) ON OFF Setting: System start with default parameterisation (factory setting) and cur­ rent CPX expansion; external parameterisation is possible (presetting). LED illuminated LED flashes LED not illuminated 1) 56 Significance / error handling ON OFF For replacement of the bus node or CPX terminal in case of service, parameterisation is not created automatically by the higher-order system (PLC/IPC). Save and apply the parameterisa­ tion when the bus node is re­ placed. The Force function is enabled. Further information can be found in the CPX system description (è P.BE-CPX-SYS-…). – The display of the Force function (LED flashing) has priority over the display of the setting for the system start (LED illuminated). Festo – P.BE-CPX-FB39-EN – 1504NH – English 4 Diagnostics and error handling 4.2.3 Network-specific LEDs S – Sercos III LED status Process State Priority Significance / error handling Dark ON OFF UCC mode 0 No Sercos communication lights up Orange ON OFF CP0 0 Communication phase 0 is active. ON OFF CP1 0 Communication phase 1 is active. The green LED flashes every 3 seconds once. CP2 0 Communication phase 2 is active. The green LED flashes twice every 3 seconds. CP3 0 Communication phase 3 is active. The green LED flashes 3 times every 3 seconds. ON OFF CP4 0 Communication phase 4 is active. ON OFF HP0 1 Device is in hot-plug phase 0. HP1 1 Device is in hot-plug phase 1. The orange LED flashes once every 3 seconds. HP2 1 Device is in hot-plug phase 2. The orange LED flashes twice every 3 seconds. Fast Forward è Loopback Application Error 2 RT status has changed from Fast-Forward to Loopback. Application Error è GDP and FSP status codes MST Losses (IDN S-0-1003)/2 4 MST failures (IDN S-0-1003)/2 (è B.1.5) Communication error 5 Communication error è SCP status codes Alternates Orange/ Green Alternates Orange/ Green Alternates Orange/ Green lights up Green Alternates Green/ Orange Alternates Green/ Orange Alternates Green/ Orange FLASHES Green Alternates Red/ Orange Alternates green/red lights up red, ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF 3 ON OFF ON OFF ON OFF ON OFF Festo – P.BE-CPX-FB39-EN – 1504NH – English 57 4 Diagnostics and error handling S – Sercos III LED status FLASHES Orange FLASHES red, Process State Priority Significance / error handling ON OFF Identification 6 ON OFF Watchdog Error 7 State Priority Significance / error handling Application Error (C1D) Parameterization Level (PL) Operating Level (OL) Sub Device not active 1 0 Application Error è GDP and FSP status codes Sub Device in Parameterization Level Sub Device in Operating Level 0 – SD – Sub Device LED status Process lights up red, lights up Orange lights up Green Dark ON OFF ON OFF ON OFF ON OFF Identification (address assignment or configuration fault) (C-DEV.Bit15) Watchdog Error 0 TP1 – Traffic Port 1 (connection port 1 active) LED status Process Status lights up Green FLASHES Green Dark Significance / error handling ON OFF Network connection OK – ON OFF Data traffic – ON OFF No network connection or Check Ethernet connection. Ethernet cable not connected. TP2 – Traffic Port 2 (connection port 2 active) LED status Process Status lights up Green FLASHES Green Dark 58 Significance / error handling ON OFF Network connection OK – ON OFF Data traffic – ON OFF No network connection or Check Ethernet connection. Ethernet cable not connected. Festo – P.BE-CPX-FB39-EN – 1504NH – English 4 Diagnostics and error handling 4.3 Diagnostics via status bits Status bits are internal inputs that serve to display common diagnostic messages (global error mes­ sages). Please Note The diagnostic mode “Status bits” must be activated via DIL switch 2.2 on the bus node (è 2.4.5 Setting of the diagnostic mode (remote I/O)). Status bits are treated as inputs and there can be queried, linked and processed as “standard” inputs. In the case of activated “Status bits” diagnostics mode, the first 16 inputs are assigned although only 8 inputs are used (è 3.5.1 Basic rules for addressing). Status bits are treated as “normal” inputs. – If all status bits supply a 0-signal, no error is reported. – If at least one status bit delivers a 1-signal, there is a fault. The diagnostic information when there is a 1-signal is shown in the following table. Bit Diagnostic information with a 1-signal Description 0 1 2 3 4 5 6 7 Fault at valve or pneumatic module Error on output module Error on input module Error on analogue module or technology module Undervoltage Short circuit/overload Wire break Other error Module type in which an error has occurred Error type Tab. 4.2 Please Note If various errors occur simultaneously on different types of modules, these errors can­ not be assigned via the status bits. Errors can be uniquely defined via the I/O diagnostics interface, if needed. Further notes on the function and content of the status bits are found in the CPX system description (è P.BE-CPX-SYS-…). Festo – P.BE-CPX-FB39-EN – 1504NH – English 59 4 Diagnostics and error handling 4.4 Diagnostics via the I/O diagnostics interface Detailed diagnostic information on the CPX terminal can be accessed via the “I/O diagnostics interface” diagnostics mode. You can ascertain this exactly, e.g. by noting on which module and channel an error has occurred. To call up this information, 16 input bits and 16 output bits enable all diagnostic informa­ tion to be read out. Please Note To use the “I/O diagnostic interface” diagnostics mode, it must be activated via DIL switch 2 on the bus node (è 2.4.5 Setting of the diagnostic mode (remote I/O)). If the “I/O diagnostic interface” is activated, it will occupy the first 16 inputs and outputs in the address range (è 3.5.1 Basic rules for addressing). The following table provides an overview of the available diagnostic information. Diagnostic information Description Global diagnostic data Diagnostic data module Diagnostic data status – – – – – – Diagnostic memory data General overview of errors Detailed diagnostics per module Number of entries in the diagnostic memory Operating mode Long-term memory Detailed diagnostics and relative time stamp per fault event Tab. 4.3 Further notes on the function and content of the I/O diagnostics interface can be found in the CPX system description (è P.BE-CPX-SYS-…). 60 Festo – P.BE-CPX-FB39-EN – 1504NH – English 4 Diagnostics and error handling 4.5 Diagnostics via Sercos III Various diagnostic options are available for diagnostics via Sercos III and these can be selected by their corresponding IDNs. – Basic diagnostic functions (è 4.5.1 Basic diagnostic functions) – Diagnostic basic functions with I/O-specific extensions (è 4.5.2 I/O diagnostics) – Diagnostics acc. to the CPX standard of Festo (è 4.5.3 I/O diagnostics with Festo-specific extensions). 4.5.1 Basic diagnostic functions The basic diagnostic functions are supported by every Sercos device. This involves predefined status codes being transmitted via S-0-0390. Error messages can be acknowledged by S-0-0099. To interrogate the characteristics and chronological sequence of diagnostic messages, a trace function is available via S-0-1303. IDNs for the basic diagnostic function (function group diagnostics) IDN Designation Explanation S-0-0099 S-0-0390 S-0-1303 S-0-1303.0.03 S-0-1303.0.10 S-0-1303.0.11 Reset Class 1 Diagnostic Diagnostic Number Diagnostic trace Diagnosis Trace State Diagnosis Trace Buffer 1 Diagnosis Trace Buffer 2 Acknowledge diagnostic event Current diagnostic event as a status code Diagnostic record Status of diagnostic record Diagnostic memory 1 Diagnostic memory 2 Tab. 4.4 4.5.2 I/O diagnostics I/O diagnostics involve Sercos standard diagnostics with I/O-specific extensions (e.g. channel-precise localization). Only the highest priority (S-0-1500.0.32) and the current (S-0-1500.0.33) diagnostic message are displayed. If several faults occur simultaneously, a few messages are not visible. IDNs for I/O diagnostics (Bus Coupler function group) IDN Designation Explanation S-0-1500.0.02 S-0-1500.0.32 IO Status IO Diagnosis Message S-0-1500.0.33 Current I/O Diagnosis Message Current status of inputs and outputs I/O diagnostic message with the highest priority Current I/O diagnostic message Tab. 4.5 Festo – P.BE-CPX-FB39-EN – 1504NH – English 61 4 Diagnostics and error handling 4.5.3 I/O diagnostics with Festo-specific extensions The Festo-specific extensions for I/O diagnostics provide access to all available diagnostic functions in accordance with the CPX standard. The division into system, module and channel diagnostics provides access at any time to all diagnostic messages (è Tab. 4.6). That means that no diagnostic messages remain undetected, even in the pres­ ence of simultaneously occurring faults. IDNs for Festo-specific extensions IDN Designation Explanation S-0-1500.SI.150 S-0-1500.0.151 IO_FG.SI.151 S-0-1500.0.152 IO_FG.SI.152 CPX System Diagnostics Module Diagnostics CPX system diagnostics Module diagnosis Channel Diagnostics Channel diagnostics Tab. 4.6 62 Festo – P.BE-CPX-FB39-EN – 1504NH – English 4 4.6 Diagnostics and error handling Error handling With the following malfunctions, the behaviour of the CPX terminal depends on the configured beha­ viour of the master module and the parameterised fail-safe setting: – Telegram failure – stop of the master – interruption in the bus cable. Depending upon the configuration, the outputs (valves and electrical outputs) are switched off (factory setting), switched on or they retain their existing status. Further information can be found in the CPX system description (è P.BE-CPX-SYS-…). These characteristics can be altered using the Festo Maintenance Tool (CPX-FMT) software, the control device (CPX-MMI) or Sercos mechanisms. Change via Sercos Change configuration of fallback values (è Tab. B.12 (IO_FG.SI.22 - Fallback Value Output)). Change configuration of fallback values (è Tab. B.12 (IO_FG.SI.02 - Configuration Of IO_FG). Change via CPX-FMT/CPX-MMI Change configuration of failsafe values (è CPX system description P.BE-CPX-SYS-…, online help with CPX-FMT software or description of control device P.BE-CPX-MMI-1-…). Please Note A change in the fallback and backup values via Sercos also has a corresponding impact on the failsafe entries in the CPX system table (è Tab. B.14). In the event of any retrospective adjustment of fallback values via CPX-FMT or CPX-MMI, the backup value characteristics provided for in the Sercos standard no longer apply. Warning Accidental activation of actuators! An incorrect status of the valves and outputs can lead to dangerous situations! Ensure that valves and outputs relating to the aforementioned problems are placed in a safe condition. Please Note If the outputs are reset in conjunction with PLC-Stop, field bus interruption or a fault, pay attention to the following: – monostable valves move to the initial position. – Double solenoid valves remain in the current position. – Mid-position valves go into mid-position (pressurized, exhausted or closed, depend­ ing on valve type). Festo – P.BE-CPX-FB39-EN – 1504NH – English 63 A Technical appendix A Technical appendix A.1 Technical data General information General technical data Degree of protection in accordance with IEC 60529, completely mounted, plug connector in accordance with accessories plugged in or equipped with cover cap Protection against electric shock (Protection against direct and indirect contact in accordance with IEC 60204-1) Module code (CPX-specific) Remote I/O Remote controller Module identifier (in operator unit CPX-MMI) Remote I/O Remote controller è CPX system description (P.BE-CPX-SYS-…) IP65/IP67 through the use of PELV circuits (Protected Extra Low Voltage) 224 (sub-module code 3) 171 (sub-module code 3) FB39-RIO FB39-RC Power supply Operating voltage/load voltage Intrinsic current consumption at 24 V from operating voltage supply for electronics/sensors (UEL/SEN) Galvanic isolation between bus interface and CPX periphery (power supplies) Mains buffering time è CPX system description (P.BE-CPX-SYS-…) typ. 100 mA (internal electronics) Yes at least 25 ms Network-specific characteristics Network protocol Specification Transmission rate Input/output size Crossover detection 64 Sercos III Standards/norms with reference to Sercos III: – IEEE 802.3 – IP-based protocols (UDP, TCP, ICMP, …) 100 Mbit/s full duplex 64 byte/64 byte (operating-mode-independent) Auto-MDI/MDI-X Festo – P.BE-CPX-FB39-EN – 1504NH – English A Technical appendix A.2 List of abbreviations The following product-specific terms and abbreviations are used in this manual: Term/abbreviation Meaning Address space AI AO AT Bus node The sum of available addresses, independent of the assignment. Analogue input (input channel, 16 bits) Analogue output (output channel, 16 bits) Acknowledge telegram Create the connection to certain networks and fieldbuses, conduct control signals to the connected modules and monitor their functioning capability. Connection Control Device Control Control block CPX-CEC for configuration, commissioning and programming of various components and equipment from Festo. Configuration Communication Phase Collective term for the various modules which can be integrated into a CPX terminal. Description that gives an overview of structure, components, function, installation and commissioning as well as basic information on parameterisation of CPX terminals (è www.festo.com). Modular electrical terminal Diagnostics Detailed diagnostics information Miniature switch that consists of several switching elements, with which, for example, basic settings can be made; DIL = dual in-line Control block, e.g. CPX-FEC, usable as: – fieldbus slave (remote I/O operating mode) – system controller (PLC, remote controller operating mode) – stand-alone system controller (PLC, stand-alone operating mode) Function Group Function Specific Profile Generic Device Profile Digital input Identification Number Input/output The I/O diagnostics interface is a bus-independent diagnostics interface at I/O level, permitting access to internal data of the CPX terminal. Common term for the CPX modules which provide digital inputs and outputs (CPX input modules and CPX output modules) Master Data Telegram C-CON C-DEV CEC CFG CP CPX modules CPX system description (è P.BE-CPX-SYS-…) CPX terminal Diag Diagnostic data DIL switches FEC FG FSP GDP I IDN IO I/O diagnostics interface I/O modules MDT 1) The designation NRT channel is no longer used on Sercos units and has been replaced by the designation UCC. Festo – P.BE-CPX-FB39-EN – 1504NH – English 65 A Technical appendix Term/abbreviation Meaning MTU NRT channel1) O Parameter Maximum Transfer Unit Non Real Time è UCC Digital output With the aid of parameterisation, the characteristics of the CPX terminal or the characteristics of the individual modules and I/O channels can be adapted to each particular application. Parameters can be read and modified. Process Data Input Process Data Output Programmable logic controller/industrial PC The pneumatics interface is the interface between the modular electrical peripherals and the pneumatics. Sercos Communication Profile Device Status Internal inputs that supply coded common diagnostic messages. Service Channel Synchronization Universal Communication Channel Variables PDIN PDOUT PLC/IPC Pneumatics interface SCP S-DEV Status bits SVC SYNC UCC Var 1) The designation NRT channel is no longer used on Sercos units and has been replaced by the designation UCC. Tab. A.1 66 Festo – P.BE-CPX-FB39-EN – 1504NH – English B Identification Numbers (IDNs) B Identification Numbers (IDNs) To provide a better overview, the IDNs at Sercos are sorted into function groups and classes. Sorting into function groups depicts the view of the specification. Here, the IDNs are sorted by func­ tionality. Sorting in classes depicts the view of the application. For this, the IDNs are assembled in groups that are needed for defined applications. B.1 Sercos Communication Profile (SCP) B.1.1 Function Group - SCP Identification IDN Designation Class Explanation S-0-1000 SCP Type & Version SCP_VarCFG SCP type and SCP version Tab. B.1 B.1.2 Function Group - Timing IDN Designation Class Explanation S-0-1002 Communication Cycle Time (tScyc) SCP_VarCFG Cycle time (0.5 … 65 ms) Tab. B.2 B.1.3 Function Group - Telegram Setup IDN Designation Class Explanation S-0-1009 Device Control (C-Dev) Offset In MDT Lengths Of MDTs SCP_VarCFG – SCP_VarCFG SCP_VarCFG S-0-1012 Device Status (S-Dev) Offset In AT Lengths Of ATs Lengths of Master Data Telegrams MDT – S-0-1013 S-0-1014 SVC Offset In MDT SVC Offset In AT SCP_VarCFG SCP_VarCFG S-0-1010 S-0-1011 SCP_VarCFG Lengths of Acknowledge Telegrams AT – – Tab. B.3 Festo – P.BE-CPX-FB39-EN – 1504NH – English 67 B Identification Numbers (IDNs) B.1.4 Function Group - Control IDN Name Class Explanation S-0-0021 SCP_VarCFG – SCP_VarCFG – S-0-0127 IDN List Of Invalid Operation Data For CP2 IDN List Of Invalid Operation Data For CP3 CP3 Transition Check SCP_VarCFG S-0-0128 CP4 Transition Check SCP_VarCFG Procedure Command to check all parameters needed for CP3 Procedure Command to check all parameters needed for CP4 S-0-0022 Tab. B.4 B.1.5 Function Group - Bus Diagnosis IDN Name Class Explanation S-0-0014 S-0-1003 Interface Status Allowed MST Losses In CP3/CP4 Version Of Communication Hardware Error Counter MST-P&S Error Counter Port 1 & Port 2 Sercos Address SCP_VarCFG SCP_VarCFG – – SCP_VarCFG Device Control (C-DEV) Device Status (S-DEV) List Of Sercos Addresses In Device SCP_Diag SCP_Diag SCP_VarCFG SERCON100S Version: V04 R11 – – Sercos Address of CPX-FB39 Factory setting: 254 (0xFE) – – Value of parameter S-0-1040 S-0-1026 S-0-1028 S-0-1035 S-0-1040 S-0-1044 S-0-1045 S-0-1046 SCP_Sync_0x02 SCP_VarCFG SCP_VarCFG Tab. B.5 68 Festo – P.BE-CPX-FB39-EN – 1504NH – English B Identification Numbers (IDNs) B.1.6 Function Group - Connection IDN Name Class Explanation S-0-0187 IDN List Of Configurable Data As Producer SCP_VarCFG S-0-0188 IDN List Of Configurable Data As Consumer SCP_VarCFG Contains the following IDNs: S-0-1500.0.2 (è B.3.2) S-0-1500.0.9 (è B.3.2) S-0-1500.0.150 (è B.3.3) S-0-1500.0.151 (è B.3.3) IO_FG.SI.9 (è B.3.1) IO_FG.SI.151 (è B.3.3) Contains the following IDNs: S-0-1500.0.1 (è B.3.2) S-0-1500.0.5 (è B.3.2) IO_FG.SI.5 (è B.3.1) S-0-1050.SI.1 Connection Setup S-0-1050.SI.2 S-0-1050.SI.3 S-0-1050.SI.4 Connection Number Telegram Assignment Maximum Length Of Connection SCP_VarCFG SCP_Sync SCP_VarCFG SCP_VarCFG SCP_VarCFG S-0-1050.SI.5 S-0-1044.SI.6 S-0-1050.SI.8 S-0-1050.SI.9 S-0-1050.SI.10 S-0-1050.SI.11 S-0-1050.SI.12 S-0-1051 Current Length Of Connection Configuration List Connection Control (C-CON) Connection State Producer Cycle Time Allowed Data Losses Error Counter Data Losses Image Of Connection Setups 1) SCP_VarCFG SCP_VarCFG SCP_Diag SCP_VarCFG_0x02 SCP_Sync SCP_Sync SCP_Sync SCP_VarCFG – 1) – – Total length of the IDNs stored in S-0-0187 and S-0-0188 less the length of S-0-1500.0.5 + S-0-1500.0.9 – – – – – – – – Also on SCP_Sync the local bus of the CPX terminal is not synchronized to the superimposed Sercos bus cycle. Tab. B.6 B.1.7 Function Group - NRT IDN Name Class Explanation S-0-1017 NRT Transmission Time SCP_VarCFG – Tab. B.7 Festo – P.BE-CPX-FB39-EN – 1504NH – English 69 B Identification Numbers (IDNs) B.2 Generic Device Profile (GDP) B.2.1 Function Group - Diagnosis IDN Designation Class Explanation S-0-0095 Diagnostic Message unclassified S-0-0099 S-0-0390 Reset Class 1 Diagnostic Diagnostic Number GDP_Basic GDP_Basic S-0-1303.0.01 Diagnosis Trace Configuration GDP_DiagTAdv S-0-1303.0.02 S-0-1303.0.03 S-0-1303.0.10 S-0-1303.0.11 S-0-1303.0.12 Diagnosis Trace Control Diagnosis Trace State Diagnosis Trace Buffer 1 Diagnosis Trace Buffer 2 Diagnosis Trace Buffer 3 GDP_DiagT GDP_DiagT GDP_DiagT GDP_DiagT GDP_DiagTAdv Diagnostic event (Sercos-specific) of IDN S-0-0390 in clear text – Current diagnostic event with highest priority in the CPX system as a status code. Contains IDN S-0-1500.SI.33 (è Tab. B.13) – – Maximal 100 entries Maximal 100 entries Maximal 100 entries Tab. B.8 B.2.2 Function Group - Administration IDN Designation Class Explanation S-0-0017 S-0-0025 IDN List Of All Operation Data IDN List Of All Procedure Commands GDP_Basic unclassified – – Tab. B.9 70 Festo – P.BE-CPX-FB39-EN – 1504NH – English B Identification Numbers (IDNs) B.2.3 Function Group - Identification IDN Designation Class Explanation S-0-1300.SI.1 Component Name GDP_Id S-0-1300.SI.2 Vendor name GDP_Id S-0-1300.SI.3 S-0-1300.SI.4 Vendor code Device name GDP_Basic GDP_Id S-0-1300.SI.5 Vendor Device ID GDP_Basic S-0-1300.SI.6 S-0-1300.SI.7 S-0-1300.0.8 S-0-1300.0.9 S-0-1300.0.10 S-0-1300.SI.11 Connected To Sub Device Function Revision Hardware Revision Software revision Firmware Loader Revision Order Number unclassified GDP_Rev GDP_Rev GDP_Rev GDP_Rev GDP_Id S-0-1300.SI.12 S-0-1301 S-0-1302.SI.01 S-0-1302.SI.02 S-0-1302.SI.03 Serial number List Of GDP Classes & Version FSP Type & Version Function Groups Application Type GDP_Id GDP_Basic GDP_Basic GDP_Basic GDP_Id English module designation (long) in UTF8 format Manufacturer name Festo AG & Co. KG Manufacturer code 0xFE English module designation (short) in UTF8 format Manufacturer device number (unique ID for each type of CPX module) On all CPX modules 0 – – – – Part number for the electronics assembly – 0x00010001 – IO Function Groups – Tab. B.10 B.2.4 Function Group - Time IDN Name Class Explanation S-0-1305.0.1 S-0-1305.0.2 S-0-1305.0.3 Sercos Current Time Sercos Current Fine Time Sercos Current Coarse Time GDP_DiagT – – – Tab. B.11 Festo – P.BE-CPX-FB39-EN – 1504NH – English 71 B Identification Numbers (IDNs) B.3 Function Specific Profile IO (FSP IO) B.3.1 Function Group - Generic I/O IDN Name Explanation IO_FG.SI.1 Name Of IO_FG IO_FG.SI.2 IO_FG.SI.3 IO_FG.SI.4 IO_FG.SI.5 IO_FG.SI.7 IO_FG.SI.8 IO_FG.SI.9 IO_FG.SI.19 IO_FG.SI.20 IO_FG.SI.22 Configuration Of IO_FG Channel Quantity PDOUT Channel Width PDOUT PDOUT Channel Quantity PDIN Channel Width PDIN PDIN Parameter Channel Receive Parameter Channel Transmit Fallback Value Output Name of function group S-0-1500.SI.0 Bus Coupler S-0-1502.SI.0 Digital output S-0-1503.SI.0 Digital input S-0-1504.SI.0 Analog Output S-0-1505.SI.0 Analogue input S-0-1506.SI.0 counter S-0-1507.SI.0 Complex Protocol S-0-1508.SI.0 Sub Bus Master S-0-1509.SI.0 Sub Bus Slave – Number of output channels Width of output channels [Bit] Output data of the CPX module Number of input channels Width of input channels [Bit] Input data for the CPX module – – – Tab. B.12 B.3.2 Function Group - Bus Coupler IDN Name Explanation S-0-1500.SI.1 S-0-1500.SI.2 S-0-1500.SI.3 S-0-1500.SI.5 S-0-1500.SI.9 S-0-1500.SI.19 S-0-1500.SI.20 S-0-1500.SI.23 S-0-1500.SI.32 S-0-1500.SI.33 IO Control IO Status List Of Module Type Code Container OutputData Container InputData Parameter Channel Receive Parameter Channel Transmit Local Bus Cycle Time IO Diagnostic Message Current IO Diagnostic Message Behaviour of inputs and outputs Status display of inputs and outputs Display of module type code for all modules Container output data1) Container input data1) Module-specific parameters of the bus node2) Puffer for the module-specific parameters1) 3) Cycle time of the local bus Diagnostic message with the highest priority Current diagnostic message 1) This IDN is implemented as a byte list with variable length. 2) This IDN only permits read access and is implemented as a byte list with variable length. 3) This does not involve the current value for the module-specific parameters from the CPX system table. The current parameter values can be interrogated via S-0-1500.SI.19. Tab. B.13 72 Festo – P.BE-CPX-FB39-EN – 1504NH – English B Identification Numbers (IDNs) B.3.3 Manufacturer-specific extensions to the Function Specific Profile IO (FSP IO) IDN Designation Explanation S-0-1500.SI.150 CPX System Diagnostics S-0-1500.SI.151 IO_FG.SI.151 Module Diagnostics S-0-1500.SI.152 IO_FG.SI.152 Channel Diagnostics S-0-1500.SI.200 CPX system parameters CPX System Diagnostics1) This IDN is implemented as an 8-byte value. Byte 0: Status bits (error type and source of error) Byte 1: Module number and diagnostic status Byte 2: Error number Diagnostic data of the CPX module to which the IO function group is assigned.1) 2) Byte 0: Number of the first defective channel Byte 1: Module error number Byte 2: Info 2 (reserved) Byte 3: Info 3 (reserved) Diagnostic data of all channels of the CPX module to which the IO function group is assigned.1) 3) The content of the IDN is the fault number of the corresponding channel. Global system parameters of the CPX system This IDN is implemented as a byte list with a length of 8.4) 1) This IDN only permits read access. 2) All sessions of this IDN are implemented as a 4-byte value. One session corresponds to one CPX module. 3) All sessions of this IDN are implemented as a 1-byte list. The length of the list is computed from the total of I channels and O channels for the corresponding IO function group. 4) Due to the fact that the behaviour of the outputs in the event of a fault with Sercos is specified by parameters IO_FG.SI.02 and IO_FG.SI.22, the system parameter “Behaviour in response to a Fail State” is factory set to “Fault Mode”. By setting this parameter to 00 (All Outputs Reset) or 01 (Hold Last State), the specific substitute value characteristics of Sercos are disabled. The system parameter “Behaviour in an Idle Mode fail state” is not used. Tab. B.14 Festo – P.BE-CPX-FB39-EN – 1504NH – English 73 B Identification Numbers (IDNs) B.4 Overview of the supported classes B.4.1 Supported classes of the Sercos Communication Profile (SCP) Class Description SCP_VarCFG This class is needed to initialize the cyclical exchange of data between master and slave. A slave that implements the class SCP_VarCFG provides the following functions: – Accesses via the service channel are completely supported – Cyclical transmission of “Device Control” and “Device Status” – The slave defines which data can be transmitted cyclically and how many connections are possible. The slave provides the master with these data to enable the master to initialize all connections correctly. A slave that implements the class SCP_WDCon provides a watchdog function that enables connections to be monitored and, in the event of connection terminations, to initiate corresponding fault responses. A slave that implements class SCP_Diag provides information that helps to run bus diagnostics. A slave that implements class SCP_NRTPC enables the UCC (Universal Communication Channel) to be used for the transmission of non-Sercos-Ethernet telegrams. A slave that implements the class SCP_Cyc provides all of the functions needed to transmit and to receive cyclical data (produce and consume). SCP_WDCon SCP_Diag SCP_NRTPC SCP_Cyc Tab. B.15 B.4.2 Supported classes of the Generic Device Profile (GDP) Class Description GDP_Basic GDP_DiagT GDP_DiagTAdv GDP_Id GDP_Rev Contains all the essential IDNs needed for a Sercos device. Basic function of the Sercos Diagnostic Trace. Extended functions of the Sercos Diagnostic Trace. Contains IDNs with information for the identification of a device or module. Contains IDNs with information for overhauling (hardware and firmware) of the bus node. Tab. B.16 74 Festo – P.BE-CPX-FB39-EN – 1504NH – English C Diagnostic messages C Diagnostic messages C.1 Depiction of CPX diagnostic classes on Sercos diagnostic classes CPX diagnostic class Sercos diagnostic class Fault class 1: Information or minor fault Fault class 2: Standard/extended diagnostics Fault class 3: System fault, general Operational State Warning (C2D) Error (C1D) Tab. C.1 C.2 Depiction of CPX diagnostic messages on Sercos status codes CPX fault numbers that are not assigned to a Sercos status code in the following table are reported as manufacturer-specific status codes. CPXError number Description Sercostatus code Description 0 1 2 3 4 5 9 10 11 12 13 14 No Error General Diagnosis Short Circuit Wire Fracture/Idling Current I/O Short Circuit In Actuator Supply Undervoltage In Power Supply Lower Limit Exceeded Upper Limit Exceeded Short Circuit Valve Pilot Valve Function Warning Wire Fracture (Open Load) Condition Counter Exceeded 0x0000 0x1000 0x2130 0x2360 0x3420 0x3400 0x8920 0x8910 0x2340 – 0x2360 0x8B00 15 16 17 18 19 20 21 22 Module/Channel Failure Module Code Incorrect I/O Length Incorrect Address Range Exceeded Life Cycle Exceeded Fault In Parameterizing Signal Range Fault In Parameterizing Data Format Fault In Parameterizing Linear Scaling 0xB010 0xB002 0xB030 0xB030 – 0x6320 0x6320 0x6320 No Error General Error Short Circuit Wire Break Actuator Supply Supply Voltage Measured Value Underrange Measured Value Overrange Short Circuit – Wire Break Preventive Maintenance Required (Condition Monitoring) Device Errors Incorrect Local Bus Slave Present Local Bus Configuration Error Local Bus Configuration Error – Parameter Error Parameter Error Parameter Error Festo – P.BE-CPX-FB39-EN – 1504NH – English 75 C Diagnostic messages CPXError number Description Sercostatus code Description 23 24 25 26 27 28 29 30 Fault In Filter Measured Value Fault In Parameterizing Lower Limit Fault In Parameterizing Upper Limit Fault In Actuator Supply Wrong Device Type Mounted Alarm Value Reached Fault In Parameterizing No New Output Data (Slave) 0x6320 0x6320 0x6320 0x3420 – 0x8110 0x6320 0xB023 31 No Bus Connection (Slave) 0xB000 32 No STI Read Access (Slave) 0xB000 33 No Parameter Access (Slave) 0xB000 34 35 36 37 38 39 CP Module Lost/Fault CP Configuration Failure Short Circuit CP Line Fault In Controlling Missing Valve Maintenance Required 0xA001 0xA002 0x2340 – – 0x8B00 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 Life Guard Heart beat Com Cycle Period (Sync) CAN Overrun (Objects Lost) Invalid PDO Received CAN Warn Limit Reached CAN Recovered From Bus Off Bus Power Lost Fault In Calibration Lower Drop Out Signal Upper Drop Out Signal Sensor Limit Exceeded Short Circuit Cold Junction Comp. Open Load Cold Junction Comp. Calibration Data Incorrect Invalid Process Value Short Circuit I-Port – – – – – – – – – – – 0x8900 – – – – 0x2340 Parameter Error Parameter Error Parameter Error Actuator Supply – Process Data Monitoring Parameter Error Local Bus I/O Data Communication Error Local Bus (System Bus Of The Modular Station) Local Bus (System Bus Of The Modular Station) Local Bus (System Bus Of The Modular Station) Sub Bus Slave Missing Incorrect Sub Bus Slave Present Short Circuit – – Preventive Maintenance Required (Condition Monitoring) – – – – – – – – – – – Sensors – – – – Short Circuit 76 Festo – P.BE-CPX-FB39-EN – 1504NH – English C Diagnostic messages CPXError number Description Sercostatus code Description 57 58 59 60 61 64 Device Missing/Failure I-Port I-Port Configuration Error Input Overload Signal Underflow/Overflow Overvoltage In Power Supply Number Of Modules Incorrect 0xA001 0xA030 – 0x8000 65 66 67 68 69 70 71 76 77 78 79 80 81 82 83 84 100 101 102 103 104 105 106 107 108 109 115 128 129 130 131 132 133 F_Dest_Add Mismatch F-Communication Fault F-Communication Timeout Leakage Current F-Parameter Fault Station Equipment Status Incorrect Bus Connection Lost Reserve Reserve Value Out Of Range Another Function Failure Function Failure Monitoring Diag 1 Monitoring Diag 2 Monitoring Diag 3 Monitoring Diag 4 Configuration Error Execution Error Record Error Control Error System Error A System Error B Error In Valve Controller Error Encoder Error Error Motor Or Power Stage Subsystem Module/Channel Failure Switch Unit Defective CBUS Asic Not Ready CPU Hardware Trap CBUS C-Manager Not Ready Watchdog Overflow Remanent Memory Defective – – – – – – – – – 0xA010 0xA010 0xA010 0x8000 0x8000 0x8000 0x8000 0xB030 0x5010 0x5010 0x5200 0x5010 0x5010 0x5010 0x5200 0x5010 0x5010 0xA010 – 0xB041 0xB041 0xB041 0x6010 0xB041 Sub Bus Slave Missing Sub Bus Configuration Error – Monitoring Supply Voltage Local Bus Devices Amount Error (Too Many Devices) – – – – – – – – – Device Errors Device Errors Device Errors Monitoring Monitoring Monitoring Monitoring Local Bus Configuration Error Component Error Component Error Control System Component Error Component Error Component Error Control System Component Error Component Error Device Errors – Local Bus Hardware Error Local Bus Hardware Error Local Bus Hardware Error Software Reset (Watchdog) Local Bus Hardware Error Festo – P.BE-CPX-FB39-EN – 1504NH – English 0xB004 77 C Diagnostic messages CPXError number Description Sercostatus code Description 134 135 136 137 138 139 140 141 142 143 144 145 150 200 201 202 203 204 205 255 Flash System Memory Defective Number Of Module Parameters > 64 Slave Not Ready CBUS Diagnostic Telegram CBUS Init Fault (Module Gap) Order Queue Full CBUS-EEPROM Error CBUS C-Timeout Error CBUS Telegram Fault BIU Access Error Licence Error Built-In Self Test Failed NETOS Fatal Error Fault Parameter Transfer Module n Invalid Field Bus Address Protocol Asic Not Ready MMI Serves CPX Module Invalid Setting Switch Unit Module Set To Default Values Unknown Fault 0xB041 0xB030 0xB020 0xB020 0xB020 0xB020 0xB041 0xB020 0xB020 0x6100 – 0x5010 0x6100 – – – – – – 0x1000 Local Bus Hardware Error Local Bus Configuration Error Communication Errors Communication Errors Communication Errors Communication Errors Local Bus Hardware Error Communication Errors Communication Errors Internal Software (Firmware) – Component Error Internal Software (Firmware) – – – – – – General Error Tab. C.2 78 Festo – P.BE-CPX-FB39-EN – 1504NH – English Bus node CPX-FB39 Index A Abbreviations, Product-specific . . . . . . . . . . . . Address assignment . . . . . . . . . . . . . . . . . . . . . – Determination . . . . . . . . . . . . . . . . . . . . . . . . – Technology modules . . . . . . . . . . . . . . . . . . . Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . C Commissioning . . . . . . . . . . . . . . . . . . . . . . . . . – Address assignment . . . . . . . . . . . . . . . . . . . – Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . Connection technology . . . . . . . . . . . . . . . . . . D Device description files . . . . . . . . . . . . . . . . . . Diagnostics mode . . . . . . . . . . . . . . . . . . . . . . Diagnostics options, Overview . . . . . . . . . . . . Diagnostics via LED displays . . . . . . . . . . . . . . Diagnostics via status bits . . . . . . . . . . . . . . . . Diagnostics via the I/O diagnostics interface . DIL switches – Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . – Remove/attach cover . . . . . . . . . . . . . . . . . . – Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dismantling . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 26 34 32 35 24 26 35 19 40 16 53 54 59 60 14 14 15 12 L LED indicators . . . . . . . . . . . . . . . . . . . . . . . . . – CPX-specific . . . . . . . . . . . . . . . . . . . . . . . . . – Network-specific . . . . . . . . . . . . . . . . . . . . . . Lines, network . . . . . . . . . . . . . . . . . . . . . . . . . 54 55 57 20 M Module identifiers . . . . . . . . . . . . . . . . . . . . . . 64 Modules, Technology . . . . . . . . . . . . . . . . . . . . 32 Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 N Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 – Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 – Connection technology . . . . . . . . . . . . . . . . . 19 – Pin allocation . . . . . . . . . . . . . . . . . . . . . . . . 20 – Plug connector . . . . . . . . . . . . . . . . . . . . . . . 19 Notes on the documentation . . . . . . . . . . . . . . . 6 O Operating mode . . . . . . . . . . . . . . . . . . . . . . . . – Remote controller . . . . . . . . . . . . . . . . . . . . . – Remote I/O . . . . . . . . . . . . . . . . . . . . . . . . . . Operator unit (CPX-MMI) . . . . . . . . . . . . . . . . . 15 15 15 52 F Fail safe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Festo Maintenance Tool (CPX-FMT) software . . 52 Force . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 P Parameterization . . . . . . . . . . . . . . . . . . . . . . . – Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . – Requirements . . . . . . . . . . . . . . . . . . . . . . . . – via the Festo Maintenance Tool (CPX-FMT) software . . . . . . . . . . . . . . . . . . . . . . . . . . . . – with the operator unit (CPX-MMI) . . . . . . . . PELV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pneumatic interface . . . . . . . . . . . . . . . . . . . . . Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . I I/O diagnostics interface . . . . . . . . . . . . . . . . . 60 Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Intended use . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 IP address, setting . . . . . . . . . . . . . . . . . . . . . . 21 IP65/IP67 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 S Safety instructions, General . . . . . . . . . . . . . . . 7 SDDML files . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Sercos address . . . . . . . . . . . . . . . . . . . . . . . . . 18 Sercos III . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Servicing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 E Edit, Sercos address . . . . . . . . . . . . . . . . . . . . 18 Electrical connections and indicators . . . . . . . 11 Electrical interface (CP interface) . . . . . . . . . . 37 Festo – P.BE-CPX-FB39-EN – 1504NH – English 50 51 51 52 52 23 38 23 79 Bus node CPX-FB39 Set – Diagnostics mode . . . . . . . . . . . . . . . . . . . . . – DIL switches . . . . . . . . . . . . . . . . . . . . . . . . . – IP address . . . . . . . . . . . . . . . . . . . . . . . . . . . – Operating mode . . . . . . . . . . . . . . . . . . . . . . Status bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 16 15 21 15 59 T Technical data . . . . . . . . . . . . . . . . . . . . . . . . . 64 Technology modules . . . . . . . . . . . . . . . . . . . . 32 W Web servers . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Festo – P.BE-CPX-FB39-EN – 1504NH – English Copyright: Festo AG & Co. KG Postfach 73726 Esslingen Germany Phone: +49 711 347-0 Fax: +49 711 347-2144 e-mail: service_international@festo.com Reproduction, distribution or sale of this document or communica­ tion of its contents to others without express authorization is prohibited. Offenders will be liable for damages. All rights re­ served in the event that a patent, utility model or design patent is registered. Internet: www.festo.com Original: de