Web Services ........................ 34 6.3.5 Real Time Clock (RTC) .................... 36 6.3.6 1-second UPS (Uninterruptible Power Supply) .............. 37 6.3.7 CPU load.......................... 38 Parameterizing the CX8095 with TwinCAT2 ................ 39 6.4.1 Searching for target systems ................... 39 6.4.2 Scanning for CX8095 ....................... 42 6.4.3 Linking EtherNet/IP devices ..................... 44 6.4.4...
Page 4
Diagnostic LEDs ........................... 73 Diagnostic history ......................... 75 10 Appendix .............................. 78 10.1 First steps ............................. 78 10.2 Image Update .......................... 83 10.3 Certification........................... 85 10.3.1 Ex ............................. 85 10.3.2 FCC.......................... 86 10.3.3 UL............................. 86 10.4 Support and Service ........................ 87 Version: 1.5 CX8095...
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 CX8095...
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. CX8095 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 CX8095 - Introduction The CX8095 is a controller with Ethernet/IP slave interface. The Ethernet/IP interface is designed as a 2-port switch for realization of daisy-chain cabling. Alternatively K-bus or E-bus terminals can be series-connected; the CX8050 automatically detects which system is connected during the start-up phase. The control system is programmed with TwinCAT via the fieldbus interface or the additional Ethernet interface.
EN 60068-2-6 / EN 60068-2-27 EMC immunity/emission conforms to EN 61000-6-2 / EN 61000-6-4 Protection class IP20 System data Ethernet (CX8095) Number of I/O modules depending on controller Number of I/O points depending on controller Transmission medium 4 x 2 twisted pair copper cable; category 5 (100...
Protocols all non-real-time-capable protocols that are based on TCP or UDP and require no real-time extension System data X101/102 Ethernet (CX8095) real-time interface Transmission medium 4 x 2 twisted pair copper cable category 5 (100 Mbaud) Cable length...
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 CX8095 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 CX8095...
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 CX8095...
10Base2 (Cheaper net) is a further development of 10Base5, and has the advantage that the coaxial cable is cheaper and, being more flexible, is easier to lay. It is possible for several devices to be connected to one 10Base2 cable. It is frequent for branches from a 10Base5 backbone to be implemented in 10Base2. CX8095 Version: 1.5...
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 CX8095...
• 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 CX8095 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 No function so far Version: 1.5 CX8095...
Setting the IP address 6.2.1 IP address The CX8095 has two Ethernet interfaces that are visible to the operating system - X001 and X101/102. X001 IP addressing via the operating system; default is DHCP (represented in the operating system as FEC1) X101/102 IP addressing via the DIP switches [} 26] (represented in the operating system as TCCCATMP1)
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 CX8095...
If the task is set to 2 ms and the factor is left at 8, the RT Ethernet interface is processed with 16 ms. Make sure you monitor your system load. If the system load is too high, telegrams may be discarded or timeouts may occur. A system load of less than 60 % is recommended. CX8095 Version: 1.5...
- 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. Version: 1.5 CX8095...
Page 31
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 CX8095 Version: 1.5...
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. Version: 1.5 CX8095...
Page 33
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 CX8095 Version: 1.5...
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 http://172.16.17.55/config The diagnostic page was revised starting from image v354c. Version: 1.5 CX8095...
Page 35
Control in TwinCAT. The call is made via the IP address or the device name in a web browser. Further information can be taken from the documentation on the web visualization (see TwinCAT Supplements PLC HMI Web). Example CX8095 Version: 1.5...
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/cx8095_hw/Resources/zip/1608562059.zip 6.3.5 Real Time Clock (RTC) The RTC is read out via the FB_LocalSystemTime function blocks and can be set with the NT_SetLocalTime block (see TcUtilities.lib).
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.
Cycle time: The cycle time on the CX8095 must be at least as large as on the master side. However, it can also be many times smaller. For example, a cycle time of 10 ms can be set on the master side and a cycle time of 10, 5 , 2 or 1 ms used on the slave side.
Page 40
4. Type the host name or the IP address of the device into the Enter Host Name / IP box and press [Enter]. 5. Mark the device found and click on Add Route. The Logon Information window appears. Version: 1.5 CX8095...
Page 41
The new target system is displayed in the bottom right-hand corner together with the host name and IP address (AMS Net ID). Using this procedure you can search for all available devices and also switch between the target systems at any time. Next, you can append the device to the tree view in TwinCAT. CX8095 Version: 1.5...
The CX8095 can be appended to the tree view of TwinCAT2 so that it can subsequently be parameterized. To do this, a scan can be performed in TwinCAT2 for devices and all components of the CX8095 can be integrated in this way into the tree view.
Page 43
The CX8085 is displayed with all necessary devices in the tree view. If you wish to carry out the insertion and project planning of the CX8095 manually in TwinCAT, you can use this overview. If you carry out the project planning of the CX8095 manually in TwinCAT, you must not forget to create the "CCAT EIP adapter (slave)"...
Parameterization and commissioning 6.4.3 Linking EtherNet/IP devices After you have appended the CX8095 to the tree view, the EtherNet/IP device with the name "CCAT EIP Adapter(Slave)" must be linked to the physical EtherNet/IP interface of the CX8095. Prerequisites for this step: •...
3. Double-click on the entry and enter the desired parameters for the IP address (0x8000:21), subnet mask (0x8000:22) and gateway (0x8000:23). ð You have successfully set the network parameters for the CX8095. In this way you can set the network parameters for all EtherNet/IP devices.
Create the variables as follows: 1. Click on the Box (TC EtherNet/IP Slave) of the CX8095 in the tree view on the left-hand side. 2. Click on Append IO Connection Object in the context menu.
Page 47
14 bytes for variables created by the user). • Value 130 for the output data; the length in this example is 10 bytes (4 bytes which are automatically created in the system and 6 bytes for variables created by the user). CX8095 Version: 1.5...
3. Select the option Standard (via Mapping) or Special Sync Task. ð You have successfully set a task time for the CX8095. With the option Special Sync Task you can create further I/O tasks and also parameterize them on the same tab. For example, you can change the priority and the cycle time of the task.
6.4.7 Creating a virtual slave A special feature of the CX8095 is the option to create a second EtherNet/IP slave with its own IP and MAC addresses. This EtherNet/IP slave is referred to as a virtual slave. The advantage with a virtual slave is that more data can be transported or that the master can be operated with different cycle times.
MultiCast UDP Checksum 0-UDP Checksum disabled, 1-UDP Checksum enabled 8000:2A Forward Class3 to PLC Forward Explicit Messaging to PLC (actually not implemented) 8000:2B Advanced Slave Options Store Category (Bit9=Cat2, Bit8=Cat1) see Writing the IP address from the PLC Version: 1.5 CX8095...
Page 51
All other bits always 0 (reserve) * Heartbeat Instance (Listen Only): allows monitoring of the input data (the output data in the case of the CX8095) if a connection exists. The "listen only" connection is also terminated when the normal connection is terminated.
ADS-Write command AMSNetId: Take the AMSNetId from the System Manager of the Ethernet/TP device. Port: In the case of the CX8095 the port number is to be permanently set to 0xFFFF. Slave: IDXGRP: 0x0001F480 IDXOFFS: 0x00000000 A TwinCAT restart must be carried out after making the settings.
Page 53
The "Store Category" defines, which *.tsm settings should be overwritten with settings from the remanent memory. To do this, bits 9 & 8 must be set accordingly under "Flags" in the System Manager project. In order to modify both, both bits must be set. (Bit9=Cat2, Bit8=Cat1) CX8095 Version: 1.5...
Page 54
Master: IDXGRP: 0x4481F800 IDXOFFS:0x00000000 LEN: 256 The data are saved in the data array as described above. CX8095 example for TwinCAT 2.11 R3 build 2254 in order to change the IP address from the PLC: https://infosys.beckhoff.com/content/1033/cx8095_hw/Resources/zip/2125688459.zip Version: 1.5 CX8095...
The instance numbers of an EtherNet/IP slave are important for the configuration of the EtherNet/IP master. In the case of a CX8095 the instance numbers are displayed on the Configuration tab in the entry "IO Assembly Settings".
Page 56
Parameterization and commissioning 1. Create a new controller. 2. Append a new module. Version: 1.5 CX8095...
Page 57
If the number of bytes is an odd number it must be rounded up. This also applies even if the Comm format is set to DINT, in which case you must round up to the next whole number. CX8095 Version: 1.5...
Programming Programming Library for CX80xx Download : https://infosys.beckhoff.com/content/1033/cx8095_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 59
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. CX8095 Version: 1.5...
Page 60
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) Version: 1.5 CX8095...
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) CX8095 Version: 1.5...
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) Version: 1.5 CX8095...
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 64
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. Version: 1.5 CX8095...
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 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 CX8095 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 TCP/IP server can only be used with the X001 interface. Note 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 72
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. Version: 1.5 CX8095...
Error handling and diagnosis Error handling and diagnosis Diagnostic LEDs Ethernet interface X001 Interface X001 Ethernet (CX8095) Meaning LED green Link present LED yellow flashing Activity Ethernet interface X101 and X102 Interface X101-102 Ethernet (CX8095) Meaning LED green flashing Activity...
Page 74
Labelling Color green Color red Meaning No link detected. The CX8095 has detected a link and was configured. flashes (400 ms) At least one Ethernet port has an active link and a configured EtherNet/IP Slave interface has no valid IP address configured.
Furthermore, information/errors that occurred in the past or only briefly are also logged in order to also allow precise fault finding at a later time. The diagnostic history is a component of the System Manager and can be found there on the "Diag History" tab. CX8095 Version: 1.5...
Page 76
Error handling and diagnosis Version: 1.5 CX8095...
Page 77
If you cannot fix this error yourself, Support will require the following information: EDS file of the slave, TwinCAT Build, firmware version and a Wireshark recording (please make this using a switch with port mirroring or a hub). CX8095 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 CX8095...
Page 79
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 80
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 81
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...". CX8095 Version: 1.5...
Page 82
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 CX8095...
• 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 CX8095 Version: 1.5...
Page 84
• 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 CX8095...
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 CX8095 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 CX8095...
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.