Beckhoff CU2508 Documentation

Beckhoff CU2508 Documentation

Real-time ethernet port multiplier
Table of Contents

Advertisement

Quick Links

Documentation
CU2508
Real-time Ethernet port multiplier
Version:
Date:
2.6
2020-05-19

Advertisement

Table of Contents
loading

Summary of Contents for Beckhoff CU2508

  • Page 1 Documentation CU2508 Real-time Ethernet port multiplier Version: Date: 2020-05-19...
  • Page 3: Table Of Contents

    Introduction ........................ 48 4.3.2 Configuration of the Publisher .................. 49 4.3.3 Configuration of the Subscriber .................. 52 4.3.4 Beckhoff network variables - Settings................ 56 5 Appendix .............................. 65 ESL Protocol............................ 65 Firmware Update .......................... 65 Firmware compatibility ........................ 73 Support and Service ........................ 74 Real-time Ethernet port multiplier...
  • Page 4 Table of contents Version: 2.6 Real-time Ethernet port multiplier...
  • Page 5: Foreword

    EP1590927, EP1789857, EP1456722, EP2137893, DE102015105702 with corresponding applications or registrations in various other countries. ® EtherCAT is registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany. Copyright © Beckhoff Automation GmbH & Co. KG, Germany. The reproduction, distribution and utilization of this document as well as the communication of its contents to others without express authorization are prohibited.
  • Page 6: Safety Instructions

    All the components are supplied in particular hardware and software configurations appropriate for the application. Modifications to hardware or software configurations other than those described in the documentation are not permitted, and nullify the liability of Beckhoff Automation GmbH & Co. KG. Personnel qualification This description is only intended for trained specialists in control, automation and drive engineering who are familiar with the applicable national standards.
  • Page 7: Documentation Issue Status

    - Corrections, 1 public issue - Preliminary documentation for CU2508 Version identification of EtherCAT devices Designation A Beckhoff EtherCAT device has a 14-digit designation, made up of • family key • type • version • revision Real-time Ethernet port multiplier...
  • Page 8 Production lot/batch number/serial number/date code/D number The serial number for Beckhoff IO devices is usually the 8-digit number printed on the device or on a sticker. The serial number indicates the configuration in delivery state and therefore refers to a whole production batch, without distinguishing the individual modules of a batch.
  • Page 9: Fig. 1 El5021 El Terminal, Standard Ip20 Io Device With Serial/ Batch Number And Revision Id (Since 2014/01)

    Foreword y - hardware version of the bus PCB z - firmware version of the I/O PCB u - hardware version of the I/O PCB Example: D.22081501 calendar week 22 of the year 2008 firmware version of bus PCB: 1 hardware version of bus PCB: 5 firmware version of I/O PCB: 0 (no firmware necessary for this PCB) hardware version of I/O PCB: 1 Unique serial number/ID, ID number...
  • Page 10: Fig. 3 Cu2016 Switch With Serial/ Batch Number

    Foreword Fig. 3: CU2016 switch with serial/ batch number Fig. 4: EL3202-0020 with serial/ batch number 26131006 and unique ID-number 204418 Fig. 5: EP1258-00001 IP67 EtherCAT Box with batch number/ date code 22090101 and unique serial number 158102 Fig. 6: EP1908-0002 IP67 EtherCAT Safety Box with batch number/ date code 071201FF and unique serial number 00346070 Version: 2.6 Real-time Ethernet port multiplier...
  • Page 11: Fig. 7 El2904 Ip20 Safety Terminal With Batch Number/ Date Code 50110302 And Unique Serial Num- Ber 00331701

    Foreword Fig. 7: EL2904 IP20 safety terminal with batch number/ date code 50110302 and unique serial number 00331701 Fig. 8: ELM3604-0002 terminal with unique ID number (QR code) 100001051 and serial/ batch number 44160201 Real-time Ethernet port multiplier Version: 2.6...
  • Page 12: Beckhoff Identification Code (Bic)

    1.4.1 Beckhoff Identification Code (BIC) The Beckhoff Identification Code (BIC) is increasingly being applied to Beckhoff products to uniquely identify the product. The BIC is represented as a Data Matrix Code (DMC, code scheme ECC200), the content is based on the ANSI standard MH10.8.2-2016.
  • Page 13 Example of composite information from item 1 to 4 and 6. The data identifiers are marked in red for better display: An important component of the BIC is the Beckhoff Traceability Number (BTN, item no. 2). The BTN is a unique serial number consisting of eight characters that will replace all other serial number systems at Beckhoff in the long term (e.g.
  • Page 14: Product Overview

    CU2508 is used in applications in which several Ethernet ports are required that need to be realized externally to the PC. TwinCAT 2.11 supports the CU2508 and avoids the need for further network ports at the PC. For extremely high demands, an EtherCAT installation can, for example, be distributed or expanded to up to eight strands in order to multiply the performance.
  • Page 15: Technical Data

    [} 28] Technology Introduction As a port multiplier that is as transparent as possible, the CU2508 extends one Gbit Ethernet port on the controller to 8 FastEthernet ports in the field. It transports IEEE802.3 conformant Ethernet frames with arbitrary contents.
  • Page 16: Fig. 11 Principle Cu2508 Topology

    EtherCAT protocol – in this case a CU2508 device is visible as the first slave in the configuration. Each materially existent I/O system on the field side must therefore match a logical master component in the controller.
  • Page 17 ESL protocol from the CU2508 and forwards the user data to the application. Therefore, no extra telegram containing control data is sent to/from the CU2508 for the handling of the user data; instead, the user data generated by user programs are supplemented by several bytes of control and information data for the connection between controller and CU2508.
  • Page 18: Fig. 13 Cu2508 Downlink Delay

    Product overview • The CU2508 has an internal delaying data buffer for each port, due to the different transport speed • TwinCAT sends the Gbit frames for X9 serially (one after another) via the GBIT/ESL connection. The GBit frame lengths can be of a magnitude that is significant in the context of short TwinCAT cycle times! •...
  • Page 19: Fig. 14 Cu2508 Uplink Delay

    (receiving port, time) and forwarded to the controller via the uplink. The local hardware-based clock in the CU2508 then controls the sending of the frames with a high temporal quality. In this way, the CU2508 permits the construction of a real-time Ethernet network (TwinCAT Publisher/Subscriber, Ethernet/IP, Profinet etc.), even if the control device cannot guarantee hard real-time...
  • Page 20: Fig. 15 Different Ip Data Traffic Depending On The Setting

    Product overview dedicated CU2508 port or feed it into the virtual EtherCAT EoE “switch”. Also compare the documentation for the EL6601/EL6614 here. The selection is made in the settings in the System Manager. Either the specific CU2508 port or generally EoE can be selected via "TCP/IP Port".
  • Page 21: Fig. 16 Use Of The Cu2508 As An Ethercat Cable Redundancy Star Point

    • Use of TCP/IP without real-time [} 40] A downlink port on the CU2508 can be configured as a non-real-time Ethernet port, or the CU2508 works in the Ethernet over EtherCAT (EoE) network and forwards TCP/IP frames from the connected EtherCAT systems.
  • Page 22: Start

    If a "large" IO system is operated in EtherCAT redundancy mode, it is advisable to use ports 1 and 5. The memory situation found is occasionally reported by TwinCAT with "Cu2508 fifo sizes...": Fig. 19: Message relating to CU2508 fifo sizes...
  • Page 23: Mounting And Wiring

    Dimensions Dimensions without plugs (W x H x D) • CU2508: approx. 146.5 mm x 100 mm x 38 m Space requirement in the control cabinet • The RJ45 connector increase the depth depending on their design and the Ethernet cable used.
  • Page 24: Mounting And Demounting

    Mounting and wiring Mounting and demounting The CU2xx switches are mounted on the mounting surface with the aid of a 35 mm DIN rail  (mounting rail according to EN 60715). Mounting • Fit the mounting rail to the planned assembly location. • Suspend the switch on the mounting rail with the spring on the lower side of its latching flange. •...
  • Page 25: Diagnostic Leds

    Mounting and wiring Fig. 22: Removal 3.2.1 Diagnostic LEDs The CU2508 has 4 diagnosis LEDs. Fig. 23: CU2508 front view The CU2508 currently has no further diagnostic features. Cabling Power supply Pin configuration of the spring loaded terminal Fig. 24: CU20xx_PowerClamp Real-time Ethernet port multiplier...
  • Page 26: Fig. 25 Pin Configuration Of The Rj45 Sockets

    Mounting and wiring UL requirements • from an isolated source protected by a fuse of max. 4A (according to UL248) or • from a voltage supply complying with NEC class 2. • An NEC class 2 voltage source must not be connected in series or parallel with another NEC class 2 voltage source! These requirements apply to the supply of all Bus Cou- plers, power supply terminals, Bus Terminals and their power contacts.
  • Page 27: Leds And Connection

    The CU2508 has 4 diagnosis LEDs. Fig. 26: CU2508 front view LEDs Color Meaning green This LED indicates the operating state of the CU2508 running as an EtherCAT device State of the EtherCAT State Machine: INIT = initialization of the terminal or BOOTSTRAP flashing...
  • Page 28: Ul Notice

    Beckhoff EtherCAT modules are intended for use with Beckhoff’s UL Listed EtherCAT Sys- tem only. Examination For cULus examination, the Beckhoff I/O System has only been investigated for risk of fire and electrical shock (in accordance with UL508 and CSA C22.2 No. 142). For devices with Ethernet connectors Not for connection to telecommunication circuits.
  • Page 29: Commissioning

    Fig. 29: Selection of the MultiplerProtocolHandler Now select the Gbit uplink port used for the CU2508. You can only select ports on which the Beckhoff real- time driver is installed/activated. <none> can also be selected if the port is to be selected later.
  • Page 30: Fig. 31 Installation Of The Beckhoff Real-Time Driver

    The number of necessary ports must be set in the port mask (A). The TCP/IP mode of operation is also to be set (B); "via EoE" must be set for pure EtherCAT operation. Refer here to the Notes on TCP/IP settings [} 40]. In each case the ESL protocol must be activated for the CU2508 on this Gbit port (C). Version: 2.6...
  • Page 31: Fig. 33 Number Of Adapters

    Commissioning Fig. 33: Number of adapters The CU2508 has no separate diagnostic variables, since it is designed to be as transparent an infrastructure device as possible. In the following • individual downlink ports can now be assigned to protocols • the TCP/IP behavior of the CU2508 can be set Diagnosis The TwinCAT System Manager provide several information about the online operation.
  • Page 32: Port Definition Twincat 2.11

    • Configuration settings under TwinCAT 2.11R2 [} 33] • Distributed Clocks behavior [} 35] • EoE settings [} 36] A downlink port of the CU2508 is set up as an EtherCAT device. The correct setup of the CU2508 [} 29] device is assumed. Notes on the EtherCAT device •...
  • Page 33: Fig. 36 Creating An Ethercat Device

    The device "Device 2 (EtherCAT)" is now connected, according to the adapter reference, not to a physical Ethernet port of the controller, but to a logical adapter reference of the CU2508. This assignment can also be changed later. The freerun cycle time in the TwinCAT ConfigMode is shown here for the adapter.
  • Page 34: Fig. 39 Adapter Setting For The Ethercat Device

    Scanning of the EtherCAT configuration is also possible from this state onwards. Creating a CU2508 box The CU2508 downlink port appears as an EtherCAT slave and can be scanned or created manually. Fig. 40: Appending a CU2508 EtherCAT slave If creating manually, the “CU2508 Ethernet port” CU2508-0000 must be selected. The check box "ExtendedInformation"...
  • Page 35: Fig. 41 Appending Further Ethercat Slaves

    Fig. 42: EtherCAT Distributed Clocks reference If the CU2508 port is to be used as the ReferenceClock in a system, the setting "Use as potential ReferenceClock" must be changed; see fig. CU2508 slave - Distributed Clocks setting.
  • Page 36 EoE settings (Ethernet over EtherCAT) If devices with EoE support are used in a lower-level EtherCAT system, this affects the settings of the EoE switch in the CU2508 if this is configured for EoE transport. Refer to the Notes pages on TCP/IP traffic [} 40].
  • Page 37: Setting Up: Device Ethercat With Cable Redundancy

    4.2.2 Setting up: Device EtherCAT with cable redundancy If a downlink port of the CU2508 has been set up as an EtherCAT device, a further port can be used as a 2 EtherCAT port for the purpose of cable redundancy.
  • Page 38 Commissioning Setting up EtherCAT cable redundancy The EtherCAT configuration must be created on a CU2508 downlink port as described in the chapter "Setup: Device EtherCAT [} 32]". The resulting topology can be displayed in the Device EtherCAT using the Topology button; see fig. Display of a simple EtherCAT topology.
  • Page 39 CU2508 Number of ports A corresponding number of ports must be set to available in the settings for the CU2508 adapter. After specifying the redundancy adapter, it must be checked whether the System Manager has selected the correct EtherCAT slave port as the field-side connection point, see fig.
  • Page 40: Setting Up: Device Ethernet And Tcp/Ip Notes

    This procedure is usable only for connected EtherCAT circuits. The setting is made in the Ports tab for the CU2508 and does not change the mode of operation of the CU2508, but only the handling of TCP/IP Frames in the CU2508 driver.
  • Page 41 In the example in fig. Declaration of a CU2508 downlink port as a TCP/IP port, the address area is under the IP mask 255.255.0.0; therefore, all devices must have an IP address from the area 192.168.x.x.
  • Page 42 192.168.1.1 and 172.168.1.1, which each lie in the mask 255.255.0.0. This function is activated with "IP Enable Router" (fig. Flow of data when using the CU2508 as an EoE switch, B). It is also available under Windows CE (CXconfig tools).
  • Page 43: Setting Up: Real-Time Ethernet (Publisher/Subscriber, Eap Push)

    • Setting up the device [} 43] Notes on the device • An EAP adapter must be created in the configuration in order to operate a CU2508 downlink port as a publisher/subscriber device of EAP real-time Ethernet telegrams ("network variables"). • Attention is to be paid to the general notes on the EAP/Publisher/Subscriber procedure [} 48].
  • Page 44 If not all devices are offered, the target platform can be selected via TargetType. Not an actual port of the PC, but rather a virtual adapter of the CU2508 is then merely selected as the Ethernet adapter for the CU2508.
  • Page 45: Setting Up: Real-Time Ethernet (Bk90Xx, Ads/Raw, Eap Polling)

    Fig. 59: Creating a new device Fig. 60: Selection of the device for BK90xx and others Not an actual port of the PC, but rather a virtual adapter of the CU2508 is then merely selected as the Ethernet adapter for the CU2508.
  • Page 46: Setting Up: Profinet Controller/Device

    Commissioning Fig. 61: Selection of the CU2508 port to be used The number of available ports (in this case 7) depends on the settings of the CU2508 device (see there). Fig. 62: Adding the Ethernet devices Subsequently the required Ethernet couplers/boxes/drives can be manually added or scanned. Before a scan TwinCAT should be restarted once in the Config/FreeRun mode.
  • Page 47 Setting of the PROFINET Device or Controller adapter Once the CU2508 has been activated as Multiple Protocol Handler in the system and the relevant ports have been enabled, you can select an "Adapter Referent" under the "Adapter" tab for the Controller or the Device.
  • Page 48: Configuration: Ethernet/Ip

    Commissioning 4.2.7 Configuration: Ethernet/IP Ethernet/IP is currently (2020) not supported. Beckhoff EAP network variables 4.3.1 Introduction Network variables are any variables that are cyclically exchanged between PC/CX1000 via TwinCAT. Variables with any data types, including complex types, can be exchanged. The Publisher/Subscriber model is used.
  • Page 49: Configuration Of The Publisher

    Commissioning Multicast The Publisher makes the network variable available to selected PCs. Broadcast The Publisher makes the network variable available to all PCs. 4.3.2 Configuration of the Publisher In the TwinCAT System Manager, a new box is added for the Publisher under the RT Ethernet device. Insert a Publisher Box A Publisher box must be added under the RT Ethernet device.
  • Page 50 Commissioning Fig. 67: Insert a Network Variable Inputs and outputs were created under the added variable. Fig. 68: Displaying the inputs and outputs of the added Publisher box The FrameState input under the box indicates the current status of the sent Ethernet frames. The following values are possible for the FrameState: Short description Value...
  • Page 51 Commissioning A Control Word can be written in the FrameCtrl output under the box. The following values are possible for FrameCtrl: Short description Value Description Disable sending 0x0001 Sending of a frame is interrupted. Sending of the frame does not restart until the value is 0 again.
  • Page 52: Configuration Of The Subscriber

    Commissioning 4.3.3 Configuration of the Subscriber In the TwinCAT System Manager, a new box is added for the Subscriber under the RT Ethernet device. Adding a Subscriber box and linking the network variables A Subscriber box must be added under the RT Ethernet device. Fig. 70: Insert a Subscriber box under the RT Ethernet device Fig. 71: "Insert Box"...
  • Page 53 Commissioning Fig. 72: Creating the network variable under the Subscriber box Fig. 73: Adding a network variable The link to a Publisher variable can be created automatically. First, you need to find the Publisher computer. All variables of this Publisher are then shown in a list. Real-time Ethernet port multiplier Version: 2.6...
  • Page 54 Commissioning Fig. 74: "Import Network Variable" dialog - display of Publisher variables Inputs and outputs were created under the added variable. Fig. 75: Display of created inputs and outputs The FrameState input and the FrameCtrl output under the box indicate the current status (or control) of the received Ethernet frames. FrameState and FrameCtrl are reserved and are currently not supported.
  • Page 55 Commissioning The VarState input and the VarCtrl output under the network variable indicate the current status (or control) of the received network variable. VarState and VarCtrl are reserved and are currently not supported. Quality of the network variables The quality of a network variable is assessed on the Subscriber side. Two input variables are available for this purpose under the network variable.
  • Page 56: Beckhoff Network Variables - Settings

    Beckhoff network variables - Settings Beckhoff network variables (NWV) can be used for cyclic or acyclic sending of data between Windows-based PCs. In a device declared as a publisher (sender), such a network variable is received on the other side by a subscriber declared as the same type.
  • Page 57 Please note the following information in order to decide whether you have to serve the variable Cy- cleIndex. Basic principles of Beckhoff network variables • Quality: Time in [100 µs] by which arrival of the NWV at the Publisher was delayed.
  • Page 58 Commissioning • Variable ID The variable ID (16 bit) is used for global identification of the individual process data. Therefore, an ID in the Publisher or Subscriber group may only be used once within a TwinCAT device, see Fig. Example for communication via network variables: Publishers 1 and 2 on PC1 must have different IDs (10 and 8), although the same ID (8) may be used in Publisher 2 and Subscriber 1.
  • Page 59 • On a PC network interface, see Fig. Publisher settings - RT Ethernet • on an EL66xx, see Beckhoff network variables - Settings [} 56] The following settings options are available in the Beckhoff System Manager TwinCAT 2.10 build 1328: Real-time Ethernet port multiplier...
  • Page 60 • Multicast: A destination MAC address becomes a multicast address if the first bit in the first byte of the MAC (the so-called group bit) is set. With the Beckhoff ID "00 01 05" the default target address "01 01 05 04 00 00"...
  • Page 61 Commissioning Fig. 82: Publisher settings - UDP/IP UDP/IP settings - the addressing technique of the IP network layer with IP addresses is used. UDP is a connection-less protocol without feedback. • Broadcast: Sent to all device with destination IP (v4) 255.255.255.255 •...
  • Page 62 Commissioning Advanced Settings: • "ARP Retry Interval": In order to ascertain the presence of the recipient, the publisher sends an ARP request to the target device at these intervals. If the network administration of the recipient is operational, it sends an ARP reply. This is only meaningful with unicast. In the event of an error bit 3 is set (0x0004) in the diagnostic FrameState variable.
  • Page 63 Commissioning Subscriber, Box Fig. 84: Subscriber settings Settings: • "Receiving Options": Only permits NWVs from a certain publisher for this subscriber • "Multicast Configuration": ditto Process data: •   "VarId": If activated, the variable ID can be modified online Subscriber, variable Fig. 85: Subscriber variable settings Real-time Ethernet port multiplier Version: 2.6...
  • Page 64 Commissioning Settings: • "Variable ID": Only permits NWVs with a certain ID for this subscriber. Can be changed dynamically via PLC where appropriate • "Ignore Data Type Hash": Hash calculation is currently not supported Process data: • "Quality": See explanatory notes above •...
  • Page 65: Appendix

    Appendix ESL Protocol The EtherCAT Switch Link protocol (ESL) from Beckhoff is a simple extension for the control of EtherCAT infrastructure components. It is currently used (as of 2010) for the operation of the ET2000 Industrial Ethernet Multichannel Probe and the CU2508.
  • Page 66 3. Installation of the CU2508 Connect the CU2508 with its uplink to an Ethernet port on the master PC and connect the power supply. The port must be set up as a real-time port with the Beckhoff TwinCAT driver. The downports X1..8 must not be connected.
  • Page 67 Appendix Fig. 92: Selection of the Ethernet adapter If the adapter you want is not visible, then the Beckhoff real-time driver is not yet installed on this adapter. Now append the CU2508. Fig. 93: Right mouse click, Append device If the device name is entered in the search mask (A) the overview is reduced in size. Activate the check boxes "ExtendedInformation"...
  • Page 68 Appendix Fig. 95: Online configuration Instruction TwinCAT 3: The procedure is the same as for TwinCAT 2: add the "CU2508 Configuration Port" to the selected EtherCAT adapter. Fig. 96: Append Configuration Port Then check that it is operating correctly: • No Lost frames •...
  • Page 69 ESI Revision When the system is running in ConfigMode, the revision found can be displayed by scan: Fig. 98: Display revision after scan If the connected CU2508 carries a different revision, the following is displayed: Real-time Ethernet port multiplier Version: 2.6...
  • Page 70 Controller firmware (*.efw) Select device CU2508 (A); the online CoE directory of the device is displayed in the CoE-Online tab (B); the firmware version (in this case 01) is displayed in the index 0x100A (D). Note that in (C) “OnlineData” (green) is displayed.
  • Page 71 6. Firmware and ESI Update On the basis of fig. Online configuration, if communication is working perfectly, an update of ESI, controller and FPGA firmware can be performed by right-clicking on the CU2508 device. Fig. 102: Update by right-clicking ESI/XML- update The ESI *.xml can also be overwritten by "EEPROM Update".
  • Page 72 Appendix Display of the revision CU2508 slaves Only the ConfigurationPort of the CU2508 is described with an updated ESI, if necessary. This is used to set some of the CU2508's properties. The CU2508 slaves running in regular EtherCAT op- eration always report with revision 0000 and cannot be programmed separately.
  • Page 73: Firmware Compatibility

    Note • It is recommended to use the newest possible firmware for the respective hardware • Beckhoff is not under any obligation to provide customers with free firmware updates for delivered products. NOTE Risk of damage to the device! Pay attention to the instructions for firmware updates on the separate page [} 65].
  • Page 74: Support And Service

    Beckhoff's branch offices and representatives Please contact your Beckhoff branch office or representative for local support and service on Beckhoff products! The addresses of Beckhoff's branch offices and representatives round the world can be found on her internet pages: http://www.beckhoff.com You will also find further documentation for Beckhoff components there.
  • Page 75 +49 5246 963 157 Fax: +49 5246 963 9157 e-mail: support@beckhoff.com Beckhoff Service The Beckhoff Service Center supports you in all matters of after-sales service: • on-site service • repair service • spare parts service • hotline service Hotline: +49 5246 963 460...
  • Page 76 Fig. 16 Use of the CU2508 as an EtherCAT cable redundancy star point ..........Fig. 17 Use of the CU2508 as an Ethernet multi-protocol handler with EtherCAT and TCP/IP ....Fig. 18 Use of the CU2508 as an EtherCAT real-time environment............
  • Page 77 Setting the TCP/IP operating mode ..................... Fig. 52 Declaration of a CU2508 downlink port as a TCP/IP port............Fig. 53 Flow of data when using the CU2508 as an EoE switch ............. Fig. 54 EoE switch settings........................Fig. 55 Creating a new device .........................
  • Page 78 Selection of the device "EtherCAT" ..................... Fig. 92 Selection of the Ethernet adapter ....................Fig. 93 Right mouse click, Append device....................Fig. 94 Selection of the CU2508-0000 configuration port................ Fig. 95 Online configuration........................Fig. 96 Append Configuration Port ......................Fig. 97 Check for lost frames and State: OP ...................

Table of Contents