background image

Configuration

CX2100-0004

28

Version: 1.2

CoE interface – parameter management in the EtherCAT system

Many different devices are used in an automation environment. These devices can be used separately or
together in a group on a bus system. Such devices can be controllers, shaft encoders, servo drives, motors,
I/O modules or sensors among other things. Depending upon complexity, such a device must be
parameterizable/adjustable for the respective requirement. Parameterization is perhaps not necessary in the
case of a simple digital 24 V input with a fixed switching threshold and delay; in the case of a shaft encoder,
however, it will not be possible to do without it (e.g. number of lines, absolute or relative, data format, etc.)
On top of that it can be of interest to store data in the device during production or operation. The
manufacturer could store production data such as device name, serial number, firmware version, calibration
data or date of manufacture, if necessary provided with protection against access or amendment. The user
could store user calibration data and the application-specific settings in the device.
In order to create a user-friendly interface for device operation, different organizations have created various
standards in which the following are defined: the available device classes (e.g.: ‘rotary encoder’, ‘analog
input module’ class), the parameters that each representative of such a class has (obligatory and optional
elements), the locations where these parameters can be found and the mechanism with which they are to be
changed. EtherCAT follows the so called CoE standard here: Can-Application-protocol-over-EtherCAT.

Can-over-EtherCAT

The CiA organization (CAN in Automation) pursues among other things the goal of creating order and
exchangeability between devices of the same type by the standardization of device descriptions. For this
purpose so-called profiles are defined, which conclusively describe the changeable and unchangeable
parameters of a device. Such a parameter encompasses at least the following characteristics:

• Index number – for the unambiguous identification of all parameters. The index number is divided into

a main index and a subindex in order to mark and arrange associated parameters.
- Main index
- Subindex, (offset by a colon “:”)

• Official name – in the form of an understandable, self-descriptive text

• Specification of changeability, e.g. whether it can only be read or can also be written

• A value – depending upon the parameter the value can be a text, a number or another parameter

index.

Example: the parameter ‘Vendor ID’ might have the index number 4120:01 and the numerical value ‘2’ as the
ID of a Beckhoff device.
Since hexadecimal values are favored in the machine environment, the parameter is represented from the
user’s point of view as if it had the RO property (read only), because the vendor ID should not be changed by
the user.

Such a list of parameters, the whole of the device-specific CoE directory, can become very extensive. The
first entries of a Beckhoff EL3152 analog input terminal appear as follows in the TwinCAT System Manager:

The index numbers are specified in the profile; they begin in EtherCAT with x1000, because the underlying
entries do not have to be displayed.

CoE directory – availability

An EtherCAT device can have a CoE directory, but does not need to have one. Simple slaves need no
parameter directory or do not have the controller required for administration. On the other hand, the
EtherCAT master (like TwinCAT) as a software EtherCAT device can also manage a CoE directory.

If present, the CoE directory is in operation from the PREOP state.

The object directory can be read via the SDO information service (Service Data Objects).

CoE directory – localization in the EtherCAT Slave

The CoE directory as a parameter system must be administrated in the device in the firmware (FW) in the
local controller. This is the so-called 

online directory

, because it is only available to the user if the EtherCAT

slave is in operation with operating voltage supplied and, if applicable, can be manipulated via EtherCAT
communication.

Содержание CX2100-0004

Страница 1: ...Manual EN CX2100 0004 Power supply unit for CX2020 and CX2030 2 9 2021 Version 1 2...

Страница 2: ......

Страница 3: ...sible installation positions 16 5 1 4 Attaching on mounting rail 17 5 1 5 Installing passive EtherCAT Terminals 18 5 2 Power supply 19 5 2 1 Connect Embedded PC 19 5 2 2 Observe the UL requirements 21...

Страница 4: ...Table of contents CX2100 0004 4 Version 1 2...

Страница 5: ...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 Sa...

Страница 6: ...with 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 Da...

Страница 7: ...entation can be viewed at and downloaded from the Beckhoff website http www beckhoff de Document name CX20x0 multi core Retaining the documentation This documentation is part of the power supply unit...

Страница 8: ...us Terminals to receive digital and analog signals from sensors and output them to actuators or forward them to higher level controllers The power supply units CX2100 0004 are designed for a working e...

Страница 9: ...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 wit...

Страница 10: ...ondensation has occurred wait at least 12 hours before switching on the power supply unit Despite the robust design of the unit the components are sensitive to strong vibrations and impacts Protect th...

Страница 11: ...ly recognizes the respective bus system K bus or E bus Further power supply units A total of four different power supply units are available for the Embedded PCs of the CX2000 series CX2100 0004 E bus...

Страница 12: ...LEDs 40 power supply terminal Diagnosis of the power supply for the Embedded PC and the Terminal Bus Status of the E bus and K bus communication 6 Spring loaded terminals 24 V and 0 V Power supply for...

Страница 13: ...Table 4 Legend for the name plate No Description 1 UL approval with prescribed information on power supply fuse temperature and cable cross sections 2 Information on the power supply unit 3 Informatio...

Страница 14: ...upply unit into the high pole connection on the right on the basic CPU module 2 Check whether the power supply unit is flush with the Embedded PC In the next step you can install the bar clips 5 1 2 I...

Страница 15: ...2 3 Check that the bar clips are flush The bar clips have been installed successfully if they don t protrude and are level with the cooling fins of your modules Once all modules are latched the device...

Страница 16: ...e control cabinet enclosure depending on the application or ensure that excess heat is dissipated from the control cabinet The CX2100 0004 power supply unit and the Embedded PC must be fastened horizo...

Страница 17: ...N 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 on...

Страница 18: ...5 can 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...

Страница 19: ...06 PELV Protective Extra Low Voltage The PE and 0 V conductors of the voltage source for a basic CPU module must be on the same potential connected in the control cabinet Standard EN 60204 1 2006 sect...

Страница 20: ...holding 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 ind...

Страница 21: ...which special UL requirements have to be met UL requirements The Embedded PCs must not be connected to unlimited voltage sources Embedded PCs may only be supplied from a 24 V DC voltage source The vol...

Страница 22: ...spond to ASCII ISO 8859 1 from 0x20 to 0x7E Hex Character Hex Character Hex Character 0x20 0x40 0x60 0x21 0x41 A 0x61 a 0x22 0x42 B 0x62 b 0x23 0x43 C 0x63 c 0x24 0x44 D 0x64 d 0x25 0x45 E 0x65 e 0x26...

Страница 23: ...function blocks Their names are FB_CXSetTextDisplayUSB FB and FB_CXGetTextDisplayUSB FB Parameters are written with FB_CXSetTextDisplayUSB FB and the status values are read from the function block wi...

Страница 24: ...Build 4015 With older versions an update is required for the use of the function blocks Illustration of the display with the System Manager There are six tabs in the System Manager These are briefly...

Страница 25: ...the EtherCAT device Type EtherCAT device type Comment Here you can add a comment e g regarding the system Disabled Here you can deactivate the EtherCAT device Tab ESB Device The settings for the excha...

Страница 26: ...of the devices on the BUS Device Handle Pointer to the device driver Data Exchange Cycle in which the communication takes place ADS Port address for ADS access 7100 for the TwinCAT function block Tab...

Страница 27: ...Configuration CX2100 0004 27 Version 1 2 Tab CoE Online...

Страница 28: ...ble and unchangeable parameters of a device Such a parameter encompasses at least the following characteristics Index number for the unambiguous identification of all parameters The index number is di...

Страница 29: ...nges in the Slave CoE that are important for the application oriented EtherCAT fieldbus user are x1000 This is where fixed identity information for the device is stored including name manufacturer ser...

Страница 30: ...ocal CoE values permanently the Startup list must be used The startup list is used for these cases the values here which are entered by the user are transmitted to the respective slave upon each Ether...

Страница 31: ...rCAT communication is displayed here It can also be switched to a different state here This is done by selecting the desired state by a mouse click on the appropriate button The individual states are...

Страница 32: ...en Pre Op and Safe Op the EtherCAT slave checks whether the sync manager channels for process data communication and if required the distributed clocks settings are correct Before it acknowledges the...

Страница 33: ...d in the PLC The values of the button can be assessed as a numerical value via a TwinCAT function A combination of the buttons can also be assessed via the value The register can be accessed from with...

Страница 34: ...n can be initiated e g CASE Taster OF 4 ACTION UP 8 ACTION DOWN 16 ACTION LEFT 32 ACTION RIGHT 64 ACTION SELECT END_CASE In this case ACTION is a newly defined ENUM type It is also possible for the de...

Страница 35: ...tTextDisplayUSB bExecuteWrite BOOL eModeWrite E_CX2100_DisplayModesWr bCursorOnReq BOOL bCursorOffReq BOOL bBlinkCursorOnReq BOOL bBlinkCursorOffReq BOOL bBacklightOnReq BOOL bBacklightOffReq BOOL bCl...

Страница 36: ...ghtReq FALSE eCX2100_ReadLine1 sLine1 fbGetDisplayText sLine1 bReadLine1Req FALSE eCX2100_ReadLine2 sLine2 fbGetDisplayText sLine2 bReadLine2Req FALSE eCX2100_ReadLines sLine1 fbGetDisplayText sLine1...

Страница 37: ...Write TRUE bReadCursorInfoReq TRUE ELSIF bSetCursorPosYReq THEN eModeWrite eCX2100_CursorPosY bExecuteWrite TRUE bReadCursorInfoReq TRUE ELSIF bSetCursorPosXYReq THEN eModeWrite eCX2100_CursorPosXY bE...

Страница 38: ...2 USINT END_VAR The error can then be determined in the PLC program as follows this is pseudo code which is not directly executable in this form IF k_bus_state 0 THEN auf dem K Bus ist ein Fehler aufg...

Страница 39: ...cs CX2100 0004 39 Version 1 2 k_bus_request TRUE R cksetzen des Busses wenn Fehler beseitigt dann startet der Klemmbus wieder In order for the controller and the registers to co operate they must be l...

Страница 40: ...he fieldbus system is also running K BUS ERR Diagnostic K bus The red LED flashes to indicate an error The red LED blinks with two different frequencies The frequency and number of the flashes can be...

Страница 41: ...whether 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 err...

Страница 42: ...faster 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 10 Description of the State variable values Bit Description Bit 0 K b...

Страница 43: ...s 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...

Страница 44: ...f 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 S...

Страница 45: ...or removed quite easily This section describes 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...

Страница 46: ...iver and remove the bar clips Once the bar 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 Elec...

Страница 47: ...13 Technical data I O terminals Technical data CX2100 0004 I O connection K bus or E bus automatic recognition Power supply for I O terminals max 2 A Power contacts current loading max 10 A Process da...

Страница 48: ...of the FCC 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 c...

Страница 49: ...mponents 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 of...

Страница 50: ...issible mounting positions 16 Table 6 Legend for the connection example 19 Table 7 Required wire cross sections and strip lengths 20 Table 8 K bus ERR LED fault indication sequence through the LED 40...

Страница 51: ...t name plate 13 Fig 3 Embedded PC CX2020 horizontal mounting position 16 Fig 4 Identifying a passive EtherCAT Terminal in TwinCAT 18 Fig 5 Passive EtherCAT Terminals permissible installation 18 Fig 6...

Страница 52: ......

Страница 53: ...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 CX2100 0004...

Отзывы: