Beckhoff CX8093 Documentation

Embedded pc for profinet
Hide thumbs Also See for CX8093:

Advertisement

Documentation
CX8093
Embedded PC for PROFINET
Version:
Date:
1.6
2018-02-09

Advertisement

Table of Contents
loading

Summary of Contents for Beckhoff CX8093

  • Page 1 Documentation CX8093 Embedded PC for PROFINET Version: Date: 2018-02-09...
  • Page 3: Table Of Contents

    Safety instructions ..........................  9 3 Transport and storage .......................... 11 4 Product overview............................. 12 CX80xx - System overview...................... 12 CX8093 - Introduction........................ 14 Technical data .......................... 15 Technical data – Profinet ...................... 16 CX80xx - MicroSD cards ...................... 17 5 Mounting and wiring .......................... 18 Mounting ............................
  • Page 4 9 Error handling and diagosis........................ 61 LED displays.......................... 61 10 Appendix .............................. 64 10.1 First steps .............................  64 10.2 Image Update .......................... 69 10.3 Certification...........................  71 10.3.1 Ex ............................. 71 10.3.2 FCC.......................... 72 10.3.3 UL............................. 72 10.4 Support and Service ........................ 73 Version: 1.6 CX8093...
  • Page 5: Notes On The Documentation

    EP0851348, US6167425 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: Explanation Of Symbols

    Damage to the devices or environment Note this warning. Risk of damage to the environment and equipment. Attention Symbols indicating further information or tips: Tip or pointer This symbol indicates information that contributes to better understanding. Note Version: 1.6 CX8093...
  • Page 7: Documentation Issue Status

    • Chapter „For your safety“ added • ATEX warnings added • Chapter “Transport and storage“ added • Chapter “FCC” added • Warnings for Ex area revised • Chapter “IECEx” added Image Version CX8093 Firmware Description Build 2229 • First version CX8093...
  • Page 8: For Your Safety

    Beckhoff Automation GmbH & Co. In addition, the following actions are excluded from the liability of Beckhoff Automation GmbH & Co. KG: • Failure to comply with this documentation.
  • Page 9: Staff Qualification

    For your safety Staff qualification All operations involving Beckhoff software and hardware may only be carried out by qualified personnel with knowledge of control and automation engineering. The qualified personnel must have knowledge of the administration of the Embedded PC and the associated network.
  • Page 10 • The sensitivity of an Embedded PC against malicious software increases with the number of installed and active software. • Uninstall or disable unnecessary software. Further information about the safe handling of networks and software can be found in the Beckhoff Information System: http://infosys.beckhoff.com...
  • Page 11: Transport And Storage

    Embedded PC in a dry environment at a temperature between 0 °C and 30 °C. The preset date and time are lost if the battery is removed. • Store the Embedded PC in the original packaging. CX8093 Version: 1.6...
  • Page 12: Product Overview

    Microsoft Windows CE is used as the operating system. In the absence of a monitor port, the operating system and its "virtual" display can only be accessed via the network. As for all other Beckhoff devices, the TwinCAT software is used for system configuration and the programming of the PLC functionality. The CX80xx target device features a pre-installed TwinCAT PLC runtime environment.
  • Page 13 The CX80xx controller is programmed according to the high-performance IEC 61131-3 standard. As with all other Beckhoff controllers, the TwinCAT automation software is the basis for parameterization and programming. Users therefore have the familiar TwinCAT tools available, e.g. PLC programming interface, System Manager and TwinCAT Scope.
  • Page 14: Cx8093 - Introduction

    Product overview CX8093 - Introduction The CX8093 is a controller with a switched PROFINET port. Alternatively K-bus or E-bus terminals can be series-connected; the CX8093 automatically detects which type of terminal is connected during the start-up phase. The control system is programmed with TwinCAT via the fieldbus interface or the additional Ethernet interface.
  • Page 15: Technical Data

    EN 60068-2-6 / EN 60068-2-27 EMC immunity/emission conforms to EN 61000-6-2 / EN 61000-6-4 Protection class IP20 System data PROFINET (CX8093) Number of I/O modules depending on controller Number of I/O points depending on controller Transmission medium 4 x 2 twisted pair copper cable; category 5 (100...
  • Page 16: Technical Data - Profinet

    Product overview Technical data – Profinet Technical data Ethernet CX8093 Number of ports integrated switch 2 x Ethernet 10/100 MBit/s, 1 x USB device (behind the front flap) Bus interface 2 x RJ45 (switched) Transmission PROFINET, 100 Mbit/s, full duplex...
  • Page 17: Cx80Xx - Microsd Cards

    In the basic version the CX80xx contains a MicroSD card with 512 MB. You can order it as an option with larger cards (up to 8 GB). The cards employed are SLC memory with extended temperature range for industrial applications. Use exclusively MicroSD cards approved by Beckhoff. Example of a MicroSD card: Order identifier...
  • Page 18: Mounting And Wiring

    Dimensions The following drawings show the dimensions of the CX80xx Embedded PCs. Dimensions     Drawings in various CAD formats can be found at: http://www.beckhoff.de/german/download/cx1000.htm 5.1.2 Installation on mounting rails Snapping onto the mounting rail The CX80xx can simply be snapped onto the mounting rail. To this end simply position the block on the mounting rail and push it slightly until it engages on the right-hand side.
  • Page 19 Mounting and wiring Avoid damage! Do not force the module or apply excessive pressure! Attention Permissible installation positions and minimum distances Installation positions Installation position up to 55 °C CX8093 Version: 1.6...
  • Page 20 Ventilation openings are located at the top and bottom of the housing. The system therefore has to be installed horizontally. This ensures optimum air flow. Installation positions with reduced temperature range up to 45 °C Other installation positions are permitted with a temperature range up to 45 °C. Version: 1.6 CX8093...
  • Page 21: Wiring

    Embedded PC and connect or dis- connect Bus Terminals. This power supply unit is equipped with an I/O interface, which permits connection of the Beckhoff Bus Terminals. The power is supplied via the upper spring-loaded terminals with the designation 24 V and 0 V.
  • Page 22 The left LED (Us) indicates the CPU supply. The right LED (Up) indicates the terminal supply. The other LEDs indicate the Terminal Bus status. A detailed description of the LEDs can be found in section "LED troubleshooting". Version: 1.6 CX8093...
  • Page 23: Ethernet

    10Base2 (Cheaper net) is a further development of 10Base5, and has the advantage that the coaxial cable is cheaper and, being more flexible, is easier to lay. It is possible for several devices to be connected to one 10Base2 cable. It is frequent for branches from a 10Base5 backbone to be implemented in 10Base2. CX8093 Version: 1.6...
  • Page 24 This identification refers to a cable with a screen for each of the two wires as well as an outer shield. Industrial Twisted-Pair The structure is similar to that of S/STP, but, in contrast to S/STP, it has only one pair of conductors. Version: 1.6 CX8093...
  • Page 25: Changing The Battery

    • Step 5: Close the flap again Battery type Technical data Duracell 303/357 SR44 1.5 V / 165 mAh Battery maintenance The battery must be replaced every 5 years. Spare batteries can be ordered from Beckhoff Service. Note CX8093 Version: 1.6...
  • Page 26: Parameterizing And Commissioning

    DIP switches. Ten-pole DIP switch S101 The DIP switch has the following meaning for the Ethernet interfaces X101 and X102 which are switched: Left OFF (0), right ON (1). Version: 1.6 CX8093...
  • Page 27 If the DIP switches 9 and 10 are set to ON up to GSDML version 2.3 the default name is build out of "cx8093-" and the setting of DIP switch 1 to 8. For this at minimum one of the Note DIP switches 1 to 8 has to be set to ON.
  • Page 28: Setting The Ip Address

    Setting the IP address 6.2.1 IP addresses The CX8093 has two Ethernet interfaces that are visible to the operating system - X001 and X101/102. IP addresses Make sure that the IP address of the PROFINET interface (X101/102) and the IP address...
  • Page 29: Subnet Mask

    Neither subnet 0 nor the subnet consisting only of ones may be used. Host number 0, and the host number consisting only of ones, must not be used. Under BootP or DHCP the sub- Note net mask is transmitted also by the server. CX8093 Version: 1.6...
  • Page 30: Configuration

    If the task is set to 2 ms and the factor is left at 8, the RT Ethernet interface is processed with 16 ms. Make sure you monitor your system load. If the system load is too high, telegrams may be discarded or timeouts may occur. A system load of less than 60 % is recommended. Version: 1.6 CX8093...
  • Page 31: Cx80Xx - Operating System

    The Micro SD card contains a file with the name of the image. Example CX8000_CE600_LF_v354b_TC211R3_B2248. TC211R3_2248 indicates the TwinCAT build; in the example the build is 2248. Prerequisites Feature / platform CX80x0 LF version 3.xx XML DOM COM Storage CX8093 Version: 1.6...
  • Page 32: Power Supply Terminal

    6.3.3 Power supply terminal K-bus interface It is possible to operate K-bus terminals on the CX80xx. The CX80xx recognizes these terminals automatically on scanning, reads out the terminal types and automatically places them in the System Manager. Version: 1.6 CX8093...
  • Page 33 Interface "2") is to be taken from the System Manager. E-bus interface The operation of E-bus terminals and EtherCAT devices is possible on the CX80xx. The CX80xx recognizes these terminals automatically on scanning, reads out the terminal types and automatically places them in the System Manager. CX8093 Version: 1.6...
  • Page 34 Parameterizing and commissioning DC Distributed Clocks The CX80xx series is not suitable for the use of EtherCAT slaves that use or need distrib- uted clocks functionality. Note Version: 1.6 CX8093...
  • Page 35: Web Services

    Upnp webpages There is a Upnp webpage on the CX80xx for diagnostics. User name: guest Password: 1 Enter the IP address or the device name. Example http://cx-0f94ac/config http://172.16.17.55/config The diagnostic page was revised starting from image v354c. CX8093 Version: 1.6...
  • Page 36 Control in TwinCAT. The call is made via the IP address or the device name in a web browser. Further information can be taken from the documentation on the web visualization (see TwinCAT Supplements PLC HMI Web). Example Version: 1.6 CX8093...
  • Page 37: Real Time Clock (Rtc)

    No password is set in the delivery condition. After entering the target address, the user interface of the CE device is available for remote control on the Download : https://infosys.beckhoff.com/content/1033/cx8093_hw/Resources/zip/1608562059.zip 6.3.5 Real Time Clock (RTC) The RTC is read out via the FB_LocalSystemTime function blocks and can be set with the NT_SetLocalTime block (see TcUtilities.lib).
  • Page 38: 1-Second Ups (Uninterruptible Power Supply)

    To load the persistent data from the backup (wp~-file), it has to be enabled in the System Manager. Or via the following registry entry: [HKEY_LOCAL_MACHINE\SOFTWARE\Beckhoff\TwinCAT\Plc]"ClearInvalidPersistentData"= 0 The default factory setting is "1". Checking whether current persistent data (from wdp file) or saved persistent data from the backup (wd~-file) were loaded In this example, the CX8090 indicates via the ERR LED whether the persistent data were loaded.
  • Page 39: Cpu Load

    CPU load itself. The CPU load can be activated for brief diagnostic help; however, we recommend that you deactivate it again after the diagnostics. HKEY_LOCAL_MACHINE/SOFTWARE/BECKHOFF/TWINCAT/RTime/EnableRTimeMeasurement    0 deactivated, 1 activated A TwinCAT restart of the CX80xx is necessary after making the setting.
  • Page 40: Profinet

    If you carry out a search in the System Manager for devices, the CCAT interface for the PROFINET interface will automatically be found. CCAT is a Beckhoff-internal software and hardware interface for various bus systems, which in the case of the CX8093 contains PROFINET support.
  • Page 41 For the CCAT ports the PROFINET IP address is registered in the operating system on delivery. If TwinCAT is in RUN, the device can be accessed in this way via normal TCP/IP mechanisms. If no registered PROFINET IP address is desired in the operating system, this feature can be disabled via the System Manager. CX8093 Version: 1.6...
  • Page 42: Synctask

    If you link the PnIoBoxState variable with your PLC program, you can monitor the state of the PROFINET controller with it. The state 0x0005 is the error-free state, i.e. the master is in data exchange with the device (i.e. the CX8093). 0x0001 = Device is in I/O exchange 0x0002 = Device is blinking 0x0004 = Provider State ->...
  • Page 43: Process Data

    To create modules click at the tree on the API (Application Process Identifier) and insert the desired modules. The GDSML file with miscellaneous  PROFINET modules will be opened. TwinCAT uses the GDSML file that is located in the folder TwinCAT\IO\PROFINET. CX8093 Version: 1.6...
  • Page 44 (Swap LOBWORD and HIWORD). For bigger data arrays (e.g. 10 word input data) it is also possible to swap all words of this module. So it is not necessary to handle each variable for its own. Version: 1.6 CX8093...
  • Page 45 Linking data without using the PLC You can use the CX8093 without PLC functionality to link data from PROFINET to K-Bus or E-Bus. In this case you use the CX8093 as a configured bus coupler. Pay attention that always one task triggers the PROFINET and the K-Bus or E-Bus cycle at minimum.
  • Page 46: Virtual Device Interface

    The IP address is assigned by the PROFINET controller and cannot be registered in the operating system. This means that non-PROFINET services such as ADS, CERHOST, etc. do not function over this IP address. Version: 1.6 CX8093...
  • Page 47 Parameterizing and commissioning Pay attention to the system utilisation rate (to be observed only when using the virtual device interface) • Each PROFINET or Ethernet device that is connected via the switch of the CX8093 in- Note creases the system utilisation rate.
  • Page 48 0x0008 = Problem Indicator -> 0 = OK, 1 = Error No programming via the virtual PROFINET interface The CX8093 cannot be programmed via the virtual IP address. The ADS functions or other non-PROFINET services are not supported by the virtual PROFINET interface.
  • Page 49: Programming

    Programming Programming Library for CX80xx Download : https://infosys.beckhoff.com/content/1033/cx8093_hw/Resources/zip/1608565003.zip Seconds UPS 7.2.1 Function blocks FUNCTION_BLOCK FB_S_UPS_CX80xx The FB_S_UPS function block can be used on the CX80xx with the seconds UPS in order to activate the seconds UPS from the PLC. This allows the persistent data to be saved and a quick shutdown to be performed in the event of a power failure.
  • Page 50 True during the power failure; False if the supply voltage is present. eState                       : Internal state of the function block, for values see E_S_UPS_State. VAR_GLOBAL VAR_GLOBAL     eGlobalSUpsState : E_S_UPS_State;    (* current ups state *) END_VAR E_S_UPS_State eGlobalUpsState      : Internal state of the function block as a global copy of the VAR_OUTPUT eState; for values see E_S_UPS_State. Version: 1.6 CX8093...
  • Page 51 Programming Prerequisites Development environ- Target platform Hardware PLC libraries to be ment linked TwinCAT v2.11.0 build Seconds UPS TcSystemCX80xx.lib 2220 or higher (R3) CX8093 Version: 1.6...
  • Page 52: Data Types

        in allen Modi: Versorgungsspannung ist OK eSUPS_PowerFailure:          in allen Modi: Versorgungsspannung fehlerhaft (steht nur einen Zyklus an) eSUPS_WritePersistentData:           im Modus eSUPS_WrPersistData_Shutdown: Schreiben der Persistenten Daten ist aktiv  im Modus eSUPS_WrPersistData_NoShutdown: Schreiben der Persistenten Daten ist aktiv eSUPS_QuickShutdown:         im Modus eSUPS_WrPersistData_Shutdown: QuickShutdown ist aktiv  im Modus eSUPS_ImmediateShutdown: QuickShutdown ist aktiv eSUPS_WaitForRecover:        im Modus eSUPS_WrPersistData_NoShutdown: Warten auf Wiederkehr der Spannung  im Modus eSUPS_CheckPowerStatus: Warten auf Wiederkehr der Spannung eSUPS_WaitForPowerOFF:       im Modus eSUPS_WrPersistData_Shutdown: Warten auf das Abschalten durch die USV  im Modus eSUPS_ImmediateShutdown: Warten auf das Abschalten durch die USV Prerequisites Development environ- Target platform Hardware PLC libraries to be ment linked TwinCAT v2.11.0 build Seconds UPS TcSystemCX80xx.lib 2220 or higher (R3) Version: 1.6 CX8093...
  • Page 53: Diagnostics

    CX8031 is then entered as 8031. VAR_OUTPUT F_CX80xx_ADDRESS     : INT; F_CX80xx_ADDRESS                       : -1, non-implemented CX, address of the switch Prerequisites Development environ- Target platform Hardware PLC libraries to be ment linked TwinCAT v2.11.0 build CX80xx TcSystemCX80xx.lib 2220 or higher (R3) CX8093 Version: 1.6...
  • Page 54: Ethernet

    Ethernet device in the world. The MAC-ID consists of two parts. The first part (i.e. the first 3 bytes) is a manufacturer identifier. The identifier for Beckhoff is 00 01 05. The next 3 bytes are assigned by the manufacturer and implement a unique serial number.
  • Page 55 Both of these protocols are implemented in parallel on the Bus Coupler, so that no configuration is needed to activate the protocols. ADS can be used on top of either TCP or UDP, but ModbusTCP is always based on TCP/IP. CX8093 Version: 1.6...
  • Page 56: Topology Example

    Ethernet 8.1.2 Topology example CX8093 Version: 1.6 CX8093...
  • Page 57: Profinet

    (software-based real-time) and IRT (hardware-supported isochronous real-time). In addition, further Ethernet traffic can be transmitted in the NRT (non-real-time) time slot of the PROFINET cycle. RT can be networked with commercially available switches; switches with corresponding hardware support are required for IRT. CX8093 Version: 1.6...
  • Page 58 Ethernet Requirements Components Comment Embedded PCs Embedded PC with PROFINET RT Device fieldbus CX8093 interface Embedded PC with optional CX50xx-M930 PROFINET RT Controller interface Embedded PC with optional PROFINET RT Device CX50xx-B930 interface EtherCAT terminals PROFINET IO controller EL6631 PROFINET IO device...
  • Page 59: Ads-Communication

    Within a networked system it is thus possible to reach all data from any point. The ADS protocol runs on top of the TCP/IP or UDP/IP protocols. It allows the user within the Beckhoff system to use almost any connecting route to communicate with all the connected devices and to parameterize them.
  • Page 60 Indicates the offset, the byte from which reading or writing is to start. Gives the length of the data, in bytes, that is to be read or written. TCP port number The TCP port number for the ADS protocol is 48898 or 0xBF02. Version: 1.6 CX8093...
  • Page 61: Error Handling And Diagosis

    Error handling and diagosis Error handling and diagosis LED displays Ethernet interface X001 Interface X001 Ethernet (CX8093) Meaning LED green Link present LED yellow flashing Activity Ethernet interface X101/102 Interface X001/X002 Ethernet (CX8093) Meaning LED green Link available/activity LED yellow...
  • Page 62 4 K-BUS RUN (right centre, 2nd K-bus LED RUN Lights up green: K-bus running, row) everything OK 6 K-BUS ERR (bottom right, 3rd K-bus LED ERR Lights up red: K-bus error - see K- row) bus error code Version: 1.6 CX8093...
  • Page 63 Bus Coupler (switch off and on again) 7 pulses Process data lengths do Check the Bus Terminals not correspond to the for the configured Bus configuration Terminals 1..n K-bus reset failed Check the Bus Terminals CX8093 Version: 1.6...
  • Page 64: Appendix

    5. Switch on TC on the PC in Config Mode (TwinCAT icon blue) and start the System Manager 6. In the System Manager, click on the PC symbol (Choose Target System) or press >F8< 7. The following dialog box opens; click on Search (Ethernet). Version: 1.6 CX8093...
  • Page 65   Your network is scanned for Beckhoff controllers. If none is found, this means that the DHCP of the controller is not yet completed or the network settings on your PC are incorrect. A network cable that has not been connected can naturally also be the cause, but this should not be the case if point 3 has been done.
  • Page 66 MAC address on the side of the CX80xx. The MAC address is always 6 bytes long and the first three bytes are the vendor ID, which is always 00 01 05 in the case of Beckhoff devices. An "X" next to Connected means that the CX is already known in the system and can be used. To make it known, click in the list on the CX with which you want to connect and then click on "Add route".
  • Page 67 FileName.typ file is sought. 19: Now open the project, then the task and then outputs, in which there must be a variable MAIN.bToggle. You can link this with the hardware. To do this, click on "Linked to...". CX8093 Version: 1.6...
  • Page 68 21. As a final step Online/Generate a boot project. This completes the project and your first program is stored on the CX. Congratulations, the foundations have now been laid and are ready to be built on. We wish you every success! Version: 1.6 CX8093...
  • Page 69: Image Update

    • Set red Dip switch (under the flap) DIP 1 to ON • Switch on the CX • Connect the PC with USB • Delete all files (we recommend that you backup all files first), no formatting CX8093 Version: 1.6...
  • Page 70 • Wait until copying has finished, then remove the MicroSD card • Insert the MicroSD card into the SD slot of the switched-off CX again • Now switch on the CX again; it may take a little longer the first time Version: 1.6 CX8093...
  • Page 71: Certification

    The name plate of the CX8xxx Embedded PCs shows a consecutive serial number, a hardware version and a date of manufacture: Legend: Serial number, consecutive number Hardware version, ascending number Production day Production month yyyy: Production year CX8093 Version: 1.6...
  • Page 72: Fcc

    • Or the power supply must originate from a voltage source that corresponds to NEC class 2. An NEC class 2 voltage source must not be connected in series or parallel with another NEC class 2 voltage source. Version: 1.6 CX8093...
  • Page 73: 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.

Table of Contents