Parameterization of the interface type ................ 26 4.2.2 Setting the interface parameters.................. 30 4.2.3 Communication by PLC program.................. 31 4.2.4 Communication via a virtual COM port ................ 33 CoE objects ............................. 34 4.3.1 Directory .......................... 34 4.3.2 Object description and parameterization ................. 35 EP6002-0002 Version: 1.0...
Page 4
Table of contents Restoring the delivery state ...................... 57 Decommissioning .......................... 58 5 Appendix .............................. 59 General operating conditions...................... 59 EtherCAT Box- / EtherCAT P Box - Accessories ................ 60 General note on the introduction of the Beckhoff Identification Code (BIC) ........ 61 Support and Service ........................ 63 Version: 1.0 EP6002-0002...
All the components are supplied in particular hardware and software configurations appropriate for the application. Modifications to hardware or software configurations other than those described in the documentation are not permitted, and nullify the liability of Beckhoff Automation GmbH & Co. KG. Personnel qualification This description is only intended for trained specialists in control, automation and drive engineering who are familiar with the applicable national standards.
HH - hardware version 01 - hardware version 01 Beckhoff Identification Code (BIC) The Beckhoff Identification Code contains additional information about the delivery state of the module: General note on the introduction of the Beckhoff Identification Code (BIC) [} 61]. EP6002-0002...
EtherCAT communication and for the power supply: • Feed • Downstream connection This enables the cabling of EtherCAT Box modules in a line structure: EtherCAT Power Fig. 1: EtherCAT Box modules: Example of cabling in a line structure Version: 1.0 EP6002-0002...
Introduction Fig. 2: EP6002-0002 EP6002-0002 | 2-channel serial interface, RS232, RS422/RS485 The EP6002 serial interface module allows the connection of devices with an RS232 or RS422/RS485 interface. The module transmits the data in a fully transparent manner to the higher-level automation device.
Product overview Technical data All values are typical values at 25 °C, unless otherwise stated. Technical data EP6002-0002 Fieldbus Fieldbus EtherCAT Connection 2 x M8 socket, green Electrical isolation 500 V (fieldbus / IO) Supply voltages Connection Feed: 1 x M8 plug, 4-pin, black Downstream connection: 1 x M8 socket, 4-pin, black Control voltage U...
Scope of supply Make sure that the following components are included in the scope of delivery: • 1x EtherCAT Box EP6002-0002 • 2x protective cap for EtherCAT socket, M8, green (pre-assembled) • 1x protective cap for supply voltage input, M8, transparent (pre-assembled) •...
2 is structured in exactly the same way. Status Status word [} 14] for receive data. Data In [n] The input variables "Data In 0" .. "Data In 22" each contain one byte of receive data (USINT). "Data In 0" contains the first-received byte. Version: 1.0 EP6002-0002...
The content of "Data Out 0" is transmitted first. 2.5.1 Assignment of connectors to process data Connector Chan- receive data send data COM TxPDO-Map Inputs Channel 1 COM RxPDO-Map Outputs Channel 1 COM TxPDO-Map Inputs Channel 2 COM RxPDO-Map Outputs Channel 2 EP6002-0002 Version: 1.0...
Only then can new data be transferred from the box to the controller. toggle The box acknowledges the receipt of data by changing the state of this bit. Only then (TransmitAccepted) can new data be transferred from the controller to the box. Version: 1.0 EP6002-0002...
30 bytes per second. However, if more than these 30 bytes per second are received, a 128 bytes transmit buffer will be written to first in this case also. Once this is full, all further data will be lost. EP6002-0002 Version: 1.0...
Ø 3.5 mm for M3 Metal parts brass, nickel-plated Contacts CuZn, gold-plated Power feed through max. 4 A Installation position variable Protection class IP65, IP66, IP67 (conforms to EN 60529) when screwed together Dimensions (H x W x D) approx. 126 x 30 x 26.5 mm (without connectors) Version: 1.0 EP6002-0002...
Dirty connectors can lead to malfunctions. Protection class IP67 can only be guaranteed if all cables and connectors are connected. • Protect the plug connectors against dirt during the assembly. Mount the module with two M3 screws on the fastening holes in the corners of the module. The fastening holes have no thread. EP6002-0002 Version: 1.0...
Plug Socket Feed-in Forwarding Fig. 6: M8 connector Contact Function Description Core color Control voltage Brown Peripheral voltage White GND to U Blue GND to U Black The core colors apply to cables of the type: Beckhoff ZK2020-xxxx-xxxx Version: 1.0 EP6002-0002...
For standardization, the core colors of the ZB9030, ZB9032 and ZK1090-3xxx-xxxx cables have been changed to the EN61918 core colors: yellow, orange, white, blue. So there are different color codes in circulation. The electrical properties of the cables have been retained when the core colors were changed. Version: 1.0 EP6002-0002...
(CAT5) according to EN 50173 or ISO/IEC 11801 should be used. EtherCAT uses four wires for signal transmission. Thanks to automatic line detection ("Auto MDI-X"), both symmetrical (1:1) or cross-over cables can be used between Beckhoff EtherCAT. Detailed recommendations for the cabling of EtherCAT devices EP6002-0002...
The serial port is ready to receive data. left orange illuminated The serial port is receiving data. green illuminated The serial port is ready to transmit data. right orange illuminated The serial port is transmitting data. Version: 1.0 EP6002-0002...
The serial port is ready to receive data. left orange illuminated The serial port is receiving data. green illuminated The serial port is ready to transmit data. right orange illuminated The serial port is transmitting data. EP6002-0002 Version: 1.0...
To meet the UL requirements, EtherCAT Box Modules has to be operated only at an ambient temperature range of 0 to 55°C! Marking for UL All EtherCAT Box Modules certified by UL (Underwriters Laboratories) are marked with the following label. Fig. 15: UL label Version: 1.0 EP6002-0002...
An EtherCAT Box must be configured in TwinCAT so that its functions can be used in a PLC program. The following link will take you to a quick start guide describing the configuration of an EtherCAT Box in TwinCAT: https://infosys.beckhoff.com/content/1033/epioconfiguration/index.html?id=6991403443235907429 EP6002-0002 Version: 1.0...
Direct connection to an RS232 end device, full duplex data transmission (default setting). Fig. 16: Point-to-point connection to an RS232 device The following CoE objects must be set Index Name Meaning Data type Flags Setting F800:0n Interface Type Ch n 0x00 RS232 BIT1 0x00 (0 (default) 0x01 RS485/422 Version: 1.0 EP6002-0002...
Data type Flags Setting 80n0:07 Enable point-to- The module is used in a bus structure in accordance with the RS485 BOOLEAN point connec- standard. tion (RS422) The module is used for a point-to-point connection (RS422). Channel n EP6002-0002 Version: 1.0...
Data type Flags Setting 80n0:07 Enable point-to- The module is used in a bus structure in accordance with the RS485 BOOLEAN point connec- standard. tion (RS422) The module is used for a point-to-point connection (RS422). Channel n Version: 1.0 EP6002-0002...
Data type Flags Setting 80n0:07 Enable point-to- The module is used in a bus structure in accordance with the RS485 BOOLEAN point connec- standard. tion (RS422) The module is used for a point-to-point connection (RS422). Channel n EP6002-0002 Version: 1.0...
XML description - Use "CoE reload" for resetting changes The following CoE settings from objects 0x8000 and 0x8010 are possible and are shown below in their default settings: Fig. 20: CoE settings on objects 0x8000 and 0x8010 (default) Version: 1.0 EP6002-0002...
Continuous transmission of data A continuous data stream is indispensable for many applications. For this purpose, the Beckhoff modules feature the "Enable send FIFO data continuous" setting in the Settings object. The internal transmit buffer (128 bytes) of the box can be filled first by setting this switch. After that the entire contents of the buffer can be transmitted without interruption.
Page 32
1. The module indicates that there is new data in the process image by changing the state of the "Re- ceive request" bit. 2. The number of bytes received is written in "Input length" 3. The controller acknowledges acceptance of the bytes by changing the state of “Receive request”. Version: 1.0 EP6002-0002...
Commissioning/Configuration 4.2.4 Communication via a virtual COM port Application Note DK9322-0411-0041 describes the communication via a virtual COM port. EP6002-0002 Version: 1.0...
EtherCAT XML Device Description The display matches that of the CoE objects from the EtherCAT XML Device Description. We rec- ommend downloading the latest XML file from the download area of the Beckhoff website and in- stalling it according to installation instructions.
Page 36
0x02 0x03 0x04 0x05 0x09 0x0A 0x0B 0x0C 0x0D 8000:1A Rx buffer full notifica- The value specifies the number of data in the receive UINT16 0x0360 (864 tion FIFO, from which the bit "buffer full" is set. Version: 1.0 EP6002-0002...
Page 37
Interface Type Ch 1 0x00 RS232 BIT1 0x00 (0 0x01 RS485/422 F800:02 Interface Type Ch 2 0x00 RS232 BIT1 0x00 (0 0x01 RS485/422 Additional objects Standard objects (0x1000-0x1FFF) The standard objects have the same meaning for all EtherCAT slaves. EP6002-0002 Version: 1.0...
Page 38
Index (hex) Name Meaning Data type Flags Default 1008:0 Device name Device name of the EtherCAT slave STRING EP6002-0002 Index 1009 Hardware version Index (hex) Name Meaning Data type Flags Default 1009:0 Hardware version Hardware version of the EtherCAT slave...
Page 39
COM RxPDO-Par PDO Parameter RxPDO 6 UINT8 0x06 (6 Outputs Ch.2 1405:06 Exclude RxPDOs Specifies the RxPDOs (index of RxPDO mapping ob- OCTET- 01 16 jects) that must not be transferred together with Rx- STRING[2] PDO 6 EP6002-0002 Version: 1.0...
Page 43
Flags Default 1800:0 COM TxPDO-Par PDO parameter TxPDO 1 UINT8 0x06 (6 Inputs Ch.1 1800:06 Exclude TxPDOs Specifies the TxPDOs (index of TxPDO mapping ob- OCTET- 04 1A jects) that must not be transferred together with TxPDO STRING[2] EP6002-0002 Version: 1.0...
Page 44
Flags Default 1805:0 COM TxPDO-Par PDO parameter TxPDO 6 UINT8 0x06 (6 Inputs Ch.2 1805:06 Exclude TxPDOs Specifies the TxPDOs (index of TxPDO mapping ob- OCTET- 01 1A jects) that must not be transferred together with TxPDO STRING[2] Version: 1.0 EP6002-0002...
Page 48
Sync-Manager Type Channel 2: Mailbox Read UINT8 0x02 (2 1C00:03 SubIndex 003 Sync-Manager Type Channel 3: Process Data Write UINT8 0x03 (3 (Outputs) 1C00:04 SubIndex 004 Sync-Manager Type Channel 4: Process Data Read (In- UINT8 0x04 (4 puts) Version: 1.0 EP6002-0002...
Page 49
Subindex 001 1. allocated TxPDO (contains the index of the associ- UINT16 0x1A04 (6660 ated TxPDO mapping object) 1C13:02 Subindex 002 2. allocated TxPDO (contains the index of the associ- UINT16 0x1A05 (6661 ated TxPDO mapping object) EP6002-0002 Version: 1.0...
Page 50
Number of occasions that the interval between SYNC0 UINT16 0x0000 (0 counter and SYNC1 event was too short (DC mode only) 1C32:20 Sync error The synchronization was not correct in the last cycle BOOLEAN 0x00 (0 (outputs were output too late; DC mode only) Version: 1.0 EP6002-0002...
Page 51
Shift too short UINT16 0x0000 (0 as 1C32:13 [} 50] counter 1C33:20 Sync error BOOLEAN 0x00 (0 as 1C32:32 [} 50] Profile-specific objects (0x6000-0xFFFF) The profile-specific objects have the same meaning for all EtherCAT slaves that support the profile 5001. EP6002-0002 Version: 1.0...
Page 52
Data In 21 Input data UINT8 0x00 (0 Index 6001 Status Ch.1 Index (hex) Name Meaning Data type Flags Default 6001:0 Status Ch.1 UINT8 0x01 (1 6001:01 Status Status word for compatible process image UINT16 0x0000 (0 Version: 1.0 EP6002-0002...
Page 53
Data In 21 Input data UINT8 0x00 (0 Index 6011 Status Ch.2 Index (hex) Name Meaning Data type Flags Default 6011:0 Status Ch.2 UINT8 0x01 (1 6011:01 Status Status word for compatible process image UINT16 0x0000 (0 EP6002-0002 Version: 1.0...
Page 54
Data Out 21 Output data UINT8 0x00 (0 Index 7001 Ctrl Ch.1 Index (hex) Name Meaning Data type Flags Default 7001:0 Ctrl Ch.1 UINT8 0x01 (1 7001:01 Ctrl Control word for compatible process image UINT16 0x0000 (0 Version: 1.0 EP6002-0002...
Page 55
0x00 (0 A000:11 Data bytes in send Number of data bytes in the send FIFO UINT16 0x0000 (0 buffer A000:21 Data bytes in re- Number of data bytes in the receive FIFO UINT16 0x0000 (0 ceive buffer EP6002-0002 Version: 1.0...
Page 56
Flags Default F008:0 Code word UINT32 0x00000000 (0 Index F010 Module list Index (hex) Name Meaning Data type Flags Default F010:0 Module list UINT8 0x02 (2 F010:01 SubIndex 001 UINT32 0x00000258 (600 F010:02 SubIndex 002 UINT32 0x00000258 (600 Version: 1.0 EP6002-0002...
Fig. 22: Entering a restore value in the Set Value dialog Alternative restore value In some older terminals / boxes the backup objects can be switched with an alternative restore value: Decimal value: 1819238756 Hexadecimal value: 0x6C6F6164 An incorrect entry for the restore value has no effect. EP6002-0002 Version: 1.0...
Disposal In order to dispose of the device, it must be removed. In accordance with the WEEE Directive 2012/19/EU, Beckhoff takes back old devices and accessories in Germany for proper disposal. Transport costs will be borne by the sender. Return the old devices with the note "for disposal" to: Beckhoff Automation GmbH &...
(ph-Value > 12) > 40°C: not resistant Acetic acid not resistant Argon (technical clean) resistant • resistant: Lifetime several months • non inherently resistant: Lifetime several weeks • not resistant: Lifetime several hours resp. early decomposition EP6002-0002 Version: 1.0...
M12/wrench size 13, for torque wrench ZB8801-0000 ZB8801-0003 torque cable key, M12 field assembly/wrench size 13, for torque wrench ZB8801-0000 Further accessories Further accessories may be found at the price list for Beckhoff fieldbus components and at the inter- net under https://www.beckhoff.com Version: 1.0 EP6002-0002...
Identification Code (BIC) General In future you will increasingly find machine-readable information on Beckhoff products in the form of a Data Matrix Code (DMC, ECC200). This helps us to improve the quality assurance process, beyond which you can use it for better identification of our products.
Page 62
Article description Quantity An important component of the BIC is the Beckhoff Traceability Number (BTN, item no. 2). The BTN is a unique 8-character serial number that in future will replace all other serial number systems at Beckhoff (e.g. batch designations on IO components, hitherto serial number circle for safety products, etc.). The BTN is likewise being introduced gradually, so it may be the case that the BTN is not yet coded in the BIC.
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.
Table of Figures Table of Figures Fig. 1 EtherCAT Box modules: Example of cabling in a line structure ..........Fig. 2 EP6002-0002..........................Fig. 3 Level of RS232, RS422, RS485 interfaces.................. Fig. 4 Dimensions ..........................Fig. 5 Connectors for supply voltages ....................