Beckhoff CX8191 Users guide

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

Table of contents

Table of contents
1 Notes on the documentation ....................................................................................................................5
2 For your safety...........................................................................................................................................8
3 Transport and storage.............................................................................................................................10
4 Product overview.....................................................................................................................................11
4.1 Structure ..........................................................................................................................................13
4.2 Name plate ......................................................................................................................................14
4.3 Ethernet interfaces ..........................................................................................................................15
4.4 BACnet/IP........................................................................................................................................18
4.5 MicroSD card...................................................................................................................................19
4.6 Reset button ....................................................................................................................................19
5 Commissioning........................................................................................................................................20
5.1 Mounting..........................................................................................................................................20
5.1.1 Dimensions ...................................................................................................................... 20
5.1.2 Note the permissible installation positions....................................................................... 21
5.1.3 Securing on mounting rail ................................................................................................ 23
5.2 Connecting the power supply ..........................................................................................................24
6 Configuration ...........................................................................................................................................26
6.1 Operating system ............................................................................................................................26
6.1.1 Features included ............................................................................................................ 27
6.1.2 Update image .................................................................................................................. 28
6.1.3 FTP Server ...................................................................................................................... 29
6.2 IP address .......................................................................................................................................31
6.2.1 Setting with DIP switches ................................................................................................ 31
6.2.2 Setting in the operating system ....................................................................................... 32
6.3 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 Starting a remote connection........................................................................................... 36
6.4 TwinCAT..........................................................................................................................................37
6.4.1 Connecting to the CX81xx ............................................................................................... 37
6.4.2 Scanning for devices ....................................................................................................... 39
6.4.3 Creating a BACnet server and a device object................................................................ 40
6.4.4 Linking to IO task ............................................................................................................. 42
7 Programming ...........................................................................................................................................45
7.1 Seconds UPS ..................................................................................................................................45
7.1.1 Function block.................................................................................................................. 47
7.1.2 Data types........................................................................................................................ 49
CX8191 3Version: 1.0
Table of contents
7.1.3 PlcAppSystemInfo ........................................................................................................... 50
7.2 Function F_CX81xx_ADDRESS......................................................................................................51
7.3 Real Time Clock (RTC)....................................................................................................................51
8 Ethernet X001 Interface...........................................................................................................................52
8.1 Ethernet ...........................................................................................................................................52
8.2 Topology example ...........................................................................................................................54
8.3 ADS-Communication .......................................................................................................................54
9 Error handling and diagnosis.................................................................................................................56
9.1 Diagnostic LEDs ..............................................................................................................................56
9.2 K-bus ...............................................................................................................................................56
9.3 E-bus ...............................................................................................................................................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
CX81914 Version: 1.0
Notes on the documentation

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 applicable national standards. It is essential that the documentation and the following notes and explanations are followed when installing and commissioning the components. It is the duty of the technical personnel to use the documentation published at the respective time of each installation and commissioning.
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. We reserve the right to revise and change the documentation at any time and without prior announcement. 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®, EtherCAT G®, EtherCAT G10®, EtherCAT P®, Safety over EtherCAT®, TwinSAFE®, XFC®, XTS® and XPlanar® 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, EP1456722, EP2137893, DE102015105702 with corresponding applications or registrations in various other countries.
EtherCAT® is a 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.
CX8191 5Version: 1.0
Notes on the documentation

1.1 Representation and structure of warnings

The following warnings are used in the documentation. Read and follow the warnings.
Warnings relating to personal injury:
DANGER
Hazard with high risk of death or serious injury.
WARNING
Hazard with medium risk of death or serious injury.
CAUTION
There is a low-risk hazard that can result in minor injury.
Warnings relating to damage to property or the environment:
NOTE
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.
CX81916 Version: 1.0

1.2 Documentation issue status

Version Comment
1.0 First version
Notes on the documentation
CX8191 7Version: 1.0
For your safety

2 For your safety

Read the chapter on safety and follow the instructions in order to protect from personal injury and damage to equipment.
Limitation of liability
All the components are supplied in particular hardware and software configurations appropriate for the application. Unauthorized modifications and changes to the hardware or software configuration, which go beyond the documented options, are prohibited and nullify the liability of Beckhoff Automation GmbH & Co. KG.
In addition, the following actions are excluded from the liability of Beckhoff Automation GmbH & Co. KG:
• Failure to comply with this documentation.
• Improper use.
• Untrained personnel.
• Use of unauthorized replacement parts.

2.1 Intended use

The CX81xx Embedded PC is a control system and is intended for mounting on a DIN rail in a control cabinet or terminal box.
The Embedded PC series is used in conjunction with Bus Terminals for recording digital or analog signals from sensors and transferring them to actuators or higher-level controllers.
The Embedded PC is designed for a working environment that meets the requirements of protection class IP20. This involves finger protection and protection against solid foreign objects up to 12.5 mm, but not protection against water. Operation of the devices in wet and dusty environments is not permitted, unless specified otherwise. The specified limits for electrical and technical data must be adhered to.
Improper use
The Embedded PC is not suitable for operation in the following areas:
• Potentially explosive atmospheres.
• Areas with an aggressive environment, e.g. aggressive gases or chemicals.
• Living areas. In living areas, the relevant standards and guidelines for interference emissions must be adhered to, and the devices must be installed in housings or control boxes with suitable attenuation of shielding.

2.2 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.
All interventions must be carried out with knowledge of control programming, and the qualified personnel must be familiar with the current standards and guidelines for the automation environment.
CX81918 Version: 1.0
For your safety

2.3 Safety instructions

The following safety instructions must be followed during installation and working with networks and the software.
Mounting
• Never work on live equipment. Always switch off the power supply for the device before installation, troubleshooting or maintenance. Protect the device against unintentional switching on.
• Observe the relevant accident prevention regulations for your machine (e.g. the BGV A 3, electrical systems and equipment).
• Ensure standard-compliant connection and avoid risks to personnel. Ensure that data and supply cables are laid in a standard-compliant manner and ensure correct pin assignment.
• Observe the relevant EMC guidelines for your application.
• Avoid polarity reversal of the data and supply cables, as this may cause damage to the equipment.
• The devices contain electronic components, which may be destroyed by electrostatic discharge when touched. Observe the safety precautions against electrostatic discharge according to DIN EN 61340-5-1/-3.
Working with networks
• Limit physical and electronic access to all devices to an authorized group of persons.
• Change the default passwords to reduce the risk of unauthorized access. Regularly change the passwords.
• Install the devices behind a firewall.
• Apply the IT security precautions according to IEC 62443, in order to limit access to and control of devices and networks.
Working with the software
• Use up-to-date security software. The safe function of the Embedded PC can be compromised by malicious software such as viruses or Trojans.
• 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
Document name
Documentation about IPC Security
CX8191 9Version: 1.0
Transport and storage

3 Transport and storage

Transport
NOTE
Short circuit due to moisture
Moisture can form during transport in cold weather or in the event of large temperature fluctuations.
Avoid moisture formation (condensation) in the Embedded PC, and leave it to adjust to room temperature slowly. If condensation has occurred, wait at least 12 hours before switching on the Embedded PC.
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
Storage
• The battery should be removed if the Embedded PC is stored at temperatures above 60°C. The battery should be stored separate from the 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.
CX819110 Version: 1.0
Product overview

4 Product overview

CX8100 designates a product family of Embedded PCs based on a 32-bit ARM CPU. The CX8100 Embedded PC is programmable and is able to execute its own control program. In addition to that the Embedded PC acts as a slave device of a higher-level fieldbus system.
The CX8100 Embedded PC has the following basic configuration:
• a 512MB MicroSD card,
• an Ethernet interface
• as well as two switched Ethernet interfaces (2 x RJ45, switched).
You can use the CX8100 Embedded PCs as decentralized controllers and in this way ensure that the local program continues to be executed on the CX8100 in the event of an interruption in the higher-level fieldbus system.
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.
Power supply terminal
The power supply terminal for the Embedded PC is located on the right-hand side. Bus Terminals (K-bus) or EtherCAT Terminals (E-bus) can be attached on the right-hand side of the power supply terminal. The power supply terminal automatically recognizes the respective bus system (K-bus or E-bus).
The use of EtherCAT Terminals (E-bus) enables further options, such as the implementation of different topologies, the integration of further bus systems such as CANopen, PROFIBUS and PROFINET and – with the EtherCAT Box Modules – connection to the IP67 world.
Fieldbus interface
CX8100 devices are being prepared for further fieldbus systems such as EtherCAT (slave), PROFINET, EtherNet/IP, CANopen, PROFIBUS and other communication systems.
Available fieldbus systems:
CX8110: EtherCAT
CX8180: RS232/485
CX8190: Ethernet (Realtime Ethernet, ADS UDP, ADS TCP, EAP, Web Services)
CX8191: BACnet (client and server)
Programming
The CX8100 Embedded PCs are programmed according to the high-performance IEC61131-3 standard. The TwinCAT 3 automation software forms the basis for the programming of the Embedded PC.
Configuration
The CX8100 Embedded PC is commissioned via the Ethernet interface. The fieldbus interface and all connected devices such as EtherCAT Terminals or Bus Terminals are then read out via TwinCAT 3. The configuration is stored on the Embedded PC after the parameterization. The configuration thus created can be accessed again later.
The shortest usable task time is 500µs, although this is only achievable with a very small system load. A task time of 1 to 50ms is recommended for the I/O data. Other tasks can also be set slower. When using shorter cycle times, the total system load is to be observed.
CX8191 11Version: 1.0
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.
CX819112 Version: 1.0
Product overview
1
2
7
4
8
10 11
12
14
3
13
15
5
6
9
10

4.1 Structure

Fig.1: Sample configuration of a CX8191 Embedded PC.
Table2: Legend for the configuration.
No. Component Description
1
2
3
4
5
6
7
8
9 Spring-loaded terminals,
10 Terminal bus (K-bus or E-
11 Spring-loaded terminal,
12 Spring-loaded terminal, 0V Power supply for Bus Terminals via power contact.
13 Terminal release Releases the power supply terminal and therefore the Embedded
14 Spring-loaded terminal, PE Spring-loaded terminal for power contact PE.
15 Power contacts, +24V,
Also see about this
2 Setting with DIP switches [}31]
CX8191 13Version: 1.0
DIP switch [}31] (S101).
Battery compartment [}60] (under the front
flap).
MicroSD card slot [}19]
(under the front flap).
Ethernet interfaces RJ45 [}15] (X101, X102).
Reset button [}19]
Diagnostic LEDs [}56].
Ethernet interface [}15]
(X001).
Diagnostic LEDs, power supply terminal [}56].
+24V and 0V
bus)
+24V
0V, PE
You can set the IP address for the X101/X102 switched Ethernet interfaces with the DIP switch.
Power supply for the battery-backed clock for time and date.
Slot for industrial MicroSD cards.
BACnet/IP (client and server)
This switches the Embedded PC to Config mode.
Diagnostic LEDs. You can create your own diagnostic messages for the WD and ERR diagnostic LEDs (see: Controlling CX8190 LEDs).
Interface for commissioning and programming the Embedded PC.
Diagnosis of the power supply for the Embedded PC and the terminal bus. Status of the E-bus and K-bus communication.
Power supply for Embedded PC.
Interface for EtherCAT Terminals or Bus Terminals. Data exchange and supply.
Power supply for Bus Terminals via power contact.
PC from the mounting rail.
Power contacts for Bus Terminals.
Product overview
1
2
5
3
4
6

4.2 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.
No. Description
1 Information on the power supply unit. 24VDC, 4A max.
2 MAC address of the Ethernet interface X001.
By default, the host name is formed from CX plus the last 3 bytes of the MAC address: for example, the MAC address: 00-01-05-aa-bb-cc results in the host name CX-aabbcc.
3 Information on:
• serial number,
• hardware version
• and date of manufacture.
4 Information on the model. The last two numbers code the version of the Embedded PC.
5 Vendor data including address.
6 CE conformity.
CX819114 Version: 1.0
Product overview

4.3 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/s.
Fig.3: Ethernet interface X001, X101, X102.
The LEDs on the left of the interfaces indicate the connection status. The upper LED (LINK/ACT) indicates whether the interface is connected to a network. If this is the case the LED is green. The LED flashes when data transfer on the interface is in progress.
The lower LED (SPEED) indicates the connection speed. The LED is not lit if the speed is 10Mbit/s. At 100MBit/s, the LED lights up orange.
Table4: Ethernet interface X001, pin assignment.
PIN Signal Description
1 TD + Transmit +
2 TD - Transmit -
3 RD + Receive +
4 connected reserved
5
6 RD - Receive -
7 connected reserved
8
Ethernet interfaces X101 and X102
Both Ethernet interfaces are switched and independent of each other. Both Ethernet interfaces reach speeds of 100Mbit/s.
The switched interface can be used for BACnet or OPC UA protocols.
Table5: Ethernet interfaces X101 and X102, pin assignment.
PIN Signal Description
1 TD + Transmit +
2 TD - Transmit -
3 RD + Receive +
4 connected reserved
5
6 RD - Receive -
7 connected reserved
8
CX8191 15Version: 1.0
Product overview
Transmission standards
10Base5
The transmission medium for 10Base5 consists of a thick coaxial cable ("yellow cable") with a max. transmission speed of 10Mbaud arranged in a line topology with branches (drops) each of which is connected to one network device. Because all the devices are in this case connected to a common transmission medium, it is inevitable that collisions occur often in 10Base5.
10Base2
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.
10BaseT
Describes a twisted pair cable for 10Mbaud. The network here is constructed as a star. It is no longer the case that every device is attached to the same medium. This means that a broken cable no longer results in failure of the entire network. The use of switches as star couplers enables collisions to be reduced. Using full-duplex connections they can even be entirely avoided.
100BaseT
Twisted pair cable for 100MBaud. It is necessary to use a higher cable quality and to employ appropriate hubs or switches in order to achieve the higher data rate.
10BaseF
The 10BaseF standard describes several optical fiber versions.
Short description of the 10BaseT and 100BaseT cable types
Twisted pair copper cable for star topologies, where the distance between two devices may not exceed 100 meters.
UTP
Unshielded twisted pair This type of cable belongs to category 3, and is not recommended for use in an industrial environment.
S/UTP
Screened/unshielded twisted pair (screened with copper braid) Has a general screen of copper braid to reduce influence of external interference. This cable is recommended for use with Bus Couplers.
FTP
Foiled shielded twisted pair (screened with aluminum foil) 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.
CX819116 Version: 1.0
Product overview
STP
Shielded twisted pair Describes a cable with an outer screen, without defining the nature of the screen any more closely.
S/STP
Screened/shielded twisted pair (wires are individually screened) This identification refers to a cable with a screen for each of the two wires as well as an outer shield.
ITP
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 17Version: 1.0
Product overview

4.4 BACnet/IP

BACnet (Building Automation Control Network) is a standardized, manufacturer-independent communication protocol for building automation. The protocol is used in HVAC, lighting control, security and fire alarm applications.
As a BACnet building controller (B-BC), the CX8191 Embedded PC meets the following requirements:
• Certification to BACnet standard ISO 16484-5 Revision 14
• Support of the AS-B profile (extended functional range) according to AMEV BACnet 2017
• Integration of the BACnet protocol into the TwinCAT System Manager
• Newly developed library that can be used to create and change BACnet objects directly in the PLC runtime and to store the properties persistently
• All string encoding character sets defined in the BACnet standard (UTF8, USC2, USC2, ISO8859 ...) are supported )
BACnet supplement TF8020
The BACnet supplement TF8020 is pre-installed on the CX8191 in delivery state. No further installations or keys are required. The TF8020 BACnet supplement can only be used via the X101/102 Ethernet interfaces.
Further Information: TF8020 supplement description: https://beckhoff.de/tf8020/
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.
Memory usage
Under certain circumstances, the RAM available on the CX8191 can be ‘eaten up’ with trend log objects. Check whether enough RAM is available for your application. Beckhoff recommends a maximum of 750 BACnet objects.
This is a guide value; the actual value may be higher or lower. It depends on the CPU and RAM load and on the BACnet objects used.
CX819118 Version: 1.0
Product overview

4.5 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:
Order designation Capacity Description
CX1900-0123 1GB MicroSD card (SLC memory) with
CX1900-0125 2GB
CX1900-0127 4GB
CX1900-0129 8GB
Order designation Capacity Description
CX1900-0122 512MB MicroSD card (SLC memory) with
CX1900-0124 1GB
CX1900-0126 2GB
CX1900-0128 4GB
CX1900-0130 8GB
extended temperature range for industrial applications instead of the 512MB card (ordering option)
extended temperature range for industrial applications as spare part.

4.6 Reset button

Use the Reset button to activate Config mode. You can use this function if the PLC program unexpectedly causes an error. To do this, keep the Reset button pressed during the restart for an extended period.
Activate Config mode as follows:
1. Open the front flap.
2. Switch off the Embedded PC.
3. Start the Embedded PC and keep the Reset button pressed until the ERR LED turns red and then yellow.
ð The CX81xx Embedded PC is put into Config mode.
CX8191 19Version: 1.0
Commissioning

5 Commissioning

5.1 Mounting

5.1.1 Dimensions

Fig.4: Dimensions of the CX81xx Embedded PC.
Technical drawings in DWG and STP formats can be found at:
http://www.beckhoff.com
CX819120 Version: 1.0
Commissioning

5.1.2 Note the permissible installation positions

Increased heat generation
The Embedded PC may overheat if the installation position is incorrect or the minimum distances are not adhered to.
Ensure adequate ventilation. A horizontal installation position is ideal. Leave at least 30 mm clear­ance above and below the Embedded PC.
Note the following specifications for the control cabinet:
• Keep to the prescribed ambient temperature. Measure the temperature below the Embedded PC at a distance of 30mm to the cooling fins, in order to determine the ambient temperature correctly.
• Adhere to the minimum distances of 30mm above and below the Embedded PCs.
• Additional electrical equipment affects the heat generation in the control cabinet. Select a suitable control cabinet enclosure depending on the application, or ensure that excess heat is dissipated from the control cabinet.
Prescribed installation position for temperatures up to 60°C
Install the Embedded PC horizontally in the control cabinet on a mounting rail, in order to ensure optimum heat dissipation.
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.5: Embedded PC CX8191, horizontal installation position.
CX8191 21Version: 1.0
Loading...
+ 47 hidden pages