Manuais CX51xx CX5140 Etc PDF
Manuais CX51xx CX5140 Etc PDF
Manuais CX51xx CX5140 Etc PDF
CX51x0
Embedded-PC
Version: 1.6
Date: 2016-05-18
Table of contents
Table of contents
1 Foreword ....................................................................................................................................................5
1.1 Notes on the documentation............................................................................................................. 5
1.2 Safety instructions ............................................................................................................................ 6
1.3 Documentation issue status.............................................................................................................. 7
2 Product overview.......................................................................................................................................8
2.1 Intended use ..................................................................................................................................... 8
2.2 System overview............................................................................................................................... 9
2.3 CX5120 Technical data .................................................................................................................. 11
2.4 CX5130 Technical data .................................................................................................................. 12
2.5 CX5140 Technical data .................................................................................................................. 13
2.6 Types .............................................................................................................................................. 14
2.7 Architecture overview ..................................................................................................................... 16
2.8 Battery compartment ...................................................................................................................... 18
2.9 CFast slot........................................................................................................................................ 20
2.10 CFast card ...................................................................................................................................... 21
5 Commissioning/Configuration ...............................................................................................................46
5.1 BIOS setup ..................................................................................................................................... 46
5.1.1 Main ....................................................................................................................................47
5.1.2 Advanced ............................................................................................................................49
5.1.3 Chipset................................................................................................................................67
5.1.4 Security ...............................................................................................................................72
5.1.5 Boot.....................................................................................................................................73
5.1.6 Save & Exit .........................................................................................................................75
5.2 EtherCAT cable redundancy........................................................................................................... 76
5.3 Operating CX51x0-N03x with TwinCAT ......................................................................................... 80
7 Decommissioning....................................................................................................................................91
7.1 Disassembly and disposal .............................................................................................................. 91
8 Appendix ..................................................................................................................................................93
8.1 Accessories .................................................................................................................................... 93
8.2 Certifications ................................................................................................................................... 94
8.3 Support and Service ....................................................................................................................... 95
1 Foreword
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.
For that reason the documentation is not in every case checked for consistency with performance data,
standards or other characteristics.
In the event that it contains technical or editorial errors, we retain the right to make alterations at any time
and without warning.
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, Safety over EtherCAT, TwinSAFE, XFCand XTS 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, DE102004044764, DE102007017835
with corresponding applications or registrations in various other countries.
The TwinCAT Technology is covered, including but not limited to the following patent applications and
patents:
EP0851348, US6167425 with corresponding applications or registrations in various other countries.
EtherCAT is registered trademark and patented technology, licensed by Beckhoff Automation GmbH,
Germany
Copyright
Beckhoff Automation GmbH & Co. KG, Germany.
The reproduction, distribution and utilization of this document as well as the communication of its contents to
others without express authorization are prohibited.
Offenders will be held liable for the payment of damages. All rights reserved in the event of the grant of a
patent, utility model or design.
Exclusion of liability
All the components are supplied in particular hardware and software configurations appropriate for the
application. Modifications to hardware or software configurations other than those described in the
documentation are not permitted, and nullify the liability of Beckhoff Automation GmbH & Co. KG.
Personnel qualification
This description is only intended for trained specialists in control, automation and drive engineering who are
familiar with the applicable national standards.
Description of symbols
In this documentation the following symbols are used with an accompanying safety instruction or note. The
safety instructions must be read carefully and followed without fail!
Risk of injury!
Failure to follow the safety instructions associated with this symbol endangers the life and
health of persons.
WARNING
Personal injuries!
Failure to follow the safety instructions associated with this symbol can lead to injuries to
persons.
CAUTION
Tip or pointer
This symbol indicates information that contributes to better understanding.
Note
2 Product overview
Switch off all system components and uncouple the Industrial PC from the system if the PC is not used for
control purposes, e.g. during a function test. To disconnect first pull the first terminal behind the power
supply unit (optional), then pull the connectors of the fieldbus connections.
System components that have been switched off must be secured against being switched on again.
The Embedded PCs power supply unit must be supplied with 24VDC.
When components are being fitted or removed, the supply voltage must be switched off.
Software knowledge
System malfunctions
Mandatory software knowledge! Every user must be familiar with any of the functions of the
software installed on the PC that he can reach.
Attention
The system
The CX51x0 series devices are DIN rail-mountable, fanless Embedded PCs with direct connection for
Beckhoff Bus Terminals or EtherCAT Terminals. In contrast to the other CX device families, the CX51x0
series has a fixed, non-expandable number of system interfaces. The housing design for this series is
optimized for robustness and compactness. No modular expandability for the left-hand side is provided.
Although EtherCAT integration offers a wide range of expansion capability. Further master/slave fieldbus
connections (PROFIBUS, CANopen, DeviceNet) or communication interfaces (RS232, RS422/RS485) and
all other signal types accessible via EtherCAT can be directly connected as EtherCAT Terminals. Two
independent Gigabit Ethernet ports and four USB 2.0 interfaces are available. A Beckhoff Control Panel or a
standard DVI monitor can be connected to the DVI-I interface. A serial port (RS232/RS422/RS485) or a
fieldbus connection with master or slave function can be added as an optional interface as required. An
interchangeable CFast card located behind a flap that is accessible from outside is used as boot and storage
medium. The built-in capacitive 1-second UPS ensures secure backup of persistent application data on the
CFast card. The date and time are buffered via a replaceable battery. The operating system is Microsoft
Windows Embedded Standard 7 Professional. The TwinCAT automation software transforms a
CX51x0system into powerful PLC and Motion Control system that can be operated with or without
visualization.
EtherCAT offers several options for connecting conventional fieldbus systems to the CX51x0. EtherCAT
devices in terminal form provide several fieldbus masters and slaves, for example the PROFIBUS master as
EtherCAT Terminal EL6731. In practice, this means that the PROFIBUS master can be positioned exactly
where it is required within a machine.
Moreover, all TwinCAT functionalities are available for Motion Control applications:
in theory, up to 256 axes can be controlled and in addition to simple point-to-point movements, more
complex multi-axis functions such as electronic gearbox, cam plates and flying saw can be
implemented.
In addition to real-time execution of control tasks, the TwinCAT real-time kernel ensures that enough time
remains for the user interface (HMI), to communicate with the real-time components via software interfaces
such as ADS or OPC.
For CX51x0 the familiar basic principle applies: it is a programming tool for all controllers.
The complete programming of PLC, Motion Control and visualization is transferable to all PC controls from
Beckhoff, which is reassuring in cases where it becomes apparent during a project that more processing
power is required after all. In this case a system with higher performance can be used.
Optional interfaces:
The optional interfaces can be used to connect single-channel fieldbus interfaces. Operation is limited to one
interface at a time. If several fieldbus interfaces are required, they can be added as E-bus terminals
(EL67xx). The following fieldbus interfaces are available:
CX51x0-N030 = RS232, D-Sub connector
CX51x0-N031 = RS422/RS485, D-Sub socket
CX51x0-M310 = PROFIBUS master, D-Sub socket, 9-pin
CX51x0-B310 = PROFIBUS slave, D-Sub socket, 9-pin
CX51x0-M510 = CANopen master, D-Sub connector, 9-pin
CX51x0-B510 = CANopen slave, D-Sub connector, 9-pin
CX51x0-M930 = PROFINET RT, controller, Ethernet (2 x RJ-45 switch)
CX51x0-B930 = PROFINET RT, device, Ethernet (2 x RJ-45 switch)
CX51x0-B951 = Ethernet/IP slave, Ethernet (2 x RJ-45 switch)
CX51x0-B100 = EtherCAT slave, EtherCAT IN and OUT (2 x RJ 45)
CX5130-N010 = second DVI-D interface
CX5140-N010 = second DVI-D interface
The software
In combination with the TwinCAT automation software, the CX51x0 Embedded PC becomes a powerful IEC
61131-3 PLC with up to four user tasks. Additionally, Motion Control tasks can also be executed. Depending
on the required cycle time, several servo axes can be controlled. Even special functions such as flying saw,
electronic gearbox and cam plate can be realized.
The CX51x0 system is programmed in the same way as other bus controllers:
Visualization
The visualization feature integrated in TwinCAT can be used, or one of the other commercially available
visualization solutions. The Beckhoff OPC server is available for interfacing with SCADA packages. In other
words, the CX51x0 also offers visualization and simultaneous control in real-time on a single system.
The basic configuration of the CX5120 contains no storage medium. It must be ordered separately to match
the operating system and the application. The basic configuration includes two Ethernet RJ-45 interfaces,
four USB-2.0 interfaces and a DVI-I interface.
Technical data
The basic configuration of the CX5130 contains no storage medium. It must be ordered separately to match
the operating system and the application. The basic configuration includes two Ethernet RJ-45 interfaces,
four USB-2.0 interfaces and a DVI-I interface.
Technical data
The basic configuration of the CX5140 contains no storage medium. It must be ordered separately to match
the operating system and the application. The basic configuration includes two Ethernet RJ-45 interfaces,
four USB-2.0 interfaces and a DVI-I interface.
Technical data
2.6 Types
The CPU module can be equipped with different hardware and software options: the operating systems are
Windows Embedded Standard 7 in the 32-bit or 64-bit version. The TwinCAT automation software
transforms a CX51x0 system into powerful PLC and Motion Control system that can be operated with or
without visualization. Further system interfaces (pre-installed in the factory) or fieldbus connections can be
added to the basic CPU module.
CX51x0 systems with Windows Embedded Standard 7 P require a CFast card with a minimum capacity of 8
GB. Systems with Microsoft Windows Embedded Standard 7 P (64-Bit) require a Compact Flash card with a
capacity of at least 16 GByte.
Software Images
A list of the different software images can be found in the CX Software Documentation.
Note
The CX51x0 Embedded PCs are based on the Intel Atom microarchitecture, which was developed by Intel.
The CPUs used in the CX51x0 family are:
IntelAtomTM E3815 (Singlecore)
IntelAtomTM E3827 (Dualcore)
IntelAtomTM E3845 (Quadcore)
In addition to the arithmetic unit, the CPU also contains the memory controller and the graphics controller.
The processors use the Intel HD Graphics core. For details on the CPUs please refer to Intel. The memory
is connected directly to the CPU. The EPC is available in two memory configurations: 2 GB and 4 GB DDR3
RAM. The memory is not expandable and must be ordered ex factory.
The interfaces (USB, DVI, and LAN ports) are standard interfaces. They can be used for operating devices
that comply with the standard. The DVI-I port can be used to connect a VGA monitor via an adapter. If a
breakout cable separating DVI and VGA is used, both types can be operated simultaneously. If the optional
CX20x0-N010 interface (second DVI-D port) is used, either the VGA or the DVI port only can be used.
Intel i210 Gigabit Ethernet controllers are used as network controllers. There are two independent ports,
which are both gigabit-capable.
To insert a new battery push it into the battery compartment. Ensure correct polarity. The battery must be
inserted before the strap, to facilitate subsequent removal. Then close the front cover. The battery change is
then complete.
Battery maintenance
The battery must be replaced every 5 years. Spare batteries can be ordered from Beckhoff
Sales under order number CX1900-0102.
Note
The following images illustrate the handling of the CFast cards. First, open the front flap. The CFast card slot
is then accessible. The eject mechanism is based on the push-push principle: Pressing the CFast card
causes it to be lifted out of the housing by approx. 4 mm, so that it can grasped by the fingers and pulled out.
When the card is pushed back the eject mechanism locks again. The card is positioned correctly, if it is
located approx. 1 mm lower than the front of the housing.
Once the flap is closed the device is ready for operation again.
In order to store data in a non-volatile manner, they must be stored on the CFast card.
3 Seconds UPS
The CX51x0 family features a built-in capacitive one-second UPS. It ensures a safe storage of the persistent
application data on the Compact Flash card.
Up to 1 MB of persistent data can be saved. The UPS can be switched on and off via the BIOS. Under the
menu:
the parameter of the S-UPS are displayed and can be modified, if required.
SUPS Enable
Options: Enable / Disable
Switches the SUPS on or off.
Hold USB
Options: Enable / Disable
Switches off the power supply for the USB ports in UPS mode.
Delay
Options: 0255 seconds
Start delay with which the SUPS is loaded.
Powerfail Counter
Number of power failures
TwinCAT offers special function blocks for integrating the S-UPS into a PLC program. These are described
below. From TwinCAT 2.11R3 Build 2247 or TwinCAT 3.1 Build 4018 the required library is integrated in the
installation. For older versions the library:
http://infosys.beckhoff.com/content/1033/CX51x0_HW/Resources/rar/1941420683.rar
has to be copied into the TwinCAT library directory.
3.2 Overview
The library TcSUPS_CX51x0.lib includes functions and function blocks required for controlling the one-
second UPS. See project example:
http://infosys.beckhoff.com/content/1033/CX51x0_HW/Resources/pro/1937303563.pro
Function blocks
Name Description
FB_S_UPS_CX51x0 Block for controlling the one-second UPS
FB_NT_QuickShutdown Internal block for QuickShutdown, used by the
FB_S_UPS.
Functions
Name Description
F_GetVersionTcSUPS_CX51x0 This function can be used to read PLC library version
information.
Component Version
TwinCAT on the development PC and on the control TwinCAT 2.11R3 Build 2047 or higher
system TwinCAT 3.1 Build 4018 or higher
The function block FB_S_UPS_CX51x0 can be used on CX devices with one-second UPS to control the
one-second UPS from the PLC. This allows the persistent data to be saved and a quick shutdown to be
performed in the event of a power failure. If possible the default values of the INPUTs of the
FB_S_UPS_CX51x0 should be retained.
Loss of data
The seconds UPS can be used only for a few seconds in the event of a power failure in or-
der, to save persistent data. The data must be saved in the fast persistent mode
Attention SPDM_2PASS, even though this can lead to real-time violations. Sufficient router memory
must be configured for the storage of the persistent data!
The second UPS does not have sufficient capacity for bridging power failures. Only the CFast card can be
used for data storage, in view of the fact that the UPS capacity is inadequate for operating a hard disk.
In the eSUPS_CheckPowerStatus mode only a check is performed as to whether a power failure has
occurred. If this is the case, the module only switches back to the PowerOK state after the expiry of
tRecoverTime (10s).
Independent of the mode and thus independent of the saving or the shutting down of the controller, the UPS
switches the main board off after the capacitors have discharged, even if the voltage has returned in the
meantime.
If the EWF is used, the TwinCAT\Boot folder must be located on an unprotected partition (see in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Beckhoff\TwinCAT\System\BootPrjPath).
If the FBWF is used, must the TwinCAT\Boot folder must be excluded from the protection (see Beckhoff
FBWF Manager, Exclusion Settings).
FUNCTION_BLOCK FB_S_UPS_CX51x0
VAR_INPUT
VAR_INPUT
sNetID : T_AmsNetId := ''; (* '' = local netid *)
iPLCPort: UINT := AMSPORT_R0_PLC_RTS1; (* PLC Runtime System for writing persistent data *)
iUPSPort: UINT := 16#588; (* Port for reading Power State of UPS, dafault 16#588 *)
tTimeout: TIME := DEFAULT_ADS_TIMEOUT; (* ADS Timeout *)
eUpsMode: E_S_UPS_Mode := eSUPS_WrPersistData_Shutdown; (* UPS mode (w/wo writing persistent
data, w/wo shutdown) *)
E_S_UPS_Mode
iUPSPort : Port number via which the UPS status is read (standard value is 16#588).
eUpsMode : The eUpsMode defines whether persistent data are to be written and whether a
QuickShutdown is to be performed.
Standard value is eSUPS_WrPersistData_Shutdown, i.e. with writing of the persistent data and then
QuickShutdown. See E_S_UPS_Mode.
ePersistentMode : Mode for the writing of the persistent data. Standard value is SPDM_2PASS.
tRecoverTime : Time after which the UPS reverts to the PowerOK status in the case of UPS modes without
shutdown.
The tRecoverTime must be somewhat longer than the maximum holding time of the UPS, since the UPS
switches off even when the voltage returns.
VAR_OUTPUT
VAR_OUTPUT
bPowerFailDetect: BOOL; (* TRUE while powerfailure is detected *)
eState : E_S_UPS_State; (* current ups state *)
END_VAR
E_S_UPS_State
bPowerFailDetect : True during the power failure; False if the supply voltage is present.
eState : Internal state of the function block, for values see E_S_UPS_State.
VAR_GLOBAL
VAR_GLOBAL
eGlobalSUpsState : E_S_UPS_State; (* current ups state *)
END_VAR
E_S_UPS_State
eGlobalUpsState : Internal state of the function block as a global copy of the VAR_OUTPUT eState; for
values see E_S_UPS_State.
Prerequisites
Development environment Target plat- Hardware PLC libraries to include
form
TwinCAT v2.11R3 Build 2047 or higher PC (i386) Seconds UPS TcSUPS_CX51x0.Lib
TwinCAT 3.1 Build 4018 or higher
The function block FB_NT_QuickShutdown can be used to trigger an immediate reboot, without stopping
TwinCAT or the Windows operating system.
Attention:
Loss of data
The function block FB_NT_QuickShutdown is used internally by FB_S_UPS_CX51x0. It
must not be used independently, because this could result in data loss!
Attention
FUNCTION_BLOCK FB_NT_QuickShutdown
VAR_INPUT
VAR_INPUT
NETID :T_AmsNetId;
START :BOOL;
TMOUT :TIME := DEFAULT_ADS_TIMEOUT;
END_VAR
VAR_OUTPUT
VAR_OUTPUT
BUSY :BOOL;
ERR :BOOL;
ERRID :UDINT;
END_VAR
ERRID : Supplies the error number when the ERR output is set.
Prerequisites
Development environment Target plat- Hardware PLC libraries to include
form
TwinCAT v2.11R3 Build 2047 or higher PC (i386) One-second UPS TcSUPS_CX51x0.Lib
TwinCAT 3.1 Build 4018 or higher
3.3 Functions
Prerequisites
Development environment Target plat- Hardware PLC libraries to include
form
TwinCAT v2.11R3 Build 2047 or higher PC (i386) Seconds UPS TcSUPS_CX51x0.Lib
TwinCAT v3.1 Build 4018 or higher
eSUPS_CheckPowerStatus: determine status only (neither write persistent data nor QuickShutdown)
Prerequisites
Development environment Target plat- Hardware PLC libraries to include
form
TwinCAT v2.11R3 Build 2047 or higher PC (i386) Seconds UPS TcSUPS_CX51x0.Lib
TwinCAT v3.1 Build 4018 or higher
eSUPS_PowerFailure:
in all modes: Supply voltage faulty (applied for one cycle only)
eSUPS_WritePersistentData:
in eSUPS_WrPersistData_Shutdown mode: writing of the persistent data is active
in eSUPS_WrPersistData_NoShutdown mode: writing of the persistent data is active
eSUPS_QuickShutdown:
in eSUPS_WrPersistData_Shutdown mode: QuickShutdown is active
in eSUPS_ImmediateShutdown mode: QuickShutdown is active
eSUPS_WaitForRecover:
in eSUPS_WrPersistData_NoShutdown mode: wait for return of the voltage
in eSUPS_CheckPowerStatus mode: wait for return of the voltage
eSUPS_WaitForPowerOFF:
in eSUPS_WrPersistData_Shutdown mode: wait for shutdown by the UPS
in eSUPS_ImmediateShutdown mode: wait for shutdown by the UPS
Prerequisites
Development environment Target plat- Hardware PLC libraries to include
form
TwinCAT v2.11R3 Build 2047 or higher PC (i386) Seconds UPS TcSUPS_CX51x0.Lib
TwinCAT v3.1 Build 4018 or higher
CX5130-01xx:
CX5140-01xx:
Unpacking
Proceed as follows to unpack the unit:
1. Remove packaging.
2. Do not discard the original packaging. Keep it for transporting the device in the future.
3. Check the delivery for completeness by comparing it with your order.
4. Please keep the associated paperwork. It contains important information for handling the unit.
5. Check the contents for visible shipping damage.
6. If you notice any shipping damage or inconsistencies between the contents and your order, you
should notify Beckhoff Service.
Installation
The devices are designed for installation in control cabinets.
4.2 Dimensions
Dimensions:
CX5120-01xx:
CX5130-01xx:
CX5140-01xx:
Avoid damage!
Do not force the module or apply excessive pressure!
Attention
Installation position
Comply with the permitted installation position and minimum distances!
The maximum ambient temperature for CPU modules mounted on a DIN rail is 60C. The
orientation in which the device is fitted must be selected in such a way that cooling air can
Attention flow vertically through the ventilation holes. The images show the permitted and two incor-
rect installation positions. Mounting must provide a clearance of 30 mm both above and be-
low a CX51x0 device combination to ensure adequate ventilation of the base CPU module
and the power supply unit.
The high performance and the compact design of the CX51x0 systems may result in increased heat
generation. The heat is dissipated via a passive ventilation system. This system requires the unit to be
mounted correctly. Ventilation openings are located at the top and bottom of the housing. The system
therefore has to be installed horizontally. This ensures optimum air flow.
The terminals are implemented in spring force technology. Connect the cables 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.
LED
If the power supply unit is connected correctly and the power supply is switched on, the two upper LEDs in
the terminal prism are green. The left LED (Us) indicates the CPU supply. The right LED (Up) indicates the
terminal supply. The other LEDs indicate the Terminal Bus status. A detailed description of the LEDs can be
found in section LED troubleshooting.
UL requirements
Compliance of the UL requirements
For the compliance of the UL requirements the CX-Controllers should only be supplied by a
24 VDC supply voltage, supplied by an isolating source and protected by means of a fuse
DANGER (in accordance with UL248), rated maximum 4 Amp.by a 24 VDC power source, that has to
satisfy NEC class 2. A NEC class 2 power supply shall not be connected in series or paral-
lel with another (class 2) power source!This UL requirements are valid for all supply volt-
ages of the CX-Controllers!
PE power contacts
Power contact PE
The PE power contact must not be used for other potentials. PE" and 0V" (24 V system
supply) must have the same potential (connected in the control cabinet). The cabling in the
Attention control cabinet must comply with EN 60204-1:2006 PELV - Protective Extra-Low Voltage.
EN 60204-1:2006 section 6.4.1:b): One side of the circuit or one point of the energy source
for this circuit must be connected the protective earth conductor system.
The following illustration shows the correct mounting of the passive terminal:
DVI-I socket
1 8 C1 C2
9 16
17 24 C3 C4
Pin Assignment
C1 Analog Red Video Out
C2 Analog Green Video Out
C3 Analog Blue Video Out
C4 Analog Horizontal Sync
The Embedded PC also supports higher resolutions according to the DVI standard. A maximum resolution of
2560 x 1440 pixels can be set on the Embedded PC. Whether this resolution is achieved is dependent on
the monitor, the cable quality and cable length.
The USB socket is a type A socket. The USB interface complies with the USB 2.0 specification.
The CX51x0-N030 system interface provides an RS232 interface, COM1 (X300). It is implemented on a 9-
pole Sub-D pin contact strip. If more than one interface is required, the system can be extended with the
required number of serial interfaces using the terminal bus (K- or E-bus) and Bus Terminals (KL/EL6001).
The pin assignment is shown at the bottom of the page.
The maximum baud rate on both channels is 115 kbit. The interface parameters are set via the operating
system or from the PLC program.
IOCTL_SERIAL_XOFF_COUNTER
IOCTL_SERIAL_LSRMST_INSERT
IOCTL_SERIAL_SET_BREAK_ON
IOCTL_SERIAL_SET_BREAK_OFF
The CX51x0-N031 system interface provides an RS422 or RS 485 interface, COM1 (X300). It is
implemented on a 9-pole Sub-D socket strip. If more than one interface is required, the system can be
extended with the required number of serial interfaces using the terminal bus (K- or E-bus) and Bus
Terminals (KL/EL6001). The pin assignment is shown at the bottom of the page.
The maximum baud rate on both channels is 115 kbit. The interface parameters are set via the operating
system or from the PLC program.
For RS485 pins 2 and 3 (data +) must be connected, and pins 7 and 8 (data ).
Function Status
Echo on off
Echo off on
Auto send on on
Always send on off
Auto receive on on
Always receive on off
Term on on
Term on on
IOCTL_SERIAL_XOFF_COUNTER
IOCTL_SERIAL_LSRMST_INSERT
IOCTL_SERIAL_SET_BREAK_ON
IOCTL_SERIAL_SET_BREAK_OFF
5 Commissioning/Configuration
Within the individual setup pages the last saved settings can be restored can at any time with F2 (Previous
Values). Use F3 (Optimized Defaults) to load the factory defaults. Use F2/F3 to load the complete set of
settings and F4 to save them (Save & Exit").
A sign in front of the menu item indicates that a submenu is available. Use the arrow keys to navigate
between menu items. Use the Enter key to select menu items and call submenus or selection dialogs.
For each setup option a help text is displayed at the top right, which in many cases contains useful
information about the option and permitted values, etc.
5.1.1 Main
Aptio Setup Utility - Copyright (C) American Megatrends, Inc.
Board Information Set the Date. Use Tab to switch
Board CX51x0 between Date elements.
Revision 1
Bios Version 0.23
CPU configuration
MIcrocode Patch 322
BayTrail SoC B3 Stepping
Memory Information
Total Memory 2048 MB (DDR3L)
: Select Screen
System Date [Thu 24/12/2014] : Select Item
Enter: Select
System Time [10:26:42]
+/-: Change Options
F1: General Help
F2: Previous Values
F3: Optimized Defaults
F4: Save & Exit
ESC: Quit
Version 2.17.1246. Copyright (C) 2014 American Megatrends, Inc.
Board Information:
Board:
Options: none
Used board
Revision
Options: none
Revision number of the board
Bios version:
Options: none
BIOS version
CPU configuration:
Microcode patch
Options: none
Revision number of the microcode
BayTrail SoC:
Options: none
Processor stepping B3
Memory information:
Total Memory
Options: none
Total available memory
System date
Options:
mm month
dd day
yy year
System time
Options:
hh hours
mm minutes
ss seconds
5.1.2 Advanced
Aptio Setup Utility - Copyright (C) American Megatrends, Inc.
Power-Supply Type [AT] Select the Type of the Power
ACPI Settings Supply: AT/ATX
Serial Port Console Redirection
CPU Configuration
PPM Configuration
SATA Configuration
Miscellaneous Configuration
LPSS & SCC Configuration
Network Stack Configuration
Power Controller Options
CSM Configuration
SDIO Configuration
USB Configuration
Security Configuration : Select Screen
: Select Item
Enter: Select
Intel I210 Gigabit Network Connection 0:01:05:aa:bb:cc
+/-: Change Options
Intel I210 Gigabit Network Connection 0:01:05:aa:bb:cd F1: General Help
Driver Health F2: Previous Values
F3: Optimized Defaults
F4: Save & Exit
ESC: Quit
Version 2.17.1246. Copyright (C) 2014 American Megatrends, Inc.
Power-Supply Type
Options: ATX / AT
Type of power supply (form factor AT: Advanced Technology, ATX: Advanced Technology Extended)
Driver Health
COM0 (Disabled)
Console Redirection
Options: Port is Disabled
The port is disabled.
COM1 (Disabled)
Console Redirection
Options: Port is Disabled
The port is disabled.
CPU Configuration
CPU Speed
Options: none
Maximum clock frequency of the CPU.
64-bit
Options: none
Defines whether a 64-bit system is used.
Power Technology
Options: Disabled / Energy Efficient / Custom
Defines the behavior of the energy saving functions. Disabled > switched off (required for real-time
operation) Energy Efficient > the CPU controls the individual systems, Custom > user-defined energy-saving
settings (only for expert users).
PPM Configuration
S01x
Options: Enabled / Disabled
Activates or deactivates the CPU state S01x.
Serial-ATA (SATA)
Options: Enabled / Disabled
Activates or deactivates the current sequential ATA controller. All devices connected to the SATA controller
are activated or deactivated.
SATA Mode
Options: IDE Mode / AHCI Mode
Defines the SATA mode: IDE, AHCI
IDE: Select this mode to operate a SATA device in IDE mode.
AHCI: Select this mode if you use a 64-bit operating system.
Hot Plug
Options: Enabled / Disabled
Activates or deactivates the option to add or swap components during operation.
: Select Screen
: Select Item
Enter: Select
+/-: Change Options
F1: General Help
F2: Previous Values
F3: Optimized Defaults
F4: Save & Exit
ESC: Quit
Version 2.17.1246. Copyright (C) 2014 American Megatrends, Inc.
Network Stack
Options: Disable / Enable
Activates or deactivates the UEFI (Unified Extensible Firmware Interface) network stack.
Bootloader Version
Options: none
Boot loader version.
Firmware Version
Options: none
Firmware version.
Mainboard BootCount
Options: none
Number of boot operations of the mainboards.
SUPS Enable
Options: Enable / Disable
Switches the SUPS on or off.
Hold USB
Options: Enable / Disable
Switches off the power supply for the USB ports in UPS mode.
Delay
Options: 0..255 seconds
Start delay with which the SUPS is loaded.
Powerfail Counter
Number of power failures.
CSM Support
Options: Enabled / Disable
Switches CSM support on or off.
GateA20 Active.
Options: Upon Request / Always
Switches the GateA20 emulation to mode "on request" or "always on".
Network
Options: Do not launch / UEFI / Legacy
Specifies the start options for the network ROM.
Storage
Options: Do not launch / UEFI / Legacy
Specifies the start options for the memory ROM.
Video
Options: Do not launch / UEFI / Legacy
Specifies the start options for the graphic ROM.
: Select Screen
: Select Item
Enter: Select
+/-: Change Options
F1: General Help
F2: Previous Values
F3: Optimized Defaults
F4: Save & Exit
ESC: Quit
Version 2.17.1246. Copyright (C) 2014 American Megatrends, Inc.
Network Stack
Options: Auto / DMA / PIO
Sets the mode for accessing the SD card. With the Auto setting, the system automatically selects between
DMA or PIO mode.
USB Devices:
1 Keyboard, 1 Mouse, 1 Hubs
USB Configuration
USB Devices:
List of the connected USB devices.
XHCI Hand-off
Options: Disabled / Enabled
This is a workaround for operating systems without XHCI (Extensible Host Controller Interface, i.e. USB 3.0
interface) hand-off support.
Here you can set up support for operating systems without fully automatic XHCI function. If you use a USB
device, this function should not be disabled.
EHCI Hand-off
Options: Disabled / Enabled
This is a workaround for operating systems without EHCI (Enhanced Host Controller Interface, i.e. USB 2.0
interface) hand-off support.
Here you can set up support for operating systems without fully automatic EHCI function. If you use a USB
device, this function should not be disabled.
TXE [Enabled]
TXE HMFRPO [Disabled]
TXE Firmware Update [Enabled]
TXE EOP Message [Enabled]
TXE Unconfiguration Perform
: Select Screen
: Select Item
Enter: Select
+/-: Change Options
F1: General Help
F2: Previous Values
F3: Optimized Defaults
F4: Save & Exit
ESC: Quit
Version 2.17.1246. Copyright (C) 2014 American Megatrends, Inc.
Flashing LEDs 0
NIC Configuration
Blink LEDs
Options: n = {0 15}
Causes the LED at the network port to flash n times.
: Select Screen
: Select Item
Enter: Select
+/-: Change Options
F1: General Help
F2: Previous Values
F3: Optimized Defaults
F4: Save & Exit
ESC: Quit
Version 2.17.1246. Copyright (C) 2014 American Megatrends, Inc.
Link Speed
Options: Auto Negotiated / 10 Mbps Half / 10 Mbps Full / 100 Mbps Half / 100 Mbps Full
Sets the physical data transfer speed. If the Auto Negotiated option is set,
a speed between 1000 Mbps and 10 Mbps is negotiated with the remote station.
Wake on LAN
Options: Disable / Enable
Activates or deactivates the WAKE on LAN function (the computer starts when it received a magic packet
from the server).
5.1.3 Chipset
Aptio Setup Utility - Copyright (C) American Megatrends, Inc.
North Bridge
South Bridge
: Select Screen
: Select Item
Enter: Select
+/-: Change Options
F1: General Help
F2: Previous Values
F3: Optimized Defaults
F4: Save & Exit
ESC: Quit
Version 2.17.1246. Copyright (C) 2014 American Megatrends, Inc.
North Bridge
Settings for internal graphics parameters (memory/ render units / behavior)
These settings are critical for the real-time behavior of the system! The settings are optimized ex factory
and should therefore only be changed if one knows exactly
how the parameter influences the behavior.
South Bridge
Setting for sound interface, USB configuration / PCI Express configuration.
Audio Controller
Options: Enabled / Disabled
Activates or deactivates the audio interface. If it is switches on, it only works with the system interface
CX51x0-N020.
HDMI Port B
Options: Enabled / Disabled
Activates or deactivates HDMI port B.
HDMI Port C
Options: Enabled / Disabled
Activates or deactivates HDMI port C.
USB Mode
Options: EHCI / XHCI
Do NOT CHANGE this setting! EHCI renders the system inoperable.
5.1.4 Security
Aptio Setup Utility - Copyright (C) American Megatrends, Inc.
Password Description
Minimum Length 3
Maximum Length 20
Administrator Password
Minimum length
Options: none
Defines the minimum size of the user password.
Maximum length
Options: none
Defines the maximum size of the user password.
Administrator Password
Options: Create new password
Defines the administrator password.
If a password has been set, you have to enter it in order to open the BIOS setup.
5.1.5 Boot
Aptio Setup Utility - Copyright (C) American Megatrends, Inc.
Boot Configuration
Boot Configuration
Quiet Boot
Options: Enable / Disable
Quiet Boot can be used to influence the boot screen.
Fast Boot
Options: none
Defines the speed of the system startup:
Enable: This option speeds up the system startup by omitting some POST routines.
Disabled: During system startup the whole device configuration is tested (recommended).
Boot Override
Reset System with ME disable ModeMEUD000
Options: none
EtherCAT cable redundancy can be realized in the CX51x0 systems through the two independent Ethernet
ports. Minimum requirements:
http://www.beckhoff.de/forms/twincat3/warenkorb.aspx?lg=de&title=TS622x-EtherCAT-
Redundancy&version=1.0.2
can be downloaded. The required license key can be ordered from our sales division. The required couplers
are ordered together with the other hardware. These components can then be used to configure the
controller. The upper figure shows a minimum configuration example for cable redundancy. Once the
hardware has been wired and commissioned, the supplement must be installed on the device, for example
via a USB stick or the IT network. The cable redundancy can be set up in the System Manager. During the
installation the system asks for the license key. The cable redundancy can be set up in the System
Manager. The first step involves reading the terminal configuration. Then select "Advanced Settings" under
the "EtherCAT" tab in the EtherCAT device properties. The second adapter can be set under the
"Redundancy" menu. Use the "Search" button to open the selection menu. Select "Local Area Connection 2
(Intel(R).....)" for the lower network connection (X001). Click "OK" to complete the configuration.
Cases of failure
The two possible failures are described in the example below.
In this example the supply line for coupler EK1100 is faulty. The EK1100 terminals continue to run despite
the cable failure. The System Manager indicates the failure as follows:
In this case the second cable is faulty. The terminals at the coupler continue to run without malfunction. The
System Manager indicates the behavior as follows:
The EtherCAT ring is expandable. The number of devices in the ring is controlled by licenses: up to 250, up
to 1000, more than 1000. A master is only able to bridge one failure. In the event of two failures the ring
components will continue to run up to the breaking points.
Software Version
TwinCAT 2 from: TC2.11.2248
TwinCAT 3 from: TC3.1.4018
3. Select the device with a COM port and confirm the selection with OK.
The CX51x0-N03x is added in TwinCAT as Device (COM Port) in the tree view on the left.
4. Click on Device (COM Port) and then on the Serial Port tab.
If the option Onboard/ISA device is already selected, the option PCI/PCIe device is greyed out and
cannot be selected.
6. Click on Search.
The window Device Found At appears.
You have successfully added and configured the CX51x0 with serial interface (N031x) in TwinCAT. You
can now add further devices to the device and continue with the configuration.
3. Select the device with a COM port and confirm the selection with OK.
The CX51x0-N03x is added in TwinCAT as Device (COM Port) in the tree view on the left.
4. Click on Device (COM Port) and then on the Serial Port tab.
5. Under the Serial Port tab, select the option PCI/PCIe Device.
If the option Onboard/ISA device is already selected, the option PCI/PCIe device is greyed out and
cannot be selected.
6. Click on Search.
The window Device Found At appears.
You have successfully added and configured the CX51x0 with serial interface (N031x) in TwinCAT. You
can now add further devices to the device and continue with the configuration as usual.
Switching off
The Embedded PC switches off when the power supply unit is switched off. The control software typically
running on Embedded PCs should be shut down or stopped correctly. A user who may not close software
may also not switch the Embedded PC off, since data can be lost from the hard disk by switching off while
software is running.
Once the software has been stopped, the operating system can be shut down. Only then should the power
supply be interrupted.
In the case of some errors, rectification does not cause the power supply to leave the blink sequence. The
power supply can only be restarted by switching its supply voltage off and on again.
The CX unit recognizes these terminals automatically on scanning, reads out the terminal types and
automatically places them in the System Manager.
K-bus state
The K-bus status is saved in the state byte (see fig. K-bus interface 1). If the value is 0 the K-bus is
operating synchronously and without errors. 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 by 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.
If there is a K-bus error, this can be reset via the IOF_DeviceReset function block (in the TcIoFunctions.lib).
6.2 Faults
Please also refer to the Safety instructions section.
Please make a note of the following information before contacting Beckhoff service or support:
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.
7 Decommissioning
2.1. Release and remove the first Terminal next to the power supply unit on the DIN
rail.
First remove any wiring from power supply unit and then from the first terminal on the DIN rail next to the
power supply unit. If the wiring is to be reused for another system, it is advisable to make a note of the
connections. Then pull the orange terminal release (see arrow) to release the terminal and pull it out.
After pulling the terminal release of the power supply unit, the block can be removed carefully from the top-
hat rail.
Disposal
The device must be fully dismantled in order to dispose of it.
Electronic parts must be disposed of in accordance with national electronics scrap regulations.
8 Appendix
8.1 Accessories
Table4: CFast Flash cards with initial CX20x0 order.
Table5: CFast-Flash cards when ordering replacement cards / initial CX51x0 order.
8.2 Certifications
All products of the Embedded PC family are CE, UL and GOST-R 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.
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.
Beckhoff Headquarters
Beckhoff Automation GmbH & Co. KG
Huelshorstweg 20
33415 Verl
Germany
Phone: +49(0)5246/963-0
Fax: +49(0)5246/963-198
e-mail: [email protected]
Beckhoff Support
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
Hotline: +49(0)5246/963-157
Fax: +49(0)5246/963-9157
e-mail: [email protected]
Beckhoff Service
The Beckhoff Service Center supports you in all matters of after-sales service:
on-site service
repair service
spare parts service
hotline service
Hotline: +49(0)5246/963-460
Fax: +49(0)5246/963-479
e-mail: [email protected]