background image

4

Commissioning

28

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

4.3.3

Data access (data objects)

Asynchronous information can be exchanged with the EtherCAT devices via a mailbox mechanism.

Known data object models are used in part here, e. g. CoE (CAN over EtherCAT).

EtherCAT devices (I/O devices) have an object directory with all accessible objects.

An EtherCAT system can be configured by accessing the object directory of the individual participants.

The access mechanism is provided by Service Data Objects (SDOs).

There are two different communication mechanisms in an EtherCAT system.

The

Process Data Objects

(PDO) provide fast transfer of process data and are transmitted by simple

EtherCAT messages with no protocol overhead. Process Data Objects may be transmitted based on

event control, synchronised to a system clock, or on request.

The

Service Data Objects

(SDO) form a point-to-point 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 the devices

The higher-order controller is responsible for addressing the individual modules: The EtherCAT master

determines the position of the EtherCAT devices within the network.

The controller uses the following for local addressing:

The physical position of the device in the EtherCAT network (“Auto Increment Address”)

An independent EtherCAT device address (“EtherCAT Address”).

4.4.1

Assigning an independent EtherCAT device address via DIL switch

The bus node can be assigned an EtherCAT address using DIL switch 3 (

Section 3.2.9).

4.4.2

Assigning an independent EtherCAT device address using the configuration tool

The EtherCAT device address can be changed in the EEPROM using the configuration tool

(e.g. TwinCAT 3.x).

1. Remove the bus node from the EtherCAT network.

2. Write the new address into the EEPROM (

Fig. 4.1).

EtherCAT

Advanced Settings

ESC Access

Configured Station Alias

Содержание CPX-FB37

Страница 1: ...Bus node CPX FB37 Description Network protocol EtherCAT 8029675 1406NH 8029664 Terminal CPX...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 49: ...4 Commissioning Festo P BE CPX FB37 EN 1406NH English 49 Fig 4 18 Web server of the bus node...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 72: ...5 Diagnostics 72 Festo P BE CPX FB37 EN 1406NH English Fig 5 7 Disabling the emergency message in TwinCAT 3 x...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 87: ......

Страница 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...

Отзывы: