FTP Server........................ 28 IP address ............................ 30 6.2.1 Setting in the operating system.................. 30 Web service ............................ 31 6.3.1 Starting the Beckhoff Device Manager................ 31 6.3.2 Enabling a remote display.................... 32 6.3.3 Starting a remote connection ................... 33 TwinCAT............................ 34 6.4.1 Connecting to the CX81xx ....................
Page 4
10 Care and maintenance .......................... 61 10.1 Replace the battery ......................... 61 11 Technical data ............................ 62 12 Appendix .............................. 64 12.1 Accessories ............................. 64 12.2 D-sub connector ZB3180 ........................ 65 12.3 Certifications ........................... 66 12.4 Support and Service........................ 67 Version: 1.5 CX8180...
There is a potential hazard to the environment and equipment. Notes showing further information or tips: This notice provides important information that will be of assistance in dealing with the product or software. There is no immediate danger to product, people or environment. Version: 1.5 CX8180...
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.
IPC Security Guideline Notes on information security The products of Beckhoff Automation GmbH & Co. KG (Beckhoff), insofar as they can be accessed online, are equipped with security functions that support the secure operation of plants, systems, machines and networks. Despite the security functions, the creation, implementation and constant updating of a holistic security concept for the operation are necessary to protect the respective plant, system, machine and networks against cyber threats.
Embedded PC must be protected from • mechanical stress and • use the original packaging. Table 1: Dimensions and weight of the CX8180 Embedded PC. CX8180 Dimensions (W x H x D) 71 mm x 100 mm x 73 mm Weight approx.
The operating system is Microsoft Windows Embedded Compact 7. Because there is no monitor port, the operating system and its "virtual" display can only be accessed via the network. Beckhoff Device Manager and Remote Display (Cerhost) The Embedded PC features an internal 1-second UPS as persistent data memory. The 1-second UPS enables persistent data to be saved to the MicroSD card in the event of a power failure.
Page 12
Product overview If too short a cycle time is selected, the Web visualization and Remote Display may operate very slowly or cause timeouts. The user is responsible for configuring his system such that it is not overloaded. Version: 1.5 CX8180...
Product overview Structure Fig. 1: Sample configuration of a CX8180 Embedded PC. Table 2: Legend for the configuration. Component Description Address selection switch With address selection switch (S101, S102) Power supply for the battery-backed clock for time and date. Battery compartment [} 61] (under the front flap).
Product overview Name plate The CX8180 Embedded PC features a name plate on the left-hand side of the housing. Fig. 2: CX8180 name plate. Table 3: Legend for the name plate. Description Information on the power supply unit. 24 V DC, 4 A max. MAC address of the Ethernet interface X001.
Product overview Ethernet interfaces You can program and commission the CX8180 Embedded PC via the X001 Ethernet interface. The Ethernet interface achieves speeds of 10 / 100 Mbit/s. Fig. 3: Ethernet interface X001. The LEDs on the left of the interface indicate the connection status. The upper LED (LINK/ACT) indicates whether the interface is connected to a network.
Page 16
This identification refers to a cable with a shield 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 two pairs of conductors. Version: 1.5 CX8180...
Ohm, PIN5/9). PIN4 is assigned 5 V and PIN5/9 GND for the active termination resistor (RS485). PIN4 should only be used for the termination resistor. Do not operate any other electrical components on PIN4, otherwise the CX8180 may be destroyed. CX8180 Version: 1.5...
Product overview MicroSD card The basic equipment of the CX8180 includes a 512 MB MicroSD card. You can optionally order the Embedded PC with a larger MicroSD card (1 GB, 2 GB, 4 GB or 8 GB). The cards employed are SLC memory with extended temperature range for industrial applications. Use exclusively MicroSD cards approved by Beckhoff.
Commissioning Commissioning Mounting 5.1.1 Dimensions 71 mm 73 mm 68 mm CX8180 X001 24V 0V X101 S101 S102 RS232 RS485 Fig. 5: Dimensions of the CX81xx Embedded PC. Technical drawings in DWG and STP formats can be found at: http://www.beckhoff.com CX8180...
You can also mount the Embedded PC vertically or horizontally on the mounting rail. Note that you can then only operate the Embedded PC up to an ambient temperature of 50 °C. Fig. 7: Embedded PC CX8180, vertical installation position. Fig. 8: Embedded PC CX8180, horizontal installation position.
Secure the Embedded PC on the mounting rail as follows: 1. Place the Embedded PC at the front of the mounting rail. Slightly press the Embedded PC onto the mounting rail until a soft click can be heard and the Embedded PC has latched. CX8180 X001 24V 0V...
• Standard EN 60204-1:2006, section 6.4.1:b stipulates that one side of the circuit, or a point of the energy source for this circuit must be connected to the protective earth conductor system. Connection example Us 24 V (DC) CX8180 X001 24V 0V X101...
The CX8180 Embedded PCs are UL certified. The corresponding UL label can be found on the type plate. The CX8180 Embedded PCs can thus be used in areas in which special UL requirements have to be met. These requirements apply to the system voltage (Us) and to the power contacts (Up). Application areas without special UL requirements are not affected by UL regulations.
Operating system The Microsoft Windows Embedded Compact 7 operating system is used on the CX8180 Embedded PC. This operating system is optimized for the CX8180 Embedded PC. This means that not all features of Windows Embedded Compact 7 are available.
Configuration 6.1.1 Features included Features CX8180 XML DOM XML Minimal Parser DCOM COM Storage Winsock TCP/IP TCP/IPv6 Firewall Network Utilities (IpConfig, Ping, Route) Object Exchange Protocol OBEX Message Queuing MSMQ UPnP Control Point Device Host SOAP Client Server Server File Server (SMB/CIFS)
The new image will be copied directly to the MicroSD card in order to update the image of the Embedded The new image is made available by Beckhoff Service. Perform the update only after consulting with Beckhoff Service.
FTP Server Restricted access through firewall From image version "CX8100_WEC7_LF_v604h_TC31_B4022.20", the firewall for the CX8180 is enabled by default. This means that a passive FTP connection (as used by Microsoft, for example) cannot be established. We therefore recommend using active FTP access. Enter TCP ports 20 and 21 in the firewall.
Page 29
FTP. On the server side, the firewall should be configured such that the data port of the server can be reached by the client. Many FTP servers offer the option to configure the data ports to be used. CX8180 Version: 1.5...
Under Windows Embedded Compact 7, the X001 Ethernet interface is displayed as EMAC1. Fig. 9: Ethernet interface with Windows Embedded Compact 7. EMAC1 (X001) As standard, DHCP is active and the IP address is assigned automatically. You can deactivate DHCP and assign a static IP address. Version: 1.5 CX8180...
Start the Beckhoff Device Manager as follows: 1. Open a web browser on the host PC. 2. Enter the IP address or the host name of the Industrial PC in the web browser to start the Beckhoff Device Manager. • Example with IP address: https://169.254.136.237/config •...
Enable the remote display as follows: 1. Open a web browser on the host PC. 2. Enter the IP address or the host name of the Industrial PC in the web browser to start the Beckhoff Device Manager. • Example with IP address: https://169.254.136.237/config •...
Requirements: • Remote Display is active. See: Enabling a remote display. • Host name of the Embedded PC. • Remote Display Control (CERHOST). Download under: https://infosys.beckhoff.com/content/1033/ CX8180_HW/Resources/5047075211/.zip Start the remote connection as follows: 1. Unpack the zip file on the host PC and run cerhost.exe.
2. In the tree view on the left click on SYSTEM, and then Choose Target. 3. Click on Search (Ethernet). 4. Type the host name or the IP address of the device into the Enter Host Name / IP box and press [Enter]. Version: 1.5 CX8180...
Page 35
The new target system and the host name are displayed in the menu bar. 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. CX8180 Version: 1.5...
ð The devices are created in the tree view. Depending on the connected terminals, either a Bus Coupler or an EtherCAT coupler with the associated terminals will be displayed. K-Bus-Schnittstelle EtherCAT-Schnittstelle In the next step you can create a small program. Version: 1.5 CX8180...
2. In the context menu click on Add New Item and select the Standard PLC Project. 3. In the tree view click on the newly created PLC project, then double-click on MAIN (PRG) under POUs. 4. Write a small program, as shown in the diagram below. CX8180 Version: 1.5...
Page 38
ð You have successfully created a PLC project and added the project in TwinCAT. A PLC instance is created with the variables for the inputs and outputs from the PLC project. In the next step you can link the variables with the hardware. Version: 1.5 CX8180...
ð You have successfully linked variables with the hardware. Use Activate Configuration to save and activate the current configuration. Next, the configuration can be loaded to the Embedded PC in order to start TwinCAT automatically in Run mode and then start the PLC project. CX8180 Version: 1.5...
6.4.5 Using the KS8000 protocol The KS8000 protocol is an open protocol from Beckhoff that can be used to address the BK8100 (RS232) or BK8000 (RS485) Bus Couplers. The protocol is already implemented and ready for use. The two serial RS232/RS485 interfaces of the CX8180 Embedded PC can be configured as BK8xx0masters for connection to the Bus Couplers.
The KL6xx1 mode can be used for any serial protocols. Custom protocols or other open protocols can also be used. This mode behaves like other Beckhoff terminals with serial interface. It means that the programming and the interface is similar to a serial interface. The Beckhoff supplement blocks (such as ModbusRTU, COMLIB, ...) of the serial interface usually offer the 64-byte mode for the PC interface.
Example In this sample program, the operating principle is explained using the RS232 interface. Data is sent via the RS232 interface and received via a bridge (PIN 2 to 3). Download: https://infosys.beckhoff.com/content/1033/CX8180_HW/Resources/2495112075/.zip Version: 1.5 CX8180...
Table 14: Storage location and names of the files in TwinCAT 3. Development environment File path File name TwinCAT 3 \\TwinCat\3.1\Boot\Plc Port_85x.bootdata Port_85x.bootdata-old (backup) The x in the file name stands for the number of the runtime system. CX8180 Version: 1.5...
Page 44
Always call the function block from the PLC and always use the fastest task to do so. In the case of a power failure Beckhoff recommends not calling the rest of the application in order to ensure that sufficient time remains for writing the data.
A QuickShutdown is performed automatically in the eSUPS_WrPersistData_Shutdown mode (standard setting) after the storage of the persistent data. In the eSUPS_WrPersistData_NoShutdown mode only the persistent data are saved, no QuickShutdown is performed. In eSUPS_ImmediateShutdown mode a quick shutdown is executed immediately, without saving data. CX8180 Version: 1.5...
Page 46
E_S_UPS_State Internal state of the function block (type: E_S_UPS_State) Global Variables VAR_GLOBAL eGlobalSUpsState : E_S_UPS_State; (*current ups state*) END_VAR Name Type Description eGlobalSUpsStat E_S_UPS_State Internal state of the function block as global copy of VAR_OUTPUT eState E_S_UPS_State For values see E_S_UPS_State Version: 1.5 CX8180...
Each PLC contains an instance of type 'PlcAppSystemInfo' with the name '_AppInfo'. The corresponding namespace is 'TwinCAT_SystemInfoVarList'. This must be specified for use in a library, for example. TYPE PlcAppSystemInfo STRUCT ObjId : OTCID; TaskCnt : UDINT; OnlineChangeCnt : UDINT; Flags : DWORD; AdsPort : UINT; BootDataLoaded : BOOL; OldBootData : BOOL; AppTimestamp : DT; KeepOutputsOnBP : BOOL; ShutdownInProgress : BOOL; LicensesPending : BOOL; BSODOccured : BOOL; TComSrvPtr : ITComObjectServer; CX8180 Version: 1.5...
Function F_CX81x0_LED_WD Since the CX8180 supports different protocols, the two LEDs WD and ERR on the CX8180 are not used by the firmware. This allows the user to create his own diagnosis messages. The LEDs can be used to indicate, for example, whether the CX8180 has received an IP address from the DHCP server or whether devices are exchanging data.
Function F_CX81x0_LED_ERR Since the CX8180 supports different protocols, the two LEDs WD and ERR on the CX8180 are not used by the firmware. This allows the user to create his own diagnosis messages. The LEDs can be used to indicate, for example, whether the CX8180 has received an IP address from the DHCP server or whether devices are exchanging data.
As a result, the RTC on the operating system is slow. If you have noticed that the RTC is slow and the time on the CX8180 is also slow, you can apply the following troubleshooting procedure.
Page 51
Programming Standard setting: "SoftRTC"=dword:1 CX8180 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 vendor and implement a unique serial number. The MAC-ID can, for example, be used for the BootP protocol in order to set the TCP/IP number.
Protocols based on TCP/IP and UDP/IP The following protocols, for example, can be based on TCP/IP or UDP: • ADS • ModbusTCP Fig. 13: Protocols based on TCP/IP and UDP/IP. ADS is based on either TCP or UDP. CX8180 Version: 1.5...
With RS232, a direct connection (peer-to-peer) is only possible between two devices. With RS485 a line topology is possible. Limit the number of nodes to four devices. Fig. 14: Topology example: CX8180 connected to other CX8180 devices via RS485. Version: 1.5...
Fig. 15: The ADS protocol as a transport layer within TwinCAT. 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.
Indicates the offset, from which reading or writing the byte 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 CX8180...
Count how often the red LED K-bus ERR flashes, in order to determine the error code and the error argument. In the error argument the number of pulses shows the position of the last Bus Terminal before the error. Passive Bus Terminals, such as a power feed terminal, are not included in the count. CX8180 Version: 1.5...
For some error the LED "K-BUS ERR" does not go out, even if the error was rectified. Switch the power supply for the power supply unit off and back on again to switch off the LED after the error has been rectified. Version: 1.5 CX8180...
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). CX8180 Version: 1.5...
Up 24 V Power supply for terminal bus. The LED lights green if the power supply is correct. L / A E-bus not connected. E-bus connected / no data traffic. flashes E-bus connected / data traffic on the E-bus. Version: 1.5 CX8180...
Only use original batteries and ensure that the positive and negative poles are inserted correctly. The battery must be replaced every 5 years. Spare batteries can be ordered from Beckhoff Service. A battery of type CR2032 is used for the Embedded PC.
Technical data Technical data Table 22: Technical data, dimensions and weights. CX8180 Dimensions (W x H x D) 71 mm x 100 mm x 73 mm Weight 230 g Table 23: Technical data, general data. Technical data CX8180 Processor ARM Cortex™-A9, 800 MHz 32-bit...
Table 26: Technical data, Ethernet interface X001. Technical data Description Data transfer medium 4 x 2 twisted pair copper cables category 5 (100 MBit/s) Cable length 100 m from switch to CX8180 Data transfer rate 10/100 MBit/s Topology star wiring Protocols all non-real-time-capable protocols that are based on TCP or UDP and require no real-time extension Table 27: Technical data, X101 RS232/RS485 interface.
Replacement battery, suitable for CX10x0, CX50x0, CX51x0, CX52x0, CX90x0, CX20xx and CX8100 – Lithium button cell type CR2032, 3 V/225 mAh Table 30: Further spare parts. Order number Description ZB3180 9-pin D-sub connector for CX8x80/CX7080 (RS232/RS485) with switchable termination resistor Version: 1.5 CX8180...
Table 31: Technical data, ZB3180 D-Sub connector. Technical data ZB3180 Size D-sub Connector type Connector Design Angled Number of pins (mating face) 9-pin Body color Black Body material Thermoplastic Max. connection diameter, cable 8.5 mm Ambient temperature (operation) -25...+60°C, -13...+140°F Protection rating IP20 CX8180 Version: 1.5...
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. Version: 1.5 CX8180...
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 our internet page: www.beckhoff.com You will also find further documentation for Beckhoff components there.
Page 68
List of tables List of tables Table 1 Dimensions and weight of the CX8180 Embedded PC..............Table 2 Legend for the configuration......................Table 3 Legend for the name plate......................Table 4 Ethernet interface X001, pin assignment..................Table 5 X101 RS232/RS485 interface, PIN assignment................
Page 69
Structure of the Ethernet protocol....................Fig. 13 Protocols based on TCP/IP and UDP/IP..................Fig. 14 Topology example: CX8180 connected to other CX8180 devices via RS485......Fig. 15 The ADS protocol as a transport layer within TwinCAT............... Fig. 16 Structure of the ADS communication.