Beckhoff CX5130 Manual

Beckhoff CX5130 Manual

Embedded-pc
Hide thumbs Also See for CX5130:
Table of Contents

Advertisement

Manual | EN
CX51x0
Embedded-PC
9/10/2021 | Version: 2.8

Advertisement

Table of Contents
loading

Summary of Contents for Beckhoff CX5130

  • Page 1 Manual | EN CX51x0 Embedded-PC 9/10/2021 | Version: 2.8...
  • Page 3: Table Of Contents

    Table of contents Table of contents 1 Notes on the documentation ........................ 5 Representation and structure of warnings .................. 6 Documentation issue status ...................... 7 2 For your safety............................ 8 Intended use ............................ 8 Staff qualification .......................... 9 Safety instructions .......................... 9 3 Transport and storage.......................... 11 4 Product overview............................. 12 Configuration of the CX51x0 Embedded PC ................... 13 Name plate ............................ 14 Types ............................... 14...
  • Page 4 Table of contents 7.2.3 Set NIC Teaming ...................... 43 7.2.4 Restoring the Beckhoff real-time driver................ 45 Windows 10 IoT Enterprise LTSB .................... 46 7.3.1 Identification of the Ethernet interfaces (X000, X001) .............  46 7.3.2 Enabling jumbo frames .................... 47 7.3.3 Set NIC Teaming ......................
  • Page 5: Notes On The Documentation

    EP1590927, EP1789857, EP1456722, EP2137893, DE102015105702 with corresponding applications or registrations in various other countries. ® EtherCAT is a 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: Representation And Structure Of Warnings

    Notes on the documentation Representation and structure of warnings The following warnings are used in the documentation. Read and follow the warnings. Warnings relating to personal injury: DANGER Hazard with high risk of death or serious injury. WARNING Hazard with medium risk of death or serious injury. CAUTION There is a low-risk hazard that can result in minor injury.
  • Page 7: Documentation Issue Status

    Notes on operation in potentially explosive atmospheres added. Technical data, graphic card specifications adapted. Chapter on serial interfaces N030/N031 added. Chapter Beckhoff Device Manager revised Chapter "RS232 (N030)" adapted. Chapter "Power supply" adapted. Chapter Technical data adapted. Chapter “Types” and “Device Manager” revised.
  • 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 Industrial PC and the associated network.
  • Page 10 • The sensitivity of a 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

    • mechanical stress and • use the original packaging. Table 1: Dimensions and weight of the individual modules. CX5120 CX5130 CX5140 Dimensions (W x H x D) 123 mm x 100 mm x 91 142 mm x 100 mm x 91 mm Weight approx.
  • Page 12: Product Overview

    CX51x0-M930 PROFINET RT, controller, Ethernet (2 x RJ-45). CX51x0-B930 PROFINET RT, device, Ethernet (2 x RJ-45 switch). Only available for CX5130 and CX5140. Power supply terminal The power supply terminal for the Embedded PC is located on the right-hand side. Bus Terminals (K-bus) or EtherCAT Terminals (E-bus) can be attached on the right-hand side of the power supply unit.
  • Page 13: Configuration Of The Cx51X0 Embedded Pc

    Product overview Configuration of the CX51x0 Embedded PC Fig. 1: Example: CX5140 Embedded PC. Table 3: Legend for the configuration. Component Description Optional interface (X300). Space for interfaces such as RS232, EtherCAT, CANopen or others. The optional interface must be ordered ex factory and cannot be retrofitted retrospectively.
  • Page 14: Name Plate

    Embedded PC, operating system, options and TwinCAT can be reordered. Product designation for identification of the Embedded PC Serial number/ Beckhoff Traceability Number (BTN) for the unambiguous identification of the product. Hardware version and date of manufacture.
  • Page 15: Table 5: Order Details, Cx51X0 With Windows Embedded Compact 7

    Product overview Fig. 3: Nomenclature for the CX51x0 Embedded PC. The Embedded PCs CX5120, CX5130 and CX5140 are available with the following software options: Table 5: Order details, CX51x0 with Windows Embedded Compact 7. Module Windows TwinCAT 2 TwinCAT 2 TwinCAT 2...
  • Page 16: Table 7 Order Details, Cx51X0 With Windows 10 Iot Enterprise

    Product overview Table 7: Order details, CX51x0 with Windows 10 IoT Enterprise. Module Windows Windows Windows Windows TwinCAT 2 TwinCAT 2 TwinCAT 2 TwinCAT 3 10 IoT En- 10 IoT En- 10 IoT En- 10 IoT En- TwinCAT PLC- NC-PTP- NC-I- terprise terprise terprise...
  • Page 17: Architecture Overview

    Product overview Architecture overview The Embedded PCs of the CX51x0 family all have the same architecture. This is described below. The CX51x0 Embedded PCs are based on the Intel Atom microarchitecture, which was developed by Intel. The following CPUs are used: ®...
  • Page 18 Product overview The interfaces (USB, DVI, and LAN) are standard interfaces. Devices that meet the corresponding standard can be connected to and operated at these interfaces. A VGA monitor can be connected to the DVI-I interface with an adapter. ® Intel i210 Gigabit Ethernet controllers are used as network controllers.
  • Page 19: Interface Description

    Interface description Interface description USB (X100, X101, X102, X103) The Embedded PC has four independent USB interfaces for connecting keyboards, mice, touchscreens and other input or data storage devices. Fig. 4: USB interfaces (X100, X101, X102, X103). The USB interfaces are type A and comply with the USB 2.0 specification. Table 8: USB interfaces (X100, X101, X102, X103), pin assignment.
  • Page 20: Ethernet Rj45 (X000, X001)

    Interface description Ethernet RJ45 (X000, X001) The two Ethernet interfaces are independent; no switch is integrated. The independent Ethernet interfaces can be configured in different ways. In the delivery state, the Ethernet interfaces (X000, X001) are configured for EtherCAT communication. Note that an additional switch is required for a line topology.
  • Page 21: Dvi-I (X200)

    The DVI-I interface (X200) transfers digital data and is suitable for connection to digital or analog monitors. The resolution at the display or the Beckhoff Control Panel depends on the distance from the display device. The maximum distance is 5 m. Beckhoff offers various Panels with an integrated “DVI extension”. These make a cable length of up to 50 meters possible.
  • Page 22: Optional Interfaces

    N010 interface (DVI-D interface) is used, the first DVI-I interface can be operated either in VGA mode or in DVI mode. The resolution at the display or the Beckhoff Control Panel depends on the distance from the display device. The maximum distance is 5 m. Beckhoff offers various Panels with an integrated “DVI extension”.
  • Page 23: Displayport (N011)

    Interface description 5.4.2 DisplayPort (N011) The DisplayPort transfers image and audio signal at the same time and is therefore suitable for connecting panels or monitors to the Embedded PC. Fig. 8: DisplayPort X300. Version 1.1a of the DisplayPort (DisplayPort++) is installed on the Embedded PC. Adapters from DisplayPort to DVI-D or DisplayPort to HDMI can be used to connect monitors without DisplayPort to the Embedded PC.
  • Page 24: Audio Interface (N020)

    Interface description 5.4.3 Audio interface (N020) Two inputs are available: "LINE IN" (X300) and "MIC IN" (X301). The "LINE OUT" interface (X302) is intended for audio signal output. The 3.5 mm sockets are designed for jack plugs. It can also be used for connecting headphones with a maximum output of 200 mW.
  • Page 25: Rs232 (N030)

    Interface description 5.4.4 RS232 (N030) The optional N030 interface provides an RS232 interface (X300). The RS232 interface is implemented on a 9-pin D-sub connector. Fig. 12: RS232 interface X300. The maximum baud rate on both channels is 115 kbit. The interface parameters are set via the operating system or from the PLC program.
  • Page 26: Rs422/Rs485 (N031)

    Interface description 5.4.5 RS422/RS485 (N031) The optional N031 interface provides an RS422 or RS485 interface (X300). The interface is executed on a 9- pin D-sub socket. Fig. 13: RS485 interface X300. The maximum baud rate on both channels is 115 kbit. The interface parameters are set via the operating system or from the PLC program.
  • Page 27: Ethercat Slave (B110)

    Receive + connected reserved RD - Receive - connected reserved For the optional EtherCAT slave interface (B110), documentation with further information is available for download from the Beckhoff website: https://www.beckhoff.de/german/download/epc.htm?id=71003127100362 Document name CXxxx0-B110 optional interface EtherCAT slave. CX51x0 Version: 2.8...
  • Page 28: Profibus (X310)

    PROFIBUS line D sub B red Pin 3 A green Pin 8 For the optional PROFIBUS interface (x310), documentation with further information is available for download from the Beckhoff website: https://www.beckhoff.de/german/download/epc.htm?id=71003127100362 Document name CXxxx0-x310 optional Profibus interface. Version: 2.8 CX51x0...
  • Page 29: Canopen (X510)

    CAN Ground (internally connected to pin 3) CAN high (CAN+) not used not used For the optional CANopen interface (x510), documentation with further information is available for download from the Beckhoff website: https://www.beckhoff.de/german/download/epc.htm?id=71003127100362 Document name CXxxx0-x510 optional CANopen interface. CX51x0...
  • Page 30: Profinet Rt (X930)

    Interface description 5.4.9 PROFINET RT (x930) Fig. 17: PROFINET RT interface X300. Table 25: PROFINET RT interface, pin assignment. Signal Description TD + Transmit + TD - Transmit - RD + Receive + connected reserved RD - Receive - connected reserved Version: 2.8 CX51x0...
  • Page 31: Commissioning

    Commissioning Commissioning Assembly 6.1.1 Note the permissible installation positions Increased heat generation The Embedded PC may overheat if the installation position is incorrect or the minimum distances are not adhered to. The Embedded PC may only be operated at ambient temperatures of up to 60 °C. Ensure adequate ventilation.
  • Page 32: Fig. 19 Cx51X0 Embedded Pc, Invalid Installation Positions

    Commissioning Incorrect installation positions Fig. 19: CX51x0 Embedded PC, invalid installation positions. Version: 2.8 CX51x0...
  • Page 33: Attaching On Mounting Rail

    Commissioning 6.1.2 Attaching on mounting rail The housing is designed such that the Embedded PC can be pushed against the mounting rail and latched onto it. Requirements: • Mounting rail of type TS35/7.5 or TS35/15 according to DIN EN 60715. Secure the Embedded PC on the mounting rail as follows: 1.
  • Page 34: Microsd Card Installation And Removal

    MicroSD cards from other manufacturer may fail, resulting in data loss. Only use industrial MicroSD cards provided by Beckhoff. The MicroSD card slot is intended for a MicroSD card. Data and further programs can be stored here, or Windows Embedded Compact 7 can be installed instead.
  • Page 35: Cfast Card Installation And Removal

    A CFast card is a non-volatile memory. Data to be retained in the event of a power failure should be saved on the CFast card. The CFast cards supplied by Beckhoff are industrial cards with an increased number of write cycles and an extended temperature range (+85 °C).
  • Page 36: Installing Passive Ethercat Terminals

    Commissioning 6.1.5 Installing passive EtherCAT Terminals Incorrectly installed passive EtherCAT Terminals The E-bus signal between an Embedded PC and the EtherCAT Terminals can be impaired due to incorrectly installed passive EtherCAT Terminals. Passive EtherCAT Terminals should not be installed directly on the power supply unit. EtherCAT Terminals that do not take part in active data exchange are referred to as passive terminals.
  • Page 37: Connecting The Power Supply

    Commissioning Connecting the power supply NOTE Damage to the Embedded PCs The Embedded PCs may be damaged during wiring. • The cables for the power supply should only be connected in de-energized state. The power supply terminals require an external voltage source, which provides 24 V DC (-15% / +20%). The power supply terminal must provide 4 A at 24 V, in order to ensure the operation of the Embedded PCs in all situations.
  • Page 38: Table 27 Required Wire Cross-Sections And Strip Lengths

    Commissioning The cables of an external voltage source are connected to the power supply unit with spring-loaded terminals. Table 27: Required wire cross-sections and strip lengths. Conductor cross-section 0,5 ... 2,5 mm AWG 20 ... AWG 14 Strip length 8 ... 9 mm 0.33 inch The voltage source has been connected to the power supply unit successfully when the two upper power supply terminal LEDs light up in...
  • Page 39: Switching On

    Commissioning Switching on Please ensure that the Embedded PC is fully configured before switching on the Embedded PC. Switch on the Embedded PC as follows: 1. Ensure that all extension, system and fieldbus modules are connected correctly. 2. Check whether the right installation position was selected. 3.
  • Page 40: Configuration

    Configuration Windows Embedded Compact 7 7.1.1 Setting up the audio interface (N020) Under Windows Embedded Compact 7, the Beckhoff CX configuration tool can be used for the audio settings. Requirements: • Embedded PC with audio interface. • Windows Embedded Compact 7.
  • Page 41: Windows Embedded Standard 7 P

    Configuration Windows Embedded Standard 7 P 7.2.1 Identification of the Ethernet interfaces (X000, X001) Network and Sharing Center In the Network and Sharing Center the Ethernet interfaces (X000, X001) of the CX51x0 Embedded PC are identified as follows as standard: •...
  • Page 42: Enabling Jumbo Frames

    Requirements: • The original Intel® driver can be downloaded from https://downloadcenter.intel.com. • Install the original Intel® driver. Note that this will delete the real-time capable driver from Beckhoff. • Check whether the peripheral devices support jumbo frames. Jumbo frames are activated as follows: 1.
  • Page 43: Set Nic Teaming

    • The original Intel® driver can be downloaded from https://downloadcenter.intel.com. • Install the original Intel® driver for the Network Interface Card. Note that this will delete the real-time capable driver from Beckhoff. NIC Teaming is set as follows: 1. Under Start > Control Panel > Hardware and Sound click on Device Manager.
  • Page 44 Configuration 5. Under Select a team type select the option Adapter Fault Tolerance 6. Click on Next to complete the installation. ð You have successful set NIC Teaming for your Ethernet interfaces. Further settings can be specified or changed under the Settings tab. Version: 2.8 CX51x0...
  • Page 45: Restoring The Beckhoff Real-Time Driver

    The installation dialog appears and shows the compatible Ethernet interfaces under Compatible devices. 2. Select the Ethernet interfaces for which you wish to restore the Beckhoff real-time driver and click on Install. ð The Beckhoff real-time driver is installed. The Ethernet interfaces with installed Beckhoff real-time driver are shown under Installed and ready to use devices (real-time capable).
  • Page 46: Windows 10 Iot Enterprise Ltsb

    Configuration Windows 10 IoT Enterprise LTSB 7.3.1 Identification of the Ethernet interfaces (X000, X001) Network and Sharing Center In the Network and Sharing Center the Ethernet interfaces (X000, X001) of the CX51x0 Embedded PC are identified as follows as standard: •...
  • Page 47: Enabling Jumbo Frames

    Requirements: • The original Intel® driver can be downloaded from https://downloadcenter.intel.com. • Install the original Intel® driver. Note that this will delete the real-time capable driver from Beckhoff. • Check whether the peripheral devices support jumbo frames. Jumbo frames are activated as follows: 1.
  • Page 48: Set Nic Teaming

    • The original Intel® driver can be downloaded from https://downloadcenter.intel.com. • Install the original Intel® driver for the Network Interface Card. Note that this will delete the real-time capable driver from Beckhoff. NIC Teaming is set as follows: 1. Under Start > Control Panel > Hardware and Sound click on Device Manager.
  • Page 49 Configuration 5. Under Select a team type select the option Adapter Fault Tolerance 6. Click on Next to complete the installation. ð You have successful set NIC Teaming for your Ethernet interfaces. Further settings can be specified or changed under the Settings tab. CX51x0 Version: 2.8...
  • Page 50: Restoring The Beckhoff Real-Time Driver

    The installation dialog appears and shows the compatible Ethernet interfaces under Compatible devices. 2. Select the Ethernet interfaces for which you wish to restore the Beckhoff real-time driver and click on Install. ð The Beckhoff real-time driver is installed. The Ethernet interfaces with installed Beckhoff real-time driver are shown under Installed and ready to use devices (real-time capable).
  • Page 51: Table 28 System Requirements For The Operation Of The N030 And N031 Serial Interfaces

    Configuration 7.3.5 Using serial interfaces N030/N031 The N030/N031 serial interfaces are only supported by Windows 10 from a certain BIOS, Image, and TwinCAT version. Observe the system requirements in order to be able to operate the serial interfaces with Windows 10: Table 28: System requirements for the operation of the N030 and N031 serial interfaces.
  • Page 52 Configuration • The serial interfaces are displayed in the Windows Device Manager as COM1 interfaces. In the following, we show you how to change the BIOS settings in order to use the serial interfaces with Windows 10. Set the BIOS as follows in order to operate the serial interfaces with Windows 10: 1.
  • Page 53: Beckhoff Device Manager

    Start the Beckhoff Device Manager as follows: 1. Open a web browser on the host PC. 2. Enter the IP address or the host name of the Industrial PC in the web browser to start the Beckhoff Device Manager. • Example with IP address: https://169.254.136.237/config •...
  • Page 54: Enabling A Remote Display

    Enable the remote display as follows: 1. Open a web browser on the host PC. 2. Enter the IP address or the host name of the Industrial PC in the web browser to start the Beckhoff Device Manager. • Example with IP address: https://169.254.136.237/config •...
  • Page 55: Starting A Remote Connection

    Requirements: • Remote Display is active. See: Enabling a remote display. • Host name of the Embedded PC. • Remote Display Control (CERHOST). Download under: https://infosys.beckhoff.com/content/1033/ CX51x0_HW/Resources/zip/5047075211.zip Start the remote connection as follows: 1. Unpack the zip file on the host PC and run cerhost.exe.
  • Page 56: Twincat

    Configuration TwinCAT 7.5.1 Tree view The Tree View chapter can be used as an example for creating a project without actual hardware. All devices and components of an Embedded PCs must be added manually in TwinCAT 3. The smallest possible configuration of the CX51x0 Embedded PC is created as follows in the tree view under TwinCAT 3: Fig. 28: CX51x0 Embedded PC in the tree view of TwinCAT 3, with attached EtherCAT Terminals (left) or Bus Terminals (right).
  • Page 57: Searching For Target Systems

    Configuration 7.5.2 Searching for target systems Before you can work with the devices, you must connect your local computer to the target device. Then you can search for devices with the help of the IP address or the host name. The local PC and the target devices must be connected to the same network or directly to each other via an Ethernet cable.
  • Page 58 Configuration Enter the user name and password for the CX in the User Name and Password fields and click OK. The following information is set as standard in CX devices: User name: Administrator Password: 1 6. If you do not wish to search for any further devices, click on Close to close the Add Route Dialog. The new device is displayed in the Choose Target System window.
  • Page 59: Scanning An Embedded Pc

    Configuration 7.5.3 Scanning an Embedded PC This step shows how to scan an Embedded PC in TwinCAT and then further configure it. Prerequisites for this step: • Selected target device. Add the Embedded PC as follows: 1. Start TwinCAT and open an empty project. 2.
  • Page 60: Configure The Serial Interface (N03X)

    Configuration 7.5.4 Configure the serial interface (N03x) This chapter explains how to configure a CX51x0 with serial interface (N03x) in TwinCAT. The procedure for commissioning the CX51x0-N03x with serial interface under TwinCAT differs from that for other Embedded PCs. In order to avoid configuration errors, the procedure for adding and configuring the CX51x0 in TwinCAT is described below.
  • Page 61 Configuration 5. Under the Serial Port tab, select the option PCI/PCIe Device. The serial interface of the CX51x0 is shown under Port:. If the option Onboard/ISA device is already selected, the option PCI/PCIe device is grayed out and cannot be selected. The option PCI/PCIe device can be re-enabled as follows: 6.
  • Page 62: Configuring Ethercat Cable Redundancy

    Requirements: • For TwinCAT 2 you have to install and license the supplement TS622x | TwinCAT EtherCAT Redundancy on the Embedded PC: http://www.beckhoff.de/forms/twincat3/warenkorb.aspx?lg=de&title=TS622x-EtherCAT- Redundancy&version=1.0.2 • In TwinCAT 3 the supplement is already included and only has to be licensed. • Hardware wired as EtherCAT ring (see Fig.: Smallest possible configuration for EtherCAT cable redundancy) and added in TwinCAT.
  • Page 63 Configuration Configure EtherCAT cable redundancy as follows: 1. In the tree view click on the EtherCAT master. 2. Click on the EtherCAT tab, then Advanced Settings. 3. Click on Redundancy in the tree structure on the left. 4. Click on the option Second adapter, followed by the Search button. CX51x0 Version: 2.8...
  • Page 64: Using A Hardware Watchdog

    Configuration 5. Select the appropriate LAN connection according to your cabling at the Embedded PC. 6. Confirm the settings with OK. ð You have successfully configured cable redundancy. Under the Online tab the EtherCAT slaves are displayed, for which cable redundancy was configured. Under State the state of the individual EtherCAT slaves is displayed.
  • Page 65 Configuration NOTE Unwanted restart The watchdog restarts the Embedded PC as soon as the time set for nWatchdogTimeS elapses. Be aware of this behavior and disable the watchdog if you use breakpoints, carry out a PLC reset or an overall reset, stop TwinCAT, switch to config mode or activate the configuration. Requirements: •...
  • Page 66: 1-Second Ups (Persistent Variables)

    1-second UPS (persistent variables) 1-second UPS (persistent variables) Loss of data Use only TwinCAT to control the 1-second UPS and save only persistent data with a maximum size of 1 MB. Use beyond this may result in data loss or corrupt data. The 1-second UPS is an UltraCap capacitor that continues to supply the processor with power in the event of a power failure.
  • Page 67 Always call the function block from the PLC and always use the fastest task to do so. In the case of a power failure Beckhoff recommends not calling the rest of the application in order to ensure that sufficient time remains for writing the data.
  • Page 68: Bios Settings

    1-second UPS (persistent variables) Fig. 31: Loading a backup of the persistent data. Settings in TwinCAT 3. The backup files will be deleted if the option Clear Invalid Persistent Data is activated. Corresponds to registry entry 1. BIOS settings The 1-second UPS can be switched on or off via the BIOS. The parameters of the 1-second UPS are displayed in the following menu and can be adjusted if necessary: Advanced >...
  • Page 69: Windows Write Filter

    Fig. 32: FBWF exception list, under TwinCAT 2 (left) and TwinCAT 3. The persistent data are saved by default under \TwinCAT\Boot in TwinCAT 2 and under \TwinCAT\3.1\Boot in TwinCAT 3. The FBWF can be configured via the Beckhoff FBWF manager. CX51x0 Version: 2.8...
  • Page 70: Fb_S_Ups_Cx51X0

    1-second UPS (persistent variables) FB_S_UPS_CX51x0 NOTE Loss of data If other applications or the PLC keep further files open or write to them, file errors may occur if the 1-second UPS switches off the controller. In the case of the CX51x0 the function block FB_S_UPS_CX51x0 is used to control the 1-second UPS from the PLC.
  • Page 71: Data Types

    1-second UPS (persistent variables) eUpsMode: The eUpsMode defines whether persistent data are to be written and whether a quick shutdown is to be performed. The default value is eSUPS_WrPersistData_Shutdown, i.e. a quick shutdown is executed automatically once the persistent data have been saved. (Type: E_S_UPS_Mode) ePersistentMode: Mode for the writing of the persistent data.
  • Page 72: Checking The Validity Of The Variables

    1-second UPS (persistent variables) in Mode eSUPS_ImmediateShutdown: QuickShutdown is active eSUPS_WaitForRecover:  in mode eSUPS_WrPersistData_NoShutdown: Wait for the reestablishment of the power supply in mode eSUPS_CheckPowerStatus: Wait for the reestablishment of the power supply eSUPS_WaitForPowerOFF:  in mode eSUPS_WrPersistData_Shutdown: Wait for switching off of the PC by the UPS in mode eSUPS_ImmediateShutdown: Wait for switching off of the PC by the UPS Checking the validity of the variables For TwinCAT 2 the implicit structure Systeminfotype.bootDataFlags can be read in order to determine the validity of the persistent data (see: SYSTEMINFOTYPE [} 72]). For TwinCAT 3 the implicit variables PlcAppSystemInfo.BootDataLoaded and PlcAppSystemInfo.OldBootData are available for determining the validity of the persistent data (see: PlcAppSystemInfo).
  • Page 73: Plcappsysteminfo

    A registry setting can be used to determine whether the backup file is deleted or used. The backup file is used by default (setting 0). If the backup file is to be deleted, the value of "ClearInvalidRetainData" or "ClearInvalidPersistentData" must be set to 1 in the registry under: [HKEY_LOCAL_MACHINE\SOFTWARE\Beckhoff\TwinCAT\Plc] "ClearInvalidRetainData"=dword:00000000 "ClearInvalidPersistentData"=dword:00000000 the value of "ClearInvalidRetainData"...
  • Page 74 1-second UPS (persistent variables)      BootDataLoaded     : BOOL;      OldBootData        : BOOL;      AppTimestamp       : DT;      KeepOutputsOnBP    : BOOL;      ShutdownInProgress : BOOL;      LicensesPending    : BOOL;      BSODOccured        : BOOL;      TComSrvPtr         : ITComObjectServer;      AppName            : STRING(63);      ProjectName        : STRING(63); END_STRUCT END_TYPE ObjId Object ID of the PLC project instance TaskCnt Number of tasks in the runtime system OnlineChangeCnt Number of online changes since the last complete download Flags Reserved AdsPort...
  • Page 75: Error Handling And Diagnostics

    Error handling and diagnostics Error handling and diagnostics Diagnostic LEDs Display Meaning Power supply The Power LED comes on (green) when the device is connected to a live power supply unit. Bootloader is started and runs without errors (the colors red and yellow light up for one second).
  • Page 76: Table 36 K-Bus Err Led, Fault Description And Troubleshooting

    Error handling and diagnostics Table 36: K-BUS ERR LED, fault description and troubleshooting. Error code Error code argu- Description Remedy ment Persistent, EMC problems. • Check power supply for undervoltage or continuous overvoltage peaks. flashing • Implement EMC measures. • If a K-bus error is present, it can be localized by a restart of the power supply (by switching it off and then on again) 3 pulses...
  • Page 77: Table 37 Description Of The State Variable Values

    Error handling and diagnostics State variable In TwinCAT there is a State variable under the Bus Coupler for K-bus diagnostics. Fig. 33: Status variable for error handling and diagnostics under TwinCAT. If the value is "0", the K-bus operates synchronous and without error. If the value is <> "0" there may be a fault, or it may only be an indication that the K-bus cycle is longer than the task.
  • Page 78: E-Bus

    Error handling and diagnostics 9.1.2 E-bus The power supply unit checks the connected EtherCAT Terminals. The "L/A" LED is lit in E-bus mode. The "L/A" LED flashes during data transfer. Table 38: Diagnostic LEDs in K-Bus mode. Display Meaning Us 24 V Power supply for basic CPU module.
  • Page 79: Faults

    6. Any components / software used The quickest response will come from support / service in your country. Therefore please contact your regional contact. For details please refer to our website at www.beckhoff.de or ask your distribution partner. CX51x0 Version: 2.8...
  • Page 80: Care And Maintenance

    Only use original batteries and ensure that the positive and negative poles are inserted correctly. The battery must be replaced every 5 years. Spare batteries can be ordered from Beckhoff Service. A CR2032 battery (3 V, 225 mAh) is used in the Embedded PC.
  • Page 81: Decommissioning

    Decommissioning Decommissioning 11.1 Removing cables NOTE Electrical voltage If the power supply is switched on during dismounting, this can lead to damage to the Embedded PCs. Switch off the power supply for the Embedded PCs during dismounting. Before dismantling the Embedded PC, shut down the Embedded PC and switch off the power supply. Only then can you remove all the cables.
  • Page 82 Decommissioning • All cables were removed from the Embedded PC. Dismantle the Embedded PC as follows: 1. Release the DIN rail mounting by pushing the latches outwards with a screwdriver. 2. Pull the orange strap on the power supply terminal and gently remove the device from the DIN rail. ð...
  • Page 83: Technical Data

    Technical data Technical data Table 39: Technical data, dimensions and weights. CX5120 CX5130 CX5140 Dimensions (W x H x D) 123 mm x 100 mm x 91 142 mm x 100 mm x 91 mm Weight approx. 975 g approx. 1095 g approx. 1095 g Table 40: Technical data, general data.
  • Page 84: Table 42 Technical Data, Environmental Conditions

    EN 60068-2-27 EMC immunity conforms to EN 61000-6-2 EMC emission conforms to EN 61000-6-4 Protection class IP 20 Table 43: Technical data, graphic specifications. Technical data CX5120 CX5130 CX5140 ® ® ® Processor graphics Intel HD graphics Intel HD graphics...
  • Page 85 Technical data 2 Transport and storage [} 11] CX51x0 Version: 2.8...
  • Page 86: Appendix

    Appendix Appendix 13.1 Accessories Table 46: MicroSD cards. Order number Description CX1900-0122 512 MB MicroSD card CX1900-0124 1 GB MicroSD card CX1900-0126 2 GB MicroSD card CX1900-0128 4 GB MicroSD card CX1900-0130 8 GB MicroSD card Table 47: CFast cards Order number Description CX2900-0026 20 GB CFast card, 3D flash, extended temperature range CX2900-0038 40 GB CFast card, 3D flash, extended temperature range CX2900-0040...
  • Page 87: Certifications

    Appendix 13.2 Certifications FCC Approvals for the United States of America FCC: Federal Communications Commission Radio Frequency Interference Statement This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment.
  • Page 88: Support And Service

    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: https://www.beckhoff.com You will also find further documentation for Beckhoff components there.
  • Page 89: List Of Tables

    Table 27 Required wire cross-sections and strip lengths................Table 28 System requirements for the operation of the N030 and N031 serial interfaces......Table 29 Access data for the Beckhoff Device Manager on delivery............Table 30 Access data for the Beckhoff Device Manager on delivery............
  • Page 90 List of tables Table 45 Technical data, optional interfaces....................Table 46 MicroSD cards..........................Table 47 CFast cards ..........................Table 48 Spare battery for CX systems...................... Table 49 Further spare parts........................Version: 2.8 CX51x0...
  • Page 91 List of figures List of figures Fig. 1 Example: CX5140 Embedded PC....................Fig. 2 Name plate example........................Fig. 3 Nomenclature for the CX51x0 Embedded PC................Fig. 4 USB interfaces (X100, X101, X102, X103).................. Fig. 5 Ethernet interfaces X000, X001....................Fig.
  • Page 93 More Information: www.beckhoff.com/CX5100 Beckhoff Automation GmbH & Co. KG Hülshorstweg 20 33415 Verl Germany Phone: +49 5246 9630 info@beckhoff.com www.beckhoff.com...

This manual is also suitable for:

Cx5120Cx51 0 seriesCx5140

Table of Contents