Beckhoff CX8191 Manual

Beckhoff CX8191 Manual

Embedded-pc for bacnet/ip
Table of Contents

Advertisement

Quick Links

Manual | EN
CX8191
Embedded-PC for BACnet/IP
6/29/2020 | Version: 1.0

Advertisement

Table of Contents
loading

Summary of Contents for Beckhoff CX8191

  • Page 1 Manual | EN CX8191 Embedded-PC for BACnet/IP 6/29/2020 | Version: 1.0...
  • Page 3: Table Of Contents

    Setting with DIP switches .................... 31 6.2.2 Setting in the operating system .................. 32 Web service ............................. 33 6.3.1 Starting the Beckhoff Device Manager ................ 33 6.3.2 Enabling a remote display .................... 34 6.3.3 Changing the IP address of the Ethernet interfaces (X101, X102)........ 35 6.3.4...
  • Page 4 Power supply terminal LEDs in K-bus mode ................... 56 Power supply terminal LEDs in E-bus mode ................... 59 10 Care and maintenance .......................... 60 10.1 Replace the battery ......................... 60 11 Technical data............................ 61 12 Appendix .............................. 63 12.1 Certification............................ 63 12.1.1 FCC .......................... 63 12.2 Support and Service ........................ 64 Version: 1.0 CX8191...
  • Page 5: Notes On The Documentation

    EP1590927, EP1789857, EP1456722, EP2137893, DE102015105702 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.
  • Page 6: Representation And Structure Of Warnings

    There is a potential hazard to the environment and equipment. Notes showing further information or tips: Tip or pointer 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.0 CX8191...
  • Page 7: Documentation Issue Status

    Notes on the documentation Documentation issue status Version Comment First version CX8191 Version: 1.0...
  • Page 8: For Your Safety

    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.
  • Page 9: Safety Instructions

    • 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...
  • Page 10: Transport And Storage

    Despite the robust design of the unit, the components are sensitive to strong vibrations and impacts. During transport the Embedded PC must be protected from • mechanical stress and • use the original packaging. Table 1: Dimensions and weight of the CX8191 Embedded PC. CX8191 Dimensions (W x H x D) 71 mm x 100 mm x 73 mm Weight 230 g...
  • Page 11: Product Overview

    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.0 CX8191...
  • Page 13: Structure

    Product overview Structure Fig. 1: Sample configuration of a CX8191 Embedded PC. Table 2: Legend for the configuration. Component Description You can set the IP address for the X101/X102 switched Ethernet DIP switch [} 31] (S101). interfaces with the DIP switch. Power supply for the battery-backed clock for time and date.
  • Page 14: Name Plate

    Product overview Name plate The CX8191 Embedded PC features a name plate on the left-hand side of the housing. Fig. 2: CX8191 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.
  • Page 15: Ethernet Interfaces

    Product overview Ethernet interfaces You can program and commission the CX8191 Embedded PC via the X001 Ethernet interface. The Ethernet interface achieves speeds of 10 / 100 Mbit. Fig. 3: Ethernet interface X001, X101, X102. The LEDs on the left of the interfaces indicate the connection status. The lower LED (LINK/ACT) indicates whether the interface is connected to a network.
  • Page 16 This cable has an outer screen of laminated aluminum and plastic foil. S/FTP Screened/foiled-shielded twisted pair (screened with copper braid and aluminum foil) Has a laminated aluminum screen with a copper braid on top. Such cables can provide up to 70 dB reduction in interference power. Version: 1.0 CX8191...
  • Page 17 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. CX8191 Version: 1.0...
  • Page 18: Bacnet/Ip

    Adding the OPC UA TF6100 supplement In contrast to the CX8091 predecessor device, the OPC UA TF6100 supplement is not pre-installed on the CX8191. OPC UA and other protocols such as Modbus/TCP can be activated and licensed later using the license manager.
  • Page 19: Microsd Card

    In the basic configuration the CX81xx 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: Fig. 5: MicroSD card for the CX81xx.
  • Page 20: Commissioning

    Commissioning Commissioning Mounting 5.1.1 Dimensions Fig. 6: Dimensions of the CX81xx Embedded PC. Technical drawings in DWG and STP formats can be found at: http://www.beckhoff.com Version: 1.0 CX8191...
  • Page 21: Note The Permissible Installation Positions

    Ventilation openings are located at the top and bottom of the housing. This ensures an optimum airflow through the Embedded PC in vertical direction. In addition, a minimum clearance of 30 mm above and below the Embedded PCs is required, in order to ensure adequate ventilation. Fig. 7: Embedded PC CX8191, horizontal installation position. CX8191 Version: 1.0...
  • Page 22: Fig. 8 Embedded Pc Cx8191, Vertical Installation Position

    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. 8: Embedded PC CX8191, vertical installation position. Fig. 9: Embedded PC CX8191, horizontal installation position.
  • Page 23: Securing On Mounting Rail

    Embedded PC has latched. 2. Subsequently, lock the catch on the left side of the Embedded PC. Use a screwdriver to do this. ð Double-check the correct installation and latching of the Embedded PC on the mounting rail. CX8191 Version: 1.0...
  • Page 24: Connecting The Power Supply

    PC and the terminal bus (data transfer via K-bus or E-bus). The spring-loaded terminals identified as "+", "-" and "PE" supply the Bus Terminals via the power contacts and the sensors or actuators connected to the Bus Terminals. Version: 1.0 CX8191...
  • Page 25: Table 7 Required Wire Cross-Sections And Strip Lengths

    The CX8191 Embedded PCs are UL certified. The corresponding UL label can be found on the type plate. The CX8191 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.
  • Page 26: Configuration

    Operating system The Microsoft Windows Embedded Compact 7 operating system is used on the CX8191 Embedded PC. This operating system is optimized for the CX8191 Embedded PC. This means that not all features of Windows Embedded Compact 7 are available.
  • Page 27: Features Included

    Configuration 6.1.1 Features included Features CX8191 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)
  • Page 28: Update Image

    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.
  • Page 29: Ftp Server

    FTP Server Restricted access through firewall From image version "CX8100_WEC7_LF_v604h_TC31_B4022.20", the firewall for the CX8191 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 30 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. Version: 1.0 CX8191...
  • Page 31: Ip Address

    1 to 8. You can change the first three bytes of the IP address in the operating system [} 32] or via the web interface (Beckhoff Device Manager) [} 35]. You can edit the last byte of the IP address again with the DIP switches.
  • Page 32: Setting In The Operating System

    Set the DIP switches 10 and 9 to "off" and 1 to 8 to "on" so that the complete IP address is adopted from the operating system. EtherCAT interface The EtherCAT interface is a further Ethernet interface that is not visible in the operating system for the IP addressing. Version: 1.0 CX8191...
  • Page 33: Web Service

    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 •...
  • Page 34: Enabling A Remote Display

    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 •...
  • Page 35: Changing The Ip Address Of The Ethernet Interfaces (X101, X102)

    Requirements: • Set the DIP switches correctly so that the IP address is adopted completely from the operating system. • Start the web interface (see: Starting the Beckhoff Device Manager). Change the IP address as follows: 1. Click on Device and then on Connectivity.
  • Page 36: Starting A Remote Connection

    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/ CX8191_HW/Resources/zip/5047075211.zip Start the remote connection as follows: 1. Unpack the zip file on the host PC and run cerhost.exe.
  • Page 37: Twincat

    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]. CX8191 Version: 1.0...
  • Page 38 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. Version: 1.0 CX8191...
  • Page 39: Scanning For Devices

    ð 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. In the next step you can create a small program. CX8191 Version: 1.0...
  • Page 40: Creating A Bacnet Server And A Device Object

    3. Select BACnet Server (Module) and confirm with OK. The device object of the BACnet device and two FILE objects (configuration and persistence file) are created. 4. Select the BACnet server in the tree view on the left and click the Settings tab. Version: 1.0 CX8191...
  • Page 41 6. Confirm the settings in the IoBusMappingDialog window by clicking on Map. ð BACnet objects of type Analog Input, Analog Output, Binary Input or Binary Output are created for each of the four signal types: analog input, analog output, binary input and binary output CX8191 Version: 1.0...
  • Page 42: Linking To Io Task

    1. Click Add New Item under SYSTEM > Tasks on the left side of the tree view. 2. Assign a name to the task and select the option TwinCAT Task With Image. 3. Accept the default values for the task. Version: 1.0 CX8191...
  • Page 43 6. Link the UINT variable to the EtherCAT device, in this example "Device 2“. 7. To do this, right-click on the created UINT variable in the tree view on the left, then click Change Link. ð All variables of type UINT are available for selection. CX8191 Version: 1.0...
  • Page 44 ð This completes the sample configuration. If your PC has a network chipset from Intel, you can now operate this PC as a BACnet client, scan the BACnet network, add the CX8191 and control the digital output with the BACnet client. Ensure that you are in the same IP network.
  • Page 45: Programming

    • You can then check the validity of the variables and monitor whether the persistent variables are loaded without error (see: PlcAppSystemInfo). Components Version TwinCAT on the development PC and on the control TwinCAT 3.1 Build 4020.16 or higher system CX8191 Version: 1.0...
  • Page 46: Fig. 12: Loading A Backup Of The Persistent Data. Settings In Twincat 3

    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.
  • Page 47: Function Block

    Port number of the PLC runtime system (851 for the first PLC runtime system, 852 for the second PLC runtime system, …). If no port number is specified, iPLCPort is 0. The function block then automatically determines the port of the PLC runtime system. tTimeout: Timeout for writing of the persistent data or the quick shutdown. CX8191 Version: 1.0...
  • Page 48    eGlobalSUpsState  :  E_S_UPS_State; (*current ups state*) END_VAR eGlobalSUpsState: Internal state of the function block as global copy of VAR_OUTPUT eState: For values see E_S_UPS_State Requirements Development environ- Target platform Hardware PLC libraries to be ment linked TwinCAT v3.1 CX81xx Seconds UPS Tc2_SUPS Version: 1.0 CX8191...
  • Page 49: Data Types

    E_S_UPS_State eSUPS_PowerOK: 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 Requirements Development environ- Target platform Hardware PLC libraries to be ment linked TwinCAT v3.1 CX81xx Seconds UPS Tc2_SUPS CX8191 Version: 1.0...
  • Page 50: Plcappsysteminfo

    BSODOccured This variable has the value TRUE if Windows is in a BSOD. TComSrvPtr Pointer to the TcCOM object server AppName Name generated by TwinCAT, which contains the port. ProjectName Name of the project Version: 1.0 CX8191...
  • Page 51: Function F_Cx81Xx_Address

    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 CX8191 is also slow, you can apply the following troubleshooting procedure.
  • Page 52: Ethernet X001 Interface

    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. The MAC-ID can, for example, be used for the BootP protocol in order to set the TCP/IP number.
  • Page 53: Fig. 14 Protocols Running On Top Of Tcp/Ip And Udp/Ip

    Both of these protocols are implemented in parallel on the Bus Coupler, so that no configuration is needed to activate the protocols. Fig. 14: Protocols running on top of TCP/IP and UDP/IP. ADS can be used on top of either TCP or UDP, but ModbusTCP is always based on TCP/IP. CX8191 Version: 1.0...
  • Page 54: Topology Example

    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.
  • Page 55: Fig. 16 Structure Of The Ads Communication

    Ethernet X001 Interface ADS-DLL You can link the ADS-DLL (DLL: Dynamic Link Library) into your C program. The OPC interface is a standardized interface for communication used in automation technology. Beckhoff offer an OPC server for this purpose. Protocol The ADS functions provide a method for accessing the Bus Coupler information directly from the PC. ADS function blocks can be used in TwinCAT for this.
  • Page 56: Error Handling And Diagnosis

    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. Version: 1.0 CX8191...
  • Page 57: Table 14 K-Bus Err Led, Fault Description And Troubleshooting

    LED after the error has been rectified. State variable In TwinCAT there is a State variable under the Bus Coupler for K-bus diagnostics. CX8191 Version: 1.0...
  • Page 58: Table 15 Description Of The State Variable Values

    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). Version: 1.0 CX8191...
  • Page 59: Power Supply Terminal Leds In E-Bus Mode

    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. CX8191 Version: 1.0...
  • Page 60: Care And Maintenance

    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.
  • Page 61: Technical Data

    Technical data Technical data Table 17: Technical data, dimensions and weights. CX8191 Dimensions (W x H x D) 71 mm x 100 mm x 73 mm Weight 230 g Table 18: Technical data, general data. Technical data CX8191 Processor ARM Cortex™-A9, 800 MHz 32-bit...
  • Page 62: Table 21 Technical Data, Ethernet Interface X001

    Table 21: 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 CX8191 Data transfer rate 10/100 MBit/s Topology star wiring Protocols...
  • Page 63: Appendix

    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. CX8191 Version: 1.0...
  • Page 64: Support And Service

    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.
  • Page 65 List of tables List of tables Table 1 Dimensions and weight of the CX8191 Embedded PC............... Table 2 Legend for the configuration......................Table 3 Legend for the name plate......................Table 4 Ethernet interface X001, pin assignment..................Table 5 Ethernet interfaces X101 and X102, pin assignment..............
  • Page 66 List of figures List of figures Fig. 1 Sample configuration of a CX8191 Embedded PC..............Fig. 2 CX8191 name plate........................Fig. 3 Ethernet interface X001, X101, X102..................Fig. 4 Ethernet interface, pin numbering....................Fig. 5 MicroSD card for the CX81xx......................
  • Page 68 More Information: www.beckhoff.com/CX8191 Beckhoff Automation GmbH & Co. KG Hülshorstweg 20 33415 Verl Germany Phone: +49 5246 9630 info@beckhoff.com www.beckhoff.com...

This manual is also suitable for:

Cx8180Cx8110

Table of Contents