1.3Documentation issue status ..............................................................................................................7
2 For your safety...........................................................................................................................................8
3 Transport and storage.............................................................................................................................10
6.3Connecting the power supply ..........................................................................................................37
6.4Switching on ....................................................................................................................................39
6.5Switching off ....................................................................................................................................39
13.3 Support and Service ........................................................................................................................72
List of tables.............................................................................................................................................73
List of figures...........................................................................................................................................75
CX20x24Version: 1.7
Notes on the documentation
1Notes on the documentation
This description is only intended for the use of trained specialists in control and automation engineering who
are familiar with the applicable national standards.
It is essential that the documentation and the following notes and explanations are followed when installing
and commissioning the components.
It is the duty of the technical personnel to use the documentation published at the respective time of each
installation and commissioning.
The responsible staff must ensure that the application or use of the products described satisfy all the
requirements for safety, including all the relevant laws, regulations, guidelines and standards.
Disclaimer
The documentation has been prepared with care. The products described are, however, constantly under
development.
We reserve the right to revise and change the documentation at any time and without prior announcement.
No claims for the modification of products that have already been supplied may be made on the basis of the
data, diagrams and descriptions in this documentation.
Trademarks
Beckhoff®, TwinCAT®, EtherCAT®, EtherCAT G®, EtherCAT G10®, EtherCAT P®, Safety over EtherCAT®,
TwinSAFE®, XFC®, und XTS® and XPlanar®, are registered trademarks of and licensed by Beckhoff
Automation GmbH.
Other designations used in this publication may be trademarks whose use by third parties for their own
purposes could violate the rights of the owners.
Patent Pending
The EtherCAT Technology is covered, including but not limited to the following patent applications and
patents:
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
The following warnings are used in the documentation. Read and follow the warnings.
Warnings relating to personal injury:
DANGER
Serious risk of injury
Hazard with high risk of death or serious injury.
WARNING
Risk of injury
Hazard with medium risk of death or serious injury.
CAUTION
Slight risk of injury
There is a low-risk hazard that can result in minor injury.
Warnings relating to damage to property or the environment:
NOTE
Damage to the environment or devices
There is a potential hazard to the environment and equipment.
Notes showing further information or tips:
Tip or pointer
This notice provides important information that will be of assistance in dealing with the product or
software. There is no immediate danger to product, people or environment.
CX20x26Version: 1.7
Notes on the documentation
1.2Related documents
This documentation contains and describes material that is relevant for the CX20x2 Embedded PC. The
CX20x2 Embedded PC is part of a modular system and belongs to the CX2000 Embedded PC series.
Further information on the devices of the CX2000 Embedded PC series can be found in the associated
documentation. Read and follow in particular the sections on safety in this documentation.
The following important documentation can be viewed at and downloaded from the Beckhoff website:
http://www.beckhoff.de
Document name
CX2100-00x4 power supply unit
CX2100-0914 power supply unit with electronic charging unit for battery pack
Retaining the documentation
This documentation forms part of the Embedded PC. Keep the documentation in the immediate vicinity of the
device throughout its entire service life. Ensure that personnel have access to the documentation at all times.
Pass on the documentation to subsequent users, and in addition ensure that all supplementary information is
included in the documentation.
1.4Chapter ”Selecting the appropriate CX2100 power
supply unit“ und ”Technical data“ revised.
1.5Chapter "Types" and “Device Manager” adjusted.
1.6Chapter “TwinCAT” revised.
1.7Chapter “Commissioning” revised.
CX20x27Version: 1.7
For your safety
2For your safety
Read the chapter on safety and follow the instructions in order to protect from personal injury and damage to
equipment.
Limitation of liability
All the components are supplied in particular hardware and software configurations appropriate for the
application. Unauthorized modifications and changes to the hardware or software configuration, which go
beyond the documented options, are prohibited and nullify the liability of Beckhoff Automation GmbH & Co.
KG.
In addition, the following actions are excluded from the liability of Beckhoff Automation GmbH & Co. KG:
• Failure to comply with this documentation.
• Improper use.
• Use of untrained personnel.
• Use of unauthorized replacement parts.
2.1Intended use
The CX20x2 Embedded PC series is a modular control system, which is intended for installation on a DIN
rail. The system is scalable, so that the basic PC modules, power supply units, system modules and
extension modules can be assembled and installed in the control cabinet or terminal box as required.
The CX20x2 Embedded PC series is used in conjunction with Bus Terminals for recording digital and analog
signals from sensors and transferring them to actuators or higher-level controllers. The CX20x2 Embedded
PC series combines the worlds of Industrial PC and hardware PLC and is suitable for control tasks.
The Embedded PC is designed for a working environment that meets the requirements of protection class
IP20. This involves finger protection and protection against solid foreign objects up to 12.5 mm, but not
protection against water. Operation of the devices in wet and dusty environments is not permitted, unless
specified otherwise. The specified limits for electrical and technical data must be adhered to.
Improper use
The Embedded PC is not suitable for operation in the following areas:
• Potentially explosive atmospheres.
• Areas with an aggressive environment, e.g. aggressive gases or chemicals.
• Living areas. If the devices are to be used in living areas, the relevant standards and guidelines for
interference emissions must be adhered to, and the devices must be installed in housings or control
boxes with suitable shielding.
2.2Staff 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.
All interventions must be carried out with knowledge of control programming, and the qualified personnel
must be familiar with the current standards and guidelines for the automation environment.
CX20x28Version: 1.7
For your safety
2.3Safety instructions
The following safety instructions must be followed during installation and working with networks and the
software.
Mounting
• Never work on live equipment. Always switch off the power supply for the device before installation,
troubleshooting or maintenance. Protect the device against unintentional switching on.
• Observe the relevant accident prevention regulations for your machine (e.g. the BGV A 3, electrical
systems and equipment).
• Ensure standard-compliant connection and avoid risks to personnel. Ensure that data and supply
cables are laid in a standard-compliant manner and ensure correct pin assignment.
• Observe the relevant EMC guidelines for your application.
• Avoid polarity reversal of the data and supply cables, as this may cause damage to the equipment.
• The devices contain electronic components, which may be destroyed by electrostatic discharge when
touched. Observe the safety precautions against electrostatic discharge according to DIN EN
61340-5-1/-3.
Working with networks
• Restrict access to all devices to an authorized circle of persons.
• Change the default passwords to reduce the risk of unauthorized access. Regularly change the
passwords.
• Protect the devices with a firewall.
• Apply the IT security precautions according to IEC 62443, in order to limit access to and control of
devices and networks.
Working with the software
• Use up-to-date security software. The safe function of the PC can be compromised by malicious
software such as viruses or Trojans.
• 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.de
Document name
Documentation about IPC Security
CX20x29Version: 1.7
Transport and storage
3Transport and storage
Transport
NOTE
Short circuit due to moisture
Moisture can form during transport in cold weather or in the event of large temperature fluctuations.
Avoid moisture formation (condensation) in the Embedded PC, and leave it to adjust to room temperature
slowly. If condensation has occurred, wait at least 12 hours before switching on the Embedded PC.
Despite the robust design of the unit, the components are sensitive to strong vibrations and impacts. During
transport the Embedded PC must be protected from
• mechanical stress and
• use the original packaging.
Table1: Dimensions and weight of the individual modules.
CX2042CX2062CX2072
Dimensions (W x H x D)204mm x 99mm x 91mm
Weight1300g
Storage
• The battery should be removed if the Embedded PC is stored at temperatures above 60°C. The
battery should be stored separate from the 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.
CX20x210Version: 1.7
Product overview
4Product overview
The CX2000 product family consists of individual modules, which can be assembled to form a customized
Embedded PC.
The CX2000 product family consists of:
• basic CPU modules,
• CX2100 power supply units,
• system, fieldbus and extension modules,
• and the CX2900 battery pack.
Fig.1: Overview of the CX2000 product family with basic CPU module, power supply unit and modules.
Basic CPU module
The basic CPU module is a fully functional PC and can be used in conjunction with a CX2100 power supply
unit as the smallest possible configuration. The basic configuration of the CX20x2 Embedded PC includes:
• a CFast card slot,
• two independent Gbit Ethernet interfaces,
• four USB 3.0 interfaces,
• and a DVI-I interface.
The basic CPU module can be extended with additional interfaces or storage media, as required. Up to four
system or fieldbus modules can be connected on the left-hand side of the basic CPU module. Up to four
extension modules can be connected on the right-hand side between the basic CPU module and the power
supply unit. Two extension modules for additional storage media (CFast card, SSD) and two extension
modules for a USB extension.
Microsoft Windows 10 IoT Enterprise LTSB can be used as operating system.
The basic CPU module features 128 kB NOVRAM as internal persistent data memory and can be used as
an alternative to a power supply unit with capacitive UPS or an external battery pack. In the event of a power
failure, important data are stored in the NOVRAM and are available again after a restart.
CX20x211Version: 1.7
Product overview
The basic CPU module can be ordered ex factory with an optional interface. The optional interface cannot be
retrofitted.
Table2: Available optional interfaces for the CX20x2.
CX20x0-xxxx Optional interfaces
CX20x0-N010 DVI-D, additional DVI-D socket for clone and extended display mode.
CX20x0-N011 DisplayPort, additional DisplayPort for clone and extended display mode
CX20x0-N030 RS232, D-sub connector, 9-pole.
CX20x0-N031 RS422/RS485, D-sub socket, 9-pole.
CX20x0-B110 EtherCAT slave, EtherCAT IN and OUT (2 x RJ45).
CX20x0-M930 PROFINET RT, controller, Ethernet (2 x RJ-45).
CX20x0-B930 PROFINET RT, device, Ethernet (2 x RJ-45 switch).
CX2100 power supply units
The CX2100 power supply units serve the basic CPU module and all additional modules. Bus Terminals (Kbus) or EtherCAT Terminals (E-bus) can be attached on the right-hand side of the power supply units. The
following power supply unit is available for the CX20x2 Embedded PC:
• CX2100-0014: E-bus/K-bus power supply unit with automatic switchover and passive ventilation.
• CX2100-0914: E-bus/K-bus power supply unit with automatic switching and integrated charging
electronics for an external battery pack.
The power supply units feature an illuminated anti-glare LC display with two rows of 16 characters each for
displaying status messages. Application-specific texts can be displayed with the aid of user programs.
System, fieldbus and extension modules
System or fieldbus modules of type CX2500-xxxx can be connected on the left-hand side of the basic CPU
module. Up to four modules can be connected to the multi-pole connection on the left. Extension modules of
type CX2550 can be connected on the right between the basic CPU module and the power supply unit.
Software
In combination with the TwinCAT automation software the CX20x2 Embedded PC becomes a powerful IEC
61131-3 PLC. In conjunction with EtherCAT and TwinCAT, it is possible to implement very fast control
processes in the microsecond range (XFC eXtreme Fast Control Technology).
It is also possible to execute Motion Control tasks with potentially up to 256 axes. Depending on the required
sampling time, several servo axes can be controlled. Even special functions such as flying saw, electronic
gearbox and cam plate can be realized.
In addition to handling real-time control tasks the TwinCAT real-time kernel leaves enough time for the user
interface (HMI). The high performance of the graphics core integrated in the CPU enables demanding
visualizations with advanced user interfaces to be realized.
CX20x212Version: 1.7
4.1Configuration of the basic CPU module
1
2
3
6
4
5
7
8
9
10
Fig.2: Example of a CX2072 Embedded PC.
Table3: Legend for the configuration of the basic CPU module
Product overview
No.ComponentDescription
1Multi-pole connection (left) Extension through system modules and fieldbus modules of type
CX2500.
2
3
4
5
6
7
8Multi-pole connection
9
10
Optional interface [}22]
(X300)
DVI-I interface [}21]
(X200)
Battery compartment
[}62] (under the front
flap).
[}62]
RJ45 Ethernet interfaces
[}20] (X000, X001).
USB 3.0 interfaces [}19]
(X100, X101, X102, X103).
Diagnostic LEDs [}57].
(right)
Fan cartridge [}63] (under
the front flap).
CFast card slot [}35].
Space for interfaces such as RS232, EtherCAT, CANopen or
others.
The optional interface must be ordered ex factory and cannot be
retrofitted retrospectively.
Interface for a monitor or Panel.
Power supply for the battery-backed clock for time and date.
For connecting to local networks, internet or EtherCAT.
Interfaces for peripherals such as mouse, keyboard or USB
memory.
Diagnostic LEDs for power supply, TwinCAT, CFast card and
optional interface.
Connection for extension modules of type CX2550 and for power
supply units of type CX2100.
The CX20x2 Embedded PCs feature a fan cartridge as standard.
Slot for industrial CFast cards.
CX20x213Version: 1.7
Product overview
1
2
3
4
5
6
7
4.2Name plate
The CX20x2 Embedded PC features a name plate on the left-hand side of the housing.
Fig.3: CX20x2 name plate.
Table4: Legend for the name plate.
No.Description
1Information on the power supply unit. 24VDC, 4A max.
2MAC addresses of the integrated Ethernet ports.
By default, the host name is formed from CX plus the last 3 bytes of the MAC address:
for example, the MAC address: 00-01-05-aa-bb-cc results in the host name CX-aabbcc.
3Information on:
• serial number,
• hardware version
• and date of manufacture.
4Information on the model. The last four numerals relate to the configuration of Embedded
PC.
5Manufacturer information including address.
6CE compliant.
7Windows license sticker (optional).
CX20x214Version: 1.7
4.3Module overview
Product overview
CX20x215Version: 1.7
Product overview
4.4Types
The basic CPU module can be ordered with different hardware and software options. Use this overview in
conjunction with the information on the name plate to ascertain the hardware, operating system and
TwinCAT version of the basic CPU module.
Fig.4: Nomenclature for the basic CPU module.
The basic CPU module CX2042, CX2062 and CX2072 is available with the following software options:
Table5: CX20x2, ordering information for software.
Moduleno
operating
system
CX20x2-0100X--X-
CX20x2-0150-X-X-
CX20x2-0155-X--X
CX20x2-0170--XX-
CX20x2-0175--X-X
An CX20x2 Embedded PC with Windows 10 IoT Enterprise LTSB 64 bit requires a CFast card with a
capacity of at least 40GB.
Windows
10 IoT Enterprise
2016 LTSB
64-bit
Windows
10 IoT Enterprise
2019 LTSC
64-bit
no
TwinCAT
TwinCAT 3
XAR
CX20x216Version: 1.7
Product overview
4.5Architekture overview
The many-core CX20x2 Embedded PCs all have the same architecture, which is structured as follows:
Fig.5: CX20x0 architecture overview.
The CX20x2 Embedded PCs are based on the Broadwell microarchitecture developed by Intel. The following
CPUs are used:
• Intel® Xeon® D-1527,
• Intel® Xeon® D-1548,
• and Intel® Xeon® D-1567.
In addition to the arithmetic unit, the CPU also houses the memory controller. The memory is connected
directly to the memory controller. The Embedded PCs are available in three memory configurations: 8GB,
16GB and 32GB DDR4 RAM. The memory configuration must be ordered from the factory and is not
expandable.
The CX20x2 Embedded PCs have a graphics card with a separate 2GB RAM memory. This separation of
CPU RAM and GPU RAM prevents inhibitory influences between the two processing units.
The CX20x2 Embedded PCs feature all common interfaces:
• 4 x USB 3.0
• 1x USB 2.0 internal (power supply unit control button / display).
• DVI-I interface. Second interface optional: DVI-D or DisplayPort.
• 1 PCIe lane for each of the two Intel® WGI210IT Gigabit Ethernet controllers.
• LPC interface for super I/O controller for serial interface (CX20x0-N03x).
• 4 PCIe lanes via the multi-pole connection (left).
CX20x217Version: 1.7
Product overview
• 1 PCIe to FPGA for K-/E-bus and NOVRAM.
• 2x SATA internal via the multi-pole connection (right).
• 2x USB internal via the multi-pole connection (right).
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® WGI210IT Gigabit Ethernet controllers are used as network controllers. There are two independent
LAN interfaces. Both LAN interfaces are gigabit-capable and support jumbo frames.
CX20x218Version: 1.7
Description of the interfaces
5Description of the interfaces
5.1USB 3.0 interfaces (X100, X101, X102, X103)
Fig.6: USB 3.0 interfaces X100, X101, X102, X103.
The Embedded PC has four independent USB 3.0 interfaces for connecting keyboards, mice, touchscreens
and other input or data storage devices.
Fig.7: USB 3.0 interface, pin numbering.
Note the power consumption of the individual devices. Each interface is limited to 900mA. The USB 3.0
interface is of type A and corresponds to the USB 3.0 specification.
Table6: USB 3.0 interfaces (X100, X101, X102, X103), connection.
PinPinoutDescription
1VCC (VBUS)5 V for USBX
2D-Minus data channel USBX
3D+Plus data channel USBX
4GNDGround
5StdA_SSRX-SuperSpeed Receiver-
6StdA_SSRX+SuperSpeed Receiver+
7GND_DRAINGround
8StdA_SSTX-SuperSpeed Transmitter-
9StdA_SSTX+SuperSpeed Transmitter+
ShellShieldDrain Wire
CX20x219Version: 1.7
Description of the interfaces
X000
X001
LAN 1
LAN 2
LINK / ACT 2
SPEED 2
LINK / ACT 1
SPEED 1
5.2Ethernet RJ45 (X000, X001)
The two Ethernet interfaces are independent; no switch is integrated. The independent Ethernet interfaces
can be configured in different ways. In delivery state the Ethernet interfaces (X000, X001) are configured for
EtherCAT communication.
Note that an additional switch is required for a line topology.
Fig.8: Ethernet interface X000, X001.
Both Ethernet interfaces reach speeds of 10 / 100 / 1000 Mbit. The LEDs on the left of the interfaces indicate
the connection status. The upper LED (LINK/ACT) indicates whether the interface is connected to a network.
If this is the case the LED is green. The LED flashes when data transfer is in progress.
The lower LED (SPEED) indicates the connection speed. The LED does not light up if the speed is 10 Mbit.
The LED is green if the speed is 100 Mbit. The LED lights up red if the speed is 1000 Mbit (gigabit).
Fig.9: Ethernet interface, pin numbering.
Table7: Ethernet interface X000 and X001, pin assignment.
PINSignalDescription
1T2 +Pair 2
2T2 -
3T3 +Pair 3
4T1 +Pair 1
5T1 -
6T3 -Pair 3
7T4 +Pair 4
8T4 -
CX20x220Version: 1.7
Description of the interfaces
5.3DVI-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.
Fig.10: DVI-I interface X200.
Table8: DVI-I interface X200, pin assignment.
PinAssignmentPinAssignmentPinAssignment
1TMDS Data 2-9TMDS Data 1-17TMDS Data 0-
2TMDS Data 2+10TMDS Data 1+18TMDS Data 0+
3TMDS Data 2/4 Shield11TMDS Data 1/3 Shield19TMDS Data 0/5 Shield
Table10: DVI-I interface X200, resolution at the monitor.
Resolution in pixelsDistance of the interface from the monitor
1920 x 12005 m
1920 x 10805 m
1600 x 12005 m
1280 x 10245 m
1024 x 7685 m
800 x 6005 m
640 x 4805 m
The Embedded PC also supports higher resolutions, based on the DVI standard. A maximum resolution of
2560 x 1440 pixels can be set on the Embedded PC. Whether this resolution is achieved depends on the
monitor, the cable quality and the cable length.
CX20x221Version: 1.7
Description of the interfaces
5.4Optional interfaces
5.4.1DVI-D (N010)
The DVI-D interface (X300) transfers digital data and is suitable for connection to digital displays. If the
optional 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”. These make a cable length of up to 50 meters possible.
Fig.11: DVI-D interface X300.
Table11: DVI-D interface X300, pin assignment.
PinAssignmentPinAssignmentPinAssignment
1TMDS Data 2-9TMDS Data 1-17TMDS Data 0-
2TMDS Data 2+10TMDS Data 1+18TMDS Data 0+
3TMDS Data 2/4 Shield11TMDS Data 1/3 Shield19TMDS Data 0/5 Shield
Table12: DVI-D interface X300, resolution at the monitor.
Resolution in pixelsDistance of the interface from the monitor
1920 x 12005 m
1920 x 10805 m
1600 x 12005 m
1280 x 10245 m
1024 x 7685 m
800 x 6005 m
640 x 4805 m
The Embedded PC also supports higher resolutions, based on the DVI standard. A maximum resolution of
2560 x 1440 pixels can be set on the Embedded PC. Whether this resolution is achieved depends on the
monitor, the cable quality and the cable length.
CX20x222Version: 1.7
Description of the interfaces
5.4.2DisplayPort (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.12: 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.
Table13: DisplayPort, pin assignment.
PinAssignmentPinAssignment
1LVDS lane 0+2Ground
3LVDS lane 0-4LVDS lane 1+
5Ground6LVDS lane 1-
7LVDS lane 2+8Ground
9LVDS lane 2-10LVDS lane 3+
11Ground12LVDS lane 3-
13Config 114Config 2
15AUX channel+16Ground
17AUX channel-18Hot-plug detection
19Power supply: ground20Power supply: 3.3 V / 500 mA
Table14: DisplayPort X300, resolution at the monitor.
InterfaceResolution in pixels
DisplayPortmax. 2560 x 1600 @ 60 Hz
DisplayPort with adapter, DisplayPort to DVI-Dmax. 1600 x 1200 @ 60 Hz
CX20x223Version: 1.7
Description of the interfaces
5.4.3RS232 (N030)
The optional N030 interface provides an RS232 interface (X300). The RS232 interface is implemented on a
9-pin D-sub connector.
Fig.13: RS232 interface X300 with pin numbering.
The maximum baud rate on both channels is 115 kbit. The interface parameters are set via the operating
system or from the PLC program.
Table15: RS232 interface X300, pin assignment.
PINSignalTypeDescription
1DCDSignal inData Carrier Detected
2RxDSignal inReceive Data
3TxDSignal outTransmit Data
4DTRSignal outData Terminal Ready
5GNDGroundGround
6DSRSignal inDataset Ready
7RTSSignal outRequest to Send
8CTSSignal inClear to Send
9RISignal inRing Indicator
CX20x224Version: 1.7
Description of the interfaces
5.4.4RS422/RS485 (N031)
The optional N031 interface provides an RS422 or RS485 interface (X300). The interface is implemented on
a 9-pin D-sub connector.
Fig.14: RS485 interface X300 with pin numbering.
The maximum baud rate on both channels is 115 kbit. The interface parameters are set via the operating
system or from the PLC program.
Table16: RS422/485 interface, pin assignment.
PINSignalTypeDescription
2TxD+Data-Out +Transmit 422
3RxD+Data-In +Receive 422
5GNDGroundGround
6VCCVCC+5 V
7TxD-Data-Out -Transmit 422
8RxD-Data-In -Receive 422
For RS485 pins 2 and 3 (data +) must be connected, and pins 7 and 8 (data –).
By default the interface is parameterized as follows on delivery:
Table17: Default setting, RS485 without echo with end point (terminated).
FunctionStatus
Echo onoff
Echo offon
Auto send onon
Always send onoff
Auto receive onon
Always receive onoff
Term onon
Term onOn
Other configurations for the RS485 interface
Other configurations for the RS485 interface can be ordered ex factory. The following options are available:
• N031-0001 RS485 with echo, end point (terminated).
• N031-0002 RS485 without echo, stub (without termination).
• N031-0003 RS485 with echo, stub (without termination).
• N031-0004 RS422 full duplex end point (terminated).
An RS485 interface cannot be configured retrospectively and must always be ordered ex factory as required.
CX20x225Version: 1.7
Description of the interfaces
5.4.5EtherCAT slave (B110)
The latest generation of Embedded PCs can be ordered ex factory with an EtherCAT slave interface (B110).
On the devices the optional B110 interface is referred to as X300.
Fig.15: EtherCAT slave interface X300.
The incoming EtherCAT signal is connected to the upper LAN interface. The lower LAN interface relays the
signal to other EtherCAT slave devices.
Fig.16: EtherCAT slave LAN interface, pin numbering.
Fig.20: PROFINET RT LAN interface, pin numbering.
Table22: PROFINET RT interface, pin assignment.
Description of the interfaces
PINSignalDescription
1TD +Transmit +
2TD -Transmit -
3RD +Receive +
4connectedreserved
5
6RD -Receive -
7connectedreserved
8
CX20x229Version: 1.7
Commissioning
1
2
3
7
4
5
8
6
2
6Commissioning
6.1Selecting the appropriate CX2100 power supply unit
The basic CPU module requires a power supply unit of the type CX2100-0014 or CX2100-0914 for the
power supply. Connect the power supply unit to the multi-pin port on the right of the basic CPU module.
None of other power supply units of the CX2000 family are suitable for the CX20x2 Embedded PC.
Table23: Suitable power supply unit for the CX20x2 Embedded PC.
Basic CPU modulePower supply unit
CX2042• CX2100-0014 (130 W)
from HW version: 2.4
• CX2100-0914 (100 W)
• CX2100-0024 (240 W)
CX2062• CX2100-0014 (130 W)
CX2072
from HW version: 2.4
• CX2100-0024 (240 W)
Configuration of the power supply terminal
Fig.21: Embedded PC CX2042 with power supply unit CX2100-0014, configuration of the power supply
terminal.
Table24: Legend for configuration of the power supply terminal.
No.DescriptionNo.Description
1Diagnostic LEDs50 V, Bus Terminal supply
2Terminal bus (K- or E-bus)6Terminal release
3+24 V and 0 V, for basic CPU module7PE, spring-loaded terminal
4+24 V, Bus Terminal supply8+24 V, 0 V, PE, for power contacts
CX20x230Version: 1.7
Commissioning
6.2Mounting
6.2.1Attaching the power supply unit
The basic CPU module requires the CX2100-0014 or CX2100-0914 power supply unit for the power supply.
Plug the power supply unit into the high-pole connection on the right on the basic CPU module.
None of other power supply units of the CX2000 family are suitable for the CX20x2 Embedded PC.
Proceed as follows:
1. Use the CX2100-0014 or CX2100-0914 power supply unit.
2. Plug the power supply unit into the basic CPU module on the right.
ð Next you can install the bar clips.
6.2.2Installing the bar clips
Usually, the connection between the modules is strong enough. However, the basic CPU module and the
attached modules may be subjected to shocks, vibrations or other impacts. The modules can be securely
connected to one another with the aid of bar clips.
Install the bar clips as follows:
1. Attach the bar clips at the top and bottom between the cooling fins.
2. Push the bar clips between the cooling fins of your devices, as shown in the image below.
ð The bar clips have been installed successfully, if they don't protrude and are level with the cooling fins of
your modules.
Once all modules are latched, the devices can be installed on the mounting rail.
CX20x231Version: 1.7
Commissioning
6.2.3Note the permissible installation positions
NOTE
Increased heat generation
The Embedded PC may overheat if the minimum distances are not adhered to.
• The Embedded PC may only be operated at ambient temperatures of up to 50°C. Ensure adequate ventilation. Leave at least 30 mm clearance above and below the Embedded PC.
Note the following specifications for the control cabinet:
• The Embedded PC should only be operated at ambient temperatures between -25°C and 50°C.
Measure the temperature below the Embedded PC at a distance of 30mm to the cooling fins, in order
to determine the ambient temperature correctly.
• Adhere to the minimum distances of 30mm above and below the Embedded PCs.
• Additional electrical equipment affects the heat generation in the control cabinet. Select a suitable
control cabinet enclosure depending on the application, or ensure that excess heat is dissipated from
the control cabinet.
The Embedded PCs can be mounted horizontally, vertically or horizontally on a mounting rail. Use
exclusively the CX2100-0014 or CX2100-0914 power supply unit.
Horizontal installation position
The permissible ambient temperature range is -25 to 50°C. In addition, a minimum clearance of 30mm
above and below the cooling fins of the Embedded PCs is required in order to ensure adequate ventilation.
This ensures optimum air flow through the cooling fins of the Embedded PC.
Fig.22: Embedded PC CX20x2, horizontal installation position.
If there is a risk of vibrations or impact in the same direction as the mounting rail when the Embedded PC is
installed horizontally, the device must be secured with an additional bracket in order to prevent it slipping.
CX20x232Version: 1.7
Commissioning
Vertical mounting position
The minimum distance of at least 30 mm above and below the cooling fins of the Embedded PC must also
be adhered to when the device is mounted vertically.
Ensure that any Bus Terminals connected to the Embedded PC are designed for operation in vertical
position.
If you install the Embedded PC vertically, the device must be fastened properly to prevent it slipping off the
DIN rail. Install a bracket below the Embedded PC for this purpose.
Horizontal mounting position
The minimum distance of at least 30mm above and below the cooling fins of the Embedded PC must also
be adhered to when the device is mounted horizontally.
Ensure that any Bus Terminals connected to the Embedded PC are designed for operation in horizontal
position.
If there is a risk of vibrations or impact in the same direction as the mounting rail when the Embedded PC is
installed horizontally, the device must be secured with an additional bracket in order to prevent it slipping.
CX20x233Version: 1.7
Commissioning
6.2.4Attaching 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. Unlock the latches at the top and bottom.
2. Place the Embedded PC at the front of the mounting rail. Slightly press the Embedded PC onto the
mounting rail until a soft click can be heard and the Embedded PC has latched.
3. Then lock the latches again.
ð You have installed the Embedded PC successfully. Double-check the correct installation and latching of
the Embedded PC on the mounting rail.
CX20x234Version: 1.7
Commissioning
6.2.5CFast card installation and removal
NOTE
Loss of data
CFast cards are subjected to heavy load during operation and have to withstand many write cycles and extreme ambient conditions. CFast cards from other manufacturer may fail, resulting in data loss.
• Only use industrial CFast cards provided by Beckhoff.
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).
The eject mechanism is based on the push/push principle. The installation and removal of CFast cards is
described below.
Requirements:
• The basic CPU module must be switched off. The CFast cards may only be installed or removed in
switched off state.
Removing a CFast card
1. Gently push the CFast card.
A soft click can be heard when the card is released.
2. The card is lifted by approx. 4 mm from the housing. Pull out the card.
Installing a CFast card
1. Push the CFast card into the CFast card slot.
2. A soft click can be heard when the CFast card engages.
ð The card is seated correctly if it is flush with the front side of the device housing.
CX20x235Version: 1.7
Commissioning
6.2.6Installing 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.
Passive EtherCAT Terminals have no process image and do not require current from the terminal bus (Ebus).
Passive EtherCAT Terminals (e.g. EL9195) can be detected in TwinCAT. In the tree structure the EtherCAT
Terminal is displayed without process image, and the value in column “E-bus (mA)” does not change,
compared to the preceding EtherCAT Terminal.
Fig.25: Identifying a passive EtherCAT Terminal in TwinCAT.
The entry "Current consumption via E-Bus" in the technical data of an EtherCAT Terminal indicates whether
a particular EtherCAT Terminal requires power from the terminal bus (E-bus).
The following diagram shows the permissible installation of a passive EtherCAT Terminal. The passive
EtherCAT Terminal was not directly attached to the power supply unit.
• The cables for the power supply should only be connected in de-energized state.
The CX2100-0014 power supply units require an external voltage source, which provides 24VDC (-15% /
+20%).
The cabling of the Embedded PC in the control cabinet must be done in accordance with the standard EN
60204-1:2006 PELV = Protective Extra Low Voltage:
• The "PE" and "0V" conductors of the voltage source for a basic CPU module must be on the same
potential (connected in the control cabinet).
• Standard EN 60204-1:2006, section 6.4.1:b stipulates that one side of the circuit, or a point of the
energy source for this circuit must be connected to the protective earth conductor system.
Connection example with CX2042 basic CPU module and CX2100-0014 power supply unit:
Table25: Legend for the connection example.
No.Description
1The upper spring-loaded terminals identified with "24V" and "0V" supply the basic CPU
module and the terminal bus (data transfer via K- or E-bus).
2The spring-loaded terminals identified as "+", "-" and "PE" supply the Bus Terminals via
the power contacts and the sensors or actuators connected to the Bus Terminals.
CX20x237Version: 1.7
Commissioning
The cables of an external voltage source are connected to the power supply unit with spring-loaded
terminals.
Table26: Required wire cross-sections and strip lengths.
Conductor cross-section0,5 ... 2,5 mm
2
AWG 20 ... AWG 14
Strip length8 ... 9 mm0.33 inch
Connect the Embedded PC as follows:
1. Open a spring-loaded terminal by slightly pushing with a screwdriver or a rod into the square opening
above the terminal.
2. The wire can now be inserted into the round terminal opening without any force.
3. The terminal closes automatically when the pressure is released, holding the wire safely and
permanently.
The voltage source has been connected to the power supply unit
successfully when the two upper power supply terminal LEDs light up in
green.
• The left LED (Us) indicates the supply of the basic CPU module and
terminal bus.
• The red LED (Up) indicates the Bus Terminal supply via the power
contacts.
NOTE
Interrupting / switching off the power supply
To switch off the Embedded PC, do not disconnect the ground (0 V), because otherwise current may continue to flow via the shielding, depending on the device, and damage the Embedded PC or peripheral devices.
• Always disconnect the 24 V line. Devices connected to the Embedded PC, which have their own power
supply (e.g. a Panel) must have the same potential for "PE" and "0 V" as the Embedded PC have (no
potential difference).
CX20x238Version: 1.7
Commissioning
6.4Switching 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 Embedded PC is mounted securely on the DIN rail and all required Bus Terminals
are connected.
3. Only connect the external power supply for the power supply unit after having done so.
ð The Embedded PC starts automatically as soon as you connect the external power supply for the power
supply unit. The pre-installed operating system is started and all connected extension, system and
fieldbus modules are configured.
6.5Switching off
NOTE
Loss of data
If the Embedded PC is switched off during operation, data on the CFast card or other hard disks may be
lost.
• Do not disconnect the Embedded PC from the power supply during operation.
Switch off the Embedded PC as follows:
1. Stop all running programs properly, e.g. the control software on the Embedded PC.
2. Shut down the operating system.
3. Switch off the external power supply for the power supply unit last so that the Embedded PC is switched
off.
CX20x239Version: 1.7
Configuration
7Configuration
7.1Windows 10 IoT Enterprise LTSB
7.1.1Identification of the Ethernet interfaces (X000, X001)
Network and Sharing Center
In the Network and Sharing Center the Ethernet interfaces (X000, X001) of the CX20x0 Embedded PC are
identified as follows as standard:
• Ethernet 2 corresponds to the Ethernet interface X000.
• Ethernet corresponds to the Ethernet interface X001.
Fig.28: Windows 10, Identification of the Ethernet interfaces (X000, X001) in the Network and Sharing
Center.
Device Manager
In the Device Manager the Ethernet interfaces (X000, X001) of the CX20x0 Embedded PC are identified as
follows as standard:
• TwinCAT Intel PCI Ethernet adapter (gigabit) corresponds to the Ethernet interface X001.
• TwinCAT Intel PCI Ethernet adapter (gigabit) #2 corresponds to the Ethernet interface X000.
Fig.29: Windows 10, identification of the Ethernet interfaces (X000, X001) in the device manager.
CX20x240Version: 1.7
Configuration
7.2Starting the Beckhoff Device Manager
Using the Beckhoff Device Manager, an Industrial PC can be configured by remote access with the aid of a
web browser. Depending on the image version, access takes place via different protocols and requires
different open ports. For older image versions access takes place via the HTTP protocol and Port 80 (TCP).
More up-to-date image versions use HTTPS and Port 443 (TCP).
Requirements:
• Host PC and Embedded PC must be located in the same network. Depending on the operating system
version, the network firewall must allow access via port 80 (HTTP) or port 443 (HTTPS).
• IP address or host name of the Embedded PC.
Table27: Access data for the Beckhoff Device Manager on delivery.
Operating systemAccess data
Windows 10 IoT Enterprise LTSB User name: Administrator
Password: 1
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
• Example with host name: https://CX-16C2B8/config
3. Enter the user name and password. The start page appears:
ð Navigate forward in the menu and configure the Industrial PC. Note that modifications only become
active once they have been confirmed. It may be necessary to restart the Industrial PC.
CX20x241Version: 1.7
Configuration
1
6
2
3
4
5
7.3TwinCAT
7.3.1Tree 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 a CX20x0 Embedded PC, consisting of a basic CPU module and a
CX2100-0004 power supply unit, is displayed in the tree view of TwinCAT 3 as follows:
Fig.30: CX20x0 Embedded PC in the tree view of TwinCAT 3, with attached EtherCAT Terminals (left) or
Bus Terminals (right).
The configuration in the tree view differs depending on whether EtherCAT Terminals or Bus Terminals are
connected to the Embedded PC.
Table28: Legend for the tree view.
No.Description
1The CX20x0 Embedded PC with EtherCAT Terminals is added as
EtherCAT master. Variables for diagnostic purposes are listed under inputs
or outputs.
2EtherCAT Terminals (E-bus) are displayed under the EK1200 Bus Coupler
in the tree view.
3The power supply unit for the CX20x0 Embedded PC appears under a USB
device. The power supply unit also has variables for diagnostic purposes.
4The CX20x0 features NOVRAM for storing up to 128 kB of data securely. At
this point the NOVRAM handler is created, followed by configuration of the
retain variables.
5If Bus Terminals (K-bus) are used together with a CX20x0 Embedded PC,
the Bus Coupler (CX-BK) is added together with the Bus Terminals.
CX20x242Version: 1.7
Configuration
7.3.2Searching 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. In TwinCAT a search can be performed for all devices in this way and project planning
subsequently carried out.
Prerequisites for this step:
• TwinCAT 3 must be in Config mode.
• IP address or host name of the device.
Search for the devices as follows:
1. In the menu at the top click on File > New > Project and create a new TwinCAT XAE project.
2. In the tree view on the left click on SYSTEM, and then Choose Target.
3. Click on Search (Ethernet).
4. Type the host name or the IP address of the device into the Enter Host Name / IP box and press
[Enter].
5. Mark the device found and click on Add Route.
The Logon Information window appears.
CX20x243Version: 1.7
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.
7. Select the device you want to specify as target system and click OK.
ð You have successfully searched for a device in TwinCAT and inserted the device as the target system.
The new target system and the host name are displayed in the menu bar.
Using this procedure you can search for all available devices and also switch between the target systems
at any time. Next, you can append the device to the tree view in TwinCAT.
CX20x244Version: 1.7
7.3.3Scanning 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. In the tree view on the left, right-click on I/O Devices.
3. In the context menu click on Scan.
Configuration
4. Select the devices you want to use and confirm the selection with OK.
Only devices that are actual available are offered for selection.
For Embedded PCs with connected Bus Terminals (K-bus) a Bus Coupler device (CX-BK) is displayed.
For EtherCAT Terminals (E-bus) the EtherCAT coupler is added automatically.
5. Confirm the request with Yes, in order to look for boxes.
6. Confirm the request whether to enable FreeRun with Yes.
ð The Embedded PC was successfully scanned in TwinCAT and is displayed in the tree view with the
inputs and outputs.
The Tree view chapter illustrates how Embedded PCs with connected Bus or EtherCAT Terminals are
displayed.
CX20x245Version: 1.7
Configuration
5 VB
EK 1100
BECKHOFF
5 VB
EL 2032
BECKHOFF
5 VB
EL 2032
BECKHOFF
5VB
EL2032
BECKHOFF
5 VB
EL 2032
BECKHOFF
5 VB
EL 2032
BECKHOFF
EL 1110
BECKHOFF
FB1
PWR
TC
FB2
HDD
24V 0V
++
- -
PE PE
BECKHOFF
CX2020
CX2100
enter
nav
0004
24V 0V
++
- -
PE PE
1
2
3
4
5
6
7
8
BECKHOFF
EK1100
BECKHOFF
EK1110
7.3.4Configuring EtherCAT cable redundancy.
The Embedded PC has two independent Ethernet interfaces, which can be used for EtherCAT cable
redundancy. Cable redundancy offers resilience for the cabling. Interruptions of the EtherCAT
communication due to broken wires or unplugged LAN cables are avoided.
Fig.31: Smallest possible configuration for EtherCAT cable redundancy.
Interference at the individual terminals is not intercepted by the cable redundancy.
Table29: Cable redundancy, hardware for sample configuration.
TypeDescription
CX2020 Embedded PC Is the EtherCAT master in the example.
Bus Coupler EK1110EtherCAT extension can be used to extend an EtherCAT
segment by up to 100 m.
EK1100 Bus CouplerThe Bus Coupler relays the EtherCAT signal to connected
EtherCAT Terminals.
EtherCAT TerminalsAny number of EtherCAT Terminals can be connected to
the CX20x0 Embedded PC and the Bus Coupler.
Requirements:
• For TwinCAT 2 you have to install and license the supplement TS622x | TwinCAT EtherCAT
Redundancy on the Embedded PC:
• 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.
CX20x246Version: 1.7
Configure EtherCAT cable redundancy as follows:
1. In the tree view click on the EtherCAT master.
Configuration
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.
CX20x247Version: 1.7
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. If, for example, the cable
connection between the EK1100 and EK1110 Bus Couplers is interrupted, the status of the Bus Coupler
changes. The message "LINK_MIS B" and "LINK_MIS A" appears under status.
Although the connection between the Bus Couplers is interrupted, the EtherCAT Terminals connected to
the EK1100 Bus Coupler show no fault.
If the cable connection is interrupted without cable redundancy at the same location, the terminals show
a fault under status.
CX20x248Version: 1.7
Configuration
7.3.5Using a hardware watchdog
The function block FB_PcWatchdog_BAPI activates a hardware watchdog on the Embedded PC. The
watchdog can be used to automatically restart systems that have entered an infinite loop or where the PLC
has stopped.
The watchdog is activated with bExecute = TRUE and nWatchdogTimeS >= 1s.
Once the watchdog has been activated, the function block must be called cyclically and at shorter intervals
than nWatchdogTimeS, because the Embedded PC automatically restarts if the set time is less than
nWatchdogTimeS.
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:
• Tc2_System library.
• TwinCAT v3.1.0
• A previously created PLC project in TwinCAT.
Locating the function block in TwinCAT:
1. Double-click on Tc2_System in the tree view under PLC > PLC project > References.
The Library Manager appears.
2. Under Tc2_System > POUs > SYSTEM +TIME click on the function block FB_PcWatchdog_BAPI.
ð The description of the function block can then be found under the Documentation tab or in the library
description under: FB_PcWatchDog_BAPI. If necessary, you can install the Tc2_System library at a
later stage via the Add Library button in the Library Manager.
CX20x249Version: 1.7
NOVRAM
8NOVRAM
The NOVRAM can be used to reliably save important variable values, such as production data or counter
values, in the event of a power failure. The memory size of the NOVRAM is limited and only suitable for
smaller data quantities up to 63 kB.
This chapter illustrates how the NOVRAM is
• used in TwinCAT 3 (see: Use under TwinCAT 3 [}51]).
Functioning
The NOVRAM (Non-Volatile Random Access Memory) is a special memory component that is used to
reliably save important data. The NOVRAM consists of two sections, a volatile memory and a non-volatile
memory.
TwinCAT only writes to the volatile section of the NOVRAM. In the event of a power failure, the data are
automatically copied from the volatile memory into the non-volatile memory. The energy required for this
process is supplied by a capacitor. As soon as the power supply is restored, the data are automatically
copied back into the volatile memory, so that TwinCAT can continue to use them.
Fig.32: Controller behavior with and without NOVRAM.
Memory size
The NOVRAM has a capacity of 128 kB. However, for reasons of data consistency, effectively less than 63
kB of data can be securely saved in the NOVRAM. The data are saved cyclically and alternately based on
the dual buffer principle, in order to avoid the risk of data inconsistency.
Requirements
Development environment
TwinCAT 3.1 Build: 4020 PC or CX (x86, x64, ARM) CX9020, CX20x0,
Target platformsHardwarePLC libraries
to include
Tc2_IoFunctions
CX20x2
CX20x250Version: 1.7
NOVRAM
8.1Use under TwinCAT 3
Under TwinCAT 3 (from Build 4020) a delta algorithm is used to save data in the NOVRAM. The algorithm
does not save all the variables in the NOVRAM. Instead, it searches for changes (delta function) compared
to the previous cycle and only saves variables that have changed.
To use the delta algorithm, a Retain Handler must be created in TwinCAT 3, and the relevant variables must
be declared in the PLC with the keyword VAR_RETAIN.
A new feature of this method is that no function blocks have to be used. The Retain Handler saves data in
the NOVRAM in the event of a power failure and makes them available again once the power has been
restored.
8.1.1Creating a Retain Handler
This chapter describes how to create a Retain Handler in TwinCAT 3. The Retain Handler saves data in the
NOVRAM and makes them available again. In other words, important variable values such as production
data or counter values are retained during a restart or power failure.
Prerequisites for this step:
• TwinCAT 3.1 Build: 4020.
• A target device selected in TwinCAT.
Create the Retain Handler as follows:
1. Right-click on Devices in the tree view on the left-hand side.
2. In the context menu click on Scan.
3. Select Device (NOV-DP-RAM) and confirm with OK.
4. Click on Yes to search for boxes.
CX20x251Version: 1.7
NOVRAM
5. Click on Device (NOV-DP-RAM) in the tree view on the left-hand side and then on the tab GenericNOV-DP-RAM Device.
6. Click on the option PCI.
7. Right-click on Device (NOV-DP-RAM) in the tree view and then on Add New Item.
8. Select the Retain Handler and click on OK.
ð You have successfully created a Retain Handler in TwinCAT.
In the next step you can create retain variables in the PLC and link them with the Retain Handler.
CX20x252Version: 1.7
NOVRAM
8.1.2Creating and linking variables
Once you have created a Retain Handler in TwinCAT, you can declare variables in the PLC and link them to
the Retain Handler. The variables have to be identified in the PLC with the keyword VAR_RETAIN.
Prerequisite for this step:
• A PLC project created in TwinCAT.
Create variables as follows:
1. Create the variables in your PLC project in a VAR RETAIN area.
2. Click on Build in the toolbar at the top, then on Build Solution.
3. Click on PLC Instance in the tree view on the left and then on the tab Data Area.
CX20x253Version: 1.7
NOVRAM
4. Under Retain Hdl, select the Retain Handler that you have created.
ð After selecting a Retain Handler as a target, the symbols in the tree view are linked and a mapping is
created.
In the tree view the variables are created from the PLC under the Retain Handler and linked to the
variables from the PLC instance.
An existing link is displayed with an arrow symbol.
CX20x254Version: 1.7
NOVRAM
8.1.3Note the write speed of the Retain Handler
The Retain Handler takes a certain amount of time to search for changes (delta function) in the variables and
save them in the NOVRAM.
The following diagrams provide an overview of how long the Retain Handler needs to save a particular data
quantity in the NOVRAM. Use the diagrams to select your task cycle time such that a particular data quantity
is saved in the NOVRAM within the selected task cycle time.
Fig.33: Retain Handler write speed, up to 63 kB in 512 byte steps.
Fig.34: Retain Handler write speed, up to 8 kB in 64 byte steps.
CX20x255Version: 1.7
NOVRAM
8.1.4Deleting variables under the Retain Handler
If variables are deleted from the PLC, the link with the Retain Handler is cancelled. However, the variables
continue to be shown under the Retain Handler and are not deleted automatically.
Under TwinCAT 3 the variables have to be deleted manually.
Prerequisites for this step:
• Variables declared with VAR_RATAIN were deleted from the PLC.
Delete the variables under the Retain Handler as follows:
1. The variable GVL_Retain.iNt under the Retain Handler is to be deleted.
2. Right-click on the Retain Handler in the tree view on the left.
3. In the context menu click on Optimize Retain Variables.
ð The variable under the Retain Handler is deleted.
CX20x256Version: 1.7
9Error handling and diagnostics
9.1Basic CPU module
9.1.1LEDs on the basic CPU module
DisplayLEDMeaning
PWRPower supply. The Power LED comes on when the device is connected
to a live power supply unit (green).
TCTwinCAT status LED:
TwinCAT is in Run mode (green).
TwinCAT is in Stop mode (red).
TwinCAT is in Config mode (blue).
HDDRead/Write CFast card (red). Indicates access to the CFast card.
FB1Status LED for optional interface (the function is described in the
documentation for the respective optional interface).
FB2Status LED for optional interface (the function is described in the
documentation for the respective optional interface).
Error handling and diagnostics
9.1.2Power supply terminal LEDs in K-bus mode
The power supply unit checks the connected Bus Terminals for errors. The red LED "K-bus ERR" is off if no
error is present. The red LED "K-bus ERR" flashes if Bus Terminal errors are present.
DisplayLEDMeaning
Us 24 VPower supply for basic CPU module. The LED
lights green if the power supply is correct.
Up 24VPower supply for terminal bus. The LED lights
green if the power supply is correct.
K-BUS RUNDiagnostic K-bus. The green LED lights up in order
to indicate fault-free operation. "Error-free" means
that the communication with the fieldbus system is
also running.
K-BUS ERRDiagnostic K-bus. The red LED flashes to indicate
an error. The red LED blinks with two different
frequencies.
The frequency and number of the flashes can be used to determine the error code and the error argument.
An error is indicated by the "K-bus ERR" LED in a particular order.
Table30: K-bus ERR LED, fault indication sequence through the LED.
OrderMeaning
Fast blinkingStarting the sequence
First slow sequenceError code
No displayPause, the LED is off
Second slow sequenceError code argument
Count how often the red LED K-bus ERR flashes, in order to determine the error code and the error
argument. In the error argument the number of pulses shows the position of the last Bus Terminal before the
error. Passive Bus Terminals, such as a power feed terminal, are not included in the count.
CX20x257Version: 1.7
Error handling and diagnostics
Table31: K-BUS ERR LED, fault description and troubleshooting.
Error codeError code argu-
ment
Persistent,
continuous
flashing
3 pulses0K-bus command error.• No Bus Terminal inserted.
4 pulses0K-bus data error, break
nBreak behind Bus
5 pulsesnK-bus error in register
6 pulses0Error at initialization.Replace Embedded PC.
1Internal data error.Hardware reset of the Embedded PC
8Internal data error.Hardware reset of the Embedded PC
7 pulses0Process data lengths of
DescriptionRemedy
EMC problems.• Check power supply for undervoltage or
overvoltage peaks.
• 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)
• One of the Bus Terminals is defective;
halve the number of Bus Terminals
attached and check whether the error is
still present with the remaining Bus
Terminals. Repeat this procedure until
the faulty Bus Terminal has been found.
Check whether the Bus End Terminal 9010
behind the power supply
unit.
Terminaln
communication with Bus
Terminal n.
the set and actual
configurations do not
correspond.
is connected.
Check whether Bus Terminal n+1 after the
power supply unit is connected correctly;
replace if necessary.
Replace Bus Terminal at location n.
(switch off and back on again).
(switch off and back on again).
Check the configuration and the Bus
Terminals for consistency.
For some error the LED "K-BUS ERR" does not go out, even if the error was rectified. Switch the power
supply for the power supply unit off and back on again to switch off the LED after the error has been rectified.
State variable
In TwinCAT there is a State variable under the Bus Coupler for K-bus diagnostics.
CX20x258Version: 1.7
Error handling and diagnostics
Fig.35: 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. In which case it would no
longer be synchronous with the task. The task time should be faster than 100 ms. We recommend a task
time of less than 50 ms. The K-bus update time typically lies between one and five ms.
Table32: Description of the State variable values.
BitDescription
Bit 0K-bus error.
Bit 1Terminal configuration has changed since the start.
Bit 2Process image lengths do not match.
Bit 8(still) no valid inputs.
Bit 9K-bus input update not yet complete.
Bit 10K-bus output update not yet complete.
Bit 11Watchdog.
Bit 15Acyclic K-bus function active (e.g. K-bus reset).
If there is a K-bus error, this can be reset via the IOF_DeviceReset function block (in the TcIoFunctions.lib).
CX20x259Version: 1.7
Error handling and diagnostics
9.1.3Power supply terminal LEDs in E-bus mode
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.
DisplayLEDMeaning
Us 24 VPower supply for basic CPU module.
The LED lights green if the power
supply is correct.
Up 24 VPower supply for terminal bus. The
LED lights green if the power supply
is correct.
L / AoffE-bus not connected.
onE-bus connected / no data traffic.
flashesE-bus connected / data traffic on the
E-bus.
CX20x260Version: 1.7
Error handling and diagnostics
9.2Faults
Table33: Possible faults and their correction.
FaultCauseMeasures
No function after the Embedded
PC has been switched on.
Embedded PC does not boot fully. Hard disk damaged (e.g. due to
Computer boots, software starts,
but control system does not
operate correctly.
Error during CFast card access.Faulty CFast card, faulty card slot. 1. Use another CFast card to test
Embedded PC only works partially
or temporarily.
The time and date are no longer
saved.
Fan is not turning.Fan faulty.Replace the fan cartridge.
• No power supply for the
Embedded PC
• Other causes.
switching off while software is
running), incorrect setup, other
causes.
Cause of the fault is either in the
software or in parts of the plant
outside the Embedded PC.
Defective components in the
Embedded PC.
The service life of the battery is
exceeded
1. Check the fuse.
2. Check the supply voltage and
the connection.
3. Call Beckhoff Support.
1. Check the setup settings.
2. Call Beckhoff Support.
Call the manufacturer of the
machine or the software.
the card slot.
2. Call Beckhoff Support.
Call Beckhoff support.
Replace the battery [}62].
Please make a note of the following information before contacting Beckhoff service or support:
1. Precise device ID: CXxxxx-xxxx.
2. Serial number.
3. Hardware version.
4. Any interfaces (N030, N031, B110, ...).
5. TwinCAT version used.
6. Any components / software used.
The quickest response will come from support / service in your country. Therefore please contact your
regional contact. Please consult our website at www.beckhoff.de or ask your distribution partner.
CX20x261Version: 1.7
Care and maintenance
10Care and maintenance
10.1Replace the battery
NOTE
Risk of explosion
An incorrectly inserted battery may explode and damage the Embedded PC.
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
battery of type CR2032 is used for the Embedded PC.
Table34: Technical data of the battery.
Battery typeElectrical properties (at
20°C)
nominal volt-
age
CR20323.0 V225 mAh0.20 mA20.0 mm3.20 mm
The battery compartment is below the front flap. The battery stores the time and date. The time and date are
reset if the battery is removed.
Be aware of this behavior for your hardware and software configuration and reset the time and date in the
BIOS after a battery change. All other BIOS settings remain unchanged and are retained.
Requirements:
• The Embedded PC is switched off.
Replace the battery as follows:
1. Lever the front flap open with a screwdriver and remove it.
2. Carefully pull the battery from the bracket.
nominal
capacity
Standard
charge
continuous
load
Dimensions
DiameterHeight
3. Push the new battery into the battery compartment. The positive pole points to the left towards the DVI-I
interface.
ð The battery change is complete. Close the front flap and reset the date and time in the BIOS.
CX20x262Version: 1.7
Care and maintenance
10.2Replace the fan cartridge
Service life
The fan cartridge must be replaced every 5 years. Spare fan cartridges can be ordered from Beckhoff Service.
Replace the fan cartridge of the CX20x2 if:
• the fan cartridge has been used for 5 years
• or the fan speed is less than 1000 rpm.
In a CX20x2 Embedded PC the fan speed is controlled depending on the temperature.
Table35: In the CX20x2 the fan control and speed depend on the temperature.
TemperatureFan controlFan speed
up to 30°C30 %3400 rpm
30 °C … 75 °C30% … 100%, linear control3400rpm ... 6000rpm, linear
regulated
above 75°C100%6000rpm
Use the IPC diagnostics and monitor the fan speed to determine a fan fault.
Access to the fan status is described in the documentation for the IPC diagnostics:
3. Push the new fan cartridge into the housing, with the contacts first.
The guide rails at the fan match the guide rails in the housing.
ð Close the front flap. You have successfully changed the fan cartridge if the fan starts up again.
CX20x264Version: 1.7
Decommissioning
11Decommissioning
11.1Removing 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.
Cabling
Make a note of the wiring configuration, if you wish to restore it with another device.
Before dismantling the Embedded PC, shut down the Embedded PC and switch off the power supply. Only
then can you remove all the cables. Also remove all cables from the first terminal after the power supply
terminal.
Requirements:
• Exit the software and shut down the Embedded PC.
• Switch off the power supply.
Remove the cables as follows:
1. Remove the wiring from the basic CPU module, any system interfaces that may be connected and the
extension modules.
2. Remove the wiring from the first terminal next to the power supply terminal.
3. Pull the orange strap to remove the first terminal after the power supply terminal by pulling it forward.
ð In the next step the Embedded PC can be removed from the DIN rail and dismantled.
CX20x265Version: 1.7
Decommissioning
11.2Dismantling the Embedded PC
The CX2000 Embedded PC series is a modular system and enables individual modules to be replaced or
removed quite easily. This section describes how to remove devices from the CX2000 Embedded PC series.
Requirements:
• 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 unit and gently remove the device from the DIN rail.
3. Lift the bar clips with the aid of a screwdriver and remove the bar clips.
CX20x266Version: 1.7
Decommissioning
ð Once the bar clips have been removed successfully, the modules can be separated from each other.
Disposal
The device must be fully dismantled in order to dispose of it. Electronic components must be disposed of
according to national electronic waste regulations.
CX20x267Version: 1.7
Technical data
12Technical data
Table36: Technical data, dimensions and weights.
CX2042CX2062CX2072
Dimensions (W x H x D)204mm x 99mm x 91mm
Weightapprox. 1300 g
Table37: Technical data, general data.
Technical dataCX2042CX2062CX2072
ProcessorIntel® Xeon® D-1527
2.2 GHz, 4 cores
RAM8GB DDR4 RAM (optionally expandable)
Flash memoryPlug-in for CFast card, card not included
Electromagnetic emission according to EN 61000-6-4
Protection classIP 20
max. 2A
max. 10A
max. 2048bytes input and 2048bytes output
64 (255 with K-bus extension)
up to 65534 terminals.
-25° C ... +50° C
-40°C ... +85°C
see notes under: Transport and storage
CX20x268Version: 1.7
Table40: Technical data, graphic specifications.
Technical dataDescription
Graphic systemAMD E8860
Graphic memory2GB GDDR5
Graphics clock frequency 625MHz
Shader model5.0
DirectX12
OpenGL4.5
Table41: Technical data, interfaces.
Technical dataDescription
LAN2 x RJ 45, 10/100/1000 Mbit/s
USB4 x USB 3.0 each rated at 900 mA, type A
DVI-IResolution on the monitor in pixels:
640 x 480 to 1920 x 1200
Table42: Technical data, optional interfaces.
Technical dataDescription
DVI-DResolution on the monitor in pixels: 640 x 480 to 1920 x 1200
DisplayPortResolution on the monitor in pixels: max. 2560x1600
RS232D-Sub plug, 9-pole
Electrical isolation 500 V
RS422/RS485D-Sub plug, 9-pole
Electrical isolation 500 V
EtherCAT slave2 x RJ 45, EtherCAT IN and OUT
100 Mbaud
PROFIBUSD-Sub plug, 9-pole
9.6kbaud to 12Mbaud
CANopenD-Sub plug, 9-pole
10 kbaud to 1,000 kbaud
PROFINET RT2 x RJ-45 switches
Technical data
CX20x269Version: 1.7
Appendix
13Appendix
13.1Accessories
Table43: CFast cards
Order numberDescription
CX2900-003840 GB CFast card, 3D flash, extended temperature range
CX2900-004080 GB CFast card, 3D flash, extended temperature range
CX2900-0042160 GB CFast card, 3D flash, extended temperature range
larger capacities on request
Table44: HDD/SSD
Order numberDescription
CX2900-0401Hard disk, SATA, 2½-inch, 1 TB
CX2900-0503Solid-state disk SSD, SATA, 3D flash, 2½-inch, 240 GB
CX2900-0504Solid-state disk SSD, SATA, 3D flash, 2½-inch, 480 GB
CX2900-0505Solid-state disk SSD, SATA, 3D flash, 2½-inch, 960 GB
larger capacities on request
Table45: Passive DVI-to-VGA adaptor.
Order numberDescription
CX1900-0101Passive DVI-to-VGA adaptor for the connection of standard VGA monitors to the
CX system
– feeds out the VGA signals of the DVI-I interface of the CX module
– DVI-A plug, 29-pin (bottom), socket, 15-pin (top)
– Weight: approx. 40 g
– Dimensions (WxHxD): 40x42x15 mm
Table46: Spare battery for CX systems.
Order numberDescription
CX1900-0102Battery for CX systems
type CR2032 3V/225 mAh
Table47: Other spare parts.
Order numberDescription
CX2900-0101Housing locking clips (black) for the CX20x0 series.
10 locking pin sets (each set consisting of two pieces).
CX2900-0102Cover for left-side module bus connector, 5 pieces
CX2900-0103Spare fan cartridge for CX2040, CX2042, CX2062, CX2072 and CX2020,
CX2030 with fan option
– cartridge consisting of chassis and 60 mm fan
– simple exchange in the field due to wireless installation
– Weight: approx. 30 g
– dimensions (W x H x D) 67 x 62 x 16 mm
CX20x270Version: 1.7
Appendix
13.2Certifications
All products of the Embedded PC family are CE, UL and EAC certified. Since the product family is
continuously developed further, we are unable to provide a full listing here. The current list of certified
products can be found at www.beckhoff.com.
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. This equipment generates, uses,
and can radiate radio frequency energy and, if not installed and used in accordance with the instruction
manual, may cause harmful interference to radio communications. Operation of this equipment in a
residential area is likely to cause harmful interference in which case the user will be required to correct the
interference at his own expense.
FCC Approval for Canada
FCC: Canadian Notice
This equipment does not exceed the Class A limits for radiated emissions as described in the Radio
Interference Regulations of the Canadian Department of Communications.
CX20x271Version: 1.7
Appendix
13.3Support and Service
Beckhoff and their partners around the world offer comprehensive support and service, making available fast
and competent assistance with all questions related to Beckhoff products and system solutions.
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.
Support offers you comprehensive technical assistance, helping you not only with the application of
individual Beckhoff products, but also with other, wide-ranging services:
• support
• design, programming and commissioning of complex automation systems
• and extensive training program for Beckhoff system components