Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
CX51x0
Embedded-PC
Version:
Date:
1.6
2016-05-18
Table of contents
Table of contents
1 Foreword ....................................................................................................................................................5
1.1
1.2
1.3
2 Product overview.......................................................................................................................................8
2.1
2.2
System overview............................................................................................................................... 9
2.3
2.4
2.5
2.6
Types .............................................................................................................................................. 14
2.7
2.8
2.9
CFast slot........................................................................................................................................ 20
3.2
Overview......................................................................................................................................... 24
3.2.1 FUNCTION_BLOCK FB_S_UPS_CX51x0 .........................................................................24
3.2.2 FUNCTION_BLOCK FB_NT_QuickShutdown....................................................................27
3.3
Functions ........................................................................................................................................ 28
3.3.1 FUNCTION F_GetVersionTcSUPS_CX51x0......................................................................28
3.4
4.2
Dimensions ..................................................................................................................................... 31
4.3
4.4
4.5
4.6
4.7
4.8
LAN connections............................................................................................................................. 41
4.9
5.2
5.3
CX51x0
Version: 1.6
Table of contents
5.3.1
5.3.2
5.4
6.2
Faults .............................................................................................................................................. 90
7 Decommissioning....................................................................................................................................91
7.1
8 Appendix ..................................................................................................................................................93
8.1
Accessories .................................................................................................................................... 93
8.2
Certifications ................................................................................................................................... 94
8.3
Version: 1.6
CX51x0
Foreword
Foreword
1.1
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 following notes and explanations are followed when installing and commissioning
these components.
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.
CX51x0
Version: 1.6
Foreword
1.2
Safety instructions
Safety regulations
Please note the following safety instructions and explanations!
Product-specific safety instructions can be found on following pages or in the areas mounting, wiring,
commissioning etc.
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
Version: 1.6
CX51x0
Foreword
1.3
Version
0.1
1.0
1.1
1.2
1.3
1.4
1.5
1.6
CX51x0
Version: 1.6
Product overview
Product overview
2.1
Intended use
The CX51x0 device series is a modular control system designed for top-hat rail installation. The system is
scalable, so that the required modules can be assembled and installed in the control cabinet or terminal box
as required.
Attention
Do not exchange any parts when under power! The exchange of controller parts when live
can lead to short-circuits or overvoltages. These can damage the controller itself and connected peripherals (terminals, monitors, input devices, etc.).
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
Version: 1.6
CX51x0
Product overview
2.2
System overview
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.
Version: 1.6
Product overview
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.
10
Version: 1.6
CX51x0
Product overview
2.3
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
Technical data
Processor
Flash memory
Internal main memory
Persistent memory
Interfaces
Diagnostic LEDs
Clock
Operating system
Control software
Power supply
Power supply
Max. power loss
Dielectric strength
Dimensions (W x H x D)
Weight
Operating/storage temperature
Relative humidity
Vibration/shock resistant
EMC immunity/emission
Protection class
Approvals
TC3 performance class
CX5120
Processor: Intel Atom E3815, single-core, 1.46
GHz clock frequency (TC3:40)
Plug-in for CFast card, card not included
2 GB RAM (internal, not extendable)
1-second UPS integrated (1MB on CFast card)
2 x RJ 45, 10/100/1000 MBit/s, DVI-I, 4 x USB 2.0, 1x
option interface
1 x power, 1 x TC status, 1 x flash access, 2 x bus
status
Internal clock with battery backup for time and date
(battery replaceable)
Microsoft Windows Embedded Standard 7 P
TwinCAT2 PLC runtime or TwinCAT2 NC PTP
runtime
24 V DC (-15 %/+20 %)
I/O terminals 2 A
10 W (including system interfaces)
500 Veff (supply/internal electronics)
123 mm x 100 mm x 91 mm
approx. 975 g
-25 C ... +60 C / -40 C ... +85 C
95 % no condensation
Conforms to EN 60068-2-6 / EN 60068-2-27
Conforms to EN 61000-6-2 / EN 61000-6-4
IP 20
CE
performance (40)
CX51x0
Version: 1.6
11
Product overview
2.4
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
Technical data
Processor
Flash memory
Internal main memory
Persistent memory
Interfaces
Diagnostic LEDs
Clock
Operating system
Control software
Power supply
Power supply
Max. power loss
Dielectric strength
Dimensions (W x H x D)
Weight
Operating/storage temperature
Relative humidity
Vibration/shock resistant
EMC immunity/emission
Protection class
Approvals
TC3 performance class
CX5130
Processor: Intel Atom E3827, dual-core, 1.75
GHz clock frequency (TC3:40)
Plug-in for CFast card, card not included
4 GB RAM (internal, not extendable)
1-second UPS integrated (1MB on CFast card)
2 x RJ 45, 10/100/1000 MBit/s, DVI-I, 4 x USB 2.0, 1x
option interface
1 x power, 1 x TC status, 1 x flash access, 2 x bus
status
Internal clock with battery backup for time and date
(battery replaceable)
Microsoft Windows Embedded Standard 7 P
TwinCAT2 PLC runtime or TwinCAT2 NC PTP
runtime
24 V DC (-15 %/+20 %)
I/O terminals 2 A
12 W (including system interfaces)
500 Veff (supply/internal electronics)
142 mm x 100 mm x 91 mm
approx. 1095 g
-25 C ... +60 C / -40 C ... +85 C
95 % no condensation
Conforms to EN 60068-2-6 / EN 60068-2-27
Conforms to EN 61000-6-2 / EN 61000-6-4
IP 20
CE
performance (40)
12
Version: 1.6
CX51x0
Product overview
2.5
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
Technical data
Processor
Flash memory
Internal main memory
Persistent memory
Interfaces
Diagnostic LEDs
Clock
Operating system
Control software
Power supply
Power supply
Max. power loss
Dielectric strength
Dimensions (W x H x D)
Weight
Operating/storage temperature
Relative humidity
Vibration/shock resistant
EMC immunity/emission
Protection class
Approvals
TC3 performance class
CX5140
Processor: Intel Atom E3845, quad-core, 1.91
GHz clock frequency (TC3:50)
Plug-in for CFast card, card not included
4 GB RAM (internal, not extendable)
1-second UPS integrated (1MB on CFast card)
2 x RJ 45, 10/100/1000 MBit/s, DVI-I, 4 x USB 2.0, 1x
option interface
1 x power, 1 x TC status, 1 x flash access, 2 x bus
status
Internal clock with battery backup for time and date
(battery replaceable)
Microsoft Windows Embedded Standard 7 P
TwinCAT2 PLC runtime or TwinCAT2 NC PTP
runtime
24 V DC (-15 %/+20 %)
I/O terminals 2 A
14 W (including system interfaces)
500 Veff (supply/internal electronics)
142 mm x 100 mm x 91 mm
approx. 1095 g
-25 C ... +60 C / -40 C ... +85 C
95 % no condensation
Conforms to EN 60068-2-6 / EN 60068-2-27
Conforms to EN 61000-6-2 / EN 61000-6-4
IP 20
CE
performance plus (50)
CX51x0
Version: 1.6
13
Product overview
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.
no
Windows
operating Embedded
system
Standard 7 P
(32-Bit)
Windows
no
TwinCAT 2
Embedded
TwinCAT PLCStandard 7 P
Runtime
(64-Bit)
TwinCAT 2
NC-PTPRuntime
TwinCAT 2
NC-IRuntime
TwinCAT 3
XAR
CX5120-0100
CX5120-0120
CX5120-0121
CX5120-0122
CX5120-0123
CX5120-0125
CX5120-0130
CX5120-0135
no
Windows
operating Embedded
system
Standard 7 P
(32-Bit)
Windows
no
TwinCAT 2
Embedded
TwinCAT PLCStandard 7 P
Runtime
(64-Bit)
TwinCAT 2
NC-PTPRuntime
TwinCAT 2
NC-IRuntime
TwinCAT 3
XAR
CX5130-0100
CX5130-0120
CX5130-0121
CX5130-0122
CX5130-0123
CX5130-0125
CX5130-0130
CX5130-0135
14
Version: 1.6
CX51x0
Product overview
Table3: CX5140 (1.91 GHz 4 cores)
Module
no
Windows
operating Embedded
system
Standard 7 P
(32-Bit)
Windows
no
TwinCAT 2
Embedded
TwinCAT PLCStandard 7 P
Runtime
(64-Bit)
TwinCAT 2
NC-PTPRuntime
TwinCAT 2
NC-IRuntime
TwinCAT 3
XAR
CX5140-0100
CX5140-0120
CX5140-0121
CX5140-0122
CX5140-0123
CX5140-0125
CX5140-0130
CX5140-0135
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
CX51x0
Version: 1.6
15
Product overview
2.7
Architecture overview
The Embedded PCs of the CX51x0 family all have the same architecture. This is described below.
The CX51x0 Embedded PCs are based on the Intel Atom microarchitecture, which was developed by Intel.
The 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 CPU provides all required interfaces:
1 PCIe lane for each of the two Intel i210 Gigabit Ethernet controllers
4x USB 2.0 (interfaces)
DVI-I and DVI-D interface (second interface optional in CX51x0-N010)
Serial interface (CX51x0-N03x)
1 PCIe for FPGA for K-/E-bus and NOV-RAM
1 SATA for CFast card interface
1 IDE for Micro SD card interface
16
Version: 1.6
CX51x0
Product overview
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.
Details of the individual system interfaces are described in separate sections.
CX51x0
Version: 1.6
17
Product overview
2.8
Battery compartment
The battery compartment is located under the front cover of the CX51x0. The opening in which the battery
bracket is mounted can be seen when the front cover is opened. The battery can be pulled part way out of
the opening with the aid of a strap (marked red) until it can be grasped by the fingers and removed from the
device.
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.
CR2032
Standard
conditions
continuous
load
0.20 mA
Dimensions
Diameter
Height
Weight
20.0 mm
3.20 mm
3.1 g
Attention
Only use the same battery type (CR2032) from Sanyo or Panasonic. It is essential that positive and negative terminals of the battery are inserted correctly (negative pole on the left)
Never open the battery or throw it into a fire. The battery cannot be recharged.
Battery maintenance
The battery must be replaced every 5 years. Spare batteries can be ordered from Beckhoff
Sales under order number CX1900-0102.
Note
18
Version: 1.6
CX51x0
Product overview
Note
CX51x0
Panasonic batteries were certified as part of the UL Listing. The use of alternative batteries
without consulting UL may invalidate the certification. Certified batteries can be ordered
from Beckhoff Sales.
Version: 1.6
19
Product overview
2.9
CFast slot
A CFast slot is located at the front. It enables the storage medium to be replaced. In the basic module this
should only be done in switched-off state, otherwise the system may crash. The CFast card can be
removed from the module for maintenance. In this way it is also possible to expand the system (only
operating system and program memory). CFast cards with different memory sizes are available as
accessories.
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.
20
Version: 1.6
CX51x0
Product overview
2.10
CFast card
Note
CX51x0
We strongly recommend that only CFast cards supplied by Beckhoff Automation GmbH &
Co. KG should be used. These are industry-standard CFast cards with enhanced number
of write/read cycles and an advanced temperature range (-25 C to +85 C). Proper operation can only be guaranteed with CFast cards from Beckhoff Automation!
Version: 1.6
21
Seconds UPS
Seconds UPS
3.1
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:
Advanced -> Power Controller Options
the parameter of the S-UPS are displayed and can be modified, if required.
Aptio Setup Utility - Copyright (C) American Megatrends, Inc.
Bootloader version
1.00-23
Firmware version
1.00-77
Mainboard serial no
120003414250178
Mainboard Prod. date (Week.Year) 44.14
Mainboard BootCount
4711
Mainboard operation time
1224min (20h)
Voltage (Min/Max)
5.00V / 5.20V
Temperature (Min/Max)
15C / 63C
USB-Port voltage
WatchDogTimerMode
[Off in S3-5]
[Compatibility mode]
WatchDogTimer mode
1.09
On Line
100%
42
: Select Screen
: Select Item
Enter: Select
+/-: Change Options
F1: General Help
F2: Previous Values
F3: Optimized Defaults
F4: Save & Exit
ESC: Quit
22
Version: 1.6
CX51x0
Seconds UPS
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.
SUPS Firmware Version
Firmware version
Current Power Source
Power supply status: Online / Battery
Battery Load Level
Charge state in percent (n% Cap. (n={0...100}) describes the UPS capacity)
Powerfail Counter
Number of power failures
Integration into a PLC
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.
CX51x0
Version: 1.6
23
Seconds UPS
3.2
Overview
The library TcSUPS_CX51x0.lib includes functions and function blocks required for controlling the onesecond UPS. See project example:
http://infosys.beckhoff.com/content/1033/CX51x0_HW/Resources/pro/1937303563.pro
Function blocks
Name
FB_S_UPS_CX51x0
FB_NT_QuickShutdown
Description
Block for controlling the one-second UPS
Internal block for QuickShutdown, used by the
FB_S_UPS.
Functions
Name
F_GetVersionTcSUPS_CX51x0
Description
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
3.2.1
FUNCTION_BLOCK FB_S_UPS_CX51x0
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
Attention
The seconds UPS can be used only for a few seconds in the event of a power failure in order, to save persistent data. The data must be saved in the fast persistent mode
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.
A QuickShutdown is performed automatically in the eSUPS_WrPersistData_Shutdown mode (standard
setting) after the storage of the persistent data.
In eSUPS_WrPersistData_NoShutdown mode only the persistent data are stored. No QuickShutdown is
executed.
In the eSUPS_ImmediateShutdown mode a QuickShutdown is executed immediately without saving data.
24
Version: 1.6
CX51x0
Seconds UPS
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.
Attention
To protect the Windows Embedded Standard 7 P files, either the EWF (Enhanced Write Filter) or the FBWF (File-Based Write Filter) must be activated on devices with one-second
UPS.
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) *)
CX51x0
Version: 1.6
25
Seconds UPS
ePersistentMode : E_PersistentMode := SPDM_2PASS; (* mode for writing persistent data *)
tRecoverTime : TIME := T#10s; (* ON time to recover from short power failure in mode eSUPS_WrPersistData_NoShutdown/eSUPS_CheckPowerStatus *)
END_VAR
E_S_UPS_Mode
sNetID : AmsNetID of the controller.
iPLCPort : Port number of the PLC runtime system (AMSPORT_R0_PLC_RTS1 = 801,
AMSPORT_R0_PLC_RTS2 = 811, AMSPORT_R0_PLC_RTS3 = 821, AMSPORT_R0_PLC_RTS4 = 831).
iUPSPort : Port number via which the UPS status is read (standard value is 16#588).
tTimeout : Timeout for the execution of the QuickShutdown.
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
TwinCAT v2.11R3 Build 2047 or higher
TwinCAT 3.1 Build 4018 or higher
26
Target platform
PC (i386)
Hardware
Seconds UPS
TcSUPS_CX51x0.Lib
Version: 1.6
CX51x0
Seconds UPS
3.2.2
FUNCTION_BLOCK FB_NT_QuickShutdown
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
Prerequisites
Development environment
TwinCAT v2.11R3 Build 2047 or higher
TwinCAT 3.1 Build 4018 or higher
CX51x0
Target platform
PC (i386)
Hardware
One-second UPS
TcSUPS_CX51x0.Lib
Version: 1.6
27
Seconds UPS
3.3
Functions
3.3.1
FUNCTION F_GetVersionTcSUPS_CX51x0
Prerequisites
Development environment
TwinCAT v2.11R3 Build 2047 or higher
TwinCAT v3.1 Build 4018 or higher
28
Target platform
PC (i386)
Hardware
Seconds UPS
TcSUPS_CX51x0.Lib
Version: 1.6
CX51x0
Seconds UPS
3.4
Data Types
3.4.1
TYPE E_S_UPS_Mode
Prerequisites
Development environment
TwinCAT v2.11R3 Build 2047 or higher
TwinCAT v3.1 Build 4018 or higher
3.4.2
Target platform
PC (i386)
Hardware
Seconds UPS
TcSUPS_CX51x0.Lib
TYPE E_S_UPS_State
eSUPS_PowerOK:
in all modes: supply voltage is OK
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
TwinCAT v2.11R3 Build 2047 or higher
TwinCAT v3.1 Build 4018 or higher
CX51x0
Target platform
PC (i386)
Hardware
Seconds UPS
TcSUPS_CX51x0.Lib
Version: 1.6
29
4.1
Unpacking
Proceed as follows to unpack the unit:
1.
2.
3.
4.
5.
6.
Remove packaging.
Do not discard the original packaging. Keep it for transporting the device in the future.
Check the delivery for completeness by comparing it with your order.
Please keep the associated paperwork. It contains important information for handling the unit.
Check the contents for visible shipping damage.
If you notice any shipping damage or inconsistencies between the contents and your order, you
should notify Beckhoff Service.
Attention
During transport in cold conditions, or if the device is subjected to extreme temperature differences, condensation on and inside the device must be avoided. Prior to operation, the
device must be allowed to slowly adjust to room temperature. Should condensation occur,
a delay time of approximately 12 hours must be allowed before the unit is switched on.
Installation
The devices are designed for installation in control cabinets.
30
Version: 1.6
CX51x0
4.2
Dimensions
Dimensions:
CX5120-01xx:
CX5130-01xx:
CX5140-01xx:
CX51x0
Version: 1.6
31
32
Version: 1.6
CX51x0
4.3
Avoid damage!
Do not force the module or apply excessive pressure!
Attention
Installation position
Comply with the permitted installation position and minimum distances!
Attention
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
flow vertically through the ventilation holes. The images show the permitted and two incorrect installation positions. Mounting must provide a clearance of 30 mm both above and below 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.
CX51x0
Version: 1.6
33
34
Version: 1.6
CX51x0
4.4
Power supply
This power supply unit is equipped with an I/O interface, which permits connection of the Beckhoff Bus
Terminals. The power is supplied via the upper spring-loaded terminals labelled 24V and 0V.
The CX system is supplied with 24 V DC (-15 %/+20%) via the internal bus and the Bus Terminals. The
dielectric strength of the power supply unit is 500 Vrms. Since the internal bus in the terminals (K- and E-bus)
only transfers data, a separate power supply is required for the Bus Terminals. This is provided by means of
the power contacts, which are not connected to the power supply.
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.
CX51x0
Version: 1.6
35
AWG 20 AWG 14
8.38 mm
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
DANGER
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
(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 parallel with another (class 2) power source!This UL requirements are valid for all supply voltages of the CX-Controllers!
PE power contacts
Power contact PE
Attention
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
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.
Attention
36
The device may not be switched off by disconnecting the ground. The 24 V line must always be disconnected first, since otherwise current may continue to flow via the shielding,
depending on the device. Any devices with independent power supply that may be connected (e.g. a Panel) must have the same potential as the CX system for PE" and
GND" (no potential difference). A potential difference may result in damage to the controller and the periphery.
Version: 1.6
CX51x0
4.5
Note
EtherCAT Bus Terminals (ELxxxx/ESxxxx) that do not actively participate in data exchange
within the Bus Terminal block are called passive terminals. These terminals can be recognized by their lack of power consumption from the E-Bus. In order to ensure optimum data
exchange, they must not be connected directly to the power supply unit as the first device!
The following illustration shows the correct mounting of the passive terminal:
CX51x0
Version: 1.6
37
4.6
DVI-I port
DVI-I socket
1
8 C1 C2
16
17
24 C3 C4
Pin
1
2
3
4
5
6
7
Assignment
TMDS Data 2TMDS Data 2+
TMDS Data 2/4 Shield
not connected
not connected
DDC Clock
DDC Data
Pin
9
10
11
12
13
14
15
16
Assignment
TMDS Data 1TMDS Data 1+
TMDS Data 1/3 Shield
not connected
not connected
+ 5V Power
Ground ( +5V, Analog H/
V Sync)
Hot Plug Detect
Pin
17
18
19
20
21
22
23
Assignment
TMDS Data 0TMDS Data 0+
TMDS Data 0/5 Shield
not connected
not connected
TMDS Clock Shield
TMDS Clock +
24
TMDA Clock -
38
Assignment
Analog Red Video Out
Analog Green Video Out
Analog Blue Video Out
Analog Horizontal Sync
Version: 1.6
CX51x0
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.
CX51x0
Version: 1.6
39
4.7
USB connections
The USB socket is a type A socket. The USB interface complies with the USB 2.0 specification.
Pin
1
2
3
4
Shell
40
Assignment
VBUS
DD+
GND
Shield
Version: 1.6
Typical assignment
Red
White
Green
Black
Drain Wire
CX51x0
4.8
LAN connections
Signal
T2 +
T2 T3 +
T1 +
T1 T3 T4 +
T4 -
Description
Pair 2
Pair 3
Pair 1
Pair 3
Pair 4
CX51x0
Signal
T2 +
T2 T3 +
T1 +
T1 T3 T4 +
T4 -
Description
Pair 2
Pair 3
Pair 1
Pair 3
Pair 4
Version: 1.6
41
Note
42
The two ports are independent from each other. In contrast to the CX systems CX1020 and
CX9000 systems, no switch is integrated. For a line topology an additional switch is required. The independent ports can be configured in different ways: In delivery state the upper port (1) is configured as GB IT port, the lower port (2) is configured for EtherCAT communication. It can also be used for IT communication.
Version: 1.6
CX51x0
4.9
The CX51x0-N030 system interface provides an RS232 interface, COM1 (X300). It is implemented on a 9pole 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.
Signal
RxD
TxD
GND
RTS
CTS
Type
Signal in
Signal out
Ground
Signal out
Signal in
Description
Receive Data
Transmit Data
Ground
Ready to Send
Clear to Send
CX51x0
Version: 1.6
43
4.10
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.
Signal
TxD+
RxD+
GND
VCC
TxDRxD-
Type
Data-Out +
Data-In +
Ground
VCC
Data-Out Data-In -
Description
Transmit 422
Receive 422
Ground
+5V
Transmit 422
Receive 422
For RS485 pins 2 and 3 (data +) must be connected, and pins 7 and 8 (data ).
44
Status
off
on
on
off
on
off
on
on
Version: 1.6
CX51x0
Note
If other parameters are required than the set parameters, please order the required configuration:
- CX51x0-N031-0001 RS485 with echo, end point (with termination)
- CX51x0-N031-0002 RS485 without echo, stub (without termination)
- CX51x0-N031-0003 RS485 with echo, stub (without termination)
- CX51x0-N031-0004 RS422 full duplex end point (with termination)
CX51x0
Version: 1.6
45
Commissioning/Configuration
Commissioning/Configuration
5.1
BIOS setup
Changes in the BIOS settings may only be implemented by appropriately
trained staff.
Attention
The CX51x0 systems are delivered by Beckhoff Automation GmbH & Co. KG in a preconfigured state and are therefore operational! The BIOS settings should only be modified by
appropriately trained staff. Under Windows CE the BIOS should not be changed at all,
since the operating system is adapted to the hardware configuration. Any change in the addresses or interrupts would lead to unstable system behavior or even crashing.
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.
46
Version: 1.6
CX51x0
Commissioning/Configuration
5.1.1
Main
322
B3 Stepping
Memory Information
Total Memory
2048 MB (DDR3L)
System Date
System Time
: Select Screen
: Select Item
[Thu 24/12/2014]
Enter: Select
[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
CX51x0
Version: 1.6
47
Commissioning/Configuration
Setting the system date
System time
Options:
hh hours
mm minutes
ss seconds
Setting the system time
48
Version: 1.6
CX51x0
Commissioning/Configuration
5.1.2
Advanced
: 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
F2: Previous Values
Driver Health
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
Shows the driver status.
5.1.2.1
CX51x0
Version: 1.6
49
Commissioning/Configuration
5.1.2.2
Port Is Disabled
COM1 (Disabled)
Console Redirection
Legacy Console Redirection
Settings
: Select Screen
: Select Item
Port Is Disabled
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.
COM0 (Disabled)
Console Redirection
Options: Port is Disabled
The port is disabled.
COM1 (Disabled)
Console Redirection
Options: Port is Disabled
The port is disabled.
Console Redirection Settings
No further dialog is stored here.
50
Version: 1.6
CX51x0
Commissioning/Configuration
5.1.2.3
CPU Configuration
1467 MHz
Supported
[Disabled]
[Enabled]
[Enabled]
[Disabled]
: 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.
CPU Configuration
Socket 0 CPU Information:
The CPU data are displayed here.
CPU Thermal Configuration:
A CPU thermosensor can be switched off here. It is switched off by default.
CPU Speed
Options: none
Maximum clock frequency of the CPU.
64-bit
Options: none
Defines whether a 64-bit system is used.
Limit CPUID Maximum
Options: Enabled / Disabled
This option enables reduction of the CPU performance characteristics (CPUID).
Enabled: Reduced CPU performance characteristics, recommended for older operating systems.
Disabled: Disabled under Windows Embedded Standard 7, i.e. the full CPU-functionality is supported.
Execute Disable Bit
Options: Enabled / Disabled
Defines a security setting.
Enabled: The processor can prevent execution of defective software, thus protecting the memory.
Intel Virtualization Technology
Options: Enabled / Disabled
Defines whether Vanderpool technology is to be used. This technology facilitates optimization of the
virtualization capability of Intel-based clients and server.
CX51x0
Version: 1.6
51
Commissioning/Configuration
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).
52
Version: 1.6
CX51x0
Commissioning/Configuration
5.1.2.4
PPM Configuration
Enable/Disable
[Disabled]
[Disabled]
: 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.
PPM Configuration
CPU C state Report
Options: Enabled / Disabled
Activates or deactivates reporting of the CPU-C state to the operating system.
S01x
Options: Enabled / Disabled
Activates or deactivates the CPU state S01x.
CX51x0
Version: 1.6
53
Commissioning/Configuration
5.1.2.5
SATA Configuration
[Enabled]
[Disabled]
[Gen2]
[No ODD]
[AHCI]
[Enabled]
[Disabled]
[Enabled]
[Disabled]
SATA Port0
Not Present
SATA Port1
Not Present
: 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.
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 Test Mode
Options: Enabled / Disabled
Activates or deactivates testing of the SATA mode.
SATA Speed Support
Options: Gen1 / Gen2
Sets the SATA controller to SATA I (1.2 Gbps) or SATA II (2.4 Gbps).
SATA ODD Port
Options: No Odd / Odd Port 1 / Odd Port 2
This is set if an optical drive is connected to port 1 or port 2.
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.
Serial ATA Port X
Options: Empty
Shows the modes of the SATA port.
Empty: No SATA port is supported.
54
Version: 1.6
CX51x0
Commissioning/Configuration
Hot Plug
Options: Enabled / Disabled
Activates or deactivates the option to add or swap components during operation.
CX51x0
Version: 1.6
55
Commissioning/Configuration
5.1.2.6
Network Stack
: 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.
56
Version: 1.6
CX51x0
Commissioning/Configuration
5.1.2.7
[Off in S3-5]
[Compatibility Mode]
WatchDogTimer Mode
1.09
On Line
100%
42
: Select Screen
: Select Item
Enter: Select
+/-: Change Options
F1: General Help
F2: Previous Values
F3: Optimized Defaults
F4: Save & Exit
ESC: Quit
Version: 1.6
57
Commissioning/Configuration
WatchDog Timer Mode
Options: Compatibility Mode / Normal Mode
Defines the watchdog timer mode.
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.
SUPS Firmware Version
Firmware version.
Current Power Source
Power supply status: Online / Battery
Battery Load Level
Charge state in percent.
Powerfail Counter
Number of power failures.
58
Version: 1.6
CX51x0
Commissioning/Configuration
5.1.2.8
CSM Configuration
[Enabled]
07.76
GateA20 Active
Option ROM Messages
[Upon Request]
[Force BIOS]
WatchDogTimer Mode
: Select Screen
: Select Item
[Do not launch]
Enter: Select
[UEFI]
+/-: Change Options
[Legacy]
F1: General Help
F2: Previous Values
[UEFI
F3: Optimized Defaults
F4: Save & Exit
ESC: Quit
Version 2.17.1246. Copyright (C) 2014 American Megatrends, Inc.
CSM Support
Options: Enabled / Disable
Switches CSM support on or off.
CSM16 Module Version
Options: none
Firmware version.
GateA20 Active.
Options: Upon Request / Always
Switches the GateA20 emulation to mode "on request" or "always on".
Option ROM Messages
Options: Force Bios / Keep Current
Messages from the optional ROM modules are output via the BIOS, or the device settings are retained.
Boot option filter
Options: UEFI and Legacy / Legacy only / UEFI only
Specifies the boot parameter priorities.
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.
CX51x0
Version: 1.6
59
Commissioning/Configuration
Other PCI devices
Options: Do not launch / UEFI / Legacy
Specifies the start options for the PCI ROM.
60
Version: 1.6
CX51x0
Commissioning/Configuration
5.1.2.9
SDIO Configuration
: 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.
CX51x0
Version: 1.6
61
Commissioning/Configuration
5.1.2.10
USB Configuration
Aptio Setup Utility - Copyright (C) American Megatrends, Inc.
USB Configuration
USB Module Version
8.11.02
USB Devices:
1 Keyboard, 1 Mouse, 1 Hubs
Legacy USB Support
XHCI Hand-off
EHCI Hand-off
USB Mass Storage Driver Support
Port 60/64 Emulation
[Enabled]
[Enabled]
[Disabled]
[Enabled]
[Enabled]
: Select Screen
: Select Item
USB Hardware delays and time-outs:
Enter: Select
USB transfer time-out
[20 sec ]
+/-: Change Options
Device reset time-out
[20 sec]
F1: General Help
F2: Previous Values
Device power-up delay
[Auto]
F3: Optimized Defaults
F4: Save & Exit
ESC: Quit
Version 2.17.1246. Copyright (C) 2014 American Megatrends, Inc.
USB Configuration
USB Devices:
List of the connected USB devices.
Legacy USB Support
Options: Enabled / Disabled / Auto
Activates or deactivates support for USB devices on older operating systems.
Auto: Disables the legacy support, if no USB devices are connected.
Disable: USB devices are only detected for EFI (Extensible Firmware Interface) applications.
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.
USB Mass Storage Driver Support
Options: Disabled / Enabled
Support for USB mass storage device.
Port 60/64 Emulation
Options: Enable / Disable
I/O port 60h/64h emulation to support a USB keyboard under operating systems without USB support.
USB Hardware delays and time-outs
62
Version: 1.6
CX51x0
Commissioning/Configuration
USB Transfer time-out:
Options: 5 sec / 10 sec / 20 sec
Defines the timeout time for the control, bulk and interrupt transfer
Device reset time-out
Options: 10 sec / 20 sec / 30 sec / 40 sec
Defines the timeout time for the USB mass storage device.
Device Power-up delay
Options: Auto / Manual
Defines the permissible delay until a device has registered with the host controller.
Auto: Uses a default value of 100 ms for a root port, and a value defined by the hub for a hub port.
CX51x0
Version: 1.6
63
Commissioning/Configuration
5.1.2.11
Security Configuration
[Enabled]
[Disabled]
[Enabled]
[Enabled]
: 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.
TXE EOP Message
Options: Enabled / Disable
Switches TXE EOP messages on or off.
64
Version: 1.6
CX51x0
Commissioning/Configuration
5.1.2.12
Flashing LEDs
UEFI Driver
Adapter PBA
Device Name
Chip Type
PCI Devive ID
PCI Adress
Link Status
[Disconnected]
MAC address
: 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.
00:01:05:aa:bb:cc
NIC Configuration
Setting the physical network parameters (connection speed / Wake on LAN)
Blink LEDs
Options: n = {0 15}
Causes the LED at the network port to flash n times.
CX51x0
Version: 1.6
65
Commissioning/Configuration
5.1.2.12.1
NIC Configuration
: 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).
66
Version: 1.6
CX51x0
Commissioning/Configuration
5.1.3
Chipset
5.1.3.1
South Bridge
[Enabled]
[Power On]
[Enabled]
[Enabled]
: 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.
CX51x0
Version: 1.6
67
Commissioning/Configuration
High Precision Timer
Options: Enabled / Disabled
Activates or deactivates the High Precision Event Timer. This enables the operating system
to allocate certain timers to specific applications.
Restore AC Power Loss
Options: Power on / Power Off / Last State
Defines the measures that are executed by the system after a power failure.
Power on: The system is switched on as soon as the power failure has been rectified.
Power off: The system remains switched off after the power failure has been rectified. Use the main switch to
switch the system back on again.
Last State: After the power failure has been rectified the system returns to its previous state.
Onboard Gigabit LAN1
Options: none
LAN controller is always activated.
Onboard Gigabit LAN2
Options: Enabled / Disabled
Activates or deactivates the LAN controller.
Enabled: The system defines which system resources are used.
Disabled: The LAN controller is switched off.
5.1.3.1.1
Azalia HD Audio
[Enabled]
[Enabled]
[Enabled]
[Enabled]
[Enabled]
[Enabled]
: 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.
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.
Azalia VCI Enable
Options: Enabled / Disabled
Activates or deactivates virtual audio channel 1.
Azali PME Enable
Options: Enabled / Disabled
Activates or deactivates the power management for the audio interface.
68
Version: 1.6
CX51x0
Commissioning/Configuration
Azalia HDMI Codec
Options: Enabled / Disabled
Activates or deactivates the HDMI Audiocodec.
HDMI Port B
Options: Enabled / Disabled
Activates or deactivates HDMI port B.
HDMI Port C
Options: Enabled / Disabled
Activates or deactivates HDMI port C.
CX51x0
Version: 1.6
69
Commissioning/Configuration
5.1.3.1.2
USB Configuration
[XHCI]
[Enabled]
[Disabled]
: 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.
USB Mode
Options: EHCI / XHCI
Do NOT CHANGE this setting! EHCI renders the system inoperable.
USB2 Link Power Management
Options: Enabled / Disabled
Activates or deactivates the power management for the USB interface.
USB Per Port Control
Options: Enabled / Disabled
Activates or deactivates the control for each individual USB port (0 ... 3).
70
Version: 1.6
CX51x0
Commissioning/Configuration
5.1.3.1.3
CX51x0
Version: 1.6
71
Commissioning/Configuration
5.1.4
Security
3
20
Administrator Password
Secure Boot menu
: 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.
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.
Secure Boot menu
The Secure Boot menu is not required for standard operation.
72
Version: 1.6
CX51x0
Commissioning/Configuration
5.1.5
Boot
Aptio Setup Utility - Copyright (C) American Megatrends, Inc.
Boot Configuration
Setup Prompt Timeout
Bootup NumLock State
5
[On]
[LEGACY]
[Service Stick]
[CFast/SSD]
[Hard Disk:]
[CD/DVD]
[USB Stick]
[USB Floppy]
[USB Hard Disk]
[USB CD/DVD]
[Network]
[USB LAN]
[OSLoader
: 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.
Boot Configuration
Setup Prompt Timeout
Options: none
Defines the time in seconds for which the request to start the BIOS is displayed.
A time between 0 and 10 seconds can be set. 0 means no display.
Bootup NumLock State
Options: On/Off
Defines the status of the numeric keypad. This option is usually switched on. If you use a keyboard without
numeric keypad, this option can be switched off.
Boot mode select
Option: LEGACY / UEFI / DUAL
Sets the boot mode.
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).
FIXED BOOT ORDER Priorities
CX51x0
Version: 1.6
73
Commissioning/Configuration
Boot Option #n (n={1..11})
Options: Service Stick / CFast/SSD / Hard Disk / CD/DVD / USB Stick /
USB Floppy / USB Hard Disk / USB / CD/DVD / Network / USB LAN / OSLoader
The boot option defined as #1 has the highest priority, followed by the second, third, etc. priority.
74
Version: 1.6
CX51x0
Commissioning/Configuration
5.1.6
: Select Screen
: Select Item
Enter: Select
+/-: Change Options
F1: General Help
F2: Previous Values
Boot Override
F3: Optimized Defaults
Reset System with ME disable ModeMEUD000
F4: Save & Exit
ESC: Quit
Version 2.17.1246 Copyright (C) 2014 American Megatrends, Inc.
Save Changes and Reset
Options: none
Dialog: Save configuration and reset.
BIOS settings are stored, and the system is restarted.
Discard Changes and Reset
Options: none
Dialog: Reset without saving.
BIOS settings are discarded, and the system is restarted.
Restore Optimized Defaults
Options: none
Dialog: Load Optimized Defaults?
The BIOS settings profile created by the manufacturer is loaded.
Boot Override
Reset System with ME disable ModeMEUD000
Options: none
CX51x0
Version: 1.6
75
Commissioning/Configuration
5.2
EtherCAT cable redundancy can be realized in the CX51x0 systems through the two independent Ethernet
ports. Minimum requirements:
1. EtherCAT redundancy supplement
2. EK1110 (Bus extension)
3. EK1100 (Bus Coupler)
The supplement product on the Beckhoff website at
http://www.beckhoff.de/forms/twincat3/warenkorb.aspx?lg=de&title=TS622x-EtherCATRedundancy&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.
76
Version: 1.6
CX51x0
Commissioning/Configuration
Note
This supplement only supports cable redundancy. This means that fail safety exists only for
the cable sections. It applies to connections between the individual stations (controllers,
couplers and drives). Failures of individual terminals are not covered. Further details can be
found in the Beckhoff Information System" under EtherCAT cable redundancy.
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:
CX51x0
Version: 1.6
77
Commissioning/Configuration
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:
78
Version: 1.6
CX51x0
Commissioning/Configuration
CX51x0
Version: 1.6
79
Commissioning/Configuration
5.3
The procedure for commissioning the CX51x0-N03x with serial interface under TwinCAT differs from that for
other Embedded PCs. In order to avoid configuration errors, the procedure for adding and configuring the
CX51x0 in TwinCAT is described below.
The description applies to TwinCAT from the following version:
Software
TwinCAT 2
TwinCAT 3
5.3.1
Version
from: TC2.11.2248
from: TC3.1.4018
Once the CX was selected as target system, the CX with serial interface can be added to the tree view under
TwinCAT.
Prerequisites for this step:
A scanned and selected target system.
Add the CX51x0-N03x as follows:
1. In the tree view on the left, right-click on I/O Devices.
2. In the context menu click on Scan Devices.
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.
80
Version: 1.6
CX51x0
Commissioning/Configuration
5. 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.
CX51x0
Version: 1.6
81
Commissioning/Configuration
5.3.2
Once the CX was selected as target system, the CX with serial interface can be added to the tree view under
TwinCAT.
Prerequisites for this step:
A scanned and selected target system.
Add the CX51x0-N03x as follows:
1. In the tree view on the left, right-click on Devices.
2. In the context menu click on Scan.
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.
82
Version: 1.6
CX51x0
Commissioning/Configuration
5. Under the Serial Port tab, select the option PCI/PCIe Device.
CX51x0
Version: 1.6
83
Commissioning/Configuration
5.4
Switching on
The power supply for the basic CPU module comes from the power supply unit. The basic CPU module
starts automatically when the power supply unit is connected to the mains.
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.
84
Version: 1.6
CX51x0
6.1
6.1.1
Display
LED
PWR
Meaning
Power supply
The power LED lights green if
the device is connected to a
power supply unit and the unit is
switched on.
The S-UPS is activated (violet).
Bootloader is started and runs
without errors (The colors red
and yellow light up for one
second).
TwinCAT status LED
TwinCAT is in Run mode (green)
TwinCAT is in Stop mode (red)
TwinCAT is in Config mode
(blue)
Read/Write CFast card
(red) indicates that access to the
CFast card is in progress.
Status LED1 for fieldbus (the
function is described under the
fieldbus interface)
Status LED2 for fieldbus (the
function is described under the
fieldbus interface)
TC
HDD
FB1
FB2
CX51x0
Version: 1.6
85
6.1.2
After switching on, the power supply immediately checks the connected Bus Terminal configuration. Errorfree start-up is signalled by the red "I/O ERR LED being extinguished. If the I/O ERR LED blinks, an error
in the area of the terminals is indicated. The error code can be determined from the frequency and number of
blinks. This permits rapid rectification of the error.
Display
LED
Us 24 V
Up 24V
K-BUS RUN
K-BUS ERR
Meaning
Power supply for the CPU module.The LED lights
green if the power supply is correct.
Power supply for terminal bus. The LED lights
green if the power supply is correct.
K-bus diagnostics.The green LED lights up in order
to indicate fault-free operation. "Fault-free" means
that the communication with the fieldbus system is
also running.
K-bus diagnostics. The red LED flashes to indicate
an error. The red LED blinks with two different
frequencies.
86
Version: 1.6
CX51x0
Persistent,
continuous
flashing
3 pulses
4 pulses
Description
EMC problems
5 pulses
6 pulses
0
1
7 pulses
Remedy
Exchange Embedded-PC.
Perform a hardware reset on the
Embedded-PC (switch off and on again).
Perform a hardware reset on the
Embedded-PC (switch off and on again).
Check configuration and terminals for
consistency.
CX51x0
Version: 1.6
87
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 Kbus update time typically lies between one and five ms.
Bit 0 = K-Bus error
Bit 1 = terminal configuration has changed since the start
Bit 2 = process image lengths do not match
Bit 8 = no valid inputs (yet)
Bit 9 = K-bus input update not yet complete
Bit 10 = K-bus output update not yet complete
Bit 11 = watchdog
Bit 15 = acyclic 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).
88
Version: 1.6
CX51x0
6.1.3
After switching on, the power supply immediately checks the connected Bus Terminal configuration. In the EBus mode the L/A led lights up. It starts blinking when there is traffic on the bus.
Display
LED
Us 24 V
Up 24 V
L/A
CX51x0
off
on
flashing
Version: 1.6
Meaning
Power supply for the CPU module
The LED lights green if the power
supply is correct.
Power supply for terminal bus. The
LED lights green if the power supply
is correct.
E-bus not connected
E-bus connected / no data traffic
E-bus connected / data traffic on the
E-bus.
89
6.2
Faults
Cause
No power supply for the Embedded
PC
other causes
Measures
1.Check the fuse
2. Measure voltage at connection,
check plug wiring, call Beckhoff
support
Check setup setting, call Beckhoff
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.
90
Version: 1.6
CX51x0
Decommissioning
Decommissioning
7.1
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.
CX51x0
Version: 1.6
91
Decommissioning
After pulling the terminal release of the power supply unit, the block can be removed carefully from the tophat 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.
92
Version: 1.6
CX51x0
Appendix
Appendix
8.1
Accessories
Description
8 GB CFast card, SLC Flash, extended temperature range, instead of 4 GB
CFast card
16 GB CFast card, SLC Flash, extended temperature range, instead of 4 GB
CFast card
16 GB CFast card, SLC Flash, extended temperature range, instead of 8 GB
CFast card
32 GB CFast card, SLC Flash, extended temperature range, instead of 8 GB
CFast card
Table5: CFast-Flash cards when ordering replacement cards / initial CX51x0 order.
Order number
CX2900-0026
CX2900-0028
CX2900-0030
CX2900-0032
CX2900-0034
Description
2 GB CFast card, SLC Flash, extended temperature range
4 GB CFast card, SLC Flash, extended temperature range
8 GB CFast card, SLC Flash, extended temperature range
16 GB CFast card, SLC Flash, extended temperature range
32 GB CFast card, SLC Flash, extended temperature range
Description
Passive 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
Description
Battery for CX systems
Original manufacturers designation: Panasonic type CR2032 3V/225 mAh
Description
Spare fan tray for CX2040
Tray consisting of chassis and 60 mm fan
simple exchange in the field due to wireless installation
Weight: approx. 30 g
Dimensions (WxHxD): 66x67x16 mm
Description
Plug kit for connecting the CX2100-0914 power supply unit and battery pack.
Version: 1.6
93
Appendix
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.
94
Version: 1.6
CX51x0
Appendix
8.3
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 Headquarters
Beckhoff Automation GmbH & Co. KG
Huelshorstweg 20
33415 Verl
Germany
Phone:
Fax:
e-mail:
+49(0)5246/963-0
+49(0)5246/963-198
info@beckhoff.com
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:
Fax:
e-mail:
+49(0)5246/963-157
+49(0)5246/963-9157
support@beckhoff.com
Beckhoff Service
The Beckhoff Service Center supports you in all matters of after-sales service:
on-site service
repair service
spare parts service
hotline service
Hotline:
Fax:
e-mail:
CX51x0
+49(0)5246/963-460
+49(0)5246/963-479
service@beckhoff.com
Version: 1.6
95