background image

CPX-FB37

Festo – P.BE-CPX-FB37-EN – 1406NH – English

5

5.5

Diagnostics via EtherCAT

66

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.5.1

Basic information

66

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.5.2

Diagnostics via SDO access

66

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.5.3

Diagnostics via diagnostics history

66

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.5.4

Die Emergency Message

73

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.5.5

Error characteristics (fail-safe mode)

75

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.5.6

Error types

76

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

A

Technical appendix

77

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

A.1

Technical data

77

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

A.2

Object directories

78

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

A.2.1

Object directory CPX-FB37 mode (Modular Device Profile)

78

. . . . . . . . . . . . . . . . .

A.2.2

Object directory CPX-FB38 mode (fixed I/O size)

81

. . . . . . . . . . . . . . . . . . . . . . . .

B

Glossary

83

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Summary of Contents for CPX-FB37

Page 1: ...Bus node CPX FB37 Description Network protocol EtherCAT 8029675 1406NH 8029664 Terminal CPX...

Page 2: ...how to prevent them Warning Hazards that can cause death or serious injuries Caution Hazards that can cause minor injuries or serious material damage Other symbols Note Material damage or loss of func...

Page 3: ...he cover over the DIL switches 15 3 2 2 Arrangement of the DIL switches 16 3 2 3 Setting the DIL switches 16 3 2 4 Setting the operating mode 17 3 2 5 Configuring the EtherCAT addressing type 17 3 2 6...

Page 4: ...parameterisation 38 4 6 3 Parameterisation with the operator unit CPX MMI 38 4 6 4 Parameterisation with the Festo Maintenance Tool CPX FMT 38 4 6 5 Parameterisation via EtherCAT in the Modular Device...

Page 5: ...5 3 Diagnostics via diagnostics history 66 5 5 4 Die Emergency Message 73 5 5 5 Error characteristics fail safe mode 75 5 5 6 Error types 76 A Technical appendix 77 A 1 Technical data 77 A 2 Object d...

Page 6: ...therCAT can be found online www ethercat org Product specific information about the control system IPC PLC or I O controller can be found in the manufacturer s documentation accompanying the product G...

Page 7: ...in CPX terminals as a participant in the EtherCAT fieldbus system and it may only be used as follows in excellent technical condition in original status without unauthorised modifications within the...

Page 8: ...h the use of PELV circuits protection against electric shock protection against direct and indir ect contact is ensured in accordance with IEC EN 60204 1 In the CPX system description P BE CPX SYS rea...

Page 9: ...ents Only compliance with the limit values or load limits permits operation of the product in accordance with the relevant safety regulations Observe the notes and warnings in this documentation 1 3 2...

Page 10: ...valve terminal configuration MDP Diagnostic data via CoE Parameterisation in plain text via CoE Hot Connect function for connecting and disconnecting devices during operation Module address can be al...

Page 11: ...tatus LEDs and CPX specific LEDs 2 Network connection 1 input X1 In 3 Network connection 2 output X2 Out 4 Cover for DIL switches 5 Service interface for operator unit CPX MMI and USB adapter for CPX...

Page 12: ...terminal Note Malfunction or damage to the electronics The CPX bus node for EtherCAT contains electrostatically sensitive devices Do not touch any components Observe the handling specifications for e...

Page 13: ...If the LED M of the bus node is permanently lit parameterisation of the CPX terminal is saved locally in the bus node In this case parameterisation is lost if the bus node is replaced Save the require...

Page 14: ...stic interlinking blocks Self tapping screws For metal interlinking blocks Screws with metric thread Both types of screws are enclosed when the bus node is ordered as a single part 1 Check the seal an...

Page 15: ...ensitive devices Do not touch any components Observe the handling specifications for electrostatically sensitive devices 3 2 1 Removing and fitting the cover over the DIL switches You need a TORX scre...

Page 16: ...switch 1 Bus node operating mode 2 DIL switch 2 Diagnostics mode number of I O bytes bootloader 3 DIL switch 3 EtherCAT address of the bus node Fig 3 2 DIL switches on the bus node 3 2 3 Setting the D...

Page 17: ...herCAT network Remote controller DIL 1 1 ON A CPX FEC or CPX CEC integrated into the terminal controls all functions The bus node thereby takes over the connection to the EtherCAT network Tab 3 1 Sett...

Page 18: ...ia gnostics mode requires a reconfiguration A detailed description of the addressing process and various addressing examples for the CPX FB38 mode can be found in the description of the bus node CPX F...

Page 19: ...etting 16 bytes I 16 bytes O for communication of the bus node with the CPX FEC or CPX CEC DIL 2 1 OFF DIL 2 2 ON Reserved for future extensions DIL 2 1 ON DIL 2 2 OFF Tab 3 4 Setting the number of I...

Page 20: ...ble as possible EtherCAT addresses Example Set EtherCAT address 77 DIL switch 3 1 2 3 4 5 6 7 8 DIL switch element 1 2 3 4 5 6 7 8 Switch position ON Off ON ON Off Off ON Off Binary 1 0 1 1 0 0 1 0 Po...

Page 21: ...evice ID of the bus node appears in TwinCAT 3 x under the tab CoE Online Fig 3 4 Explicit Device ID of the bus node TwinCAT 3 x Another way of permanently assigning an EtherCAT address to the bus node...

Page 22: ...T user organisation www ethercat org Note Unauthorised access to the device can cause damage or malfunctions When connecting the device to a network Protect your network from unauthorised access Measu...

Page 23: ...rk connectors Note To comply with degree of protection IP65 IP67 Use Festo plugs Seal unused interfaces Section 3 4 Accessories for the bus node can be found on the Festo website www festo com catalog...

Page 24: ...I Plug of the USB adapter for CPX FMT ISK M122 1 if connection is unused 2 included in the scope of delivery Tab 3 9 Ports plugs and cover caps for degree of protection IP65 IP67 3 5 Voltage supply Wa...

Page 25: ...power supply as well as on the earthing measures to be carried out The CPX terminal is supplied with operating and load power via the manifold base with system addi tional and valve supply The pin all...

Page 26: ...r of inputs and outputs of the modules installed in the CPX terminal The bus node provides the CPX terminal with an address space of up to 64 bytes for inputs I and 64 bytes for outputs O Each module...

Page 27: ...upy 16 inputs and outputs in the address range 4 3 2 Differences in addressing between the modular device profile and fixed I O size Sequence of addressing Modular Device Profile CPX FB37 mode The I O...

Page 28: ...connection and permit access to every entry in the object directory of a node Access these data objects with the help of user programs created according to your specific require ments 4 4 Addressing t...

Page 29: ...P BE CPX FB37 EN 1406NH English 29 Fig 4 1 Writing a new EtherCAT device address 3 Switch the power supply off and back on again cold start The new device address is saved in the EEPROM Fig 4 2 New Et...

Page 30: ...Extensible Markup Language XML The ESI file serves to identify the bus node in the EtherCAT network The ESI file sends basic properties of the EtherCAT device and manufacturer information to the confi...

Page 31: ...SI file has been imported i e after the participant properties have been added to the config uration program the bus node is included as a possible EtherCAT participant You can now integrate the bus n...

Page 32: ...Device Profile MDP Reading the configuration The existing configuration can be read automatically Fig 4 3 Automatic reading of the configuration via the Scan command here in TwinCAT 3 x Doing this det...

Page 33: ...want to operate the bus node whether and in what format the diagnostic messages of the CPX terminal are to be used The following options are available Module designation 1 Operating mode CPX diagnosti...

Page 34: ...onfiguration and programming software Tab 4 3 Diagnostics settings Note The setting of DIL switch 2 must correspond to the diagnostics mode selected here Section 3 2 6 Additional information on CPX di...

Page 35: ...r CPX FEC or a CoDeSys controller CPX CEC in your CPX terminal you can operate the bus node in the Remote Controller operating mode In this mode the bus node provides the control program in the CPX FE...

Page 36: ...CPX terminal with the Festo Software Tools FST 4 via the CPX FEC or with CODESYS provided by Festo via the CPX CEC 3 Start your configuration and programming software e g Beckhoff TwinCAT 4 Open the h...

Page 37: ...AX Instructions on commissioning the pneumatic components can be found in the corres ponding description of pneumatics Caution Changes in parameterisation or application specific parameter settings re...

Page 38: ...parameters Parameterisation of the CPX terminal is saved locally in the bus node and is lost when replaced 1 Parameterisation via EtherCAT Section 4 6 5 Parameterisation is carried out with configura...

Page 39: ...available as objects In contrast to the CPX FB38 mode the parameters in the MDP can be accessed individually and are represented accordingly The parameters objects can be set for example with TwinCAT...

Page 40: ...onitoring short circuit overload of outputs On TRUE Monitoring undervoltage of outputs on TRUE USEN after short circuit overload of sensor supply Switch on again UOUT after short circuit overload of o...

Page 41: ...ystem start parameter stored in the bus node System start with default parameters System start with default parameterisation factory setting and current CPX expansion External parameterisation possibl...

Page 42: ...ttings after replacement 4 7 2 Parameterisation of the fail safe mode This operating mode defines the status which digital output signals outputs and valves are to assume in the event of field bus com...

Page 43: ...H English 43 Example Parameterisation of the fail safe mode with TwinCat 3 x Fig 4 11 Parameterisation of the fail safe mode for all outputs output signals are reset Additional information can be foun...

Page 44: ...to access the web server of the bus node the network settings must be configured Example A PC is connected via a server to the EtherCAT control system via Ethernet The EtherCAT control system has a se...

Page 45: ...P BE CPX FB37 EN 1406NH English 45 2 Specify a fixed IP address on the EtherCAT control system using network adapter 1 connection to the PC Fig 4 13 Specifying a fixed IP address on network adapter 1...

Page 46: ...1406NH English 3 Specify a fixed IP address and subnet mask on the EtherCAT control system using network adapter 2 connection to the bus node Fig 4 14 Specifying a fixed IP address and subnet mask on...

Page 47: ...trol system Fig 4 15 Settings under EtherCAT Advanced Settings EoE Support TwinCAT 3 x 5 Assign the bus node IP address and subnet mask The subnetwork of the bus node must match the subnetwork of netw...

Page 48: ...ded 6 Start the Windows program cmd exe on the PC 7 Enter the following information route add 172 16 0 0 mask 255 255 0 0 192 168 2 10 Fig 4 17 Adding routing settings 8 Open an Internet browser of yo...

Page 49: ...4 Commissioning Festo P BE CPX FB37 EN 1406NH English 49 Fig 4 18 Web server of the bus node...

Page 50: ...website www festo com sp Note Loss of function of the device If the supply voltage fails while the firmware is being written it will result in a loss of function of the bus node Do not interrupt the f...

Page 51: ...OK After downloading the firmware the bus node restarts automatically and switches to the status OPERATIONAL OP The RUN LED illuminates permanently Note In the event of a firmware update in the Remote...

Page 52: ...C or notebook 1 Disconnect the power supply of the CPX terminal and if relevant the compressed air supply 2 Remove the bus node from the EtherCAT network 3 Connect your PC directly to the bus node via...

Page 53: ...ork configuration before using and replacing CPX termin als Check the configured address range If necessary test the I Os Check the address assignment of the I Os on the CPX terminal For this purpose...

Page 54: ...sation of the CPX terminal is not restored auto matically by the higher order controller 1 Before replacing the bus node save the parameterisation of the CPX terminal in a CPX FMT file 2 After replaci...

Page 55: ...rface at I O level which enables access to the internal data of the CPX terminal for this function 16 inputs and 16 outputs 2 byte are available Detailed error recognition the diagnostic data can be p...

Page 56: ...ric modules can be found in the description for the relevant module 5 2 1 LEDs at the bus node CPX FB37 Error PS PL SF Run Error LA X1 M LA X2 PS PL SF Run LA X1 M LA X2 1 2 1 CPX specific LEDs 2 Ethe...

Page 57: ...PS PL SF Run Error LAX1 M LAX2 The following green LEDs illuminate Run PS PL The following green LEDs illuminate or flicker if a network cable is connected LA X11 LA X21 The following red LEDs do not...

Page 58: ...minate short circuit overload 2 Depending on the parameterisation The sensor supply voltage will be switched on again automatically after the short circuit has been eliminated factory setting Power OF...

Page 59: ...r or information error class 1 Description of error numbers in the CPX system description P BE CPX SYS LED flashes 2 ON OFF Error error class 2 LED flashes 3 ON OFF Serious error error class 3 1 The S...

Page 60: ...sion are saved remanently external parameterisation is blocked1 Caution when replacing bus nodes with saved parametrisation When using these bus nodes parameterisation of the CPX terminal is not autom...

Page 61: ...rmware update A firmware update is received LED flashes ON OFF Pre operational Bus node is in the Pre operational status configuration of the EtherCAT network LED flashes 1 1 ON OFF Safe operational B...

Page 62: ...etwork connection interrupted short circuited or disturbed network connection the configuration in particular the physical and logical position and addressing of the bus node LED flashes 1 1 ON OFF Et...

Page 63: ...LED not illuminated ON OFF No physical network connection Check network connection network cable LED illuminated ON OFF Network connection OK LED flickers1 ON OFF Flickering Data transmission is runn...

Page 64: ...utput module 2 Error on input module 3 Error on analogue module or technology module 4 Undervoltage Error type 5 Short circuit overload 6 Wire break 7 Other errors Tab 5 10 Overview of diagnostic info...

Page 65: ...iguration in the sections 4 3 and 4 5 The following table provides an overview of the available diagnostic information Diagnostic data Contents description Global diagnostic data General overview of e...

Page 66: ...the object directory in section A 2 5 5 3 Diagnostics via diagnostics history The 20 most recent diagnostics messages can be called up with the help of the diagnostics object 0x10F3 For every event st...

Page 67: ...cuit E1 CPX error number CPX system description E8 Error code according to DS401 02 02 Flags Number of parameters in the diagnostics message 2 and diagnostics type 2 error message 02 37 Text ID Refere...

Page 68: ...slow 0011 Sync Manager ung ltige Adresse Sync Manager invalid address 0012 Sync Manager ung ltige E A Gr e Sync Manager invalid size 0013 Sync Manager ung ltige Konfiguration Sync Manager invalid sett...

Page 69: ...e diagnostics message The operating mode of the diagnostics message can be read and written in Index 0x10F3 Subindex 5 Bit 4 Value of bit 4 Operating mode 0 Overwrite mode 1 Acknowledge mode Tab 5 15...

Page 70: ...e diagnostic evaluation the bus node offers the option of signaling the existence of a new diagnostic message via process data The object New Message Available can be optionally mapped to the process...

Page 71: ...lable in the Diag History Fig 5 6 New message available Disabling the emergency message The emergency message Section 5 5 4 can be disabled via the diagnostic object 10F3 05 Tab 5 12 Set bit 0 to the...

Page 72: ...5 Diagnostics 72 Festo P BE CPX FB37 EN 1406NH English Fig 5 7 Disabling the emergency message in TwinCAT 3 x...

Page 73: ...er index 1002 Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Error code Error register Status bits CPX module no CPX error no reserved additional error inf Index 1001 Index 1002 manufacturer...

Page 74: ...ror register index 1001 with bit assignment according to DS301 401 Further diagnostic information is provided by the CPX terminal in bytes 3 6 of the emergency object manufacturer status register inde...

Page 75: ...ameterised fail safe setting and the configured reaction of the controller i e of the PLC the IPC or the user program Stop of the controller of the master Network interruption Telegram failure Dependi...

Page 76: ...tate Note Take into account valve behaviour as part of the EMERGENCY OFF concept or of the fail safe setting If the outputs are reset when the controller stops or in case of network interruption teleg...

Page 77: ...f PELV circuits Protected Extra Low Voltage Module code CPX specific Remote I O 224 2 Remote controller 171 2 Module code in operator unit MMI Remote I O FB37 RIO EtherCAT remote I O Remote controller...

Page 78: ...les list the objects of the communication profile CoE communication protocol These objects are described in the EtherCAT configuration file ESI file The following abbreviations are used RO read only R...

Page 79: ...xx TxPDO U8 yy RO yy Input mapping yy U32 0x60xx yy s RW 0x1A40 0 Diag History TxPDO U8 1 RO 1 Input mapping 01 U32 0x10F3 00 1 RW 0x20xx 0 Module parameter module xx U8 xy RO yy Parameter yy depends...

Page 80: ...ule inputs U8 xx RO yy Input yy RO P 0x70xx 0 Module outputs U8 xx RO yy Output yy RW P 0xF000 0 Modular Device Profile U8 2 RO 1 Index distance U8 1 RO 2 Maximum number of modules U16 48 RO 0xF050 0...

Page 81: ...tings U8 2 RO 1 Local error reaction U32 RO 2 Sync error counter limit U32 RO 0x10F3 0 Diagnostics history U8 RO 1 Maximum messages U8 20 RO 2 Newest message U8 RO 3 Newest acknowledged message U8 RW...

Page 82: ...W 64 Settings byte 63 U8 RW 0x8100 0 Global CPX settings U8 8 RO 1 Filter alarm Vout Vsen U8 0x00 RW 2 Monitor SCS BOOL TRUE RW 3 Monitor SCO BOOL TRUE RW 4 Monitor Vout BOOL TRUE RW 5 Monitor Vven BO...

Page 83: ...ings EoE Ethernet over EtherCAT mailbox protocol ESI EtherCAT slave information EtherCAT An industrial Ethernet based fieldbus system for data exchange between the system controller PLC IPC equipment...

Page 84: ...e according to EtherCAT specification ETG 5001 O Output Operator unit MMI Handheld terminal handheld CPX MMI for CPX modules for commissioning and service purposes man machine interface MMI PLC Progra...

Page 85: ...EC 35 D Data field size 19 Data objects 28 Degree of protection IP65 IP67 24 Device address 28 Device position 28 Diagnostics Diagnostic data I O diagnostics interface 65 Diagnostic information status...

Page 86: ...te mode 68 P Parameterisation 37 Introduction 37 Methods 38 via EtherCAT 39 with the Festo Maintenance Tool FMT 38 with the operator unit CPX MMI 38 PELV 24 Pin allocation Fieldbus interface 23 Plug 2...

Page 87: ......

Page 88: ...tion is prohibited Offenders will be liable for damages All rights re served in the event that a patent utility model or design patent is registered Copyright Festo SE Co KG Postfach 73726 Esslingen G...

Reviews: