Manual CX51x0
Transcription
Manual CX51x0
Manual CX51x0 Embedded-PC Version: Date: 1.6 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 3 Seconds UPS ........................................................................................................................................... 22 3.1 S-UPS: capacitive one-second UPS............................................................................................... 22 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 Data Types ..................................................................................................................................... 29 3.4.1 TYPE E_S_UPS_Mode ...................................................................................................... 29 3.4.2 TYPE E_S_UPS_State ....................................................................................................... 29 4 Mounting and wiring ............................................................................................................................... 30 4.1 Unpacking, installation and transport.............................................................................................. 30 4.2 Dimensions ..................................................................................................................................... 31 4.3 Installation on the mounting rail ...................................................................................................... 33 4.4 Power supply .................................................................................................................................. 35 4.5 Installation of passive terminals at the CX51x0 power supply unit ................................................. 37 4.6 DVI-I port ........................................................................................................................................ 38 4.7 USB connections ............................................................................................................................ 40 4.8 LAN connections............................................................................................................................. 41 4.9 RS232 connections (CX51x0-N030)............................................................................................... 43 4.10 RS422/RS485 connections (CX51x0-N031)................................................................................... 44 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 CX51x0 Version: 1.6 3 Table of contents 5.3.1 5.3.2 5.4 Operation with TwinCAT2 ................................................................................................... 80 Operation with TwinCAT3 ................................................................................................... 82 Switching on and off ....................................................................................................................... 84 6 Error handling and diagnostics ............................................................................................................. 85 6.1 Basic CPU module.......................................................................................................................... 85 6.1.1 LEDs on the basic CPU module ......................................................................................... 85 6.1.2 LEDs of the power supply in K-bus mode........................................................................... 86 6.1.3 LEDs of the power supply in E-bus mode........................................................................... 89 6.2 Faults .............................................................................................................................................. 90 7 Decommissioning.................................................................................................................................... 91 7.1 Disassembly and disposal .............................................................................................................. 91 8 Appendix .................................................................................................................................................. 93 4 8.1 Accessories .................................................................................................................................... 93 8.2 Certifications ................................................................................................................................... 94 8.3 Support and Service ....................................................................................................................... 95 Version: 1.6 CX51x0 Foreword 1 Foreword 1.1 Notes on the documentation This description is only intended for the use of trained specialists in control and automation engineering who are familiar with the applicable national standards. It is essential that the 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®, XFC®and 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 5 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! Serious risk of injury! Failure to follow the safety instructions associated with this symbol directly endangers the life and health of persons. DANGER 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 Damage to the environment or devices Failure to follow the instructions associated with this symbol can lead to damage to the environment or equipment. Attention Tip or pointer This symbol indicates information that contributes to better understanding. Note 6 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 Documentation issue status Modifications Preliminary version First publication UL requirements added Values changed in chapter Seconds UPS Architecture overview added Revised description of the Diagnostic LEDs Note about driver support for serial port added Chapter Types reworked Version: 1.6 7 Product overview 2 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. Only switch the PC off after closing the software Before the Embedded PC is switched off, the software currently running on it should be stopped properly in order to avoid data loss on the hard disk. Please read the section on “Switching off [} 84]”. 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 PC’s power supply unit must be supplied with 24 VDC. Damage to the environment or devices 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 8 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. EtherCAT as a fast I/O system Like all Embedded PCs from the CX series (except CX100x), the CX51x0 was developed for optimum interaction with EtherCAT. The primary EtherCAT connection is generally established via terminals. This is where E-Bus Terminals are attached. In addition, one of the Ethernet interfaces of the CPU module (X001) is parameterized for EtherCAT operation, and external EtherCAT components can be connected. To achieve line redundancy, both interfaces can be interconnected as a ring. 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. PLC, Motion Control, interpolation and visualization As a DIN rail IPC and in conjunction with the TwinCAT software from Beckhoff, the CX51x0 offers the same functionality as large Industrial PCs. In terms of PLC, up to four virtual IEC 61131 CPUs can be programmed with up to four tasks each, with a minimum cycle time of 50 μs. All IEC 61131-3 languages can be used. 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. CX51x0 Version: 1.6 9 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: Remote programming via Ethernet The CPU generally features a PLC runtime. A laptop or a desktop PC connected with the CX via Ethernet (network) is used for programming. The programs are developed on the laptop with a standard TwinCAT software license and then loaded into the target device. 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 CX5120 Technical data 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) Further Information: www.beckhoff.de/CX5100 CX51x0 Version: 1.6 11 Product overview 2.4 CX5130 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 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) Further Information: www.beckhoff.de/CX5100 12 Version: 1.6 CX51x0 Product overview 2.5 CX5140 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 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) Further Information: www.beckhoff.de/CX5100 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. The CX 51x0 modules are available in the following types: Table 1: CX5120 (1.46 GHz 1 Kern) 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 X - - X - - - - CX5120-0120 - X - X - - - - CX5120-0121 - X - - X - - - CX5120-0122 - X - - - X - - CX5120-0123 - X - - - - X - CX5120-0125 - X - - - - - X CX5120-0130 - - X X - - - - CX5120-0135 - - X - - - - X Table 2: CX5130 (1.75 GHz 2 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 CX5130-0100 X - - X - - - - CX5130-0120 - X - X - - - - CX5130-0121 - X - - X - - - CX5130-0122 - X - - - X - - CX5130-0123 - X - - - - X - CX5130-0125 - X - - - - - X CX5130-0130 - - X X - - - - CX5130-0135 - - X - - - - X 14 Version: 1.6 CX51x0 Product overview Table 3: 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 X - - X - - - - CX5140-0120 - X - X - - - - CX5140-0121 - X - - X - - - CX5140-0122 - X - - - X - - CX5140-0123 - X - - - - X - CX5140-0125 - X - - - - - X CX5140-0130 - - X X - - - - CX5140-0135 - - X - - - - X 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: • Intel®AtomTM E3815 (Singlecore) • Intel®AtomTM E3827 (Dualcore) • Intel®AtomTM 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. The battery is a CR2032 type from Panasonic. The correct specifications are: Battery type CR2032 Electrical properties (at 20 °C) Nominal voltNominal age capacity 3.0 V 225 mAh Standard conditions continuous load 0.20 mA Dimensions Diameter Height Weight 20.0 mm 3.20 mm 3.1 g An incorrectly inserted battery may explode! 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 The use of alternative batteries would void the UL Listing. 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 The CFast card is a non-volatile storage medium. In order to store data in a non-volatile manner, they must be stored on the CFast card. Using CFast cards 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 3 Seconds UPS 3.1 S-UPS: capacitive one-second 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: 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) 15°C / 63°C USB-Port voltage WatchDogTimerMode [Off in S3-5] [Compatibility mode] 1-second Uninterruptable Power Supply (SUPS) SUPS Enable [Enable] Hold Usb [Enable] Delay 0 SUPS Firmware version Current Power source Battery load level Powerfail counter 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 2.17.1246. Copyright (C) 2014 American Megatrends, Inc. 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: 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 (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. Caution when using files: If other applications or the PLC keep other files open or write to them, this can lead to faulty files if the UPS switches off the controller. Attention Note regarding Windows Embedded Standard 7 P: 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 PLC libraries to include 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 NETID : AmsNetID of the controller. START : Rising edge leads to immediate reboot of the control system. TMOUT : Time out period. VAR_OUTPUT VAR_OUTPUT BUSY :BOOL; ERR :BOOL; ERRID :UDINT; END_VAR BUSY : QuickShutdown is executed. ERR : Becomes TRUE, as soon as an error occurs. ERRID : Supplies the error number when the ERR output is set. Prerequisites Development environment TwinCAT v2.11R3 Build 2047 or higher TwinCAT 3.1 Build 4018 or higher CX51x0 Target platform PC (i386) Hardware PLC libraries to include One-second UPS TcSUPS_CX51x0.Lib Version: 1.6 27 Seconds UPS 3.3 Functions 3.3.1 FUNCTION F_GetVersionTcSUPS_CX51x0 This function can be used to read PLC library version information. FUNCTION F_GetVersionTcSUPS_CX51x0 : UINT VAR_INPUT nVersionElement : INT; END_VAR nVersionElement : Version element to be read. Possible parameters: • 1 : major number • 2 : minor number • 3 : revision number Prerequisites Development environment TwinCAT v2.11R3 Build 2047 or higher TwinCAT v3.1 Build 4018 or higher 28 Target platform PC (i386) Hardware PLC libraries to include Seconds UPS TcSUPS_CX51x0.Lib Version: 1.6 CX51x0 Seconds UPS 3.4 Data Types 3.4.1 TYPE E_S_UPS_Mode eSUPS_WrPersistData_Shutdown: write persistent data and then QuickShutdown eSUPS_WrPersistData_NoShutdown: write persistent data only (no QuickShutdown) eSUPS_ImmediateShutdown: QuickShutdown only (no writing of persistent data) eSUPS_CheckPowerStatus: determine status only (neither write persistent data nor QuickShutdown) 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 PLC libraries to include 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 PLC libraries to include Seconds UPS TcSUPS_CX51x0.Lib Version: 1.6 29 Mounting and wiring 4 Mounting and wiring 4.1 Unpacking, installation and transport The specified storage conditions must be adhered to (see "Technical data"). Dimensions and weight of the individual modules: CX5120-01xx: Dimensions (W x H x D): 123 mm x 100 mm x 91 mm Weight: approx. 975 g CX5130-01xx: Dimensions (W x H x D): 142 mm x 100 mm x 91 mm Weight: approx. 1095 g CX5140-01xx: Dimensions (W x H x D): 142 mm x 100 mm x 91 mm Weight: approx. 1095 g 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. Danger of damage to the device! 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. Shipping and relocation Despite the robust design of the unit, the components are sensitive to strong vibrations and impacts. During transport, your computer should therefore be protected from excessive mechanical stress. Therefore, please use the original packaging. 30 Version: 1.6 CX51x0 Mounting and wiring 4.2 Dimensions Dimensions: CX5120-01xx: CX5130-01xx: CX5140-01xx: CX51x0 Version: 1.6 31 Mounting and wiring 32 Version: 1.6 CX51x0 Mounting and wiring 4.3 Installation on the mounting rail Snapping onto the mounting rail The CX51x0 can simply be snapped onto the mounting rail. The bar clips are inserted on the top side and underside Then simply position the block on the mounting rail and push it slightly until it engages on the right-hand side. This is indicated by a distinct click. The bars are then engaged again. The engagement of the individual bars is indicated by a distinct click. The illustration shows the procedure based on the CX9020 as an example. The CX51x0 has 5 latches (CX5120) or 6 latches (CX5130 and CX5140) at the top and bottom. 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 60°C. 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 Mounting and wiring Incorrect installation positions The CX51x0 system must not be operated vertically on the top-hat rail. A vertical position would lead to insufficient CPU ventilation, since the ventilation openings are located on the top and bottom of the housing. Installation of the system on its side would also lead to inadequate ventilation. 34 Version: 1.6 CX51x0 Mounting and wiring 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 “0”V. 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. Requirements for the 24 V power supply In order to guarantee the operation of the CPU (CX51x0 module) and the terminal strand in all cases, the power supply must supply 4 A at 24 V. 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 Mounting and wiring Wire cross section Strip length 0,5 ... 2.5 mm2 8 ... 9 mm 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! Compliance of the UL requirements To meet the UL requirements, the CX-Controllers must not be connected to unlimited power sources! DANGER 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. Interruption of the power supply / switching off 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 Mounting and wiring 4.5 Installation of passive terminals at the CX51x0 power supply unit Note on the mounting of passive terminals 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! Examples of the mounting of passive terminals (colored dark): The following drawing shows impermissible mounting: The following illustration shows the correct mounting of the passive terminal: CX51x0 Version: 1.6 37 Mounting and wiring 4.6 DVI-I port DVI-I port (X200) The DVI-I interface transfers digital data and is suitable for connecting a digital or analog display. The resolution at the display or the Beckhoff Control Panel depends on the distance from the display device. The maximum distance is 5 m. Beckhoff offers various Panels with an integrated “DVI extension”. These make a cable length of up to 50 meters possible. DVI-I socket 1 8 C1 C2 9 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 8 Analog Vertical Sync 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 - Pin assignment (cross) Pin C1 C2 C3 C4 38 Assignment Analog Red Video Out Analog Green Video Out Analog Blue Video Out Analog Horizontal Sync Version: 1.6 CX51x0 Mounting and wiring Resolution at the monitor Resolution in pixels 1920 x 1200 1920 x 1080 1600 x 1200 1280 x 1024 1024 x 768 800 x 600 640 x 480 Distance of the interface from the monitor 5m 5m 5m 5m 5m 5m 5m 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 Mounting and wiring 4.7 USB connections USB interface (X100 / X101 / X102 / X103): The CX51x0 units have 4 independent USB interfaces for connecting keyboards, mice, touchscreens and other input or data storage devices. Attention is thereby to be paid to the power consumption of the individual devices: No more than 500 mA can be output per port. 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 Mounting and wiring 4.8 LAN connections LAN interface (X000/ X001) The CX51x0 systems have two independent LAN interfaces. Both ports are able to operate at speeds of 10 / 100 / 1000 Mbit. The LEDs on the left-hand sides of the RJ45 sockets indicate the status of the LAN connection. The upper LED indicates whether the port is connected to a network. If that case the LED is yellow. The LED flashes if data traffic takes place on the port. The lower LED indicates the connection speed. The LED is green if the speed is 10 or 100 Mbit. In 1000 Mbit mode (Gigabit) the LED is red. Configuration of the RJ45 interface, port 1 (X000) PIN 1 2 3 4 5 6 7 8 Signal T2 + T2 T3 + T1 + T1 T3 T4 + T4 - Description Pair 2 Pair 3 Pair 1 Pair 3 Pair 4 Configuration of the RJ45 interface, port 2 (X001) PIN 1 2 3 4 5 6 7 8 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 Mounting and wiring Independence of the ports 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 Mounting and wiring 4.9 RS232 connections (CX51x0-N030) 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. RS232 COM interface (connector) Pin assignment of the COM interface PIN 2 3 5 7 8 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 Driver support for interface The manufacturer of the driver does not support all the standard features of the interface. This means that some applications cannot be run without problems under Windows. Note The following APIs and IOCTLs are not supported. • SetupComm • SetupComm • ClearCommBreak • EscapeCommFunction (no support for parameter set to SETBREAK and CLRBREAK) • IOCTL_SERIAL_XOFF_COUNTER • IOCTL_SERIAL_LSRMST_INSERT • IOCTL_SERIAL_SET_BREAK_ON • IOCTL_SERIAL_SET_BREAK_OFF CX51x0 Version: 1.6 43 Mounting and wiring 4.10 RS422/RS485 connections (CX51x0-N031) 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. COM interface (socket) Pin assignment of the COM interface PIN 2 3 5 6 7 8 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 –). Setting the interface parameters The interface is parameterized as follows in the delivery condition: RS485 without echo, end point (terminated) standard setting Function Echo on Echo off Auto send on Always send on Auto receive on Always receive on Term on Term on 44 Status off on on off on off on on Version: 1.6 CX51x0 Mounting and wiring Changing the interface parameters 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) Driver support for interface The manufacturer of the driver does not support all the standard features of the interface. This means that some applications cannot be run without problems under Windows. Note The following APIs and IOCTLs are not supported. • SetupComm • SetupComm • ClearCommBreak • EscapeCommFunction (no support for parameter set to SETBREAK and CLRBREAK) • IOCTL_SERIAL_XOFF_COUNTER • IOCTL_SERIAL_LSRMST_INSERT • IOCTL_SERIAL_SET_BREAK_ON • IOCTL_SERIAL_SET_BREAK_OFF CX51x0 Version: 1.6 45 Commissioning/Configuration 5 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 Aptio Setup Utility - Copyright (C) American Megatrends, Inc. Board Information Board CX51x0 Revision 1 Bios Version 0.23 CPU configuration MIcrocode Patch BayTrail SoC 322 B3 Stepping Memory Information Total Memory 2048 MB (DDR3L) System Date System Time Set the Date. Use Tab to switch between Date elements. → ←: 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 Aptio Setup Utility - Copyright (C) American Megatrends, Inc. Power-Supply Type [AT] ► ACPI Settings ► 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 the Type of the Power Supply: AT/ATX → ←: 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 Advanced ACPI Settings Aptio Setup Utility - Copyright (C) American Megatrends, Inc. Enable ACPI Auto Configuration [Enabled] Enables or Disables BIOS ACPI Auto 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. Enable ACPI Auto Configuration Options: Enabled / Disabled Activates or deactivates the BIOS “Advanced Configuration and Power Interface Auto” configuration. CX51x0 Version: 1.6 49 Commissioning/Configuration 5.1.2.2 Serial Port Console Redirection Aptio Setup Utility - Copyright (C) American Megatrends, Inc. COM0 (Disabled) Console Redirection Legacy Console Redirection Settings 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 Aptio Setup Utility - Copyright (C) American Megatrends, Inc. CPU Configuration Disabled for Windows XP ► Socket 0 CPU Information ► CPU Thermal Configuration CPU Speed 64-bit 1467 MHz Supported Limit CPUID Maximum Execute Disable Bit Intel Virtualization Technology Power Technology [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 Aptio Setup Utility - Copyright (C) American Megatrends, Inc. PPM Configuration CPU C state Report S01X 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 Aptio Setup Utility - Copyright (C) American Megatrends, Inc. SATA Configuration Serial-ATA (SATA) SATA Test Mode [Enabled] [Disabled] SATA Speed Support SATA ODD Port SATA Mode [Gen2] [No ODD] [AHCI] Serial ATA Port 0 Hot Plug [Enabled] [Disabled] Serial ATA Port 1 Hot Plug [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 Aptio Setup Utility - Copyright (C) American Megatrends, Inc. Network Stack [Disable] Enable/Disable UEFI 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 Power Controller Options 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) 15 °C / 63 °C USB-Port Voltage WatchDogTimerMode [Off in S3-5] [Compatibility Mode] 1-second Uninterruptable Power Supply (SUPS) SUPS Enable [Enable] Hold Usb [Enable] Delay 0 SUPS Firmware Version Current Power Source Battery Load Level Powerfail Counter 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 2.17.1246. Copyright (C) 2014 American Megatrends, Inc. Bootloader Version Options: none Boot loader version. Firmware Version Options: none Firmware version. Mainboard Serial No. Options: none Serial number of the mainboard. Mainboard Prod. Date (Week.Year) Options: none Date of manufacture of the mainboard (specified in week/year). Mainboard BootCount Options: none Number of boot operations of the mainboards. Mainboard Operation Time Options: none Total operating time of the mainboard to date. Voltage (Min / Max) Options: none Minimum and maximum voltage. Temperature (Min / Max) Options: none Minimum and maximum temperature. CX51x0 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 Aptio Setup Utility - Copyright (C) American Megatrends, Inc. Compatibility Support Module Configuration CSM Support [Enabled] CSM16 Module Version 07.76 GateA20 Active Option ROM Messages [Upon Request] [Force BIOS] Boot option filter [UEFI and Legacy] WatchDogTimer Mode Option ROM execution Network Storage Video Other PCI devices → ←: 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 Aptio Setup Utility - Copyright (C) American Megatrends, Inc. SDIO Access Mode [Auto] Auto Option: Access SD device in DMA mode if controller supports it, otherwise in PIO mode. DMA Option: Access SD device in DMA mode. PIO Option: Access SD in PIO mode. → ←: 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 Aptio Setup Utility - Copyright (C) American Megatrends, Inc. Intel(R) TXE Configuration TXE TXE HMFRPO TXE Firmware Update TXE EOP Message TXE Unconfiguration Perform Send EOP Message Before Enter OS [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 Intel(R) I210 Gigabit Network Connection Aptio Setup Utility - Copyright (C) American Megatrends, Inc. ► NIC Configuration Flashing LEDs 0 UEFI Driver Adapter PBA Device Name Chip Type PCI Devive ID PCI Adress Intel(R) PRO/1000 6.4.13 Intel i210 Intel(R) I210 Gigabit Intel i210 1533 01:00:00 Link Status [Disconnected] MAC address Identify the physical network port by blinking the associated LED. → ←: 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 Aptio Setup Utility - Copyright (C) American Megatrends, Inc. Link Speed [Auto Negotiated] Wake on LAN [Enabled] Enable/Disable UEFI 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. 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 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. 5.1.3.1 South Bridge Aptio Setup Utility - Copyright (C) American Megatrends, Inc. ► Azalia HD Audio ► USB Configuration ► PCI Express Configuration High Precision Time Restore AC Power Loss [Enabled] [Power On] Onboard Device Configuration Onboard Gigabit LAN 1 Onboard Gigabit LAN 2 [Enabled] [Enabled] Disabled for Windows XP → ←: 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. The USB configuration settings should not be changed! Changes to the USB controller settings can make the system inoperable by inadvertently disabling local inputs. Attention 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 Aptio Setup Utility - Copyright (C) American Megatrends, Inc. Audio Configuration Audio Controller Azalia VCI Enable Azali PME Enable Azalia HDMI Codec HDMI Port B HDMI Port C [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 Aptio Setup Utility - Copyright (C) American Megatrends, Inc. USB Configuration USB Mode USB2 Link Power Management [XHCI] [Enabled] USB Per Port Control [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 PCI Express Configuration Aptio Setup Utility - Copyright (C) American Megatrends, Inc. PCI Express Configuration PCI Express Port 0 is assigned to LAN 1 PCI Express Port 1 is assigned to LAN 2 PCI Express Port 2 is assigned to CCAT → ←: 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. PCI Express Configuration Options: none Shows the mapping of the individual PCI Express ports. CX51x0 Version: 1.6 71 Commissioning/Configuration 5.1.4 Security Aptio Setup Utility - Copyright (C) American Megatrends, Inc. Password Description Minimum Length Maximum Length 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] Boot mode select [LEGACY] FIXED BOOT ORDER Priorities Boot Option #1 Boot Option #2 Boot Option #3 Boot Option #4 Boot Option #5 Boot Option #6 Boot Option #7 Boot Option #8 Boot Option #9 Boot Option #10 Boot Option #11 [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 Save & Exit Aptio Setup Utility - Copyright (C) American Megatrends, Inc. Save Changes and Reset Discard Changes and Reset Reset the system after saving the changes Restore Optimized Defaults → ←: 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 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 The supplement only supports CABLE REDUNDANCY 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 The interruption is indicated by "LNK_MIS B" and "LNK_MIS A". The next example shows a failure of the "return line": 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 The interruption is indicated by "LNK_MIS C" at coupler EK1100. 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. CX51x0 Version: 1.6 79 Commissioning/Configuration 5.3 Operating CX51x0-N03x with TwinCAT The procedure for commissioning the CX51x0-N03x with serial interface under TwinCAT differs from that for other Embedded PCs. In order to avoid configuration errors, the procedure for adding and configuring the CX51x0 in TwinCAT is described below. 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 Operation with TwinCAT2 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 window new I/O devices found appears. 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. 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. The option PCI/PCIe device can be re-enabled as follows: 6. Click on Search. The window Device Found At appears. 7. Click on the COM port, then on OK. The option PCI/PCIe device is enabled again. ð 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. CX51x0 Version: 1.6 81 Commissioning/Configuration 5.3.2 Operation with TwinCAT3 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 window new I/O devices found appears. 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. 82 Version: 1.6 CX51x0 Commissioning/Configuration 5. Under the Serial Port tab, select the option PCI/PCIe Device. The serial interface of the CX51x0 is shown under Port:. If the option Onboard/ISA device is already selected, the option PCI/PCIe device is greyed out and cannot be selected. The option PCI/PCIe device can be re-enabled as follows: 6. Click on Search. The window Device Found At appears. 7. Click on the COM port, then on OK. The option PCI/PCIe device is enabled again. ð 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. CX51x0 Version: 1.6 83 Commissioning/Configuration 5.4 Switching on and off 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 on for the first time When you switch on the PC for the first time, the pre-installed operating system (optional) will be started. 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 Error handling and diagnostics 6 Error handling and diagnostics 6.1 Basic CPU module 6.1.1 LEDs on the basic CPU module 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 Error handling and diagnostics 6.1.2 LEDs of the power supply in K-bus mode 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. The I/O error LED blink code Fast blinking First slow sequence Second slow sequence 86 Start of the error code Error code Error code argument Version: 1.6 CX51x0 Error handling and diagnostics LEDs for K-bus diagnostics Error code Error code argument Persistent, continuous flashing 3 pulses 4 pulses Description EMC problems • Check power supply for overvoltage or undervoltage peaks. • Implement EMC measures. 0 0 K-bus command error 5 pulses n 6 pulses 0 1 K-Bus data error, break behind the power supply Break behind Bus Terminal n K-bus error in register communication with Bus Terminal n Error at initialization Internal data error 8 Internal data error 0 Process data lengths of the set and actual configurations do not correspond n 7 pulses Remedy • If a K-Bus error is present, it can be localized by a restart of the power supply (by switching it off and then on again). • No Bus Terminal inserted. • One of the Bus Terminals is defective; halve the number of Bus Terminals attached and check whether the error is still present with the remaining Bus Terminals. Repeat until the defective Bus Terminal is located. Check whether the Bus End Terminal 9010 is connected. Check whether the Bus Terminal n+1 is correctly connected; replace if necessary. Exchange the Bus Terminal on position n. 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. Error code argument The number of pulses indicates the position of the last Bus Terminal before the fault. Passive Bus Terminals, such as a power feed terminal, are not included in the count. 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. CX51x0 Version: 1.6 87 Error handling and diagnostics 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 Error handling and diagnostics 6.1.3 LEDs of the power supply in E-bus mode 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 Error handling and diagnostics 6.2 Faults Please also refer to the Safety instructions section. Possible faults and their correction Fault No function after the Embedded PC has been switched on Cause No power supply for the Embedded PC other causes Embedded PC does not boot fully Measures 1.Check the fuse 2. Measure voltage at connection, check plug wiring, call Beckhoff support Check setup setting, call Beckhoff support Hard disk damaged (e.g. due to switching off while software is running), incorrect setup, other causes Computer boots, software starts, Cause of the fault is either in the Call the manufacturer of the but control does not operate software or in parts of the plant machine or the software correctly outside the Embedded PC Error during CFast card access CFast card faulty, CFast slot faulty Use a different CFast card to check the CFast slot. Call Beckhoff Support Embedded PC only works partially Defective components in the Call Beckhoff support or temporarily Embedded PC Please make a note of the following information before contacting Beckhoff service or support: 1. 2. 3. 4. 5. 6. Precise device ID: CXxxxx-xxxx Serial number Hardware version Any interfaces (N030, N031, B110, ...) TwinCAT version used Any components / software used The quickest response will come from support / service in your country. Therefore please contact your regional contact. For details please refer to our website at www.beckhoff.de or ask your distribution partner. 90 Version: 1.6 CX51x0 Decommissioning 7 Decommissioning 7.1 Disassembly and disposal A CX51x0 hardware configuration is dismantled in 2 stages: 1. Switching off and disconnecting the power supply Before removing a CX51x0 system, the system must be switched off and the power supply must be disconnected. 2. Removing from the top-hat rail: Before the individual modules are disconnected, the whole CX51x0 hardware block should be removed from the top-hat rail. Proceed as follows: 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. 2.2. Releasing the CX51x0 systems To release the CX51x0 block, lift the upper and lower locking tabs (the CX5120 has 5 at the top and 5 at the bottom, the CX5130 and CX5140 have 6 at the top and 6 at the bottom). An audible click indicates that the tab was released. 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. Do not use force to open the device! Opening the module housing by force would destroy it. The devices may only be opened by Beckhoff service personnel. Attention 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 8 Appendix 8.1 Accessories Table 4: CFast Flash cards with initial CX20x0 order. Order number CX2900-0029 CX2900-0031 CX2900-0033 CX2900-0035 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 Table 5: 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 larger capacities on request Table 6: Passive DVI-to-VGA adaptor. Order number CX1900-0101 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 (W x H x D): 40 x 42 x 15 mm Table 7: Spare battery for CX systems. Order number CX1900-0102 Description Battery for CX systems Original manufacturer’s designation: Panasonic type CR2032 3V/225 mAh Table 8: Spare fan tray for CX2040. Order number CX2900-0103 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 (W x H x D): 66 x 67 x 16 mm Table 9: Plug kit (spare part). Order number CX2900-0104 CX51x0 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. FCC Approvals for the United States of America FCC: Federal Communications Commission Radio Frequency Interference Statement This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense. FCC Approval for Canada FCC: Canadian Notice This equipment does not exceed the Class A limits for radiated emissions as described in the Radio Interference Regulations of the Canadian Department of Communications. 94 Version: 1.6 CX51x0 Appendix 8.3 Support and Service Beckhoff and their partners around the world offer comprehensive support and service, making available fast and competent assistance with all questions related to Beckhoff products and system solutions. Beckhoff's branch offices and representatives Please contact your Beckhoff branch office or representative for local support and service on Beckhoff products! The addresses of Beckhoff's branch offices and representatives round the world can be found on her internet pages: http://www.beckhoff.com You will also find further documentation for Beckhoff components there. 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 [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: Fax: e-mail: +49(0)5246/963-157 +49(0)5246/963-9157 [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: Fax: e-mail: CX51x0 +49(0)5246/963-460 +49(0)5246/963-479 [email protected] Version: 1.6 95