CPX terminal Electronics manual CPX field bus node Type CPX-FB11 Field bus protocol DeviceNet Manual 526 422 en 0206NH [653 620] Contents and general instructions Author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . S. Breuer Editors . . . . . . . . . . . . . . . . . . . . . . . . H.-J. Drung, M. Holder Original . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . de Translation . . . . . . . . . . . . . . . . . . . . . transline Deutschland Layout . . . . . . . . . . . . . . . . . . . Festo AG & Co., Dept. KG-GD Type setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . KI-DT Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . en 0206NH Designation . . . . . . . . . . . . . . . . . . . . . . . P.BE-CPX-FB11-EN Order no. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526 422 E (Festo AG & Co., D-73726 Esslingen, Federal Republic of Germany, 2002) Internet: http://www.festo.com E-Mail: service_international@festo.com The copying, distribution and utilization of this document as well as the communication of its contents to others without expressed authorization is prohibited. Offenders will be held liable for the payment of damages. All rights are reserved, in particular the right to carry out patent, utility model or ornamental design registration. Festo P.BE-CPX-FB11-EN en 0206NH I Contents and general instructions TORX® II is a registered trade mark of CAMCAR TEXTRON INC., Rockford, Ill., USA Festo P.BE-CPX-FB11-EN en 0206NH Contents and general instructions Contents Designated use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Target group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Important user instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Notes on the use of this manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VII VIII VIII IX XI 1. Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 1.1 1.2 1.4 1.5 General instructions on installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting the CPX field bus node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2.1 Removing and fitting the cover over the DIL switches . . . . . . . . . . . 1.2.2 Setting the DIL switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting to the field bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3.1 Field bus cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3.2 Field bus baud rate and field bus length . . . . . . . . . . . . . . . . . . . . . 1.3.3 Connection instructions for DeviceNet . . . . . . . . . . . . . . . . . . . . . . . 1.3.4 Micro style connection (2 x M12) . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3.5 Open style connection (screw terminals, IP20) . . . . . . . . . . . . . . . . 1.3.6 Connection example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3.7 Further connection possibility via the sub-D connection . . . . . . . . Bus termination with terminating resistors . . . . . . . . . . . . . . . . . . . . . . . . . . Pin assignment of power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 1-8 1-8 1-9 1-18 1-18 1-19 1-20 1-22 1-23 1-24 1-25 1-28 1-29 2. Commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 2.1 Configuration and addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.1 Ascertaining the address range . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.2 Address assignment of the CPX terminal . . . . . . . . . . . . . . . . . . . . . 2.1.3 Address assignment after extension or conversion . . . . . . . . . . . . Bus configuration and addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.1 Switching on the power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.2 Configuring the DeviceNet slave features (EDS) . . . . . . . . . . . . . . . 2.2.3 General instructions for configuring the DeviceNet . . . . . . . . . . . . 2.2.4 Instructions on configuring with RSNetWorx for DeviceNet . . . . . . 2-4 2-5 2-8 2-11 2-13 2-14 2-15 2-18 2-20 1.3 2.2 Festo P.BE-CPX-FB11-EN en 0206NH III Contents and general instructions 2.3 2.4 Parametrizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.1 Methods of parametrizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.2 Parametrizing via RSNetWorx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.3 Parametrizing via the PLC user program . . . . . . . . . . . . . . . . . . . . . 2.3.4 Parametrizing with the handheld . . . . . . . . . . . . . . . . . . . . . . . . . . . Commissioning the CPX terminal on the DeviceNet . . . . . . . . . . . . . . . . . . . . 2-27 2-29 2-31 2-37 2-38 2-39 3. Diagnosis and error treatment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 3.1 3.2 3.6 Overview of diagnostic possibilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnosis via LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2.1 CPX-specific LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnosis via status bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnosis via I/O diagnostic interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnosis via DeviceNet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.1 Diagnosis via the Software Configurator . . . . . . . . . . . . . . . . . . . . . 3.5.2 Diagnosis via the user program . . . . . . . . . . . . . . . . . . . . . . . . . . . . Fault treatment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4 3-5 3-7 3-13 3-14 3-16 3-16 3-19 3-21 A. Technical appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1 A.1 A.2 A.3 Technical specifications of field bus node type CPX-FB11 . . . . . . . . . . . . . . . Accessories for field bus connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DeviceNet objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.3.1 DeviceNet object model CPX terminal . . . . . . . . . . . . . . . . . . . . . . . A.3.2 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.3.3 General parameters object modules . . . . . . . . . . . . . . . . . . . . . . . . A.3.4 Assembly object instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.3.5 Assigning the I/O channels with the Force, Fail safe and Idle parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.3.6 Object, modification digital outputs . . . . . . . . . . . . . . . . . . . . . . . . . A.3.7 Object, modification digital inputs . . . . . . . . . . . . . . . . . . . . . . . . . . A.3.8 Object, modification analogue outputs . . . . . . . . . . . . . . . . . . . . . . A.3.9 Object, modification analogue inputs . . . . . . . . . . . . . . . . . . . . . . . A.3.10 Object, modification output words function module . . . . . . . . . . . A.3.11 Object, modification input words function module . . . . . . . . . . . . . A-3 A-4 A-5 A-5 A-6 A-8 A-13 3.3 3.4 3.5 IV A-16 A-17 A-18 A-19 A-20 A-21 A-22 Festo P.BE-CPX-FB11-EN en 0206NH Contents and general instructions A.3.12 A.3.13 A.3.14 A.3.15 Module-independent system object . . . . . . . . . . . . . . . . . . . . . . . . . Status and diagnostic object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnostic Trace object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnostic Trace status object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-23 A-27 A-28 A-30 B. Structure of EDS files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1 B.1 B.2 EDS files of the CPX terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Structure of the EDS files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.2.1 Numbering the modules in the EDS file . . . . . . . . . . . . . . . . . . . . . . B.2.2 Assigning the I/O channels with the Force, Fail safe and Idle parameters in the EDS file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Parameter and data in the EDS file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.1 Group SysDiag.Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.2 Group SysData . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.3 Group SysParameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.4 Group Dat/Par Dig.Mod... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.5 Group Dat/Par PI Mod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.6 Group Dat/Par Ana.Mod. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.7 Group Dat/Par Fct.Mod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.8 Group Force Param DO (Force parameter “Digital outputs”) . . . . . B.3.9 Group Force Param DI (Force parameter “Digital inputs”) . . . . . . . B.3.10 Group FailSafe Param DO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.11 Group Idle Param DO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.12 Group Force Param AO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.13 Group FailSafe Param AO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.14 Group Idle Param AO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.15 Group Force Param AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.16 Group DiagMem.Param . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.17 Group DiagMem.Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.18 Group Diagnostic memory entries . . . . . . . . . . . . . . . . . . . . . . . . . . B-3 B-4 B-6 B-8 B-11 B-11 B-13 B-16 B-19 B-24 B-27 B-31 B-33 B-34 B-34 B-35 B-36 B-36 B-36 B-36 B-36 B-41 B-42 C. Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1 C.1 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-3 B.3 Festo P.BE-CPX-FB11-EN en 0206NH V Contents and general instructions Designated use The field bus node type CPX-FB11 described in this manual has been designed exclusively for use as a slave on the DeviceNet. The CPX terminal may only be used as follows: – in accordance with designated use – in its original state – without any modifications by the user – in faultless technical condition. – The maximum values specified for pressures, temperatures, electrical data, torques etc. must be observed. Please comply with national and local safety laws and regulations. Warning If the terminal is to be used as an explosion-proof operating media, make sure that: • the electrical connections are not disconnected when power is still applied. • the completely fitted CPX terminal with all plugs, adapters and protective caps used complies at least with protection class IP64. VI Festo P.BE-CPX-FB11-EN en 0206NH Contents and general instructions Target group This manual is intended exclusively for technicians trained in control and automation technology, who have experience in installing, commissioning, programming and diagnosing slaves on the DeviceNet field bus. Service Please consult your local Festo repair service if you have any technical problems. Festo P.BE-CPX-FB11-EN en 0206NH VII Contents and general instructions Important user instructions Danger categories This manual contains instructions on the possible dangers which may occur if the product is not used correctly. These instructions are marked (Warning, Caution, etc.), printed on a shaded background and marked additionally with a pictogram. A distinction is made between the following danger warnings: Warning This means that failure to observe this instruction may result in serious personal injury or damage to property. Caution This means that failure to observe this instruction may result in personal injury or damage to property. Please note This means that failure to observe this instruction may result in damage to property. The following pictogram marks passages in the text which describe activities with electrostatically sensitive components. Electrostatically sensitive components may be damaged if they are not handled correctly. VIII Festo P.BE-CPX-FB11-EN en 0206NH Contents and general instructions Marking special information The following pictograms mark passages in the text containing special information. Pictograms Information: Recommendations, tips and references to other sources of information. Accessories: Information on necessary or sensible accessories for the Festo product. Environment: Information on environment-friendly use of Festo products. Text markings • The bullet indicates activities which may be carried out in any order. 1. Figures denote activities which must be carried out in the numerical order specified. – Festo P.BE-CPX-FB11-EN en 0206NH Hyphens indicate general activities. IX Contents and general instructions Notes on the use of this manual Please note This manual refers to the CPX field bus node type CPX-FB11 as from revised version R06 (see type plate). This manual contains specific information on installation, commissioning, programming and diagnosis with the CPX field bus node for DeviceNet. General basic information on the method of operation, fitting, installation and commissioning of CPX terminals can be found in the CPX system manual. Information on further CPX modules can be found in the manual for the relevant module. The following table provides an overview. X Festo P.BE-CPX-FB11-EN en 0206NH Contents and general instructions Type Title Description Electronics manual “System manual, installation and commissioning of CPX terminals” type P.BE-CPX-SYS-... Overview of structure, components and method of operation of CPX terminals Installation and commissioning instructions as well as basic principles of parametrizing “CPX I/O modules” type P.BE-CPX-EA-... Connection technology and instructions on fitting, installing and commissioning input and output modules of type CPX-... as well as type CPA and midi/maxi pneumatic interfaces “CPX field bus node” type P.BE-CPX-FB... Instructions on fitting, installing, commissioning and diagnosing the relevant field bus node “Valve terminals with CPA pneumatics” type P.BE-CPA-... Information on fitting, installing and commissioning CPA pneumatics “Valve terminals with Midi/Maxi pneumatics” type P.BE-Midi/Maxi-03-... Information on fitting, installing and commissioning Midi/Maxi pneumatics Pneumatics manual Tab. 0/1: Manuals on the CPX terminal Festo P.BE-CPX-FB11-EN en 0206NH XI Contents and general instructions The following product-specific terms and abbreviations are used in this manual: Term/abbreviation Meaning CP Compact Performance CPA Pneumatic modules/valve terminal type 12 CPX bus Data bus via which the CPX modules communicate with each other and are supplied with the required operating voltage. CPX modules Common term for the various modules which can be incorporated in a CPX terminal CPX terminal Modular electric terminal type 50 EDS library The features of the various field bus slaves are managed in the EDS library (Electronic Data Sheets). Field bus node Provides the connection to specific field buses. Transmits control signals to the connected modules and monitors their ability to function. I Digital input I/O diagnostic interface The I/O diagnostic interface is a bus-independent diagnostic interface at I/O level which permits access to internal data of the CPX terminal. I/O modules Common term for the CPX modules which provide digital inputs and outputs (CPX input modules and CPX output modules). I/Os Digital inputs and outputs Midi/Maxi Pneumatic modules/valve terminal type 03 O Digital output PLC/IPC Programmable logic controller/industrial PC Pneumatic interface The pneumatic interface is the interface between the modular electric periphery and the pneumatics. Status bits Internal inputs which supply coded common diagnostic messages. RSNetWorx Parametrizing, commissioning and diagnostic software Tab. 0/2: XII CPX-specific terms and abbreviations Festo P.BE-CPX-FB11-EN en 0206NH Installation Chapter 1 Festo P.BE-CPX-FB11-EN en 0206NH 1-1 1. Installation Contents 1. Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 1.1 1.2 General instructions on installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting the CPX field bus node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2.1 Removing and fitting the cover over the DIL switches . . . . . . . . . . . 1.2.2 Setting the DIL switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting to the field bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3.1 Field bus cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3.2 Field bus baud rate and field bus length . . . . . . . . . . . . . . . . . . . . . 1.3.3 Connection instructions for DeviceNet . . . . . . . . . . . . . . . . . . . . . . . 1.3.4 Micro style connection (2 x M12) . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3.5 Open style connection (screw terminals, IP20) . . . . . . . . . . . . . . . . 1.3.6 Connection example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3.7 Further connection possibility via the sub-D connection . . . . . . . . Bus termination with terminating resistors . . . . . . . . . . . . . . . . . . . . . . . . . . Pin assignment of power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 1-8 1-8 1-9 1-18 1-18 1-19 1-20 1-22 1-23 1-24 1-25 1-28 1-29 1.3 1.4 1.5 1-2 Festo P.BE-CPX-FB11-EN en 0206NH 1. Installation Contents of this chapter Further information In this chapter you will find information on: – how to set the CPX field bus node with DIL switches – how to connect the field bus – the pin assignment of the power supply. Information on fitting and installing the complete CPX terminal can be found in the CPX system manual (P.BE-CPXSYS-...). Information on installing the I/O modules and the pneumatic interfaces can be found in the manual for the CPX pneumatic interfaces and the CPX I/O modules (P.BE-CPX-EA-...). Instructions on installing the pneumatic components can be found in the relevant pneumatics manual. Festo P.BE-CPX-FB11-EN en 0206NH 1-3 1. Installation 1.1 General instructions on installation Warning Undesired movement of the connected actuators and uncontrolled movements of loose tubing can cause injury to human beings or damage to property. Before carrying out installation and maintenance work, switch off the following: – the compressed air supply – the operating and load voltage supplies. Caution The CPX field bus node may be damaged if it is not handled correctly. • Observe the regulations for handling electrostatically sensitive components. • Discharge yourself electrostatically before fitting or re- moving components in order to protect the components against discharges of static electricity. 1-4 Festo P.BE-CPX-FB11-EN en 0206NH 1. Installation Electrical connecting and display elements You will find the following connecting and display elements on the CPX field bus node for DeviceNet: 1 Bus status specific and CPX-specific LEDs 4 1 3 2 2 Exchangeable field bus connection (here micro style connection) 3 Cover of the DIL switches 4 Service interface for handheld Fig. 1/1: Connecting and display elements on the CPX field bus node The field bus connection is exchangeable. The following connection possibilities are available: Festo P.BE-CPX-FB11-EN en 0206NH – Micro style connection type FBA-2-M12-5pol (2 x M12) – Open style connection type FBA-1-SL-5pol with terminal strip type FBSD-KL-2x5pol – 9-pin sub-D plug. 1-5 1. Installation Fitting and removing The field bus node is fitted in a manifold base of the CPX terminal (see Fig. 1/2). Removing Remove the field bus node as follows: 1. Loosen the 4 screws in the field bus node with a Torx screwdriver size T10. 2. Pull the field bus node carefully and without tilting away from the contact rails of the manifold base. 1 Field bus node CPX-FB11 4 2 Manifold base 1 3 Contact rails 4 Screws 3 2 Fig. 1/2: Fitting/removing the field bus node 1-6 Festo P.BE-CPX-FB11-EN en 0206NH 1. Installation Fitting Fit the field bus node as follows: 1. Place the field bus node in the manifold base. Make sure that the grooves with the contact terminals on the bottom of the field bus node lie above the contact rails. Then push the field bus node carefully and without tilting as far as possible into the manifold base. 2. Tighten the screws only by hand. Place the screws so that the self-cutting threads can be used. Tighten the screws with a Torx screwdriver size T10 with torque 0.9...1.1 Nm. Festo P.BE-CPX-FB11-EN en 0206NH 1-7 1. Installation 1.2 Setting the CPX field bus node In order to set the CPX field bus node you must first remove the cover over the DIL switches. Caution The CPX field bus node contains electrostatically sensitive components. • Do not therefore touch any contacts. • Observe the regulations for handling electrostatically sensitive components. You will then prevent the electronics in the node from being damaged. 1.2.1 Removing and fitting the cover over the DIL switches Removing 1. Switch off the power supply. 2. Unscrew the two fastening screws in the switch cover. 3. Lift up the cover. Fitting 1. Place the cover carefully on the node. Please note – Make sure that the seal is seated correctly. 2. Tighten both fastening screws at first by hand and then with torque 0.5...0.8 Nm. 1-8 Festo P.BE-CPX-FB11-EN en 0206NH 1. Installation 1.2.2 Setting the DIL switches When you have removed the cover for the DIL switches, you will see five DIL switches in the field bus node (see Fig. 1/3). The two upper DIL switches are reserved for later extensions. With the other three DIL switches you can set the following: – the baud rate – the diagnostic mode – the station number. Proceed as follows: 1. Switch off the power supply. Modifications to the DIL switch settings will not become effective until the operating voltage is switched on again. 2. Remove the cover over the DIL switches (chapter 1.2.1). 3. Set the baud rate (lower left 2-position DIL switch). 4. Set the diagnostic mode (lower right 2-position DIL switch). 5. Assign an unused station number to the CPX terminal. Set the desired station number (8-position DIL switch, elements 1...6). 6. Fit the cover again (chapter 1.2.1). Festo P.BE-CPX-FB11-EN en 0206NH 1-9 1. Installation 1 Reserved 1 2 Reserved (must be set to OFF) ON ON 1 2 1 2 5 5 6 Diagnostic mode 7 8 3 Setting 2 ON 4 Baud rate 1 2 3 4 (must be set to OFF) 5 Setting Station number 4 ON ON 1 2 1 2 3 Fig. 1/3: DIL switch in the field bus node (further information on 1 ... 5 see the following) 1-10 Festo P.BE-CPX-FB11-EN en 0206NH 1. Installation DIL switch 1 Reserved Switch must be set to OFF. Description Setting the DIL switches 1) Reserved for future extensions Tab. 1/1: 1.1: OFF 1.2: OFF (default) DIL switch 1 (reserved) DIL switch 2 Reserved Switch must be set to OFF. Description Setting the DIL switches 2) Reserved for future extensions Tab. 1/2: Festo P.BE-CPX-FB11-EN en 0206NH 2.1: OFF 2.2: OFF (default) DIL switch 2 (reserved) 1-11 1. Installation DIL switch 3 With the 2-element DIL switch 3 you can specify whether diagnostic information is to be transmitted on a “Polled” or “Change of state” connection. Irrespective of this setting, the 8 status bits are always available via a “Strobed I/O” connection. Description Setting the DIL switches 3) The I/O diagnostic interface and the status bits are switched off (+ 0 I/O bits) Recommended setting 1) 3.1: OFF 3.2: OFF (default) The I/O diagnostic interface is switched on 2) (+ 16 I/O bits, beginning with the first unused process data word) 3.1: ON 3.2: OFF The status bits are switched on 3) (+ 16 I/O bits, beginning with the first unused process data word) This setting is used for exceptional situations in which controllers do not support the “Strobed I/O” connections. 3.1: OFF 3.2: ON Reserved for future extensions 3.1: ON 3.2: ON 1) Irrespective of the DIL switch setting, the 8 status bits are always available via a “Strobed I/O” connection. In addition the diagnosis can take place via the DeviceNet objects (see Appendix A.3). 2) The I/O diagnostic interface occupies an additional 16 I/O bits. 3) With this setting the status bits occupy an additional 16 I/O bits and can be transmitted via a “Polled” connection or a “Change of state” connection. The 8 status bits lie in the lower-value 8 bits. The higher-value 8 bits remain unused. Tab. 1/3: 1-12 DIL switch 3 (diagnostic mode) Festo P.BE-CPX-FB11-EN en 0206NH 1. Installation DIL switch 4 You can set the baud rate with switch element 2 of the 2-element DIL switch 4: Description Baud rate 125 kBd 4.1: OFF 4.2: OFF (default) Baud rate 250 kBd 4.1: ON 4.2: OFF Baud rate 500 kBd 4.1: OFF 4.2: ON Automatic baud rate recognition in the switch-on phase of the CPX terminal when connected to a bus system which is running. 1) 4.1: ON 4.2: ON 1) If no baud rate is recognized in the switch-on phase, 125 KBd will be set automatically. First connect the CPX terminal to the running DeviceNet network. Then switch on the power supply for the CPX terminal. Tab. 1/4: Festo P.BE-CPX-FB11-EN en 0206NH Setting the DIL switches 4) DIL switch 1 (baud rate) 1-13 1. Installation DIL switch 5 You can set the field bus station number (binary coded) with the 8-position DIL switch. 5 6 4 3 2 1 1 station number (8-position DIL switch, elements 1...6) 7 8 1 Setting the Fig. 1/4: Setting the station number (8-element DIL switch) Switch elements 7 and 8 are reserved for future extensions and must be set to OFF. Please note Station numbers may only be assigned once per field bus line. The following station numbers are permitted: Protocol Address identification Permitted station numbers DeviceNet Station number 0...63 Tab. 1/5: Permitted station numbers Recommendation: Assign the station numbers in ascending order. Assign the station numbers to suit the machine structure of your system. 1-14 Festo P.BE-CPX-FB11-EN en 0206NH 1. Installation Examples Tab. 1/6: 8 7 6 5 4 3 2 25 24 23 22 21 20 20 + 22 = 1+4=5 Station number 38 1 1 2 3 4 5 6 7 8 Station number 05 25 24 23 22 21 20 21 + 22 + 25 = 2 + 4 + 32 = 38 Examples of set station numbers The following pages contain a summary of the settings for the station numbers. Festo P.BE-CPX-FB11-EN en 0206NH 1-15 1. Installation Station no. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 2 3 4 5 6 OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF ON ON OFF ON ON OFF OFF ON ON OFF ON ON OFF ON ON ON ON OFF OFF OFF OFF OFF ON ON ON OFF ON ON OFF ON ON OFF ON OFF ON OFF ON ON ON OFF ON ON ON OFF ON Tab. 1/7: 1-16 ON ON ON ON 7 8 Station no. 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 2 3 4 OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF 5 6 7 8 ON ON ON ON OFF ON ON ON ON OFF ON OFF ON OFF ON OFF OFF OFF ON OFF ON OFF ON OFF ON ON OFF OFF OFF ON OFF ON ON OFF ON OFF ON OFF OFF OFF OFF OFF ON ON ON ON OFF ON OFF OFF ON OFF ON ON OFF ON OFF ON ON OFF ON OFF OFF ON ON OFF ON OFF ON ON ON OFF ON OFF ON ON ON OFF ON OFF ON ON ON ON OFF Setting of station numbers 0...31: Position of the DIL switch elements Festo P.BE-CPX-FB11-EN en 0206NH 1. Installation Station no. 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 1 2 3 4 5 OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF 6 ON ON ON ON OFF ON ON ON ON ON OFF OFF ON ON OFF ON ON ON ON OFF ON ON ON ON ON ON OFF OFF OFF OFF OFF ON ON ON OFF ON ON OFF ON ON ON ON Tab. 1/8: ON OFF ON ON ON OFF ON ON OFF ON ON OFF OFF ON ON OFF OFF ON ON OFF OFF OFF ON OFF ON OFF ON ON ON ON OFF 7 8 Station no. 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 1 2 3 4 5 6 OFF OFF OFF OFF ON ON OFF OFF OFF ON ON OFF OFF ON ON OFF OFF ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON OFF ON ON ON OFF OFF ON ON OFF ON OFF ON 8 OFF OFF ON 7 OFF ON ON OFF OFF OFF OFF OFF OFF ON ON OFF ON OFF ON OFF OFF OFF ON OFF OFF ON Setting of station numbers 32...63: Position of the DIL switch elements Festo P.BE-CPX-FB11-EN en 0206NH 1-17 1. Installation 1.3 1.3.1 Connecting to the field bus Field bus cable Please note With incorrect installation and high baud rates, data transmission faults may occur as a result of signal reflexions and attenuations. Causes of transmission faults may be: – missing or incorrect terminating resistor – incorrect screening/shield connection – branch lines too long – transmission over long distances – unsuitable cables. Observe the cable specifications. Refer to the manual for your controller for information on the type of cable to be used. Use a twisted, screened 5-wire cable for the field bus. The bus interface is supplied with power via the field bus cable. Alternatively, you can use bus cables of other manufacturers (see also Appendix A.2, Accessories). Please note If the CPX terminal is fitted onto the moving part of a machine, the field bus cable on the moving part must be provided with strain relief. Please observe also the relevant regulations in EN 60204 part 1. 1-18 Festo P.BE-CPX-FB11-EN en 0206NH 1. Installation 1.3.2 Field bus baud rate and field bus length The maximum permitted field bus length depends on the baud rate used. Tab. 1/9 shows the guideline values. Detailed information can be found in the manuals for your control system or scanner. The maximum permitted length of the branch line depends on the total length of the branch lines and the baud rate. Please note • Refer to the manuals for your control system or bus interface for information on the T-adapter and the maximum branch line length which is permitted for your controller. • Take into account also the sum of the branch line lengths when calculating the maximum permitted length of the field bus cable. Baud rate 125 kBaud Maximum main b length bus l th maximum 500 m 250 kBaud 250 m 500 kBaud 100 m Tab. 1/9: Branch line length cumulative 156 m 6m 78 m 39 m Maximum field bus length and branch line length as a factor of the baud rate (as per ODVA specification V 2.0) Information on setting the baud rate can be found in chapter 1.2.2. Festo P.BE-CPX-FB11-EN en 0206NH 1-19 1. Installation 1.3.3 Connection instructions for DeviceNet Bus supply Avoid long distances between the bus interfaces/logic supply and the CPX terminal. Caution • Make sure the polarity is correct when you connect the field bus interface and the power supply for the bus interface/internal logics. • Connect the screening/shield. Please note Bus slaves of different manufacturers show different tolerances in respect of interface power supply. Take this into consideration when planning the bus length and placing the power unit. The following tolerance of the bus interface supply applies to the CPX terminal (pin 2 with the micro style connection or pin 5 with the open style connection): Vmax = 30.0 V DC Vmin = 11.0 V DC Recommendation: Place the power unit in or near the centre of the bus. 1-20 Festo P.BE-CPX-FB11-EN en 0206NH 1. Installation Connection diagram for DeviceNet Please note Always check the pin assignment of your scanner with the relevant documentation. The field bus node can be connected in a variety of ways. The following table shows the relationship between the core colour, signal and pin assignment of the various connecting possibilities. Signal-related core colour *) Designation Micro style connection (optional) Open style connection (optional) Sub-D plug (integrated) Red White Blank Blue Black 24 V DC bus CAN_H Screening/shield CAN_L 0 V bus Pin 2 Pin 4 Pin 1 Pin 5 Pin 3 Pin 5 Pin 4 Pin 3 Pin 2 Pin 1 Pin 9 Pin 7 Pin 5 Pin 2 Pin 3 *) Bus connection variants: Typical for DeviceNet cables 1 2 34 5 Tab. 1/10: 1 6 5 9 Connection diagram for DeviceNet Connect the field bus cable of your control system to the field bus interface of the CPX terminal as described in the following sections. Festo P.BE-CPX-FB11-EN en 0206NH 1-21 1. Installation 1.3.4 Micro style connection (2 x M12) The micro style connection (type FBA-2-M12-5pol) offers a 5-pin M12 plug and a 5-pin M12 socket with PG9 screw connector. The M12 plug serves for connecting the incoming field bus cable. The M12 plug serves for connecting the continuing field bus cable. Accessories from Festo for the micro style connection: – M12 plug type FBS-M12-5GS-PG9 – M12 socket type FBSD-GD-9-5pol Please note Use blanking plugs to seal unused connections. You will then comply with protection class IP65. Micro style connection Pin no. 1. Screening/shield 2. 24 V DC bus (max. 4 A) 3. 0 V bus 4. CAN_H 5. CAN_L Bus in Tab. 1/11: Bus out Blanking plug for unused connection Pin assignment of the field bus interface (micro style connection, type FBA-2-M12-5pol) With the M12 connections you can implement a T-tap (see Fig. 1/5). Bus in and Bus out are connected together in the micro style connection. 1-22 Festo P.BE-CPX-FB11-EN en 0206NH 1. Installation 1.3.5 Open style connection (screw terminals, IP20) The open style connection (type FBA-1-SL-5pol) enables the 2x5-pin terminal strip (type FBSD-KL-2x5pol) to be inserted. The first row of connections serves for connecting the incoming field bus cable. The second row of connections serves for connecting the continuing field bus cable. The maximum permitted current at the terminals is 4 A. Use cables with a minimum cross-sectional area of 0.34 mm2. Open style connection 1 2 3 4 5 Pin no. 1. 0 V bus 2. CAN_L 3. Screening/shield 4. CAN_H 5. 24 V DC bus (max. 4 A) 2x5-pin terminal strip Tab. 1/12: Pin assignment of the field bus interface (open style connection, 5-pin) If you connect the field bus via the terminal strip type FBSDKL-2x5pol from Festo, you can implement a T-tap function (double row of screw terminals). Festo P.BE-CPX-FB11-EN en 0206NH 1-23 1. Installation 1.3.6 Connection example 4 5 6 1 1 2 3 4 5 2 3 1 Micro style connection with T-tap function (if the micro style connection is removed completely with the plugs) 2 T-adapter 4 Field bus 5 Power supply 6 Screening/shield 3 Branch line Fig. 1/5: Structure of the bus interface and connection example 1-24 Festo P.BE-CPX-FB11-EN en 0206NH 1. Installation 1.3.7 Further connection possibility via the sub-D connection After removing the micro style or open style connection, you will find a 9-pin sub-D plug on the top of the field bus node. This plug offers a further connection possibility to the field bus (supply and continuation). Use the sub-D socket from Festo type FBS-SUB-9-BU-2x4pol. Please note Please note that only the Festo socket conforms with protection class IP65. Before connecting the sub-D sockets of other manufacturers: • Replace the two flat screws by bolts (part no. 340960). Pin DeviceNet Designation Festo sub-D socket (IP65) 1 2 3 4 5 6 7 8 9 n.c. CAN_L 0 V bus n.c. BUS screening GND optional CAN_H n.c. 24 V bus Not connected CAN Low Power supply to the bus interface Not connected Capacitive connection to housing – CAN high Not connected Power supply to the bus interface – A/L GND – Cable clip – B/H – V+ 1 6 Tab. 1/13: 5 9 (View of connection on the CPX field bus node) Pin assignment of the field bus interface (sub-D plug) Festo P.BE-CPX-FB11-EN en 0206NH 1-25 1. Installation Please note The screening connection at pin 5 of the sub-D plug is capacitively connected to the housing within the CPX terminal. This is to prevent equalizing currents flowing through the screening of the field bus cable (Fig. 1/6). 1 Capacitive 1 connection 2 Housing 6 5 9 1 2 Fig. 1/6: Screening connection within the CPX terminal Sub-D socket from Festo Fig. 1/7 shows the pin assignment in the Festo sub-D socket type FBS-SUB-9-BU-2x4pol. Screening connection A floating screening connection is intended with the sub-D socket from Festo. • 1-26 Fasten the screening/shield of the field bus cable under the cable clip of the Festo sub-D socket (see Fig. 1/7). Festo P.BE-CPX-FB11-EN en 0206NH 24 V bus 1 Screening connection, cable clip 2 Only connected 1 0V bus 1. Installation capacitively 4 3 CPX field bus node 2 X BF PS PL SF M CAN_L in the socket CAN_H 4 Pin assignment 3 Fig. 1/7: Festo sub-D socket, pin assignment and screening/shield connection Please note The cable clip in the Festo sub-D socket is connected internally only capacitively with the metallic housing of the sub-D socket. This is to prevent equalizing currents flowing through the screening of the field bus cable (Fig. 1/7). With this plug, contact with the screening cable is made via the cable clip. This connects the incoming and outgoing cable screening. With a 5-core cable, you can therefore cut off the screening cores. Festo P.BE-CPX-FB11-EN en 0206NH 1-27 1. Installation 1.4 Bus termination with terminating resistors Please note Fit a bus termination to both ends of the bus segment. This also applies when the bus module or bus interface is at the beginning of a bus cable. If the CPX terminal is at the end of the field bus system, a bus termination will be required. If you are using T-adapters, we recommend that you install the terminating resistor at the unused output of the T-adapter. Recommendation: Fit a resistor (121 Ω, 0.25 W) for the bus termination between the connections for CAN_L and CAN_H. Fig. 1/8 shows this as an example with the open style connection. 1 Resistor for bus 1 termination (121 Ω ± 1 %, 0.25 W) 1 2 3 4 5 Fig. 1/8: Bus termination with resistor on the open style connection 1-28 Festo P.BE-CPX-FB11-EN en 0206NH 1. Installation 1.5 Pin assignment of power supply Warning Use only power units which guarantee reliable isolation of the operating voltages as per IEC 742/EN 60742/VDE 0551 with at least 4 kV isolation resistance (Protected Extra Low Voltage PELV). Switch power packs are permitted, providing they guarantee reliable isolation in accordance with EN 60950/VDE 0805. By the use of PELV power units, protection against electric shock (protection against direct and indirect contact) is guaranteed in accordance with EN 60204-1/IEC 204. Safety transformers with the adjacent symbol must be used for supplying PELV networks. The CPX terminal must be earthed to ensure that it functions correctly (e.g. EMC). The current consumption of a CPX terminal depends on the number and type of integrated modules and components. Read the information on power supply as well as on the earthing measures to be carried out in the CPX system manual. Festo P.BE-CPX-FB11-EN en 0206NH 1-29 1. Installation System supply and additional supply The load and operating voltages for the CPX terminal are supplied via the manifold bases with system supply and additional supply type CPX-GE-EV-S or CPX-GE-EV-Z. 1 1 Pin assignment 1: 2: 1 24 V supply for electronics and sensors (VEL/SEN) 24 V load supply for valves and outputs (VVAL/VOUT) 3: 0V 4: Earth/ground connection 2 4 3 Fig. 1/9: Pin assignment of the system supply (manifold base type CPX-GE-EV-S) 1 1 Pin assignment 1: Not connected 2: 24 V load supply for outputs (VOUT) 3: 0V 4: Earth/ground connection 1 2 4 3 Fig. 1/10: Pin assignment of the additional supply (manifold base type CPX-GE-EV-Z) 1-30 Festo P.BE-CPX-FB11-EN en 0206NH Commissioning Chapter 2 Festo P.BE-CPX-FB11-EN en 0206NH 2-1 2. Commissioning Contents 2. Commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 2.1 Configuration and addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.1 Ascertaining the address range . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.2 Address assignment of the CPX terminal . . . . . . . . . . . . . . . . . . . . . 2.1.3 Address assignment after extension or conversion . . . . . . . . . . . . Bus configuration and addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.1 Switching on the power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.2 Configuring the DeviceNet slave features (EDS) . . . . . . . . . . . . . . . 2.2.3 General instructions for configuring the DeviceNet . . . . . . . . . . . . 2.2.4 Instructions on configuring with RSNetWorx for DeviceNet . . . . . . Parametrizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.1 Methods of parametrizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.2 Parametrizing via RSNetWorx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.3 Parametrizing via the PLC user program . . . . . . . . . . . . . . . . . . . . . 2.3.4 Parametrizing with the handheld . . . . . . . . . . . . . . . . . . . . . . . . . . . Commissioning the CPX terminal on the DeviceNet . . . . . . . . . . . . . . . . . . . . 2-4 2-5 2-8 2-11 2-13 2-14 2-15 2-18 2-20 2-27 2-29 2-31 2-37 2-38 2-39 2.2 2.3 2.4 2-2 Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning Contents of this chapter Further information In this chapter you will find information on commissioning the CPX terminal on the DeviceNet. – CPX terminal configuration and addressing. – Configuration and addressing The bus configuration is explained using as an example the RSNetWorx for DeviceNet version 3.00.00. – The reaction of the CPX terminal can be adapted to individual requirements by parametrizing. This permits e.g. the setting of debouncing times, signal extensions or the reaction to faults. Before commissioning the CPX terminal, you must first install it correctly. Information on this can be found in chapter 1. General information on commissioning the CPX terminal as well as a detailed description of the individual parameters can be found in the CPX system manual (P.BE-CPX-SYS-...). Information on commissioning the I/O modules can be found in the manual for the CPX pneumatic interfaces and CPX I/O modules (P.BE-CPX-EA-...). Instructions on commissioning the pneumatic components can be found in the relevant pneumatics manual. Festo P.BE-CPX-FB11-EN en 0206NH – Pneumatics manual CPA (P.BE-CPA-...) – Pneumatics manual for valve terminal type 03 (P.BE-MIDI/MAXI-03-...). 2-3 2. Commissioning 2.1 Configuration and addressing Before configuring, ascertain the exact number of available inputs/outputs. A CPX terminal consists of a different number of I/Os, depending on what you have ordered and on the configuration of the field bus node. The I/Os are assigned automatically within the CPX terminal. Please note – A CPX terminal with field bus node FB11 makes 8 status bits available. These 8 status bits must be transmitted separately via a “Strobed I/O” connection. – If necessary, an I/O diagnostic interface can be activated by a DIP switch. If the interface is active, it will occupy the first 16 inputs and outputs in the address range. – The CPX terminal has an address range of up to 64 bytes of inputs and 64 bytes of outputs. – Maximum 10 electric modules including the field bus node plus a pneumatic interface are permitted on a CPX terminal. 2-4 Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning 2.1.1 Ascertaining the address range Address assignment of the modules Electric modules A module identifier is represented in the LED viewing glass of the electric modules. With the aid of this identifier, you can read the type of module and therefore the number of inputs and outputs occupied by the module. Module Type Field bus node FB11 Module identifier Assigned addresses *) – 0I+0O Digital 4-input module CPX-4DE 4DI 4I Digital 4-output module CPX-4DA 4DO 4O Digital 8-input module CPX-8DE 8DI 8I Digital multi I/O module CPX-8DE-8DA 8DI 8DO 8I+8O Analogue 2-input module CPX-2AE-U-I 2AI 32 I Analogue 2-output module CPX-2AA-U-I 2AO 32 O *) I = digital inputs; O = digital outputs Tab. 2/1: Overview of identifiers for CPX modules The address assignment within the individual I/O modules can be found in the manual for the I/O modules. Festo P.BE-CPX-FB11-EN en 0206NH 2-5 2. Commissioning Pneumatic modules (valves) The number of output addresses occupied by the pneumatic modules is set on the pneumatic interface with a DIP switch (see manual for the CPX I/O modules). Please note If two addresses are assigned for a valve location, the following sequence applies: – lower value address: pilot solenoid 14 – higher-value address: pilot solenoid 12 The address assignment within the pneumatic modules can be found in the manual for the valve terminal pneumatics. 2-6 Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning Tip: Copy the following table and use the copy for calculating the number of inputs and outputs on your CPX terminal. Calculating the number of inputs/outputs Input/output modules and system diagnosis Inputs Outputs + _____ O + _____ O + _____ O + _____ O + _____ O + _____ O 1. I/O diagnostic interface, if set + 16 I/O + _____ I 2. Number of input modules type CPX-4DE + __ x 4 I + _____ I 3. Number of input modules type CPX-8DE + __ x 8 I + _____ I 4. Number of output modules type CPX-4DA + __ x 4 O 5. Number of multi I/O modules type CPX-8DE-8DA + __ x 8 IO + _____ I 6. Number of analogue input modules CPX-2AE-U-I + __ x 32 I + _____ I 7. Number of analogue output modules CPX-2AA-U-I + __ x 32 O 8. Number of inputs and outputs of other modules (e.g. analogue modules) + __ IO + _____ I 9. Number of configured valve solenoid coils (+ 8 O, 16 O, 24 O, 32 O) 32 outputs (Midi/Maxi) or 24 outputs (CPA) are configured at the factory. 10.Total sum of inputs/outputs to be configured Sum of 1. to 9. Tab. 2/2: = ∑ _____ I = ∑ _____ O Ascertaining the number of inputs and outputs Festo P.BE-CPX-FB11-EN en 0206NH 2-7 2. Commissioning 2.1.2 Address assignment of the CPX terminal Basic rules for addressing – – The following I/Os are assigned separately from each other: – analogue I/Os – I/Os of function modules – digital I/Os The following sequence applies for the address assignment: Description Sequence of addressing 1 I/O diagnostic interface 1) Can be activated by DIP switch. If the interface is active, it will occupy the first 16 inputs and outputs in the address range. 2 Analogue modules Modules with analogue inputs/outputs 3 Function modules In preparation 4 Digital modules Modules with digital inputs/outputs 1) In exceptional cases this address range can also be assigned by status bits (see Tab. 1/3). Tab. 2/3: 2-8 Sequence of addressing – The address assignment of the inputs does not depend on the address assignment of the outputs. – Counting does not depend on the position of the field bus node (the field bus node counts as a module with 0 inputs and 0 outputs). – Counting from left to right, ascending without gaps depending on the module type. – The 8 status bits must be transmitted separately via a “Strobed I/O” connection. Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning Example The following diagram shows as an example the number of assigned input and output addresses of a CPX terminal. Module position: 0 1 8DI 1 2 2 3 8DI 3 4 4DO 8DI 4 5 5 8DO 6 2AO 6 7 8 1 Field bus node CPX-FB11 (0 I/O) 6 2AO: 2-output analogue module (32 O) 2 8DI: 8-input module (8 I) 7 Pneumatic interface set with DIL switch 3 8DI: 8-input module (8 I) 4 4DO: 4-output module (4 O) to 1...8 valve coils (8 O) 8 Valves/CPA pneumatics 5 8DI 8DO: Multi I/O module (8 I/O) Fig. 2/1: Example for calculating the number of assigned I/Os Festo P.BE-CPX-FB11-EN en 0206NH 2-9 2. Commissioning The following diagram shows as an example the address assignment within the CPX terminal with the following setting: 8DI 4DO 8DI O0...O31 O44...O51 Number of output addresses for valves = 8 O set on the pneumatic interface. I16...I23 O36...O43 – O32...O35 I/O diagnostic interface deactivated I8...I15 I0...I7 8DI – 8DO 2AO 8O 1 1 Field bus node CPX-FB11 2 3 3 CPA pneumatics 2 Pneumatic interface (here the number of outputs set = 8) Fig. 2/2: Addressing within the CPX terminal in the example from Fig. 2/1 2-10 Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning 2.1.3 Address assignment after extension or conversion A speciality of the CPX terminal is its flexibility. If the demands placed on the machine change, the equipment fitted on the CPX terminal can also be modified. Caution If the CPX terminal is extended or modified at a later stage, the input/output addresses may be shifted. This applies in the following cases: – when additional modules are added between existing modules. – when existing modules are removed or replaced by other modules which occupy fewer or more input/output addresses. – when manifold sub-bases (CPA) or pneumatic sub-bases (Midi/Maxi) for single-solenoid valves are replaced by manifold bases for double-solenoid valves or vice versa (see pneumatics manual). – when additional manifold bases (CPA) or sub-bases (Midi/Maxi) are added between existing sub-bases. Festo P.BE-CPX-FB11-EN en 0206NH 2-11 2. Commissioning The following diagram shows as an example a modification of the equipment fitted in the example in Fig. 2/2, with the changes which occur to the address assignment. 4DI On the I/O module side, an 8-input module has been replaced by a 4-input module. – On the valve side, a valve plate has been added and the pneumatic interface has been set to 16 O. 8DI I28...I35 O52...O59 4DO 8DI 8DO O60...O75 – O16...O47 The I/O diagnostic interface has been activated. O48...O51 – I20...I27 I16...I19 I/O diagnostic interface: I0...EI15 O0...O15 The following has been changed: 2AO 16O Fig. 2/3: Address assignment of a CPX terminal after extension/conversion 2-12 Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning 2.2 Bus configuration and addressing General instructions on commissioning Before commissioning or programming, compile a configuration list of all connected field bus slaves. On the basis of this list you can: – carry out a comparison between the NOMINAL and the ACTUAL configurations to ascertain if there are any connection faults. – recognize a faulty device after a service replacement. Configuration of the CPX terminal requires a very accurate procedure, as different configuration specifications may be necessary for each slave on the DeviceNet, due to the modular structure. Please observe here the instructions in the following sections. Festo P.BE-CPX-FB11-EN en 0206NH 2-13 2. Commissioning 2.2.1 Switching on the power supply Please note Observe here also the instructions in the manual for your controller with DeviceNet module. When a controller with DeviceNet module is switched on, it automatically carries out a comparison between the NOMINAL and the ACTUAL configurations. For this configuration run it is important that: – the configuration specifications are complete and correct – the bus interface is supplied with power – the field bus slaves are supplied with power, in order that they are recognized when the ACTUAL configuration is ascertained. Therefore after switching on the power supply for the bus interface, switch on the power supply for all the field bus slaves simultaneously, e.g. by means of a central switch or switch on the power supplies in the following sequence: 1. the power supply for the bus interface 2. the power supply for all the field bus slaves 3. the power supply for the controller. 2-14 Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning 2.2.2 Configuring the DeviceNet slave features (EDS) When you commission a new DeviceNet slave the first time, you must inform your configuration program of certain features of the slave. The features of the various slaves are usually administered by the configuration program in a list or library e.g. EDS library (EDS for electronic data sheets). The following possibilities are available for extending an EDS library: Festo P.BE-CPX-FB11-EN en 0206NH – By installing an EDS file – By entering slave features manually (only by using the parameter settings set at the factory). 2-15 2. Commissioning Installing an EDS file Internet Current EDS files, icons and information on the EDS files can be found under the following address in Internet: – www.festo.com: Go to “Business Area Pneumatics” and then to the “Download Area.” You will require the following information for the CPX terminal: File type File name Language Description EDS DNIO...CPX-DE.EDS German (de) DNIO...CPX-EN.EDS English (en) EDS files for CPX terminals fitted with different t types off equipment i t 1) ICO DNIOXCPX.ICO – ICO file BMP DNIOXCPX.BMP – BMP file (Bitmap) 1) EDS files which support different combinations of digital and analogue modules within a CPX terminal are available (see also Tab. B/1). Tab. 2/4: Configuration files for the CPX field bus node for DeviceNet EDS files The EDS file contains all the necessary features of the CPX terminal. You can install this file with the aid of your configuration program. ICO/BMP file Depending on the configuration program used, you can assign the Bitmap file or Icon file to the CPX terminal. The CPX terminal will then be represented accordingly in the configuration program. Instructions on installing an EDS file and an ICO or BMP file can be found in the manual or in the help for your configuration program. 2-16 Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning Entering the slave features manually When an EDS file is installed, the following information about the DeviceNet slave is added to the EDS library. This information can also be entered manually, if the CPX terminal is to be operated with the parameter settings preset at the factory. Information Description Vendor name Festo Corporation Vendor ID 26D 1AH Device type 12D CH Product code (depends on operating mode) – Remote I/O 4554D 11CAH Major revision / minor revision 1.1 Input size / output size Depends on CPX equipment Product name CPX-FB11 Catalogue number 526172 Tab. 2/5: Slave features If the slave features are entered manually, individual parametrizing of the CPX terminal is not possible. When the EDS library has been extended, the CPX terminal is entered in the slave list as a possible DeviceNet slave. It can now be added to a network. Festo P.BE-CPX-FB11-EN en 0206NH 2-17 2. Commissioning 2.2.3 General instructions for configuring the DeviceNet When the slave features have been configured (e.g. by installation of the EDS file), the following steps are required for parametrizing, depending on the configuration program. 1. Insert the slave in the project/network (online or offline). If the slave is inserted e.g. offline, it will be selected from the slave list and added to the network. 2. Assigning a slave to a scanner A network can contain several scanners. The slave must be assigned to a scanner. 3. Determine the I/O parameters of the slave. The following specifications are required here: • The number of I/O bytes to be transmitted. The following applies to the CPX terminal: The value depends on the equipment fitted on the CPX terminal. It can be calculated manually or be read out online by means of the device features. • Specification of communication type. The following communication types are permitted with the CPX terminal: – “Polled communication” or – “Change of state / Cyclic” In addition to these communication connections a “Strobed I/O” connection must be used in each case for transmitting the status bits. 2-18 Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning Please note The following applies to an SLC 500 with an Allen-Bradley scanner type 1747-SDN: – “Change of state / Cyclic” can be used in combination with the diagnosis via “Strobed I/O” only as from software version V4.015 of the scanner. – “Polled I/O” with “Strobed I/O” is also supported by earlier versions. • Assigning the I/O addresses of the slave to the PLC operands. • 1 assign the diagnostic byte to the PLC operands. 4. Load the configuration into the scanner. Festo P.BE-CPX-FB11-EN en 0206NH 2-19 2. Commissioning 2.2.4 Instructions on configuring with RSNetWorx for DeviceNet This section gives instructions on configuring with RSNetWorx for DeviceNet version 3.00.00 from Rockwell. Please note All the steps explained refer as an axample to the AllenBradley scanner 1747-SDN. They also apply to other masters. Inserting the slave into the project/network RSNetWorx for DeviceNet contains an EDS Wizard (EDS assistant) which will support you in installing the EDS file. After installing the EDS file, you will find the CPX terminal in the list “Hardware.” By shifting the mouse, you can insert slaves in the network on the right-hand side. 2-20 Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning 1 1 CPX terminal with field bus node type CPX-FB11 in the list “Hardware” Fig. 2/4: Hardware list and network in RSNetWorx for DeviceNet Festo P.BE-CPX-FB11-EN en 0206NH 2-21 2. Commissioning Assigning a slave to a scanner 1. Double-click on the desired scanner in the network. A dialogue box will open. 2. Select the register [Scanlist] and assign the existing slaves to the scanner: 1 1 Button for assigning the slave Fig. 2/5: 2-22 Register [Scanlist] (example) Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning Parametrizing slaves 1. Double-click on one of the slaves in the [Scanlist] (Fig. 2/5). The dialogue box [Edit I/O Parameters] will open. 2. Determine the I/O parameters of the slave and confirm with OK. In online mode you can read out the number of available inputs and outputs via the system data “Rx Size” and “Tx Size” (see also section 2.3). Fig. 2/6: Mask for determining the I/O parameters of the slave (example) In this configuration example a CPX terminal with the following equipment is parametrized: Festo P.BE-CPX-FB11-EN en 0206NH – Communication type: “Strobed” for diagnostic information (1 input byte for the 8 status bits). – Communication type: “Polled” for I/O data; 3 input bytes for CPX input modules, 7 output bytes for CPX output modules and the pneumatic interface. 2-23 2. Commissioning Assigning the I/O addresses of the slave With the registers [Output] and [Input] you can assign the I/O addresses of the CPX terminal to the PLC operands. Fig. 2/7: Address assignment of the input (example) The CPX terminal appears in the input data with two separate communication connections: 2-24 – A “Strobed” connection for transmitting the 8 status bits (diagnostic information). – A “Polled” or “Change of State” connection for transmitting the physical input data. Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning The physical output data are transmitted via the communication connection “Polled” or “Change of state.” In this example “Polled”: Fig. 2/8: Address assignment of the output (example) Loading the configuration into the scanner To conclude, load the configuration data into the scanner. Further information on this can be found in the documentation for your scanner. Festo P.BE-CPX-FB11-EN en 0206NH 2-25 2. Commissioning Example: scanner 1747-SDN (SLC 500 series) CPX terminal as represented in Fig. 2/2 with: 1 input byte for status bits (Strobed data) 3 input bytes, input address as from I1.1.8 8DI 8DI 4DO 8DI 8DO O1.3.12...O1.3.15 O1.4.0...O1.4.3 O1.1.0...O1.1.15 O1.2.0...O1.2.15 I1.2.7...I1.2.15 O1.3.4...O1.3.11 O1.3.0...O1.3.3 I1.2.0...I1.2.7 I1.1.8...I1.1.15 7 output bytes, output address as from O1.1.0 2AO 8O 1 1 Field bus node CPX-FB11 (I/O diagnostic interface deactivated) 2 3 3 CPA pneumatics 2 Pneumatic interface (here the number of outputs set = 8) Fig. 2/9: Addressing example for scanner 1747-SDN 2-26 Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning 2.3 Parametrizing Caution A different parametrizing will result in a different reaction. Check especially when replacing CPX terminals to see which settings are necessary and make sure that these settings, where applicable, are carried out (e.g. in the start-up phase by the higher-order PLC/IPC). The CPX terminal is supplied from the factory with preset parameters. The system reaction of the CPX terminal can usually be adapted to the relevant application. You can set the reaction of the CPX terminal as well as that of individual modules and channels individually by means of parametrizing. A distinction is made between the following parametrizings: – System parametrizing, e.g.: switching out fault messages, setting reaction times, etc. – Module parametrizing (module and channel-specific), e.g.: monitorings, settings in the event of faults, settings for the force function. – Parametrizing the diagnostic memory. A detailed description of the individual parameters as well as basic information on application can be found in the CPX system manual (P.BE-CPX-SYS-...). The module parameters which are available for the various modules can be found in the manual for the relevant module (e.g. manual for CPX pneumatic interfaces and CPX I/O modules (P.BE-CPX-EA-...). Festo P.BE-CPX-FB11-EN en 0206NH 2-27 2. Commissioning Prerequirements for parametrizing You can influence the start-up reaction with the system parameter “System start.” Select the setting “System start with default parametrizing and current CPX equipment status.” The desired parametrizing can then be carried out in the initialization phase or user-controlled (depending on the field bus used). Please note It is only possible to parametrize the CPX terminal if the system parameter “System start” is set to “System start with default parametrizing and current CPX equipment status.” If the M-LED lights up permanently after the system start, the parameter “System start with saved parametrizing and saved CPX equipment status” is set. In this case no other parametrizing can be carried out. Caution In the case of CPX terminals on which the M-LED lights up permanently, parametrizing will not be carried out automatically by the higher-order system if the CPX terminal has been replaced after servicing. In these cases, check before replacing to see which settings are required and carry out these settings. 2-28 Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning 2.3.1 Methods of parametrizing You can parametrize a CPX terminal with field bus node CPXFB11 in various ways. The following table gives an overview of the methods. Methods Description Advantages Disadvantages Parametrizing via the configuration program (e.g. RSNetWorx) The parameters are set via the configuration program and transmitted directly to the DeviceNet slave. – Fast, simple parametrizing during commissioning for testing the parameters – Parametrizing is saved locally in the CPX terminal and is lost when the terminal is replaced. 1) Parametrizing via the scanner automatically after Power On (configuration recovery via ADR) The parameters are set via the configuration program and transmitted in the scanner. The parameters are transmitted by the scanner after Power On. – Parameters are loaded again automatically after Power On and are therefore retained if the CPX terminal is replaced. – The scanner must support ADR (automatic device replacement). Parametrizing via the PLC user program Parametrizing is carried out – Parametrizing is within the user program in saved in the PLC the PLC/IPC via “Explicit Message” – Explicit message programming required Parametrizing with the handheld 1) Parametrizing is carried out – Very user-friendly via menu-listed entries parametrizing via the with the handheld. menus (clear text) – Parametrizing is saved locally in the CPX terminal and is lost if the CPX terminal is replaced. 1) 1) It is possible to copy the current parameter settings with the aid of the handheld. Tab. 2/6: Methods of parametrizing Festo P.BE-CPX-FB11-EN en 0206NH 2-29 2. Commissioning Recommendation: Use the ADR function (automatic device replacement) or the explicit message programming. If the parameters are transmitted to the CPX terminal after Power On, the settings will be retained even if a CPX terminal is replaced. Please note The last received parametrizing in the CPX terminal is the one which is always valid. It is only possible to parametrize the CPX terminal if the system parameter “System start” is set to “System start with default parametrizing and current CPX equipment status.” In this case the standard parameter settings are valid in the CPX terminal after Power On. Please note If the system parameter “System start” is set to “System start with saved parametrizing and saved CPX equipment status,” modified parameter settings will be valid in the CPX terminal, in some cases immediately after Power On. 2-30 Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning 2.3.2 Parametrizing via RSNetWorx With RSNetWorx you can carry out parametrizing with the aid of the register card “Parameters” of the relevant DeviceNet slave. The prerequisite is that the EDS file (electronic data sheets) of the relevant DeviceNet slave is contained in the EDS library (see section 2.2.2). The following diagram shows the register card “Parameters” of the CPX terminal: Fig. 2/10: Parameters of the CPX terminal in RSNetWorx The settings saved in the project are displayed in offline mode. Festo P.BE-CPX-FB11-EN en 0206NH 2-31 2. Commissioning In the list field [Groups] you can select the parameters and data which are to be shown in the register card. 1 2 1 List field [Groups] 2 Parameters and data of the selected group (here system diagnostic data) Fig. 2/11: Selecting the parameters and data If you click a value (current value), the “Detail representation” for the relevant data or parameters will be displayed (see following diagram). 2-32 Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning 1 2 1 Buttons for online display (monitor), upload and download parameters 2 Detail representation of the status bits (example) Fig. 2/12: Detail representation of the status bits In online mode you can transmit parameters and display them online with the appropriate buttons 1. Note the following in online mode: Festo P.BE-CPX-FB11-EN en 0206NH – In online mode the settings of the CPX terminal will be transmitted and displayed when accessed. Transmission of the values requires a certain amount of time. – Current values are continuously displayed only in monitor mode. However, there is no detail representation (see Fig. 2/12). 2-33 2. Commissioning A detailed description of the individual parameters as well as basic information on application can be found in the CPX system manual (P.BE-CPX-SYS-...) as well as in Appendix B.3. The following section contains notes on specific parameters of the DeviceNet. Notes on specific parameters of the DeviceNet Reaction of the outputs in the Idle mode The Idle mode is assumed by the slaves after request by the master or scanner. The following applies in this status: – Inputs are transmitted – Output channels of the slaves are no longer updated. In the Idle mode outputs can assume one of the following states: Digital outputs/valves Analogue outputs Freeze current status Freeze current status Reset the output Desired analogue value Set the output Tab. 2/7: Possible states in the Idle mode You can determine the status to be assumed for each output channel (output or solenoid coil) separately. The standard setting is “Reset the output channel.” Further information can be found in the CPX system manual. 2-34 Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning Automatic parametrizing via the scanner In order to force automatic parametrizing when a CPX terminal is replaced or after Power on: • Make sure that the system parameter “System start” of the CPX terminal is set to “System start with default parametrizing and current CPX equipment status” (presetting). Otherwise the parameters of the CPX terminal are write-protected. Automatic parametrizing is not then possible. • Mark the appropriate CPX terminal in the register card [ADR] under [Available Devices]. (ADR stands for automatic device replacement.) • Select the setting [Configuration recovery] in the field [ADR settings]. The scanner then automatically loads the set parameters into the CPX terminal before it exchanges I/O data with the CPX terminal. Festo P.BE-CPX-FB11-EN en 0206NH 2-35 2. Commissioning 1 1 Setting [Configuration recovery] Fig. 2/13: Setting for automatic parametrizing after Power on 2-36 Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning 2.3.3 Parametrizing via the PLC user program Program-controlled access to parameters is made via the “Explicit message” programming. The addresses of the DeviceNet object model necessary for this can be found in Appendix A.3. Refer to the manual for your control system for information on how to program this data transfer. In order to address the CPX terminal you will require the following object descriptions: Object classes Instances Attributes Name Type 100d 1...78 75 General parameters object modules (various) 4d 100...102 – Assembly object instances (various) 107d 1...32 1...6 Modification digital outputs, object WORD 109d 1...32 1, 2 Modification digital inputs, object WORD 110d 1...32 1...6 Modification analogue outputs, object (various) 111d 1...32 1, 2 Modification analogue inputs, object (various) 112d 1...32 1...6 Modification output words function module, object WORD 113d 1...32 1, 2 Modification input words function module, object WORD 114d 1 1...37 Module-independent system object SINT 115d 1 1...3 Status and diagnostic object (various) 116d 1...40 1...12 Diagnostic trace object SINT 117d 1 1...13 Diagnostic trace status object (various) 120d 1 1, 2 Slave size object SINT 121d 1 1...37 System object, slave mode SINT Tab. 2/8: Object classes (overview) Detailed object descriptions can be found in Appendix A.3. Festo P.BE-CPX-FB11-EN en 0206NH 2-37 2. Commissioning 2.3.4 Parametrizing with the handheld The CPX handheld offers menu-orientated access to parametrizing the CPX terminal without configuration software. Information on operating the handheld can be found in the appropriate manual. 2-38 Festo P.BE-CPX-FB11-EN en 0206NH 2. Commissioning 2.4 Commissioning the CPX terminal on the DeviceNet In order to avoid faults when commissioning (e.g. configuration and parametrizing faults): Festo P.BE-CPX-FB11-EN en 0206NH • Observe the general instructions on commissioning in the CPX system manual. • Check the DIL switch settings before using or replacing a CPX terminal. • Observe the instructions on switching on the power supply in section 2.2.1. • Check the configured address range (processing data and assigned input and output bytes). If necessary, test the I/Os. • Check the address assignment of the I/Os on the CPX terminal. For this purpose, you can force the I/Os (see CPX system manual). • Make sure that the desired parametrizing of the CPX terminal in the start-up phase or after field bus interruptions is carried out by the module. In this way you can be sure that when a CPX terminal has been replaced, the new terminal is also operated with the desired parameter settings. • Use spot checks if necessary to check the parametrizing, e.g. with the configuration program or with the handheld. 2-39 2. Commissioning 2-40 Festo P.BE-CPX-FB11-EN en 0206NH Diagnosis and error treatment Chapter 3 Festo P.BE-CPX-FB11-EN en 0206NH 3-1 3. Diagnosis and error treatment Contents 3. Diagnosis and error treatment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 3.1 3.2 Overview of diagnostic possibilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnosis via LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2.1 CPX-specific LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnosis via status bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnosis via I/O diagnostic interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Diagnosis via DeviceNet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.1 Diagnosis via the Software Configurator . . . . . . . . . . . . . . . . . . . . . 3.5.2 Diagnosis via the user program . . . . . . . . . . . . . . . . . . . . . . . . . . . . Fault treatment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4 3-5 3-7 3-13 3-14 3-16 3-16 3-19 3-21 3.3 3.4 3.5 3.6 3-2 Festo P.BE-CPX-FB11-EN en 0206NH 3. Diagnosis and error treatment Contents of this chapter Further information The CPX terminal offers you extensive diagnostic possibilities. In this chapter you will find an overview of as well as detailed information on the diagnostic possibilities with: – LEDs – status bits – the I/O diagnostic interface – the handheld Information on general diagnosis of the CPX terminal can be found in the CPX system manual (P.BE-CPX-SYS-...). Information on diagnosing the pneumatic interfaces and the I/O modules can be found in the manual for the CPX pneumatic interfaces and in the manual for the CPX I/O modules (P.BE-CPX-EA-...). Information on diagnosing the pneumatic components can be found in the relevant pneumatics manual: Festo P.BE-CPX-FB11-EN en 0206NH – Pneumatics manual CPA (P.BE-CPA-...) – Pneumatics manual for valve terminal type 03 (P.BE-Midi/Maxi-03-...). 3-3 3. Diagnosis and error treatment 3.1 Overview of diagnostic possibilities The CPX terminal offers extensive and user-friendly possibilities of diagnosis and fault treatment. The following possibilities are available depending on the configuration: Diagnostic possibility Brief description Advantages Detailed description LED display The LEDs show directly configuration faults, hardware faults, bus faults, etc. Fast “on-the-spot” fault recognition Section 3.2 Status bits Internal inputs which supply coded common diagnostic messages. Fast access to fault messages, irrespective of the module and the master. Section 3.3 and CPX system manual I/O diagnostic interface The I/O diagnostic interface is a bus-independent diagnostic interface at I/O level which permits access to internal data of the CPX terminal (16 inputs and 16 outputs). Detailed fault recognition irrespective of the field bus type used Section 3.4 and CPX system manual Diagnosis via DeviceNet Access to all system data of the CPX terminal via the field bus. Detailed module-related and channel-related fault recognition as well as access to the diagnostic memory in the online mode of the programming/configuration software and in the PLC user program. Appendix A.3 EDS file Diagnosis with the handheld Diagnostic information can be displayed conveniently and in menu-listed form on the CPX handheld. Fast “on-the-spot” fault recognition Manual for the handheld Tab. 3/1: 3-4 Diagnostic possibilities Festo P.BE-CPX-FB11-EN en 0206NH 3. Diagnosis and error treatment Please note Note that the diagnostic information displayed depends on the parametrizing of the CPX terminal. 3.2 Diagnosis via LEDs There are LEDs on the field bus node as well as on the individual modules for diagnosing the CPX terminal. The meaning of the LEDs on the electric modules can be found in the manual for the relevant module. LEDs on field bus node CPX-FB11 The LEDs on the cover indicate the operating status of the CPX field bus node. 1 CPX-specific LEDs PS: Power System PL: Power Load MS PS NS PL IO SF SF: System Fault 1 M M: Modify 2 DeviceNet- specific LEDs MS: Module Status NS: Network Status MS PS NS PL IO SF 2 M IO: I/O status Fig. 3/1: LEDs on CPX field bus node CPX-FB11 Festo P.BE-CPX-FB11-EN en 0206NH 3-5 3. Diagnosis and error treatment The LEDs are represented in their various states as follows: lights up; flashes; out Normal operating status In normal operating status the following LEDs light up green: The SF LED does not light up. The M LED lights up only with the setting “System start with saved parametrizing and CPX extension” (see function number 4402). LED display MS PS NS PL IO SF M Operating status The following LEDs light up green: – PS – PL – MS – NS – IO 1) The SF LED does not light up. – SF M LED see function number 4402 Normal 1) Lights up only when inputs/outputs are controlled via DeviceNet. Tab. 3/2: 3-6 Normal operating status Festo P.BE-CPX-FB11-EN en 0206NH 3. Diagnosis and error treatment 3.2.1 CPX-specific LEDs PS (Power System) – power sensor/logic supply LED (green) Sequence ON OFF LED lights up ON OFF LED flashes ON OFF Status Meaning/fault treatment No fault. Operating voltage/sensor supply applied – Operating voltage/sensor supply outside tolerance range 1. Eliminate short circuit/overload on module 2. Depends on the parametrizing of the module (module parameters): • The sensor supply voltage will be switched on again automatically when the short circuit is eliminated (default). • Power off/on necessary Operating voltage/sensor supply not applied Check operating voltage connection of the electronics LED is out PL (Power Load) – power load supply (outputs/valves) LED (green) Sequence Status Meaning/fault treatment ON No fault. Load voltage applied None Load voltage at system supply or additional supply outside the tolerance range 1. Eliminate undervoltage 2. Depends on the parametrizing of the module (module parameters): • The load voltage supply will be switched on again automatically when the undervoltage is eliminated (default). • Power off/on necessary Load voltage (valves and outputs) not applied Check load voltage connection of the electronics OFF LED lights up ON OFF LED flashes ON OFF LED is out Festo P.BE-CPX-FB11-EN en 0206NH 3-7 3. Diagnosis and error treatment SF (System Failure) – system fault LED (red) Sequence 1) Status Meaning/fault treatment ON No fault – Simple fault/information (fault class 1) See description of the fault numbers in the CPX system manual OFF LED is out ON OFF LED flashes ON OFF Fault (fault class 2) LED flashes ON OFF Serious fault (fault class 3) LED flashes 1) The system fault LED flashes depending on the fault class. Fault class 1 (simple fault): 1 flash, interval Fault class 2 (fault): 2 flashes, interval Fault class 3 (serious fault): 3 flashes, interval 3-8 Festo P.BE-CPX-FB11-EN en 0206NH 3. Diagnosis and error treatment M (Modify) – parametrizing modified or force active LED (yellow) Sequence Status Meaning/fault treatment ON System start with default parametrizing (factory setting) and current CPX equipment status is set; external parametrizing is possible (pre-setting). None System start with saved parametrizing and saved CPX equipment status is set; parameters and CPX equipment status are saved remanently; external parametrizing is blocked. 1) Be careful when replacing CPX terminals with saved parametrizing. With these CPX terminals, parametrizing is not carried out automatically by the higher-order PLC/IPC during replacement. In these cases check before replacing to see which settings are required and, if necessary, carry out these settings. Force is active 1) The Force function is enabled (see system parameter ”Force mode” function no. 4402). OFF LED is out ON OFF LED lights up ON OFF LED flashes 1) The display of the Force function (LED flashes) has precedence over the display of the setting for System start (LED lights up). Festo P.BE-CPX-FB11-EN en 0206NH 3-9 3. Diagnosis and error treatment DeviceNet-specific LEDs MS – Module Status LED Sequence Status Meaning/fault treatment ON Logic supply to bus interface is not applied • Check logic supply Operating status normal None CPX terminal must be commissioned because the configuration is missing, is not complete or is not correct. Configure the terminal, complete or correct the configuration Fault which can be corrected Complete or correct the configuration Fault which cannot be corrected Check CPX equipment and LEDs, if necessary request servicing CPX terminal carries out a self-test None OFF LED is out ON LED lights up green OFF ON OFF LED flashes green ON OFF LED flashes red ON OFF LED lights up red ON OFF LED flashes red green 3-10 Festo P.BE-CPX-FB11-EN en 0206NH 3. Diagnosis and error treatment NS – Network Ntatus LED Sequence Status ON The CPX terminal is not online – Dup_MAC_ID test *) is not yet concluded OFF LED is out – Logic supply to bus interface is not applied ON OFF LED flashes green ON OFF LED lights up green ON OFF Meaning/fault treatment • Wait for test to finish. If the LED remains out: station number may be assigned twice, if necessary, correct station number. • See module status LED CPX terminal is online, the Dup_MAC_ID test is concluded, but the CPX terminal does not have a configured connection to a scanner. • Check the configuration, perhaps The CPX terminal is online and has a connection to the field bus. None (normal operating status) One or several “I/O connections” are in the time-out status. Check the physical connection to the scanner (bus cable). the CPX terminal is not assigned to a scanner/master. or • Check the status of the master, the master is possibly not in the RUN mode. LED flashes red ON OFF LED lights up red • Correct station address • Check baud rate set, check bus cable, power OFF/ON ON OFF LED flashes red/green *) Communication has failed – A non-permitted station address is set – Bus off The CPX terminal has a network access fault and is in the status “Communication failed.” LED self-test or device can no longer communicate; check scanner; evaluate fault message from scanner. Test algorithm which makes sure that station numbers are not assigned twice on the network. The test is usually carried out automatically when connection is made to the network. Festo P.BE-CPX-FB11-EN en 0206NH 3-11 3. Diagnosis and error treatment I/O – I/O status LED Sequence Status Meaning/fault treatment ON Load voltage not applied I/O control via DeviceNet, device is not allocated by a scanner One or several inputs/outputs is/are controlled via DeviceNet. None of the inputs/outputs has a fault. None One or several outputs is/ are in the idle state and none of the outputs is active or faulty. I/O control via DeviceNet, but device is allocated by the scanner and the scanner is in idle mode, e.g. programming mode. One or several inputs/outputs is/are faulty, perhaps in fault status. Check the inputs/outputs and the communication connection to the scanner. One or several outputs are forcibly switched off (perhaps a fault which cannot be corrected); one or several inputs have a fault which cannot be corrected. Check the other LEDs, if necessary request servicing OFF LED is out ON LED lights up OFF ON OFF LED flashes green ON OFF LED flashes red ON OFF LED lights up red 3-12 Festo P.BE-CPX-FB11-EN en 0206NH 3. Diagnosis and error treatment 3.3 Diagnosis via status bits Status bits are internal inputs (1 input byte) which serve for displaying common diagnostic messages (global fault messages). The status bits are transmitted via the communication type “Strobed I/O.” Please note If status bits are to be transmitted via a “Polled” or “Change of state” connection, you must set the DIL switches on the field bus node accordingly (see Tab. 1/3). If all status bits supply a 0-signal, no fault will be registered. The following table shows the diagnostic information when there is a 1-signal: Bit Diagnostic information with 1-signal Description 0 Fault at valve 1 Fault at output Module type with which a f lt h fault has occurred. d 2 Fault at input 3 Fault in analogue module/ function module 4 Undervoltage 5 Short circuit/overload 6 Cable fracture 7 Other faults Tab. 3/3: Type of fault Overview of status bits If various faults occur simultaneously on different types of modules, they cannot be assigned by means of the status bits. Faults can be clearly defined via the I/O diagnostic interface of by diagnosis via DeviceNet access. Festo P.BE-CPX-FB11-EN en 0206NH 3-13 3. Diagnosis and error treatment Further instructions on the function and contents of the status bits can be found in the CPX system manual. 3.4 Diagnosis via I/O diagnostic interface Detailed diagnostic information can be accessed via the I/O diagnostic interface. You can ascertain exactly, e.g. on which module and in which channel a fault has occurred. The system diagnosis can be accessed by means of 16 input bits and 16 output bits, with which all diagnostic data can be read out. For the field bus node CPX-FB11, access to the DeviceNet objects with Explicit Message programming is always more suitable than via the I/O diagnostic interface (see section A.3). Information on the available diagnostic information and its function numbers can be found in the CPX system manual. Please note In order to use the I/O diagnostic interface, you must activate it with the DIL switches on the field bus node. If the I/O diagnostic interface is active, it will occupy the first 16 inputs and outputs in the address range. Instructions on diagnosing with the I/O diagnostic interface can be found in the CPX system manual. 3-14 Festo P.BE-CPX-FB11-EN en 0206NH 3. Diagnosis and error treatment Overview of diagnostic data Diagnostic data Contents/description Global diagnostic data – General overview of faults Module diagnostic data – Detail diagnosis per module Status of diagnostic memory – Number of entries in the diagnostic memory – Operating mode Diagnostic memory data – Long-term memory – Detail diagnosis + relative time stamp per fault event Tab. 3/4: Festo P.BE-CPX-FB11-EN en 0206NH Diagnostic data 3-15 3. Diagnosis and error treatment 3.5 Diagnosis via DeviceNet The CPX system permits diagnosis via DeviceNet. The following diagnostic possibilities are supported: – Diagnosis via the configuration program (e.g. RSNetWorx, see chapter 3.5.2) – Diagnosis via the DeviceNet scanner – Diagnosis via the user program (see chapter 3.5.2) 3.5.1 Diagnosis via the Software Configurator 1. Make sure that the field bus node is online on the DeviceNet. 2. Double-click the icon of the valve terminal in the Software Configurator (e.g. RSNetWorx). 3. Click the rider “Device Parameters.” Now all data and parameters of the CPX terminal can be checked. Diagnostic data can be found in the following groups: Group Description SysDiag. data System diagnostic data Dat/ParDig.Mod... Module diagnostic data of the relevant modules Dat/ParDig.Mod... Dat/Par PI Mod Dat/Par Fct.Mod DiagMem.Data Diagnostic memory data DiagMem.Rec Entries in the diagnostic memory Tab. 3/5: 3-16 Groups with diagnostic data Festo P.BE-CPX-FB11-EN en 0206NH 3. Diagnosis and error treatment Detailed information on parameters and data can be found in Appendix B.1 and in the CPX system manual. The following diagram shows as an example the system diagnostic data in the group SysDiag.Data. 1 Group SysDiag.Data 1 Fig. 3/2: Display system diagnostic data The diagnostic status specifies whether there is diagnostic information. Fault location/Module position specifies the position of the faulty module in the CPX system, irrespective of the module type. The equipment fitted on the CPX terminal must be known before the relevant module diagnostic data can be ascertained (see following example). Festo P.BE-CPX-FB11-EN en 0206NH 3-17 3. Diagnosis and error treatment Example In Fig. 3/2 a fault is shown at module position 3. If the CPX terminal were equipped as shown in the following diagram, there would be a digital output module (4DO) in this position. The relevant module diagnostic data would therefore be in the group Dat/ParDig.Mod2. 1 Module position: 0 2 1 4DI 3 2 8DI 3 4DO 4 5 2AO 8DI 8DO 6 7 2AO 16 O 1 First digital module (digital module 0) 3 Third digital module (digital module 2) 2 Second digital module (digital module 1) Fig. 3/3: Numbering the modules (example) 3-18 Festo P.BE-CPX-FB11-EN en 0206NH 3. Diagnosis and error treatment 3.5.2 Diagnosis via the user program If the separate communication connection “Strobed I/O” is configured for the CPX terminal (see Fig. 2/7), the diagnostic information of the status bits is then available for the user program. The data from the “Strobed I/O” connection can be placed in the input file or in the M1 file of the controller. The following DeviceNet objects offer detailed diagnostic information: Overview of diagnostic data Object classes Name Diagnostic data 100d General parameters object modules – Faulty channel type – Number of the faulty channel – Module fault number 114d Module-independent system object – Number of the module in which a fault has occurred. – Diagnostic status (specifies whether there are diagnostic data). – System fault number 117d Diagnostic trace status object – Number of entries in the diagnostic memory – Trace status 116d Diagnostic trace object – Long-term memory (max. 40 entries) – Detail diagnosis + relative time stamp per fault event Tab. 3/6: Diagnostic data A description of the possible fault numbers can be found in chapter 5 of the system manual. Festo P.BE-CPX-FB11-EN en 0206NH 3-19 3. Diagnosis and error treatment Possible sequence of diagnosis Possible sequence of diagnosis Diagnostic data Object which supplies the diagnostic data 1. Check to see if there are diagnostic data Diagnostic status Module-independent system object (114d) 2. Ascertain the number of the module in which a fault has occurred Number of the module Module-independent system object (114d) 3. Ascertain relevant module diagnostic data Fault number, channel type and number of the faulty channel General parameter object module (100d) Tab. 3/7: 3-20 Possible sequence of diagnosis Festo P.BE-CPX-FB11-EN en 0206NH 3. Diagnosis and error treatment 3.6 Fault treatment With the following faults, the reaction of the CPX terminal depends on the configured reaction of the master module and on the parametrized Fail safe setting: – Telegram failure – The master has stopped – Interruption in bus cable Depending on the parametrizing, the outputs (valves and electric outputs) will be switched off (factory setting), switched on or retain their status (see CPX system manual). Warning • Make sure that valves and outputs are put into a safe state when the faults named occur. An incorrect status of the valves and outputs may lead to dangerous situations. Please note Please observe the following if the outputs are reset in the event of a PLC stop, field bus interruption or field bus fault: – Single-solenoid valves move to the basic position. – Double-solenoid valves remain in the current position. – Mid-position valves move to the mid-position (depending on valve type: pressurized, exhausted or blocked). Festo P.BE-CPX-FB11-EN en 0206NH 3-21 3. Diagnosis and error treatment 3-22 Festo P.BE-CPX-FB11-EN en 0206NH Technical appendix Appendix A Festo P.BE-CPX-FB11-EN en 0206NH A-1 A. Technical appendix Contents A. Technical appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1 A.1 A.2 A.3 Technical specifications of field bus node type CPX-FB11 . . . . . . . . . . . . . . . Accessories for field bus connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DeviceNet objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.3.1 DeviceNet object model CPX terminal . . . . . . . . . . . . . . . . . . . . . . . A.3.2 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.3.3 General parameters object modules . . . . . . . . . . . . . . . . . . . . . . . . A.3.4 Assembly object instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.3.5 Assigning the I/O channels with the Force, Fail safe and Idle parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.3.6 Object, modification digital outputs . . . . . . . . . . . . . . . . . . . . . . . . . A.3.7 Object, modification digital inputs . . . . . . . . . . . . . . . . . . . . . . . . . . A.3.8 Object, modification analogue outputs . . . . . . . . . . . . . . . . . . . . . . A.3.9 Object, modification analogue inputs . . . . . . . . . . . . . . . . . . . . . . . A.3.10 Object, modification output words function module . . . . . . . . . . . A.3.11 Object, modification input words function module . . . . . . . . . . . . . A.3.12 Module-independent system object . . . . . . . . . . . . . . . . . . . . . . . . . A.3.13 Status and diagnostic object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.3.14 Diagnostic Trace object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.3.15 Diagnostic Trace status object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3 A-4 A-5 A-5 A-6 A-8 A-13 A-2 A-16 A-17 A-18 A-19 A-20 A-21 A-22 A-23 A-27 A-28 A-30 Festo P.BE-CPX-FB11-EN en 0206NH A. Technical appendix A.1 Technical specifications of field bus node type CPX-FB11 General General technical specifications See CPX system manual – P.BE-CPX-SYS-... Protection class as per EN 60529, CPX-FB11 fitted completely, plug connector inserted or provided with protective cap as specified in the section ”Accessories” IP65 Protection against electric shock (protection against direct and indirect contact as per EN 60204-1/IEC 204) By means of PELV power units (Protected Extra-Low Voltage) Current consumption of field bus node CPX-FB11 Internal current consumption at 24 V (internal electronics): – From operating voltage supply for electronics/sensors (VEL/SEN Typ. 65 mA Electrical isolation – DeviceNet interface Electrically isolated (optocoupler) Module code (CPX-specific) 204 Field bus Protocol DeviceNet as per ODVA specification V 2.0 Baud rate 125 kBaud, 250 kBaud, 500 kBaud Cable type See DeviceNet specification part 1, Appendix B and installation guidelines for your controller Cable length (depends on baud rate and cable type) Festo P.BE-CPX-FB11-EN en 0206NH Max. 500 m A-3 A. Technical appendix A.2 Accessories for field bus connection This chapter gives you an overview of necessary and useful accessories for the field bus connection. Connection Type Part no. Micro style connection FBA-2-M12-5pol 525 632 M12 socket for micro Style connection FBSD-GD-9-5pol 18 324 M12 plug for micro style connection FBS-M12-5GS-PG9 175 380 Open style connection FBA-1-SL-5pol 525 634 Terminal strip for open style connection FBSD-KL-2x5pol 525 635 Sub-D socket 9-pin (IP65) FBS-SUB-9-BU-2x4pol 197 960 Tab. A/1: Accessories for field bus connection If you wish to use 9-pin sub-D plugs of other manufacturers, you must replace the two flat screws on the plug by threaded sockets (part no. 340 960). A-4 Festo P.BE-CPX-FB11-EN en 0206NH A. Technical appendix A.3 DeviceNet objects This chapter describes the representation of the CPX terminal within the DeviceNet object model. Some of the information in the original German text is already in English in order that the DeviceNet specification terms can be clearly understood. A.3.1 DeviceNet object model CPX terminal Modification Digital output Modification Analogue output Status/Diag. object Modification Function output 16-bit input data Modification Digital input Modification Analogue input Modification Function input 16-bit output data 8-bit output data System object 8-bit input data General parameters Object Assembly Inputs Assembly Diagnostic byte Assembly Outputs I/O I/O Connect. Connection Message router Explicit Message Diagnostic Trace object Diagnostic Trace status object Fig. A/1: DeviceNet object model of the CPX terminal Festo P.BE-CPX-FB11-EN en 0206NH A-5 A. Technical appendix A.3.2 Overview Types of communication for the I/O connection: – Change of state / Cyclic – I/O polling – I/O bit strobe DeviceNet class services As a slave device of group 2 the CPX terminal supports the following class services and instance services: A-6 Service code Service name 05 (0x05) Reset 14 (0x0E) Get attribute single 16 (0x10) Set attribute single 75 (0x4B) Allocate group 2 identifier set 76 (0x4C) Release group 2 identifier set Festo P.BE-CPX-FB11-EN en 0206NH A. Technical appendix DeviceNet object classes The following DeviceNet object classes are supported: Object classes Instances Name Type 100d 1...78 General parameters object modules (various) 4d 100...102 Assembly object instances (various) 107d 1...32 Modification digital outputs, object WORD 109d 1...32 Modification digital inputs, object WORD 110d 1...32 Modification analogue outputs, object (various) 111d 1...32 Modification analogue inputs, object (various) 112d 1...32 Modification output words function module, object WORD 113d 1...32 Modification input words function module, object WORD 114d 1 Module-independent system object USINT/BYTE 115d 1 Status and diagnostic object (various) 116d 1...40 Diagnostic Trace object USINT/BYTE 117d 1 Diagnostic Trace status object (various) 120d 1 Slave size object USINT/BYTE 121d 1 System object, slave mode USINT/BYTE An overview of the available data and parameters, their function numbers as well as their assignment to the objects can be found in the following sections. A description of the functions of the individual parameters and data can be found in Appendix B. Basic principles of parametrizing can be found in the CPX system manual. Festo P.BE-CPX-FB11-EN en 0206NH A-7 A. Technical appendix A.3.3 General parameters object modules Object classes: Instances: 100 1...78 The module parameters of the modules, which exist at the time, are mapped in this object. An instance of this object is assigned to each module. A range of instances is therefore firmly assigned to the various module types. Module type Instances Digital modules 1...15 1) Pneumatic interface 16 Analogue modules 17...31 Function modules 32...46 Pneumatic modules 47...78 2) 1) 2) Instances 11...15 are reserved for extensions Instances 48...78 are reserved for extensions The instance which is assigned to a module also depends on the position of the module within the CPX terminal. The assignment of the instances within a range is made from left to right with ascending instance numbers. For example, instance 17 is assigned to the first analogue module. Instance 18 is assigned to the second analogue module etc. The first module of a type therefore receives the lowest instance number of the relevant range. The second module receives the second lowest instance number etc. Not all the attributes of this object exist as parameters in all module types. Information on the parameters, and thereby on the attributes which a module supports, can be found in the manual for the relevant module. A-8 Festo P.BE-CPX-FB11-EN en 0206NH A. Technical appendix Attr. no. Access Description Type Function no. 100 Get Module code Specifies the module code of the module. Module code Module type 1 Input module type CPX-4DE 2 Input module type CPX-8DE 3 Output module type CPX-4DA 4 Multi I/O module type CPX-8DE-8DA 66 Pneumatic interface type CPX-GP-CPA-... 67 Pneumatic interface type CPX-GP-03-4.0 202 CPX field bus node type CPX-FB13 203 CPX field bus node type CPX-FB6 204 CPX field bus node type CPX-FB11 20... CPX field bus node type CPX-FB... USINT 16 + 16 m + 0 (bit 0...7) 101 Get Revision code Specifies the issue status of the module. USINT 16 + 16 m + 13 (bit 0...7) 102 Get Channel type/module fault Specifies the type of the faulty channel. 0: Output channel 1: Module fault 2: Input channel USINT 2008 + m * 4 + 0 (bits 6, 7) 103 Get Number of the faulty channel 0: Channel 0 ... 63: Channel 63 USINT 2008 + m * 4 + 0 (bit 0...5) 104 Get Module fault number (see System manual chapter 5 “Possible fault numbers”) USINT 2008 + m * 4 + 1 (bit 0...7) 105 Get Information message 2 (reserved) USINT 2008 + m * 4 + 2 (bit 0...7) 106 Get Information message3 (reserved) USINT 2008 + m * 4 + 2 (bit 0...7) Festo P.BE-CPX-FB11-EN en 0206NH A-9 A. Technical appendix Attr. no. Access Description Type Function no. 107 Get/set Monitoring the CPX module (module-related parameter 0) For each module the monitoring of the possible faults can be activated or deactivated (suppressed) independently of each other. See also Tab. B/24, Tab. B/33 and Tab. B/39 Bit 0: Monitoring short circuit/overload in the in sensor supply Bit 1: Monitoring short circuit/overload at the outputs Bit 2: Monitoring VOUT/VAL (undervoltage at outputs/valves) Bit 3: Monitoring short circuit at the valves Bit 4: Reserved Bit 5: Reserved Bit 6: Monitoring upper/lower limit Bit 7: Monitoring parametrizing faults (internal faults) 1: active (presetting) 0: inactive BYTE 4828 + m * 64 + 0 (bit 0...7) 108 Get/set Reaction after short circuit/overload (modulerelated parameter 1) See also Tab. B/25 and Tab. B/40 Bit 0: Monitoring short circuit/overload in the sensor supply Bit 1: Monitoring short circuit/overload at the outputs 0: VSEN/VOUT remains switched off 1: VSEN/VOUT remains switched off BYTE 4828 + m * 64 + 1 (bit 0...1) 109 Get/set Input debounce time (value range 0...3) Description see Tab. B/26 0: 0.1 ms 1: 3 ms (typical presetting) 2: 10 ms 3: 20 ms USINT 4828 + m * 64 + 1 (bits 4, 5) 110 Get/set Signal extension time (value range 0...3) Description see Tab. B/27 0: 0.5 ms 1: 15 ms (typical presetting) 2: 50 ms 3: 100 ms USINT 4828 + m * 64 + 1 (bits 6, 7) A-10 Festo P.BE-CPX-FB11-EN en 0206NH A. Technical appendix Attr. no. Access Description Type Function no. 111 – Reserved – – 112 – Reserved – – 113 Get/set Data format analogue value inputs Description see Tab. B/41 USINT 4828 + m * 64 + 3 (bits 0, 1) 114 Get/set Data format analogue value outputs Description see Tab. B/42 USINT 4828 + m * 64 + 3 (bits 4, 5) 115 ... 118 – Reserved – – 119 ... 150 Get/set ... Get/set 1. Byte parameter of the module ... 32. Byte parameter of the module SINT ... SINT – 151 ... 166 Get/set ... Get/set 1. Word parameter of the module ... 16. Word parameter of the module INT ... INT – 167 ... 174 Get/set ... Get/set 1. Double word parameter ... 8. Double word parameter DINT ... DINT – Attributes 119...174 of object 100 Attributes 119...174 are also available for future module types. Module-specific data and parameters are stored in attributes 119...174, depending on data type (size) and sequence. A description of these parameters can be found in the manual for the relevant module. Festo P.BE-CPX-FB11-EN en 0206NH A-11 A. Technical appendix The following module-specific parameters are fixed: A-12 – Digital input modules 1. Parameter (1 byte): Enables the individual channels for signal extension; placing in the 1st. byte parameter of object 100 (attribute 119). – Pneumatic interface 1. Parameter (32 bits): Activates monitoring wire fracture channel-by-channel; Placing in the 1st./2nd./3rd./4th. byte parameter of object 100 (attributes 119, 120, 121 and 122). Festo P.BE-CPX-FB11-EN en 0206NH A. Technical appendix A.3.4 Assembly object instances Object classe: Instances: 04 100...102 The following instances are saved in the Assembly object (04h): Description Instances OUTPUT (consume data from network) 100 INPUT (produce data to network) 101 SYSTEM STATUS (produce data to network) 102 Within the instance “Output in assembly object” all outputs of the CPX system are transmitted over the network by means of a communication connection. The following sequence applies during transmission: Sequence of transmission 1 I/O diagnostic interface/status byte, if active (16-bit orientated) 2 Object instances of the analogue channels (16-bit orientated) 3 Instances of the function modules (16-bit orientated) 4 Object instances of the digital outputs (8-bit orientated) Each new data range begins on the LSB (least significant bit) of a word. Festo P.BE-CPX-FB11-EN en 0206NH A-13 A. Technical appendix Instance 100 (output) possesses the following member list: Number Entries in member list Orient. Obj. 0/1 I/O diagnostic interface, if active 16 bits 104 0-32 Analogue channel data 16 bits 104 0-32 Function module data 16 bits 104 0-64 Digital data 8 bits 103 Transmisssion by communication types Polled I/O or COS / Cyclic. Instance 101: INPUT Within the instance “Input assembly object” all entries in the CPX system are transmitted cyclically over the network by means of a communication connection. The following sequence applies during transmission: Sequence of transmission 1 I/O diagnostic interface, if active (16-bit orientated) 2 Object instances of the analogue channels (16-bit orientated) 3 Instances of the function modules (16-bit orientated) 4 Object instances of the digital inputs (8-bit orientated) Each new data range begins on the LSB (least significant bit) of a word. A-14 Festo P.BE-CPX-FB11-EN en 0206NH A. Technical appendix Instance 101 (input) possesses the following member list: Number Entries in member list Orient. Obj. 0/1 I/O diagnostic interface data, if active 16 bits 102 0-32 Analogue channel data 16 bits 102 0-32 Function module 16 bits 102 0-64 Digital data 8 bits 101 Transmisssion by communication types Polled I/O or COS/ Cyclic. Instance 102: SYSTEM STATUS Instance 102 (system status) possesses the following member list: Festo P.BE-CPX-FB11-EN en 0206NH Number Entries in member list Orient. Obj. 1 Status byte 8 bits 101 A-15 A. Technical appendix A.3.5 Assigning the I/O channels with the Force, Fail safe and Idle parameters The Force, Fail safe and Idle parameters for the various channel types are each grouped together in objects. Object Description 109 Digital inputs 107 Digital outputs 110 Analogue outputs 111 Analogue inputs 112 Output words function module 113 Input words function module Tab. A/2: Objects for the Force, Fail safe and Idle parameters The assignment of the channels with the Force, Fail safe and Idle parameters is identical to the assignment of the parameters of the EDS file. The first word receives the lowest instance number of the relevant object. The second word receives the second lowest instance number etc. Further instructions on assigning the Force, Fail safe and Idle parameters can be found in section B.2.2. A-16 Festo P.BE-CPX-FB11-EN en 0206NH A. Technical appendix A.3.6 Object, modification digital outputs Object classe: Instances: 107 1...32 The Force, Fail safe and Idle parameters of the digital outputs are split into words (16 bits) and distributed amongst the max. 32 instances of this object. There is no module orientation. The existing digital outputs are assigned in blocks of 16 bits in ascending order without gaps. The first output word of the digital outputs is administered in instance 1. The second in instance 2 etc. Information on the assignment can be found in the section A.3.5 and section B.2.2. Attr. no. Access Description Type Function no. 100 Get/set Force mode parameter for output word n 1) WORD – 101 Get/set Force state parameter for output word n 1) WORD – 102 Get/set Fault mode parameter for output word n 1) WORD – 103 Get/set Fault state parameter for output word n 1) WORD – 104 Get/set Idle mode parameter for output word n 1) WORD – 105 Get/set Idle state parameter for output word n 1) WORD – 1) Identical with the assignment of the data block of the digital outputs. Festo P.BE-CPX-FB11-EN en 0206NH A-17 A. Technical appendix A.3.7 Object, modification digital inputs Object class: Instances: 109 1...32 The Force, Fail safe and Idle parameters of the digital inputs are also split into words (16 bits) like those of the digital outputs and distributed amongst the max. 32 instances of this object. There is no module orientation. The existing digital inputs are assigned in blocks of 16 bits in ascending order without gaps. The first input word of the digital inputs is administered in instance 1. The second in instance 2 etc. Information on the assignment can be found in the section A.3.5 and section B.2.2. Attr. no. Access Description Type Function no. 100 Get/set Force mode parameter for input word n 1) WORD – Get/set Force state parameter for input word n 1) WORD – 101 1) Identical with the assignment of the data block of the digital inputs. A-18 Festo P.BE-CPX-FB11-EN en 0206NH A. Technical appendix A.3.8 Object, modification analogue outputs Object class: Instances: 110 1...32 The Force, Fail safe and Idle parameters for the analogue outputs are administered in this object. The first analogue output (channel 0) is administered in instance 1. The second analogue output (channel 1) in instance 2 etc. The relevant mode for the analogue output of this instance is enabled or blocked in attributes 100, 102 and 104. This enable function is subordinate to the system function which affects all channels (placed in System object 114, attributes 121, 122 and 123). Information on the assignment can be found in the section A.3.5 and section B.2.2. Attr. no. Access Description Type Function no. 100 Get/set Force mode of the relevant channel USINT – 101 Get/set Force state of the relevant channel 1) INT – 102 Get/set Fault mode of the relevant channel USINT – 103 Get/set Fault state of the relevant channel 1) INT – 104 Get/set Idle mode of the relevant channel USINT – 105 Get/set Idle state of the relevant channel 1) INT – 1) Identical with the distribution of the data block of the analogue output data. The value is congruent with the value of the analogue output channel. Festo P.BE-CPX-FB11-EN en 0206NH A-19 A. Technical appendix A.3.9 Object, modification analogue inputs Object class: Instances: 111 1...32 The Force, Fail safe and Idle parameters for the analogue inputs are administered in this object. The first analogue input (channel 0) is administered in instance 1. The second analogue input (channel 1) in instance 2 etc. The force mode for the analogue input of this instance is enabled or blocked in attribute 100. This enable function is switched after the system function which affects all channels (placed in System object 114, attribute 121). Information on the assignment can be found in section A.3.5 and section B.2.2. Attr. no. Access Data source Type Function no. 100 Get/set Force mode of the relevant channel USINT – 101 Get/set Force state of the relevant channel 1) INT – 1) Identical with the distribution of the data block of analogue input data. The value is congruent with the value of the analogue input channel. A-20 Festo P.BE-CPX-FB11-EN en 0206NH A. Technical appendix A.3.10 Object, modification output words function module Object class: Instances: 112 1...32 The Force, Fail safe and Idle parameters of the outputs of the function modules are split into words (16 bits) and distributed amongst the max. 32 instances of this object. There is no module orientation. The existing outputs are assigned in blocks of 16 bits in ascending order without gaps. The first output word of the outputs is administered in instance 1. The second output word in instance 2 etc. Information on the assignment can be found in section A.3.5 and section B.2.2. Attr. no. Access Description Type Function no. 100 Get/set Force mode parameter for output word n 1) WORD – 101 Get/set Force state parameter for output word n 1) WORD – 102 Get/set Fault mode parameter for output word n 1) WORD – 103 Get/set Fault state parameter for output word n 1) WORD – 104 Get/set Idle mode parameter for output word n 1) WORD – 105 Get/set Idle state parameter for output word n 1) WORD – 1) Identical with the distribution of the data block of the function output data. Festo P.BE-CPX-FB11-EN en 0206NH A-21 A. Technical appendix A.3.11 Object, modification input words function module Object class: Instances: 113 1...32 The Force, Fail safe and Idle parameters of the inputs of the function modules are split into words (16 bits) and distributed amongst the max. 32 instances of this object. There is no module orientation. The existing inputs are assigned in blocks of 16 bits in ascending order without gaps. The first output word of the outputs is administered in instance 1. The second output word in instance 2 etc. Information on the assignment can be found in section A.3.5 and section B.2.2. Attr. no. Access Description Type Function no. 100 Get/set Force mode parameter for input word n 1) WORD – 101 Get/set Force state parameter for input word n 1) WORD – 1) Identical with the distribution of the data block of the function input data. A-22 Festo P.BE-CPX-FB11-EN en 0206NH A. Technical appendix A.3.12 Module-independent system object Object class: Instances: 114 1 Attr. no. Access Description Type Function no. 100 Get CPX operating mode (bit 0...3) Description see Tab. B/9; 0: Remote I/O without FEC 1: Remote I/O with FEC 2: Remote controller without bus node 3: Remote controller with bus node BYTE 0 (bit 0...3) CPX equipment status (bit 4) Specifies whether the current equipment fitted to the CPX corresponds to the saved CPX equipment status. 0: equal 1: not equal 0 (bit 4) Handheld (bit 5) Specifies whether a handheld is connected or not. 0: Handheld not connected 1: Handheld connected 0 (bit 5) Force mode (bit 6) Specifies whether Force is blocked or enabled. 0: blocked 1: enabled 0 (bit 6) System start (bit 7) Specifies how the system start of the CPX terminal is to be carried out 0: System start with default parametrizing (factory setting) and current CPX equipment status 1: System start with saved parametrizing and saved CPX equipment status 0 (bit 7) Festo P.BE-CPX-FB11-EN en 0206NH A-23 A. Technical appendix Attr. no. Access Description Type Function no. 101 Get Fail safe Specifies whether Fail safe is active or inactive. 0: inactive 1: active BYTE 1 (bit 0, 1) System Idle mode Specifies whether Idle mode is active or inactive. 0: inactive 1: active 1 (bit 2, 3) 102 Get Monitoring CPX terminal (bit 0...7) Specifies whether the monitoring of short circuit/ overload and undervoltage is active or inactive. Bit 0: Monitoring short circuit/overload in the sensor supply Bit 1: Monitoring short circuit at the outputs Short circuit/overload at the outputs Bit 2: Monitoring VOUT Undervoltage at the outputs Bit 3: Monitoring VOUT Undervoltage at valves Bit 4...7: Reserved 0: inactive 1: active BYTE 2 (bit 0...7) 103 – Reserved – – 104 – Reserved – – 105 Get Reserved USINT – 106 Get Reserved USINT – 107 Get Reserved USINT – 108 Get Module number USINT Contains, where applicable, the number of the first module on which a fault has occurred. From the module number you can ascertain the instance no. of object 100 via the relevant module type. With the aid of this instance number, further diagnostic data can be ascertained (e.g. the number of the faulty channel). A-24 1937 (bit 0...5) Festo P.BE-CPX-FB11-EN en 0206NH A. Technical appendix Attr. no. Access Description Type Function no. 109 Get Diagnostic status Specifies whether there are diagnostic data 1: There are diagnostic data 0: There are no diagnostic data BYTE 1937 (bit 6) 110 Get Fault number (bit 0...7) (see System manual chapter 5 “Possible fault numbers”) USINT 1938 (bit 0...7) 111 Get Reserved SINT – 112 Get Reserved SINT – 113 Get Reserved SINT – 114 Get Reserved SINT – 115 Get Reserved SINT – 116 – Reserved – – 117 – Reserved – – 118 – Reserved – – 119 – Reserved – – 120 Get/set Monitoring (bit 0...7) BYTE Description see Tab. B/14; Bit 0: Monitoring short circuit/overload in the sensor supply Bit 1: Monitoring short circuit/overload at the outputs Bit 2: Monitoring Vout (undervoltage at outputs) Bit 3: Monitoring Vval (undervoltage at valves) Bit 4...7: Reserved 1: active (presetting) 0: inactive 4401 (bit 0...7) 121 Get/set Force mode Description see Tab. B/16 0: blocked 1: enabled 4402 (bit 2, 3) Festo P.BE-CPX-FB11-EN en 0206NH USINT A-25 A. Technical appendix Attr. no. Access Description Type Function no. 122 Get/set Fail safe Description see Tab. B/15 0: Reset all outputs (presetting) 1: Hold last state (retain signal status) 2: Assume fault mode USINT 4402 (bit 0, 1) 123 Get/set System idle mode Description see Tab. B/17 0: Reset all outputs (presetting) 1: Hold last state (retain signal status) 2: Assume Idle mode USINT 4402 (bit 4, 5) 124 Get/set System start Description see Tab. B/18 0: System start with default parametrizing (factory setting) and current CPX equipment status; external parametrizing is possible (presetting) 1: System start with saved parametrizing and saved CPX equipment status; parameters and CPX equipment status are saved remanently; external parametrizing is blocked; the M LED on the field bus node lights up. USINT 4402 (bit 6, 7) 125 – Reserved – – 126 – Reserved – – 127 – Reserved – – 128 – Reserved – – 129 – Reserved – – 130 – Reserved – – 131 – Reserved – – 132 – Reserved – – 133 Get Number of input bytes (Rx size) Specifies the number of input bytes of the CPX terminal. USINT – A-26 Festo P.BE-CPX-FB11-EN en 0206NH A. Technical appendix Attr. no. Access Description Type Function no. 134 Get Number of output bytes (Rx size) Specifies the number of output bytes of the CPX terminal. USINT – 135 Get/set Reserved USINT – 136 Get/set Reserved USINT – A.3.13 Status and diagnostic object Object class: Instances: 115 1 The 16-bit wide I/O diagnostic interface and the status bits are mapped here. Attr. no. Access Description Type Function no. 100 Get Status bits (8 bit) Description see Tab. B/5 Fault source: Bit 0: valve Bit 1: output Bit 2: input Bit 3: analogue/function module BYTE 1936 Fault type: Bit 4: Bit 5: Bit 6: Bit 7: undervoltage short circuit/overload wire fracture other faults 101 Get/set 16 output bits (order data) of the I/O diagnostic interface UINT – 102 Get 16 input bits (reply data) of the I/O diagnostic interface UINT – Festo P.BE-CPX-FB11-EN en 0206NH A-27 A. Technical appendix A.3.14 Diagnostic Trace object Object class: Instances: 116 1...40 An instance is created for each diagnostic entry. Attr. no. Access 100 Get 101 Get 102 Title Description Type Function no. 3488 + n Marking the first entry after Power on Supplies 1 if it is the first entry after Power on. SINT n = 10 * d + 4 (bit 7) Days Number of days 2) USINT n = 10 * d + 0 Get Hours Number of hours 2) USINT n = 10 * d + 1 103 Get Minutes Number of minutes 2) USINT n = 10 * d + 2 104 Get Seconds Number of seconds 2) USINT n = 10 * d + 3 USINT n = 10 * d + 4 (bit 0...6) n = 10 * d + 5 105 Get Milliseconds Number of 10 msec 2) 106 Get Module code 3) Module code of the module which registered the fault. USINT 107 Get Channel type + Fault type Specifies the fault type or the faulty channel type. 0: Output channel 1: Module fault 2: Input channel USINT 108 Get Module position (module number) Module position of the module which registered the fault; 63 = fault not module-related USINT n = 10 * d + 6 (bits 6, 7) 109 Get Channel number 3) Number of the faulty channel USINT n = 10 * d + 7 (bit 0...5) 1) 2) 3) A-28 d (diagnostic event) = 0...39; most current diagnostic event = 0 Measured from the moment the power supply is switched on If the fault number = 0, the contents are also 0. If the fault number lies between 128...199 (fault class 3), the contents are not relevant (servicing required). Festo P.BE-CPX-FB11-EN en 0206NH A. Technical appendix Attr. no. Access Title Description Type Function no. 3488 + n 110 Get Fault number See System manual chapter 5, “Possible fault messages” USINT n = 10 * d + 8 111 Get Subsequent channels 3) Number of subsequent channels with the same fault USINT n = 10 * d + 9 1) 2) 3) d (diagnostic event) = 0...39; most current diagnostic event = 0 Measured from the moment the power supply is switched on If the fault number = 0, the contents are also 0. If the fault number lies between 128...199 (fault class 3), the contents are not relevant (servicing required). Festo P.BE-CPX-FB11-EN en 0206NH A-29 A. Technical appendix A.3.15 Diagnostic Trace status object Object class: Instances: 117 1 Attr. no. Access Name Type Function no. 100 Get Number of Trace entries in the diagnostic memory Description see Tab. B/67 USINT 3482 (bit 0...7) 101 Get Status of diagnostic memory Description see Tab. B/68 0: Registering active; 1: Registering inactive BYTE 3483 (bits 0, 1) 102 Get/set Clear_trace1, access via EDS USINT – 103 Get/set Clear_trace2, access via explicit messaging Confirms activity carried out by resetting (0) the attribute value USINT – 104 Get/set Entries remanent with Power on Description see Tab. B/58 1: inactive 0: active (presetting) USINT 3480 (bit 0) 105 Get/set Run/Stop filter 1 Description see Tab. B/59 0: Stop after 40 entries (save the first 40 entries) 1: Overwrite old entries (save the last 40 entries), (presetting) USINT 3480 (bit 1) 106 Get/set Run/Stop filter 2 Description see Tab. B/60 0: Run/Stop filter 2 inactive (presetting) 1: Register up to the defined FN 2: Register up to the defined FN + MN 3: Register up to the defined FN + MN + CN 4: Register as from the defined FN 5: Register as from the defined FN + MN 6: Register as from the defined FN + MN + CN 7: Reserved USINT 3484 (bit 0...2) A-30 Festo P.BE-CPX-FB11-EN en 0206NH A. Technical appendix Attr. no. Access Name Type Function no. 107 Get/set Fault end filter Description see Tab. B/61 0: Register running faults (end of fault) (filter inactive, presetting) 1: Do not register running faults (end of fault) (filter active) USINT 3484 (bit 3) 108 Get/set Fault number filter Description see Tab. B/62 FN = Fault number 0: Fault number filter inactive (presetting) 1: Register only defined FN 2: Do not register defined FN 3: Reserved USINT 3484 (bits 4, 5) 109 Get/set Module/channel filter With this diagnostic memory filter, the registering of faults of other modules or channels can be suppressed in order that faults in a particular module or channel can be analysed. FN = Fault number 0: Module/channel filter inactive (presetting) 1: Register only the FN of a module 2: Register only the FN of a channel 3: Reserved USINT 3484 (bits 6, 7) 110 Get/set Module number Module number for diagnostic memory filter USINT 3485 (bits 0...7) 111 Get/set Channel number Channel number for diagnostic memory filter USINT 3486 (bits 0...7) 112 Get/set Fault number Fault number for diagnostic memory filter USINT 3487 (bits 0...7) Festo P.BE-CPX-FB11-EN en 0206NH A-31 A. Technical appendix A-32 Festo P.BE-CPX-FB11-EN en 0206NH Structure of EDS files Appendix B Festo P.BE-CPX-FB11-EN en 0206NH B-1 B. Structure of EDS files Contents B. Structure of EDS files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1 B.1 B.2 EDS files of the CPX terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Structure of the EDS files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.2.1 Numbering the modules in the EDS file . . . . . . . . . . . . . . . . . . . . . . B.2.2 Assigning the I/O channels with the Force, Fail safe and Idle parameters in the EDS file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Parameter and data in the EDS file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.1 Group SysDiag.Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.2 Group SysData . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.3 Group SysParameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.4 Group Dat/Par Dig.Mod... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.5 Group Dat/Par PI Mod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.6 Group Dat/Par Ana.Mod. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.7 Group Dat/Par Fct.Mod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.8 Group Force Param DO (Force parameter “Digital outputs”) . . . . . B.3.9 Group Force Param DI (Force parameter “Digital inputs”) . . . . . . . B.3.10 Group FailSafe Param DO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.11 Group Idle Param DO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.12 Group Force Param AO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.13 Group FailSafe Param AO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.14 Group Idle Param AO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.15 Group Force Param AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.16 Group DiagMem.Param . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.17 Group DiagMem.Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3.18 Group Diagnostic memory entries . . . . . . . . . . . . . . . . . . . . . . . . . . B-3 B-4 B-6 B.3 B-2 B-8 B-11 B-11 B-13 B-16 B-19 B-24 B-27 B-31 B-33 B-34 B-34 B-35 B-36 B-36 B-36 B-36 B-36 B-41 B-42 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files B.1 EDS files of the CPX terminal EDS files which support different combinations of digital and analogue modules within a CPX terminal are available for CPX terminals. If you are using CPX terminals each with different combinations of digital and analogue modules on a DeviceNet, you will require an EDS file which supports all the combinations used. The greater the number of possible module combinations that an EDS file supports, the greater is the number of parameters contained in an EDS file. Please note Please note that the greater the number of parameters contained in an EDS file, the longer is the time required for transmission of the parameters. The following EDS files are described in this documentation: File name 1) Supports the following module combinations Number of parameters DNIO1CPX-EN.EDS DNIO1CPX-DE.EDS Exclusively digital modules Approx. 660 DNIO2CPX-EN.EDS DNIO2CPX-DE.EDS Combinations consist of up to: 9 digital modules, 9 analogue modules. 2) Approx. 980 1) 2) In the file names DE stands for German, EN for English. This EDS file supports all possible module combinations. Tab. B/1: EDS files for the CPX terminal Festo P.BE-CPX-FB11-EN en 0206NH B-3 B. Structure of EDS files A detailed description of the individual parameters as well as basic information on application can be found in the CPX system manual (P.BE-CPX-SYS-...). The module parameters which are available for the various modules can be found in the manual for the relevant module (e.g. manual for CPX pneumatic interfaces and CPX I/O modules (P.BE-CPX-EA-...). B.2 Structure of the EDS files In order to simplify access to parameters and data of the CPX terminal, the parameters and data in the EDS file have been grouped as follows: Group Description All parameters All parameters 1) SysDiag.Data System diagnostic data SysData System data SysParameter System parameters Dat/Par Dig.Mod0 Dat/Par Dig.Mod1 Dat/Par Dig.Mod... Data and parameters of the digital I/O modules 2) Separate counting of the digital modules from left to right Dat/Par PI Mod Data and parameters of the pneumatic interfaces Dat/Par Ana.Mod0 Dat/Par Ana.Mod1 Dat/Par Ana.Mod... Data and parameters of the analogue I/O modules 2) 3) Separate counting of the analogue modules from left to right Dat/Par Fct.Mod Data and parameters of function module Force Param DO Force parameter digital output modules Force Param DI Force parameter digital input modules FailSafe Param DO Fail safe parameter digital output modules Idle Param DO Idle parameter digital output modules Force Param AO Force parameter analogue output modules B-4 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files Group Description FailSafe Param AO Fail safe parameter analogue output modules Idle Param AO Idle parameter analogue output modules Force Param AI Force parameter analogue input modules DiagMem.Param Diagnostic memory parameters DiagMem.Data Diagnostic memory data DiagMem.Rec0 DiagMem.Rec1 DiagMem.Rec... DiagMem.Rec39 Diagnostic memory data entry 0...39 1) 2) 3) This group shows all the parameters of the CPX terminal. The number of modules listed depends on the EDS file used. These data and parameters are not supported by all EDS files. Tab. B/2: Parameter groups in the EDS file Festo P.BE-CPX-FB11-EN en 0206NH B-5 B. Structure of EDS files B.2.1 Numbering the modules in the EDS file The data and parameters for the digital and analogue modules are each grouped together as follows: Group Group name Description Digital module Dat/Par Dig.Mod0 Dat/Par Dig.Mod1 Dat/Par Dig.Mod... Data and parameters of digital module 0 Data and parameters of digital module 1 Data and parameters of digital module ... Analogue module Dat/Par Ana.Mod0 Dat/Par Ana.Mod1 Dat/Par Ana.Mod... Data and parameters of analogue module 0 Data and parameters of analogue module 1 Data and parameters of analogue module ... Tab. B/3: Numbering the modules The number at the end of the group name specifies the number of the relevant module type within the CPX terminal. It is not identical to the module position number (see also Fig. B/1). The digital modules and the analogue modules are counted separately in each case from left to right beginning with zero. B-6 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files 1 Module position: 0 2 1 4DI 3 2 8DI 4 3 4DO 4 5 2AO 8DI 8DO 6 7 2AO 16 O 5 6 1 First digital module 4 Fourth digital module 2 Second digital module 5 First analogue module 3 Third digital module 6 Second analogue module (digital module 0) (digital module 1) (digital module 3) (analogue module 0) (digital module 2) (analogue module 1) Fig. B/1: Numbering the modules (example) Festo P.BE-CPX-FB11-EN en 0206NH B-7 B. Structure of EDS files B.2.2 Assigning the I/O channels with the Force, Fail safe and Idle parameters in the EDS file The Force, Fail safe and Idle parameters for the various channel types are each included in groups. Identifier *) Description DO Digital outputs DI Digital inputs AO Analogue outputs AI Analogue inputs *) Channel type identifier in group names Tab. B/4: Channel type identifier in group names The diagram below shows as an example the assignment of the digital force outputs. B-8 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files 8DI 4DI 4DO 2AO 8DI 8DO 2AO 8O 8 4 8 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 2 1 Number of the output word 2 Bit number Fig. B/2: Assignment of the digital force outputs (example) The digital modules and the analogue modules are counted separately in each case from left to right. The diagram below shows as an example the assignment of the analogue force outputs. Festo P.BE-CPX-FB11-EN en 0206NH B-9 B. Structure of EDS files 4DI 8DI 4DO 2AO 8DI 8DO 2AO 8O 1 1 Analogue channel 0 + 1 2 2 Analogue channel 2 +3 Fig. B/3: Assignment of the analogue force outputs (example) B-10 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files B.3 Parameter and data in the EDS file With the aid of the function numbers named in the following tables you can also find information on the relevant data and parameters of the CPX terminal in the CPX manuals. B.3.1 Group SysDiag.Data SysDiag.Data: Status bits Function no. 1936 Description The 8 status bits display common diagnostic messages (global error messages). Bits 0...3 show the source of the fault and bits 4...7 show the type of the fault. Bit Source of fault: 00: valve 01: output 02: input 03: analogue/function module 1 = there is a fault 0 = no fault Type of fault: 04: undervoltage 05: short circuit/overload 06: wire fracture 07: other faults Tab. B/5: Status bits SysDiag.Data: Diagnostic status Function no. 1937 Description The diagnostic status specifies whether there are diagnostic data. Values 0: There are no diagnostic data 1: There are diagnostic data Tab. B/6: Diagnostic status Festo P.BE-CPX-FB11-EN en 0206NH B-11 B. Structure of EDS files SysDiag.Data: Location of fault, module number Function no. 1937 Description Contains, where applicable, the number of the first module on which a fault has occurred. From the module number, the number at the end of the group name can be ascertained (see section B.2.1) and further diagnostic data can be read out of the module. Values Tab. B/7: 0...47: Module number (module position) Location of fault, module number SysDiag.Data: Fault number Function no. 1938 Description Contains the current fault number Values 0...255: Fault number Remark Possible error messages see CPX system manual Tab. B/8: B-12 Fault number Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files B.3.2 Group SysData SysData: CPX operating mode 1 Function no. 0 Description Specifies the CPX operating mode which is currently active. Bit Tab. B/9: 00: Remote I/O without FEC 01: Remote I/O with FEC 02: Remote controller without bus node 03: Remote controller with bus node In the operating mode ”Remote I/O” all functions are controlled via the protocol implemented in the field bus node. In the operating mode ”Remote Controller” the FEC takes complete control of the I/Os. A different number of ”logical I/Os” is available for communication with the field bus, depending on the field bus node used. 0 = deactive; 1 = active 04: CPX equipment nominal ‹› actual 0 = The current equipment fitted to the CPX corresponds to the saved CPX equipment status. 1 = The current equipment fitted to the CPX does not correspond to the saved CPX equipment status. 05: Handheld connected 0 = No 1 = Yes 06: Force mode enabled 0 = No 1 = Yes 07: System start with saved parametrizing 0 = System start with default parametrizing (factory setting) and current CPX equipment status 1 = System start with saved parametrizing and saved CPX equipment status CPX operating mode 1 Festo P.BE-CPX-FB11-EN en 0206NH B-13 B. Structure of EDS files SysData: CPX operating mode 2 Function no. 1 Description Specifies whether the Fail safe and Idle modes are active or inactive. Bit 00: Fail safe status 01: Fail safe status Bit 01 0 0 Bit 00 0 1 Description inactive active 02: Idle mode status 03: Idle mode status Bit 03 0 0 Bit 02 0 1 Description inactive active 04: res ... 07: res Reserved for extensions Tab. B/10: CPX operating mode 2 SysData: Monitoring Function no. 2 Description Specifies whether the monitoring of short circuit/overload and undervoltage is active or inactive. Bit Remark 00: Short circuit/overload in sensor supply 01: Short circuit/overload at the outputs 02: Undervoltage at the outputs 03: Undervoltage at valves 1 = active 0 = inactive 04: res ... 07: res Reserved for extensions See system parameter “Diagnostic monitoring” Tab. B/11: Monitoring B-14 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files SysData: (Rx size) number of input bytes Function no. – Description Specifies the number of input bytes of the CPX terminal. Tab. B/12: Number of input bytes SysData: (Tx size) number of output bytes Function no. – Description Specifies the number of output bytes of the CPX terminal. Tab. B/13: Number of output bytes Festo P.BE-CPX-FB11-EN en 0206NH B-15 B. Structure of EDS files B.3.3 Group SysParameter SysParameter: Monitoring Function no. 4401 Description The monitoring of short circuit/overload and undervoltage for the complete CPX terminal can be activated or deactivated (suppressed). Active monitoring causes the following: A fault registered by the module will be: – sent to the higher-order field bus master – entered, if applicable, in the diagnostic memory (depending on filter settings) – entered in the module diagnostic data and, if applicable, in the status bits – displayed by the module common error LED – displayed by the red SF-LED on the node Bit Remark 00: Short circuit/overload in sensor supply 01: Short circuit/overload at the outputs 02: Undervoltage at the outputs 03: Undervoltage at valves 1 = active (presetting) 0 = inactive 04: res ... 07: res Reserved for extensions The method of operation of the channel fault LED remains unaltered. Monitoring can also be set separately for each module (see module parameter monitoring CPX module). Tab. B/14: Monitoring B-16 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files SysParameter: Fail safe Function no. 4402 Description Determines the signal status which the outputs/valves are to assume in the event of field bus communication faults, e.g. in the event of: – communication failure (bus interruption, PLC/IPC failure) – communication stop. Values Remark 0 = Reset outputs (presetting) 1 = Hold last state (retain signal status) 2 = Assume fault mode The Fault mode status is set with the channel-specific module parameters. Tab. B/15: Fail safe SysParameter: Force mode Function no. 4402 Description Determines for the complete CPX terminal whether the Force function is blocked or enabled. When Force is enabled, the channel-orientated Force settings (module parameters Force mode and Force state) are reset automatically for safety reasons in order to avoid undesired signal states. Values Remark 0 = blocked (presetting) 1 = enabled Force signals have precedence over Fail safe signals. Tab. B/16: Force mode Festo P.BE-CPX-FB11-EN en 0206NH B-17 B. Structure of EDS files SysParameter: System Idle mode Function no. 4402 Description Determines the signal status which outputs/valves are to assume when the Idle function is accessed. Values 0 = Reset outputs (presetting) 1 = Hold last state (retain signal status) 2 = Assume Idle mode Tab. B/17: Idle mode SysParameter: System start Function no. 4402 Description With this parameter you can determine the start-up reaction of the CPX terminal and save all current parameter settings and the current CPX equipment status. Values Remark 0 = System start with the actual configuration and default parametrizing; external parametrizing possible (presetting) 1 = System start with the saved configuration and parametrizing; external parametrizing is blocked; the M-LED on the FB node lights up If the value is set to 1, the current parameter settings “will be frozen” (write-protected) and the current CPX equipment status will be saved, except for the parameter ”System start” itself and the module parameter “Force channel x.” Recommendation: Select “System start with the actual configuration and default parametrizing.” The desired parametrizing can then be carried out in the start-up phase or after field bus interruptions e.g. by the plug-in module or the scanner/ bus master (depending on the field bus used). If “System start with the actual configuration and default parametrizing” is active, the factory settings for all module and system parameters will become valid after Power on. Tab. B/18: System start B-18 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files B.3.4 Group Dat/Par Dig.Mod... Dat/Par Dig.Mod...: Module code Function no. 16 + 16m + 0 m = module number (0...47) Description Specifies the module code of the module. Values Module code 0 1 2 3 4 Remark See type plate; further modules in preparation Module type Module does not exist Input module type CPX-4DE Input module type CPX-8DE Output module type CPX-4DO Multi I/O module type CPX-8DE-8DA Tab. B/19: Module code Dat/Par Dig.Mod...: Revision code Function no. 16 + 16m + 13 m = module number (0...47) Description Specifies the output status of the module. Values 0...255 Remark See type plate Tab. B/20: Revision code Festo P.BE-CPX-FB11-EN en 0206NH B-19 B. Structure of EDS files Dat/Par Dig.Mod...: Module diagnosis type Function no. 2008 + m * 4 + 0 Description Specifies the type of fault (module fault) or the faulty channel type. Bit m = module number (0...47) 00: Module failure 0 = no module fault 1 = module fault 01: Channel type (0 = O, 1 = I) 0 = faulty output channel 1 = faulty input channel 02...07: Reserved Tab. B/21: Module diagnosis type Dat/Par Dig.Mod...: Fault number Function no. 2008 + m * 4 + 1 m = module number (0...47) Description Module fault number Values 0...255 Remark Possible fault messages see CPX system manual. (fault number) Tab. B/22: Fault number Dat/Par Dig.Mod...: Module diagnosis channel number Function no. 2008 + m * 4 + 0 m = module number (0...47) Description Specifies the number of the faulty channel. Values 0...63 (channel number 0...63) Tab. B/23: Module diagnosis channel number B-20 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files Dat/Par Dig.Mod...: Monitoring the digital module Function no. 4828 + m * 64 + 0 Description For each module the monitoring of the possible faults can be activated or deactivated (suppressed) independently of each other. Active monitoring causes the following: The fault is: – sent to the CPX field bus node – displayed by the module common error LED. Bit Remark m = module number (0...47) 00: Short circuit/overload in sensor supply 01: Short circuit/overload at the outputs 02: VOUT/VAL (undervoltage at outputs/valves) 1 = active (presetting) 0 = inactive 03: 04: 05: 06: 07: Reserved for extensions res res res res res Monitoring can also be set for the complete CPX terminal (see system parameter ”Monitoring”). Tab. B/24: Monitoring the digital module Festo P.BE-CPX-FB11-EN en 0206NH B-21 B. Structure of EDS files Dat/Par Dig.Mod...: Behaviour after ... Function no. 4828 + m * 64 + 1 Description Determines after a short circuit in the sensor supply or the outputs whether the power is to remain switched off or whether it is to be switched on again automatically. Bit Remark m = module number (0...47) 00: Short circuit/overload in sensor supply 01: Short circuit/overload at the outputs 0 = VSEN/VOUT remains switched off 1 = VSEN/VOUT switch on again 02: res ... 07: res Reserved for extensions With the setting “VSEN/OUT remains switched off,” you must switch the power off/on or set/reset the relevant output in order to apply power again. Ascertain the setting which is necessary for reliable operation of your machine or system. Further information can be found in the manual for the CPX I/O modules. Tab. B/25: Behaviour after ... Dat/Par Dig.Mod...: Input debounce time Function no. 4828 + m * 64 + 1 Description Determines when a change of edge of the sensor signal on this module is to be accepted as a logical input signal. Typical values Remark 0= 1= 2= 3= m = module number (0...47) 0.1 ms 3 ms (typical presetting) 10 ms 20 ms Input debounce times are specified in order to eliminate interfering changes of signal edge during switching procedures (bouncing of the input signal). Detailed information on this parameter can be found in the CPX system manual. Tab. B/26: Input debounce time B-22 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files Dat/Par Dig.Mod...: Signal extension time Function no. 4828 + m * 64 + 1 Description Determines the signal extension time for the relevant input module. Signal states accepted as logical input signals usually remain valid at least until the specified signal extension time (minimum signal duration) has expired. Changes of edge within the extension time are ignored. Typical values Remark 0= 1= 2= 3= m = module number (0...47) 0.5 ms 15 ms (typical presetting) 50 ms 100 ms There is a danger here that short signals are not “recognized” due to long cycle times of the higher-order controller. In order that such signals are also taken into consideration in the control sequence, a signal extension time can be specified (see section CPX system description). The signal extension time can be activated by channel-by-channel (see Tab. B/28). Tab. B/27: Signal extension time Dat/Par Dig.Mod...: Signal extension channel Function no. See manual for the CPX modules Description Determines whether the signal extension for the relevant input channel is enabled or blocked. Bit 00: Channel 0 01: Channel 1 ... 07: Channel 7 Remark The signal extension time can be specified separately for each input module (see function no. 4828 + n; n = m * 64 + 1). Tab. B/28: Signal extension channel Festo P.BE-CPX-FB11-EN en 0206NH B-23 B. Structure of EDS files B.3.5 Group Dat/Par PI Mod Dat/Par PI Mod: Module code Function no. 16 + 16m + 0 m = module number (0...47) Description Specifies the module code of the pneumatic interface. Values Module code 0 66 67 Remark See type plate; further modules in preparation. Module type Module does not exist Pneumatic interface type CPX-GP-CPA-... Pneumatic interface type CPX-GP-03-4.0 Tab. B/29: Module code Dat/Par PI Mod: Revision code Function no. 16 + 16m + 13 m = module number (0...47) Description Specifies the output status of the pneumatic interface. Values 0...255 Remark See type plate Tab. B/30: Revision code B-24 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files Dat/Par PI Mod: Modul diagnosis type Function no. 2008 + m * 4 + 0 Description Specifies the type of fault (module fault) or the faulty channel type. Bit m = module number (0...47) 00: Module failure 0 = no module fault 1 = module fault 01: Channel type (0 = O; 1 = I) 0 = faulty output channel 1 = faulty input channel 02: res ... 07: res Reserved for extensions Tab. B/31: Module diagnosis type Dat/Par PI Mod...: Fault number Function no. 2008 + m * 4 + 1 m = module number (0...47) Description Module fault number Values 0: 1...255: Remark Possible fault messages see CPX system manual. no fault Fault number Tab. B/32: Fault number Festo P.BE-CPX-FB11-EN en 0206NH B-25 B. Structure of EDS files Dat/Par PI Mod...: Monitoring PI Function no. 4828 + m * 64 + 0 Description For each module the monitoring of the possible faults can be activated or deactivated (suppressed) independently of each other. Active monitoring causes the following: The fault is: – sent to the CPX field bus node – displayed by the module common error LED. Bit Remark 00: 01: 02: 03: 04: 05: 06: 07: m = module number (0...47) Reserved Reserved Load voltage for valves VOUT Valve fault, short circuit at valve Reserved Reserved Reserved Reserved 1 = active (presetting) 0 = inactive Monitoring can also be set for the complete CPX terminal (see system parameter ”Monitoring”). Tab. B/33: Monitoring PI Dat/Par PI Mod...: Monitoring wire fracture channel x Function no. See manual for the CPX modules Description Determines whether monitoring wire fracture for the relevant channel is active or inactive. Bit Remark 00: Coil 0 01: Coil 1 02: Coil 2 etc. 1 = active 0 = inactive (presetting) With monitoring wire fracture, a missing valve or a wire fracture (connection fault between the pneumatic interface and the valve coil) is recognized. Tab. B/34: Monitoring wire fracture channel x B-26 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files B.3.6 Group Dat/Par Ana.Mod. Dat/Par Ana.Mod...: Module code Function no. 16 + 16m + 0 m = module number (0...47) Description Specifies the module code of the module (0...9). Values Module code 0 128 129 Remark See type plate; further modules in preparation. Module type Module does not exist Analogue input module type CPX-2AE-U-I Analogue output module type CPX-2AA-U-I Tab. B/35: Module code Dat/Par Ana.Mod...: Revision code Function no. 16 + 16m + 13 m = module number (0...47) Description Specifies the output status of the module. Values 0...255 Remark See type plate Tab. B/36: Revision code Dat/Par Ana.Mod...: Module diagnosis type Function no. 2008 + m * 4 + 0 Description Specifies the type of fault (module fault) or the faulty channel type. Bit m = module number (0...47) 00: Module failure 0 = no module fault 1 = module fault 01: Channel type (0 = O, 1 = I) 0 = faulty output channel 1 = faulty input channel 02...07: Reserved Tab. B/37: Module diagnosis type Festo P.BE-CPX-FB11-EN en 0206NH B-27 B. Structure of EDS files Dat/Par Ana.Mod...: Fault number Function no. 2008 + m * 4 + 1 m = module number (0...47) Description Module fault number Values 0: 1...255: Remark Possible fault messages see CPX system manual. no fault fault number Tab. B/38: Fault number Dat/Par Ana.Mod...: Monitoring analogue module Function no. 4828 + m * 64 + 0 Description For each module the monitoring of the possible faults can be activated or deactivated (suppressed) independently of each other. Active monitoring causes the following: The fault is: – sent to the CPX field bus node – displayed by the module common error LED. Bit Remark m = module number (0...47) 00: Short circuit/overload in sensor supply 01: Short circuit/overload in the actuator supply 02...06: Reserved 07: Parametrizing fault 1 = active (presetting) 0 = inactive Monitoring can also be set for the complete CPX terminal (see system parameter ”Monitoring”). Tab. B/39: Monitoring analogue module B-28 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files Dat/Par Ana.Mod...: Behaviour after ... Function no. 4828 + m * 64 + 1 Description Determines after a short circuit in the sensor supply or the outputs whether the power is to remain switched off or whether it is to be switched on again automatically. Bit Remark 00: 01: 02: 03: 04: 05: 06: 07: m = module number (0...47) Short circuit/overload in sensor supply Short circuit/overload in the actuator supply Reserved Reserved Short circuit/overload at the outputs Reserved Reserved Reserved 0 = VSEN/VOUT remains switched off 1 = VSEN/VOUT switch on again With the setting “VSEN/OUT remains switched off,” you must switch the power off/on or set/reset the relevant output in order to apply power again. Ascertain the setting which is necessary for reliable operation of your machine or system. Further information can be found in the manual for the CPX I/O modules. Tab. B/40: Behaviour after ... Dat/Par Ana.Mod...: Input analogue-value data format Function no. 4828 + m * 64 + 3 m = module number (0...47) Description Determines the data format with which the relevant analogue values are processed internally. Values See manual for the relevant analogue module Remark The choice of data format depends on the field bus or field bus master used and simplifies evaluation of the analogue values. Tab. B/41: Input analogue-value data format Festo P.BE-CPX-FB11-EN en 0206NH B-29 B. Structure of EDS files Dat/Par Ana.Mod...: Output analogue-value data format Function no. 4828 + m * 64 + 3 m = module number (0...47) Description Determines the data format with which the relevant analogue values are processed internally. Values See manual for the relevant analogue module. Remark The choice of data format depends on the field bus or field bus master used and simplifies evaluation of the analogue values. Tab. B/42: Output analogue-value data format Dat/Par Ana.Mod...: Monitoring channel ... Function no. Only relevant for analogue output modules (see manual for CPX modules). Description Values Tab. B/43: Monitoring channel ... Dat/Par Ana.Mod...: Signal range channel 0/1 Function no. See manual for the CPX analogue I/O modules Description Values Tab. B/44: Signal range channel 0/1 Dat/Par Ana.Mod...: Measured value smoothing of inputs Function no. Only relevant for analogue input modules (see manual for CPX modules). Description Values Tab. B/45: Measured value smoothing of inputs B-30 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files Dat/Par Ana.Mod...: Channel ... lower/upper limit value Function no. See manual for the CPX modules Description Values Tab. B/46: Channel ... lower/upper limit value B.3.7 Group Dat/Par Fct.Mod Dat/Par Fct.Mod...: Module code Function no. 16 + 16m + 0 m = module number (0...47) Description Specifies the module code of the module. Values Module code 0 202 203 204 20... Remark See type plate; further modules in preparation. Module type Module does not exist CPX field bus node type CPX-FB13 CPX field bus node type CPX-FB6 CPX field bus node type CPX-FB11 CPX field bus node type CPX-FB... Tab. B/47: Module code Dat/Par Fct.Mod...: Revision code Function no. 16 + 16m + 13 m = module number (0...47) Description Specifies the output status of the module. Values 0...255 Remark See type plate Tab. B/48: Revision code Festo P.BE-CPX-FB11-EN en 0206NH B-31 B. Structure of EDS files Dat/Par Fct.Mod...: Modul Diag Typ Function no. 2008 + m * 4 + 0 Description Specifies the type of fault (module fault) or the faulty channel type. Bit m = module number (0...47) 00: Module failure 0 = no module fault 1 = module fault 01: Channel type (0 = O, 1 = I) 0 = faulty output channel 1 = faulty input channel 02: res ... 07: res Reserved for extensions Tab. B/49: Module diagnosis type Dat/Par Fct.Mod...: Fault number Function no. 2008 + m * 4 + 1 m = module number (0...47) Description Module fault number Values 0...255 Remark Possible fault messages see CPX system manual. (fault number) Tab. B/50: Fault number B-32 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files B.3.8 Group Force Param DO (Force parameter “Digital outputs”) Force Param DO: Force mode output word ... Function no. – Description Determines the Force mode for the relevant channel. Bit 00: O0.0; enable Force 01: O0.1; enable Force 02: O0.2; enable Force etc. 0 = blocked (factory setting) 1 = enable (accept the signal status defined by Force state) Tab. B/51: Force mode output word ... Force Param DO: Force state output word ... Function no. – Description Determines the signal status for the relevant channel (Force state). Bit 00: O0.0; Force state 01: O0.1; Force state 02: O0.2; Force state etc. 0 = Reset signal (factory setting) 1 = Set signal Tab. B/52: Force state output word ... Festo P.BE-CPX-FB11-EN en 0206NH B-33 B. Structure of EDS files B.3.9 Group Force Param DI (Force parameter “Digital inputs”) See Force parameter “Digital outputs.” Inputs can be influenced instead of outputs. B.3.10 Group FailSafe Param DO FailSafe Param DO: Fault mode output word ... Function no. – Description With the aid of the so-called Fail safe parametrizing, the signal status which the outputs are to assume in the event of field bus communication faults, can be specified. Bit 00: O0.0; 0:Hold last state; 1:Fault state 01: O0.1; 0:Hold last state; 1:Fault state 02: O0.2; 0:Hold last state; 1:Fault state etc. 0 = hold last state 1 = fault state (presetting) Tab. B/53: Fault mode output word ... FailSafe Param DO: Fault state output word ... Function no. – Description Determines the signal status for the relevant channel (Fault state). Bit 00: O0.0; 0:reset, 1: set 01: O0.1; 0:reset, 1: set 02: O0.2; 0:reset, 1: set etc. 0 = Rest signal (presetting) 1 = Set signal Tab. B/54: Fault state output word ... B-34 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files B.3.11 Group Idle Param DO Idle Param DO: Idle mode output word ... Function no. – Description With the aid of the so-called Idle mode, the signal status which the outputs are to assume when the Idle function is accessed, can be determined. Bit 00: O0.0; 0:Hold last state; 1:Idle state 01: O0.1; 0:Hold last state; 1:Idle state 02: O0.2; 0:Hold last state; 1:Idle state etc. 0 = hold last state 1 = Idle state (presetting) Tab. B/55: Idle mode output word ... Idle Param DO: Idle state output word ... Function no. – Description Determines the signal status for the relevant channel (Fault state). Bit 00: O0.0; 0:reset, 1: set 01: O0.1; 0:reset, 1: set 02: O0.2; 0:reset, 1: set etc. 0 = Rest signal (presetting) 1 = Set signal Tab. B/56: Idle state output word ... Festo P.BE-CPX-FB11-EN en 0206NH B-35 B. Structure of EDS files B.3.12 Group Force Param AO See Force parameter DO. Analogue outputs can be influenced instead of digital outputs. B.3.13 Group FailSafe Param AO See FailSafe parameter DO. Analogue outputs can be influenced instead of digital outputs. B.3.14 Group Idle Param AO See Idle parameter DO. Analogue outputs can be influenced instead of digital outputs. B.3.15 Group Force Param AI See Force parameter DO. Analogue inputs can be influenced instead of digital outputs. B.3.16 Group DiagMem.Param DiagMem.Param: Delete diagnostic memory Function no. – Description Enables diagnostic memory to be deleted. Recording values delete Tab. B/57: Delete diagnostic memory B-36 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files DiagMem.Param: Entries remanent at Power on Function no. 3480 Description Determines whether the contents of the diagnostic memory are to be retained after new Power on or whether they are to be deleted. Values – save – do not save Remark The diagnostic memory will be deleted if the mode is changed. Tab. B/58: Entries remanent at Power on DiagMem.Param: Run/Stop filter 1 Function no. 3480 Description Diagnostic memory filter with which you can determine whether the first 40 faults or the last 40 faults are to be saved. Values – Stop after 40 eintries (save the first 40 entries) – Overwrite old entries (save the last 40 entries), presetting) Remark The diagnostic memory will be deleted if the mode is changed. Tab. B/59: Run/Stop filter 1 Festo P.BE-CPX-FB11-EN en 0206NH B-37 B. Structure of EDS files DiagMem.Param: Run/Stop filter 2 Function no. 3484 Description Diagnostic memory filter with which you can determine when the registering of faults is to be started or stopped. Values MN = module number, CN = channel number, FN = fault number 0: Run/Stop filter 2 inactive (presetting) 1: Register up to the defined FN 2: Register up to the defined FN + MN 3: Register up to the defined FN + MN + CN 4: Register as from the defined FN 5: Register as from the defined FN + MN 6: Register as from the defined FN + MN + CN 7: Reserved Remark The numbers are determined by means of the diagnostic memory parameters “Module, channel and fault numbers” (function nos. 3485...3487). Tab. B/60: Run/Stop filter 2 DiagMem.Param: Fault end filter Function no. 3484 Description Diagnostic memory filter with which you can determine whether running faults are to be registered or not. Values 0 = Register end (running faults) (filter inactive, presetting) 1 = Do not register end (filter active) Remark By registering the running faults, you can ascertain how long the fault has existed. Incoming and running faults each represent one entry. With running faults the fault number “0” is entered. Maximum 40 entries are saved together. Tab. B/61: Fault end filter 1 B-38 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files DiagMem.Param: FN filter (Fault number filter) Function no. 3484 Description With this diagnostic memory filter you can: – suppress the registering of a desired fault message – register exclusively a desired fault message Values FN = fault number 0: Fault number filter inactive (presetting) 1: Register only defined FN 2: Do not register defined FN 3: Reserved Remark The fault number is determined by means of the diagnostic memory parameter “Fault number” (function no. 3487). Tab. B/62: FN filter (Fault number filter) DiagMem.Param: MN/CN filter (Module/channel filter) Function no. 3484 Description With this diagnostic memory filter, the registering of faults of other modules or channels can be suppressed in order that faults in a particular module or channel can be analysed. Values FN = fault number 0: Module/channel filter inactive (presetting) 1: Register only the FN of a module 2: Register only the FN of a channel 3: Reserved Remark The numbers are determined by means of the diagnostic memory parameters “Module and channel numbers” (function nos. 3485...3486). Tab. B/63: MN/CN filter (Module/channel filter) Festo P.BE-CPX-FB11-EN en 0206NH B-39 B. Structure of EDS files DiagMem.Param: Module number (MN) Function no. 3485 Description Module number for the diagnostic memory filter Values 0...47 Remark Is only effective if an appropriate diagnostic memory filter is active. Module number (0 = presetting) Tab. B/64: Module number (MN) DiagMem.Param: Channel number (CN) Function no. 3486 Description Channel number for the diagnostic memory filter Values 0...63 Remark Is only effective if an appropriate diagnostic memory filter is active. Channel number (0 = presetting) Tab. B/65: Channel number (CN) DiagMem.Param: Fault number (FN) Function no. 3487 Description Fault number for the diagnostic memory filter Values 0...255 Remark Is only effective if an appropriate diagnostic memory filter is active. Fault number (0 = presetting) Tab. B/66: Fault number (FN) B-40 Festo P.BE-CPX-FB11-EN en 0206NH B. Structure of EDS files B.3.17 Group DiagMem.Data DiagMem.Data: Number of entries Function no. 3482 Description Specifies the number of entries in the diagnostic memory Values 0...40 Remark Can be used as a loop counter if the complete diagnostic memory is to be read out by PLC program. Tab. B/67: Number of entries DiagMem.Data: Status of diagnostic memory Function no. 3483 Description Specifies whether: – the fault registering is active or inactive – the diagnostic memory has overflowed. Bit 00: Overflow diagnostic memory 0 = no overflow 1 = overflow 01: Registering inactive 0 = registering active 1 = registering inactive Remark The overflow is displayed when the first 40 faults are registered as well as when the last 40 faults are registered. Overrun means that more than 40 faults have occurred. The fault registering can be stopped and started with the run/stop filters. Tab. B/68: Status of diagnostic memory Festo P.BE-CPX-FB11-EN en 0206NH B-41 B. Structure of EDS files B.3.18 Group Diagnostic memory entries The diagnostic memory contains up to 40 diagnostic entries. A diagnostic entry consists of 10 bytes. The first five bytes contain information on the fault time. The last five bytes contain information on the fault. Function no. 1) Diagnostic memory entries 0...39 Title Description Value 3488 + n 1. Entry after power on 1 = first entry 0...1 n = 10 * d + 4, Bit 7 Days Number of days 2) 0...255 n = 10 * d + 0 Hours Number of hours 2) 0...23 n = 10 * d + 1 Minutes Number of minutes 2) 0...59 n = 10 * d + 2 Seconds Number of seconds 2) 0...59 n = 10 * d + 3 Milliseconds Number of 10 ms 2) 0...99 Module code 3) Module code of the module which registered the fault. 0...255 n = 10 * d + 5 Module position Position of the module which registered the fault; 63 = fault not module-related 0...47, 63 n = 10 * d + 6 Channel/fault type Specifies the type of fault or the faulty channel type. 0: Output channel 1: Module fault 2: Input channel Channel number Number of the first faulty channel 0...2 n = 10 * d + 7 Fault number 0...255: Fault number (possible fault messages see CPX system manual) 0...255 n = 10 * d + 8 Subsequent channels 3) Number of subsequent channels with the same fault 0...63 n = 10 * d + 9 1) 2) 3) d (diagnostic event) = 0...39; most current diagnostic event = 0 Measured from the moment the power supply is switched on If the fault number = 0, the contents of these bytes are also 0. If the fault number lies between 128..199 (fault class 3), the contents of these bytes are not relevant (servicing required). Tab. B/69: Diagnostic memory data B-42 Festo P.BE-CPX-FB11-EN en 0206NH Index Appendix C Festo P.BE-CPX-FB11-EN en 0206NH C-1 C. Index Contents C. Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1 C.1 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-3 C-2 Festo P.BE-CPX-FB11-EN en 0206NH C. Index C.1 Index A Abbreviations Product-specific . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . XIII Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4 Additional supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-30 Address assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8 Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13 B Baud rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13, 1-19 Behaviour after ... . . . . . . . . . . . . . . . . . . . . . . . . . . B-22, B-29 Branch line lengths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-19 Bus configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13 Bus termination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-28 C Cable Field bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-18 Channel ... lower/upper limit value . . . . . . . . . . . . . . . . . . B-31 Channel number (CN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-40 Connecting Field bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-18 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-29 Connection diagram for DeviceNet . . . . . . . . . . . . . . . . . . 1-21 CPX operating mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-13 CPX operating mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-14 Festo P.BE-CPX-FB11-EN en 0206NH C-3 C. Index D Delete diagnostic memory . . . . . . . . . . . . . . . . . . . . . . . . . B-36 Designated use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VII DeviceNet objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5 Diagnosis via I/O diagnostic interface . . . . . . . . . . . . . . . 3-14 Diagnosis via LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5 Diagnosis via status bits . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13 Diagnostic data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15 Diagnostic mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-12 Diagnostic possibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4 Diagnostic status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-11 DIL switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10 Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9 E EDS files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16, B-3 Electrical connecting and display elements . . . . . . . . . . . . 1-5 Entries remanent at Power on . . . . . . . . . . . . . . . . . . . . . . B-37 F Fail safe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-17 Fail safe parametrizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-34 Fault end filter 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-38 Fault mode output word ... . . . . . . . . . . . . . . . . . . . . . . . . B-34 Fault number . . . . . B-12, B-20, B-25, B-28, B-32, B-40, B-42 Fault state output word ... . . . . . . . . . . . . . . . . . . . . . . . . . B-34 C-4 Festo P.BE-CPX-FB11-EN en 0206NH C. Index Field bus baud rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-19 Field bus cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-18 Field bus length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-19 Fitting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6 FN filter (Fault number filter) . . . . . . . . . . . . . . . . . . . . . . . B-39 Force mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-17 Force mode output word ... . . . . . . . . . . . . . . . . . . . . . . . . B-33 Force state output word ... . . . . . . . . . . . . . . . . . . . . . . . . B-33 I I/O diagnostic interface . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14 ICO/BMP file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16 Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-34 Idle mode output word ... . . . . . . . . . . . . . . . . . . . . . . . . . B-35 Idle mode parametrizing . . . . . . . . . . . . . . . . . . . . . . . . . . B-35 Idle state output word ... . . . . . . . . . . . . . . . . . . . . . . . . . . B-35 Important user instructions . . . . . . . . . . . . . . . . . . . . . . . . . . IX Input analogue-value data format . . . . . . . . . . . . . . . . . . B-29 Input debounce time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-22 Inputs Calculating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7 L LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5 Location of fault, module number . . . . . . . . . . . . . . . . . . . B-12 Festo P.BE-CPX-FB11-EN en 0206NH C-5 C. Index M Measured value smoothing of inputs . . . . . . . . . . . . . . . . B-30 Micro style connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-22 MN/CN filter (Module/channel filter) . . . . . . . . . . . . . . . . B-39 Module code . . . . . . . . . . . . . . . . . . . . . B-19, B-24, B-27, B-31 Module diagnosis channel number . . . . . . . . . . . . . . . . . . B-20 Module diagnosis type . . . . . . . . . . . . B-20, B-25, B-27, B-32 Module number (MN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-40 Module position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-42 Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-14, B-16 Monitoring analogue module . . . . . . . . . . . . . . . . . . . . . . B-28 Monitoring channel ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-30 Monitoring PI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-26 Monitoring the digital module . . . . . . . . . . . . . . . . . . . . . . B-21 Monitoring wire fracture channel x . . . . . . . . . . . . . . . . . . B-26 N Notes on the use of this manual . . . . . . . . . . . . . . . . . . . . . . XI Number of entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-41 Number of input bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-15 Number of output bytes . . . . . . . . . . . . . . . . . . . . . . . . . . B-15 O Open style connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-23 Output analogue-value data format . . . . . . . . . . . . . . . . . B-30 Outputs Calculating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7 C-6 Festo P.BE-CPX-FB11-EN en 0206NH C. Index P Parametrizing Automatically after Power on . . . . . . . . . . . . . . . . . . . . Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . On the DeviceNet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Via the PLC user program . . . . . . . . . . . . . . . . . . . . . . . With RSNetWorx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-35 2-29 2-18 2-28 2-37 2-31 PELV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-29 Pictograms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X Pin assignment Field bus interface . . . . . . . . . . . . . . . . . . . 1-22, 1-23, 1-25 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-29 Switching on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14 R Removing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6 Revision code . . . . . . . . . . . . . . . . . . . . B-19, B-24, B-27, B-31 RSNetWorx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20, 3-16 Run/Stop filter 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-37 Run/Stop filter 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-38 S Screening/shield connection . . . . . . . . . . . . . . . . . . . . . . . 1-26 Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VIII Setting the Baud rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13 Diagnostic mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-12 Station number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14 Festo P.BE-CPX-FB11-EN en 0206NH C-7 C. Index Signal extension channel . . . . . . . . . . . . . . . . . . . . . . . . . . B-23 Signal extension time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-23 Signal range channel 0/1 . . . . . . . . . . . . . . . . . . . . . . . . . B-30 Station numbers Permitted . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14 Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-15 Status bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13, B-11 Status of diagnostic memory . . . . . . . . . . . . . . . . . . . . . . . B-41 Strain relief . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-18 Sub-D plug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-25 Switch cover Fitting and removing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8 System Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-18 System start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-18 System supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-30 T Target group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VIII Technical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3 Text markings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X C-8 Festo P.BE-CPX-FB11-EN en 0206NH