Damage to the devices or environment Note this warning. Risk of damage to the environment and equipment. Attention Symbols indicating further information or tips: Tip or pointer This symbol indicates information that contributes to better understanding. Note Version: 1.5 CX8010...
Beckhoff Automation GmbH & Co. In addition, the following actions are excluded from the liability of Beckhoff Automation GmbH & Co. KG: • Failure to comply with this documentation.
For your safety Staff qualification All operations involving Beckhoff software and hardware may only be carried out by qualified personnel with knowledge of control and automation engineering. The qualified personnel must have knowledge of the administration of the Embedded PC and the associated network.
Page 10
• The sensitivity of an Embedded PC against malicious software increases with the number of installed and active software. • Uninstall or disable unnecessary software. Further information about the safe handling of networks and software can be found in the Beckhoff Information System: http://infosys.beckhoff.com...
Embedded PC in a dry environment at a temperature between 0 °C and 30 °C. The preset date and time are lost if the battery is removed. • Store the Embedded PC in the original packaging. CX8010 Version: 1.5...
Microsoft Windows CE is used as the operating system. In the absence of a monitor port, the operating system and its "virtual" display can only be accessed via the network. As for all other Beckhoff devices, the TwinCAT software is used for system configuration and the programming of the PLC functionality. The CX80xx target device features a pre-installed TwinCAT PLC runtime environment.
Page 13
The CX80xx controller is programmed according to the high-performance IEC 61131-3 standard. As with all other Beckhoff controllers, the TwinCAT automation software is the basis for parameterization and programming. Users therefore have the familiar TwinCAT tools available, e.g. PLC programming interface, System Manager and TwinCAT Scope.
Product overview CX8010 - Introduction The CX8010 is a control system with EtherCAT slave interface. Alternatively K-bus or E-bus terminals can be series-connected; the CX8010 automatically detects which type of terminal is connected during the start-up phase. The controller is programmed with TwinCAT via the additional Ethernet interface.
System data X001 Ethernet (CX8010) Transmission medium 4 x 2 copper cable (twisted pair); category 5 (100 Mbaud) Cable length 100 m from switch to CX8010 Data transfer rate 10/100 Mbaud Topology star wiring Protocols all non-real-time-capable protocols that are based on...
In the basic version the CX80xx contains a MicroSD card with 512 MB. You can order it as an option with larger cards (up to 8 GB). The cards employed are SLC memory with extended temperature range for industrial applications. Use exclusively MicroSD cards approved by Beckhoff. Example of a MicroSD card: Order identifier...
Dimensions The following drawings show the dimensions of the CX80xx Embedded PCs. Dimensions Drawings in various CAD formats can be found at: http://www.beckhoff.de/german/download/cx1000.htm 5.1.2 Installation on mounting rails Snapping onto the mounting rail The CX80xx can simply be snapped onto the mounting rail. To this end simply position the block on the mounting rail and push it slightly until it engages on the right-hand side.
Page 19
Mounting and wiring Avoid damage! Do not force the module or apply excessive pressure! Attention Permissible installation positions and minimum distances Installation positions Installation position up to 55 °C CX8010 Version: 1.5...
Page 20
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. Installation positions with reduced temperature range up to 45 °C Other installation positions are permitted with a temperature range up to 45 °C. Version: 1.5 CX8010...
Embedded PC and connect or dis- connect Bus Terminals. 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 with the designation 24 V and 0 V.
Page 22
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". Version: 1.5 CX8010...
Page 24
This identification refers to a cable with a screen for each of the two wires as well as an outer shield. Industrial Twisted-Pair The structure is similar to that of S/STP, but, in contrast to S/STP, it has only one pair of conductors. Version: 1.5 CX8010...
• Step 5: Close the flap again Battery type Technical data Duracell 303/357 SR44 1.5 V / 165 mAh Battery maintenance The battery must be replaced every 5 years. Spare batteries can be ordered from Beckhoff Service. Note CX8010 Version: 1.5...
CX80xx the SD card, is reachable via the USB interface (for example for an image update). 1 OFF and 2 ON Restore the registry 1 ON and 2 ON reserved Version: 1.5 CX8010...
Parameterization and commissioning Setting the IP address 6.2.1 IP address The CX8010, CX803x, CX805x and CX8080 have an Ethernet interface, X001. X001 IP addressing via the operating system; default is DHCP (represented in the operating system as FEC1) EtherCAT interface The EtherCAT interface is a further Ethernet interface that is not visible in the operating system for the IP addressing.
Page 28
Neither subnet 0 nor the subnet consisting only of ones may be used. Host number 0, and the host number consisting only of ones, must not be used. Under BootP or DHCP the sub- Note net mask is transmitted also by the server. Version: 1.5 CX8010...
- 172.16.17.201/config - CX-01551E/config • Via a Micro SD card reader. The Micro SD card contains a file with the name of the image. Example CX8000_CE600_LF_v354b_TC211R3_B2248. TC211R3_2248 indicates the TwinCAT build; in the example the build is 2248. CX8010 Version: 1.5...
Page 30
HTML / DHTML, TLS, ISAPI extensions Internet Explorer 6.0 Java Applets NET Compact Framework v3.5 RDP Client (Remote Desktop protocol) CAB File Installer/Uninstaller TwinCAT (Level PLC) USB support Printer, storage on Compact Flash, for example HID (Human interface devices) Touch Version: 1.5 CX8010...
Interface "2") is to be taken from the System Manager. E-bus interface The operation of E-bus terminals and EtherCAT devices is possible on the CX80xx. The CX80xx recognizes these terminals automatically on scanning, reads out the terminal types and automatically places them in the System Manager. CX8010 Version: 1.5...
Page 32
Parameterization and commissioning DC Distributed Clocks The CX80xx series is not suitable for the use of EtherCAT slaves that use or need distrib- uted clocks functionality. Note Version: 1.5 CX8010...
How is the process data created in TwinCAT? The System Manager adds an “EtherCAT Slave” device as soon as a CX8010 is scanned. The interface has a very simple structure and usually consists only of “inputs”, “outputs” and InfoData. If you click on the inputs you can add data to the interface with the right mouse button.
Page 34
All other bits are reserved! Hot Swap (Explicit Device Identification) In applications in which a CX8010 is to be replaced by another CX8010 during operation (with different applications on the respective CX8010), the individual CX8010s can be distinguished from each other with Explicit Device Identification.
Reserved for extensions. Distributed Clocks Not currently supported. 6.3.4 Web Services Upnp webpages There is a Upnp webpage on the CX80xx for diagnostics. User name: guest Password: 1 Enter the IP address or the device name. Example http://cx-0f94ac/config CX8010 Version: 1.5...
Page 36
Parameterization and commissioning http://172.16.17.55/config The diagnostic page was revised starting from image v354c. Web visualization There is a web visualization on the CX80xx. This can be prepared and activated with the help of the PLC Control in TwinCAT. Version: 1.5 CX8010...
Page 37
If the CE device is provided with password protection, then the password must also be entered accordingly. No password is set in the delivery condition. After entering the target address, the user interface of the CE device is available for remote control on the Download : https://infosys.beckhoff.com/content/1033/cx8010_hw/Resources/zip/1608562059.zip CX8010 Version: 1.5...
The RTC is read out via the FB_LocalSystemTime function blocks and can be set with the NT_SetLocalTime block (see TcUtilities.lib). The RTC is supplied by the battery and can thus continue to run in the power-off state. Version: 1.5 CX8010...
To load the persistent data from the backup (wp~-file), it has to be enabled in the System Manager. Or via the following registry entry: [HKEY_LOCAL_MACHINE\SOFTWARE\Beckhoff\TwinCAT\Plc]"ClearInvalidPersistentData"= 0 The default factory setting is "1". Checking whether current persistent data (from wdp file) or saved persistent data from the backup (wd~-file) were loaded In this example, the CX8090 indicates via the ERR LED whether the persistent data were loaded.
CPU load itself. The CPU load can be activated for brief diagnostic help; however, we recommend that you deactivate it again after the diagnostics. HKEY_LOCAL_MACHINE/SOFTWARE/BECKHOFF/TWINCAT/RTime/EnableRTimeMeasurement 0 deactivated, 1 activated A TwinCAT restart of the CX80xx is necessary after making the setting.
Programming Programming Library for CX80xx Download : https://infosys.beckhoff.com/content/1033/cx8010_hw/Resources/zip/1608565003.zip Seconds UPS 7.2.1 Function blocks FUNCTION_BLOCK FB_S_UPS_CX80xx The FB_S_UPS function block can be used on the CX80xx with the seconds UPS in order to activate the seconds 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.
Page 42
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. Version: 1.5 CX8010...
Page 43
Programming Prerequisites Development environ- Target platform Hardware PLC libraries to be ment linked TwinCAT v2.11.0 build Seconds UPS TcSystemCX80xx.lib 2220 or higher (R3) CX8010 Version: 1.5...
in allen Modi: Versorgungsspannung ist OK eSUPS_PowerFailure: in allen Modi: Versorgungsspannung fehlerhaft (steht nur einen Zyklus an) eSUPS_WritePersistentData: im Modus eSUPS_WrPersistData_Shutdown: Schreiben der Persistenten Daten ist aktiv im Modus eSUPS_WrPersistData_NoShutdown: Schreiben der Persistenten Daten ist aktiv eSUPS_QuickShutdown: im Modus eSUPS_WrPersistData_Shutdown: QuickShutdown ist aktiv im Modus eSUPS_ImmediateShutdown: QuickShutdown ist aktiv eSUPS_WaitForRecover: im Modus eSUPS_WrPersistData_NoShutdown: Warten auf Wiederkehr der Spannung im Modus eSUPS_CheckPowerStatus: Warten auf Wiederkehr der Spannung eSUPS_WaitForPowerOFF: im Modus eSUPS_WrPersistData_Shutdown: Warten auf das Abschalten durch die USV im Modus eSUPS_ImmediateShutdown: Warten auf das Abschalten durch die USV Prerequisites Development environ- Target platform Hardware PLC libraries to be ment linked TwinCAT v2.11.0 build Seconds UPS TcSystemCX80xx.lib 2220 or higher (R3) Version: 1.5 CX8010...
CX8031 is then entered as 8031. VAR_OUTPUT F_CX80xx_ADDRESS : INT; F_CX80xx_ADDRESS : -1, non-implemented CX, address of the switch Prerequisites Development environ- Target platform Hardware PLC libraries to be ment linked TwinCAT v2.11.0 build CX80xx TcSystemCX80xx.lib 2220 or higher (R3) CX8010 Version: 1.5...
Ethernet device in the world. The MAC-ID consists of two parts. The first part (i.e. the first 3 bytes) is a manufacturer identifier. The identifier for Beckhoff is 00 01 05. The next 3 bytes are assigned by the manufacturer and implement a unique serial number.
Page 47
Both of these protocols are implemented in parallel on the Bus Coupler, so that no configuration is needed to activate the protocols. ADS can be used on top of either TCP or UDP, but ModbusTCP is always based on TCP/IP. CX8010 Version: 1.5...
The corresponding libraries are located in the TwinCAT\Lib directory on the MicroSD card and can be copied to the programming system using an SD card reader. Note CX8010, CX803x, CX805x, CX8080, CX8093, CX8095 The Modbus TCP can only be used with the X001 interface. Note CX8010 Version: 1.5...
0 Protocol identifier always 0 Length field 0 (if the message is less than 256 bytes in length) Length field Number of following bytes UNIT identifier returned by the slave Modbus Modbus protocol with the function follows Version: 1.5 CX8010...
The corresponding libraries are located in the TwinCAT\Lib directory on the MicroSD card and can be copied to the programming system using an SD card reader. Note CX8010, CX803x, CX805x, CX8080, CX8093, CX8095 The TCP/IP server can only be used with the X001 interface. Note CX8010 Version: 1.5...
Within a networked system it is thus possible to reach all data from any point. The ADS protocol runs on top of the TCP/IP or UDP/IP protocols. It allows the user within the Beckhoff system to use almost any connecting route to communicate with all the connected devices and to parameterize them.
Page 55
Indicates the offset, the byte from which reading or writing is to start. Gives the length of the data, in bytes, that is to be read or written. TCP port number The TCP port number for the ADS protocol is 48898 or 0xBF02. CX8010 Version: 1.5...
A sub-bus is usually also required, particularly in modular I/O systems, which, like the Beckhoff K-Bus, can be synchronized and fast, but nevertheless always adds small delays to the communication that cannot be avoided.
Page 57
At the receiving end, all the Ethernet frames received are examined by the TwinCAT I/O system, and those with real-time relevance are filtered out. All other frames are passed on to the operating system after examination, outside the context of the real-time system. CX8010 Version: 1.5...
Ethernet protocol implementation. The response times of the EtherCAT network itself are hardly restricted at all: the UDP datagram only has to be unpacked in the first station. Version: 1.5 CX8010...
Page 59
Ethernet. Particularly useful for system wiring is the combination of line and branches or stubs. The required interfaces exist on the couplers; no additional switches are required. Naturally, the classic switch-based Ethernet star topology can also be used. CX8010 Version: 1.5...
Page 60
(time stamp and oversampling data type). The local time is linked to the measured value with a resolution of up to 10 ns, which is made possible by the Version: 1.5 CX8010...
Page 61
In addition to the new Bus Terminals with E-Bus connection (ELxxxx), all Bus Terminals from the familiar standard range with K-Bus connection (KLxxxx) can be connected via the BK1120 or BK1250 Bus Coupler. This ensures compatibility and continuity with the existing Beckhoff Bus Terminal systems. Existing investments are protected.
Even further Ethernet devices without restriction on protocol variants can be connected via decentralized switch port terminals. The central IPC becomes smaller and therefore cost-effective. An Ethernet interface is sufficient for complete communication with the periphery. Version: 1.5 CX8010...
The EtherCAT Technology Group is an official standardization partner of IEC (International Electrotechnical Commission). The EtherCAT specification was published by the IEC as IEC/PAS 62407 and is available from the IEC (http://www.iec.ch). It is currently integrated in the following fieldbus standards: IEC 61158, IEC 61800-7 and ISO 15745. CX8010 Version: 1.5...
Ethernet, outstanding real-time characteristics at low costs are outstanding features of this new network. As a high-speed bus and I/O bus for Industrial PCs or in combination with smaller control technology, EtherCAT is expected to be widely used in a wide range of applications. Version: 1.5 CX8010...
TwinCAT in Running Mode Blue TwinCAT in Config Mode EC RUN EtherCAT status on (green) CX8010 in OP mode flashing (green) 200 ms CX8010 in PRE-OP mode on/off flashing (green) 200 ms CX8010 in SAFE-OP on/ 1000 ms off mode...
Page 66
4 K-BUS RUN (right centre, 2nd K-bus LED RUN Lights up green: K-bus running, row) everything OK 6 K-BUS ERR (bottom right, 3rd K-bus LED ERR Lights up red: K-bus error - see K- row) bus error code Version: 1.5 CX8010...
Page 67
Bus Coupler (switch off and on again) 7 pulses Process data lengths do Check the Bus Terminals not correspond to the for the configured Bus configuration Terminals 1..n K-bus reset failed Check the Bus Terminals CX8010 Version: 1.5...
5. Switch on TC on the PC in Config Mode (TwinCAT icon blue) and start the System Manager 6. In the System Manager, click on the PC symbol (Choose Target System) or press >F8< 7. The following dialog box opens; click on Search (Ethernet). Version: 1.5 CX8010...
Page 69
Your network is scanned for Beckhoff controllers. If none is found, this means that the DHCP of the controller is not yet completed or the network settings on your PC are incorrect. A network cable that has not been connected can naturally also be the cause, but this should not be the case if point 3 has been done.
Page 70
MAC address on the side of the CX80xx. The MAC address is always 6 bytes long and the first three bytes are the vendor ID, which is always 00 01 05 in the case of Beckhoff devices. An "X" next to Connected means that the CX is already known in the system and can be used. To make it known, click in the list on the CX with which you want to connect and then click on "Add route".
Page 71
FileName.typ file is sought. 19: Now open the project, then the task and then outputs, in which there must be a variable MAIN.bToggle. You can link this with the hardware. To do this, click on "Linked to...". CX8010 Version: 1.5...
Page 72
21. As a final step Online/Generate a boot project. This completes the project and your first program is stored on the CX. Congratulations, the foundations have now been laid and are ready to be built on. We wish you every success! Version: 1.5 CX8010...
• Set red Dip switch (under the flap) DIP 1 to ON • Switch on the CX • Connect the PC with USB • Delete all files (we recommend that you backup all files first), no formatting CX8010 Version: 1.5...
Page 74
• Wait until copying has finished, then remove the MicroSD card • Insert the MicroSD card into the SD slot of the switched-off CX again • Now switch on the CX again; it may take a little longer the first time Version: 1.5 CX8010...
The name plate of the CX8xxx Embedded PCs shows a consecutive serial number, a hardware version and a date of manufacture: Legend: Serial number, consecutive number Hardware version, ascending number Production day Production month yyyy: Production year CX8010 Version: 1.5...
• Or the power supply must originate from a voltage source that corresponds to NEC class 2. An NEC class 2 voltage source must not be connected in series or parallel with another NEC class 2 voltage source. Version: 1.5 CX8010...
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.