background image

Configuration

CX20x2

46

Version: 1.7

7.3.4

Configuring EtherCAT cable redundancy.

The Embedded PC has two independent Ethernet interfaces, which can be used for EtherCAT cable
redundancy. Cable redundancy offers resilience for the cabling. Interruptions of the EtherCAT
communication due to broken wires or unplugged LAN cables are avoided.

5 VB

EK 1100

BECKHOFF

5 VB

EL 2032

BECKHOFF

5 VB

EL 2032

BECKHOFF

5 VB

EL 2032

BECKHOFF

5 VB

EL 2032

BECKHOFF

5 VB

EL 2032

BECKHOFF

EL 1110

BECKHOFF

FB1

PWR

TC

FB2

HDD

24V

0V

+

+

- -

PE

PE

B

E

C

K

H

O

F

F

CX2020

CX2100

enter

nav

00

04

24V

0V

+

+

- -

PE

PE

1

2

3

4

5

6

7

8

B

E

C

K

H

O

F

F

E

K

11

00

B

E

C

K

H

O

F

F

E

K

11

10

Fig. 31: Smallest possible configuration for EtherCAT cable redundancy.

Interference at the individual terminals is not intercepted by the cable redundancy.

Table 29: Cable redundancy, hardware for sample configuration.

Type

Description

CX2020 Embedded PC

Is the EtherCAT master in the example.

Bus Coupler EK1110

EtherCAT extension can be used to extend an EtherCAT
segment by up to 100 m.

EK1100 Bus Coupler

The Bus Coupler relays the EtherCAT signal to connected
EtherCAT Terminals.

EtherCAT Terminals

Any number of EtherCAT Terminals can be connected to
the CX20x0 Embedded PC and the Bus Coupler.

Requirements:

• For TwinCAT 2 you have to install and license the supplement TS622x | TwinCAT EtherCAT

Redundancy on the Embedded PC:

http://www.beckhoff.de/forms/twincat3/warenkorb.aspx?lg=de&title=TS622x-EtherCAT-
Redundancy&version=1.0.2

• In TwinCAT 3 the supplement is already included and only has to be licensed.

• Hardware wired as EtherCAT ring (see Fig.: Smallest possible configuration for EtherCAT cable

redundancy) and added in TwinCAT.

Summary of Contents for CX20 2 Series

Page 1: ...Manual EN CX20x2 Embedded PC 6 30 2020 Version 1 7...

Page 2: ......

Page 3: ...DVI I X200 21 5 4 Optional interfaces 22 5 4 1 DVI D N010 22 5 4 2 DisplayPort N011 23 5 4 3 RS232 N030 24 5 4 4 RS422 RS485 N031 25 5 4 5 EtherCAT slave B110 26 5 4 6 PROFIBUS x310 27 5 4 7 CANopen x...

Page 4: ...ed of the Retain Handler 55 8 1 4 Deleting variables under the Retain Handler 56 9 Error handling and diagnostics 57 9 1 Basic CPU module 57 9 1 1 LEDs on the basic CPU module 57 9 1 2 Power supply te...

Page 5: ...ducts 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 Safet...

Page 6: ...ith medium risk of death or serious injury CAUTION Slight risk of injury There is a low risk hazard that can result in minor injury Warnings relating to damage to property or the environment NOTE Dama...

Page 7: ...ly unit with electronic charging unit for battery pack Retaining the documentation This documentation forms part of the Embedded PC Keep the documentation in the immediate vicinity of the device throu...

Page 8: ...rs The CX20x2 Embedded PC series combines the worlds of Industrial PC and hardware PLC and is suitable for control tasks The Embedded PC is designed for a working environment that meets the requiremen...

Page 9: ...ntain 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 n...

Page 10: ...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 a...

Page 11: ...t Gbit Ethernet interfaces four USB 3 0 interfaces and a DVI I interface The basic CPU module can be extended with additional interfaces or storage media as required Up to four system or fieldbus modu...

Page 12: ...bus power supply unit with automatic switching and integrated charging electronics for an external battery pack The power supply units feature an illuminated anti glare LC display with two rows of 16...

Page 13: ...e 21 X200 Interface for a monitor or Panel 4 Battery compartment 62 under the front flap 62 Power supply for the battery backed clock for time and date 5 RJ45 Ethernet interfaces 20 X000 X001 For conn...

Page 14: ...x 2 MAC addresses of the integrated Ethernet ports 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...

Page 15: ...Product overview CX20x2 15 Version 1 7 4 3 Module overview...

Page 16: ...or the basic CPU module The basic CPU module CX2042 CX2062 and CX2072 is available with the following software options Table 5 CX20x2 ordering information for software Module no operating system Windo...

Page 17: ...are available in three memory configurations 8 GB 16 GB and 32 GB DDR4 RAM The memory configuration must be ordered from the factory and is not expandable The CX20x2 Embedded PCs have a graphics card...

Page 18: ...ces USB DVI and LAN are standard interfaces Devices that meet the corresponding standard can be connected to and operated at these interfaces A VGA monitor can be connected to the DVI I interface with...

Page 19: ...pin numbering Note the power consumption of the individual devices Each interface is limited to 900 mA The USB 3 0 interface is of type A and corresponds to the USB 3 0 specification Table 6 USB 3 0...

Page 20: ...ernet interfaces reach speeds of 10 100 1000 Mbit 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...

Page 21: ...a 0 5 Shield 4 not connected 12 not connected 20 not connected 5 not connected 13 not connected 21 not connected 6 DDC Clock 14 5V Power 22 TMDS Clock Shield 7 DDC Data 15 Ground 5V Analog H V Sync 23...

Page 22: ...ment 1 TMDS Data 2 9 TMDS Data 1 17 TMDS Data 0 2 TMDS Data 2 10 TMDS Data 1 18 TMDS Data 0 3 TMDS Data 2 4 Shield 11 TMDS Data 1 3 Shield 19 TMDS Data 0 5 Shield 4 not connected 12 not connected 20 n...

Page 23: ...onnect monitors without DisplayPort to the Embedded PC Table 13 DisplayPort pin assignment Pin Assignment Pin Assignment 1 LVDS lane 0 2 Ground 3 LVDS lane 0 4 LVDS lane 1 5 Ground 6 LVDS lane 1 7 LVD...

Page 24: ...on both channels is 115 kbit The interface parameters are set via the operating system or from the PLC program Table 15 RS232 interface X300 pin assignment PIN Signal Type Description 1 DCD Signal in...

Page 25: ...r RS485 pins 2 and 3 data must be connected and pins 7 and 8 data By default the interface is parameterized as follows on delivery Table 17 Default setting RS485 without echo with end point terminated...

Page 26: ...ower LAN interface relays the signal to other EtherCAT slave devices Fig 16 EtherCAT slave LAN interface pin numbering Table 18 EtherCAT slave interface X300 pin assignment PIN Signal Description 1 TD...

Page 27: ...numbering The Profibus bus line is connected via a 9 pin D sub with the following pin assignment Table 19 PROFIBUS interface X310 pin assignment Pin Assignment 1 Shielding 2 not used 3 RxD TxD P 4 not...

Page 28: ...assignment Pin Assignment 1 not used 2 CAN low CAN 3 CAN ground internally connected to pin 6 4 not used 5 Shield 6 CAN ground internally connected to pin 3 7 CAN high CAN 8 not used 9 not used For t...

Page 29: ...INET RT x930 Fig 19 PROFINET RT interface X300 Fig 20 PROFINET RT LAN interface pin numbering Table 22 PROFINET RT interface pin assignment PIN Signal Description 1 TD Transmit 2 TD Transmit 3 RD Rece...

Page 30: ...PC Basic CPU module Power supply unit CX2042 CX2100 0014 130 W from HW version 2 4 CX2100 0914 100 W CX2100 0024 240 W CX2062 CX2100 0014 130 W from HW version 2 4 CX2100 0024 240 W CX2072 Configurati...

Page 31: ...ight Next you can install the bar clips 6 2 2 Installing the bar clips Usually the connection between the modules is strong enough However the basic CPU module and the attached modules may be subjecte...

Page 32: ...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...

Page 33: ...revent it slipping off the DIN rail Install a bracket below the Embedded PC for this purpose Horizontal mounting position The minimum distance of at least 30 mm above and below the cooling fins of the...

Page 34: ...EN 60715 Secure the Embedded PC on the mounting rail as follows 1 Unlock the latches at the top and bottom 2 Place the Embedded PC at the front of the mounting rail Slightly press the Embedded PC onto...

Page 35: ...l cards with an increased number of write cycles and an extended temperature range 85 C The eject mechanism is based on the push push principle The installation and removal of CFast cards is described...

Page 36: ...n be detected in TwinCAT In the tree structure the EtherCAT Terminal is displayed without process image and the value in column E bus mA does not change compared to the preceding EtherCAT Terminal Fig...

Page 37: ...e for a basic CPU module must be on the same potential connected in the control cabinet Standard EN 60204 1 2006 section 6 4 1 b stipulates that one side of the circuit or a point of the energy source...

Page 38: ...olding the wire safely and permanently The voltage source has been connected to the power supply unit successfully when the two upper power supply terminal LEDs light up in green The left LED Us indic...

Page 39: ...automatically as soon as you connect the external power supply for the power supply unit The pre installed operating system is started and all connected extension system and fieldbus modules are conf...

Page 40: ...Ethernet corresponds to the Ethernet interface X001 Fig 28 Windows 10 Identification of the Ethernet interfaces X000 X001 in the Network and Sharing Center Device Manager In the Device Manager the Et...

Page 41: ...ow access via port 80 HTTP or port 443 HTTPS IP address or host name of the Embedded PC Table 27 Access data for the Beckhoff Device Manager on delivery Operating system Access data Windows 10 IoT Ent...

Page 42: ...g on whether EtherCAT Terminals or Bus Terminals are connected to the Embedded PC Table 28 Legend for the tree view No Description 1 The CX20x0 Embedded PC with EtherCAT Terminals is added as EtherCAT...

Page 43: ...n be performed for all devices in this way and project planning subsequently carried out Prerequisites for this step TwinCAT 3 must be in Config mode IP address or host name of the device Search for t...

Page 44: ...e the Add Route Dialog The new device is displayed in the Choose Target System window 7 Select the device you want to specify as target system and click OK You have successfully searched for a device...

Page 45: ...se and confirm the selection with OK Only devices that are actual available are offered for selection For Embedded PCs with connected Bus Terminals K bus a Bus Coupler device CX BK is displayed For Et...

Page 46: ...minals is not intercepted by the cable redundancy Table 29 Cable redundancy hardware for sample configuration Type Description CX2020 Embedded PC Is the EtherCAT master in the example Bus Coupler EK11...

Page 47: ...AT cable redundancy as follows 1 In the tree view click on the EtherCAT master 2 Click on the EtherCAT tab then Advanced Settings 3 Click on Redundancy in the tree structure on the left 4 Click on the...

Page 48: ...the state of the individual EtherCAT slaves is displayed If for example the cable connection between the EK1100 and EK1110 Bus Couplers is interrupted the status of the Bus Coupler changes The messag...

Page 49: ...ed PC as soon as the time set for nWatchdogTimeS elapses Be aware of this behavior and disable the watchdog if you use breakpoints carry out a PLC reset or an overall reset stop TwinCAT switch to conf...

Page 50: ...the event of a power failure the data are automatically copied from the volatile memory into the non volatile memory The energy required for this process is supplied by a capacitor As soon as the pow...

Page 51: ...he Retain Handler saves data in the NOVRAM in the event of a power failure and makes them available again once the power has been restored 8 1 1 Creating a Retain Handler This chapter describes how to...

Page 52: ...c NOV DP RAM Device 6 Click on the option PCI 7 Right click on Device NOV DP RAM in the tree view and then on Add New Item 8 Select the Retain Handler and click on OK You have successfully created a R...

Page 53: ...andler The variables have to be identified in the PLC with the keyword VAR_RETAIN Prerequisite for this step A PLC project created in TwinCAT Create variables as follows 1 Create the variables in your...

Page 54: ...d After selecting a Retain Handler as a target the symbols in the tree view are linked and a mapping is created In the tree view the variables are created from the PLC under the Retain Handler and lin...

Page 55: ...OVRAM The following diagrams provide an overview of how long the Retain Handler needs to save a particular data quantity in the NOVRAM Use the diagrams to select your task cycle time such that a parti...

Page 56: ...atically Under TwinCAT 3 the variables have to be deleted manually Prerequisites for this step Variables declared with VAR_RATAIN were deleted from the PLC Delete the variables under the Retain Handle...

Page 57: ...Power supply for basic CPU module The LED lights green if the power supply is correct Up 24V Power supply for terminal bus The LED lights green if the power supply is correct K BUS RUN Diagnostic K bu...

Page 58: ...ether the Bus End Terminal 9010 is connected n Break behind Bus Terminal n Check whether Bus Terminal n 1 after the power supply unit is connected correctly replace if necessary 5 pulses n K bus error...

Page 59: ...aster than 100 ms We recommend a task time of less than 50 ms The K bus update time typically lies between one and five ms Table 32 Description of the State variable values Bit Description Bit 0 K bus...

Page 60: ...lit in E bus mode The L A LED flashes during data transfer Display LED Meaning Us 24 V Power supply for basic CPU module The LED lights green if the power supply is correct Up 24 V Power supply for t...

Page 61: ...acturer of the machine or the software Error during CFast card access Faulty CFast card faulty card slot 1 Use another CFast card to test the card slot 2 Call Beckhoff Support Embedded PC only works p...

Page 62: ...load Diameter Height CR2032 3 0 V 225 mAh 0 20 mA 20 0 mm 3 20 mm The battery compartment is below the front flap The battery stores the time and date The time and date are reset if the battery is rem...

Page 63: ...the temperature Table 35 In the CX20x2 the fan control and speed depend on the temperature Temperature Fan control Fan speed up to 30 C 30 3400 rpm 30 C 75 C 30 100 linear control 3400 rpm 6000 rpm li...

Page 64: ...on 1 7 3 Push the new fan cartridge into the housing with the contacts first The guide rails at the fan match the guide rails in the housing Close the front flap You have successfully changed the fan...

Page 65: ...the power supply Only then can you remove all the cables Also remove all cables from the first terminal after the power supply terminal Requirements Exit the software and shut down the Embedded PC Sw...

Page 66: ...bes how to remove devices from the CX2000 Embedded PC series Requirements All cables were removed from the Embedded PC Dismantle the Embedded PC as follows 1 Release the DIN rail mounting by pushing t...

Page 67: ...ar clips have been removed successfully the modules can be separated from each other Disposal The device must be fully dismantled in order to dispose of it Electronic components must be disposed of ac...

Page 68: ...access 2 x bus status Clock Internal battery backed clock for time and date battery replaceable Approvals CE Table 38 Technical data I O terminals Technical data Description I O connection via power...

Page 69: ...type A DVI I Resolution on the monitor in pixels 640 x 480 to 1920 x 1200 Table 42 Technical data optional interfaces Technical data Description DVI D Resolution on the monitor in pixels 640 x 480 to...

Page 70: ...ption CX1900 0101 Passive DVI to VGA adaptor for the connection of standard VGA monitors to the CX system feeds out the VGA signals of the DVI I interface of the CX module DVI A plug 29 pin bottom soc...

Page 71: ...CC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiat...

Page 72: ...nents there Beckhoff Headquarters Beckhoff Automation GmbH Co KG Huelshorstweg 20 33415 Verl Germany Phone 49 0 5246 963 0 Fax 49 0 5246 963 198 e mail info beckhoff com Beckhoff Support Support offer...

Page 73: ...ble 20 Wire colors of the PROFIBUS line 27 Table 21 CANopen interface X510 pin assignment 28 Table 22 PROFINET RT interface pin assignment 29 Table 23 Suitable power supply unit for the CX20x2 Embedde...

Page 74: ...List of tables CX20x2 74 Version 1 7 Table 45 Passive DVI to VGA adaptor 70 Table 46 Spare battery for CX systems 70 Table 47 Other spare parts 70...

Page 75: ...n numbering 29 Fig 21 Embedded PC CX2042 with power supply unit CX2100 0014 configuration of the power sup ply terminal 30 Fig 22 Embedded PC CX20x2 horizontal installation position 32 Fig 23 CX20x2 E...

Page 76: ......

Page 77: ...Beckhoff Automation GmbH Co KG H lshorstweg 20 33415 Verl Germany Phone 49 5246 9630 info beckhoff com www beckhoff com More Information www beckhoff com many core cx...

Reviews: