5.3General note on the introduction of the Beckhoff Identification Code (BIC) ....................................61
5.4Support and Service ........................................................................................................................63
EP6002-00024Version: 1.0
Foreword
1Foreword
1.1Notes on the documentation
Intended audience
This description is only intended for the use of trained specialists in control and automation engineering who
are familiar with the applicable national standards.
It is essential that the documentation and the following notes and explanations are followed when installing
and commissioning these 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®, EtherCATG®, EtherCATG10®, EtherCATP®, SafetyoverEtherCAT®,
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 registered trademark and patented technology, licensed by Beckhoff Automation GmbH,
Germany.
Please note the following safety instructions and explanations!
Product-specific safety instructions can be found on following pages or in the areas mounting, wiring,
commissioning etc.
Exclusion of liability
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.
Description of instructions
In this documentation the following instructions are used.
These instructions must be read carefully and followed without fail!
DANGER
Serious risk of injury!
Failure to follow this safety instruction directly endangers the life and health of persons.
WARNING
Risk of injury!
Failure to follow this safety instruction endangers the life and health of persons.
CAUTION
Personal injuries!
Failure to follow this safety instruction can lead to injuries to persons.
NOTE
Damage to environment/equipment or data loss
Failure to follow this instruction can lead to environmental damage, equipment damage or data loss.
Tip or pointer
This symbol indicates information that contributes to better understanding.
EP6002-00026Version: 1.0
Foreword
1.3Documentation Issue Status
VersionModifications
1.0• First release, adapted from the documentation EP600x V2.1.0
Firmware and hardware versions
This documentation refers to the firmware and hardware version that was applicable at the time the
documentation was written.
The module features are continuously improved and developed further. Modules having earlier production
statuses cannot have the same properties as modules with the latest status. However, existing properties
are retained and are not changed, so that older modules can always be replaced with new ones.
The firmware and hardware version (delivery state) can be found in the batch number (D-number) printed on
the side of the EtherCAT Box.
Syntax of the batch number (D-number)
D: WW YY FF HH
WW - week of production (calendar week)
YY - year of production
FF - firmware version
HH - hardware version
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].
Example with D no. 29 10 02 01:
29 - week of production 29
10 - year of production 2010
02 - firmware version 02
01 - hardware version 01
EP6002-00027Version: 1.0
Product overview
Power
EtherCAT
...
...
2Product overview
2.1Product group: EtherCAT Box Modules
EtherCAT Box modules are I/O modules for industrial controllers.
They comply with protection class IP67 and are intended for use outside the control cabinet in wet, dirty or
dusty industrial environments.
EtherCAT Box modules communicate with the controller via the EtherCAT fieldbus. They each have two
connections for EtherCAT communication and for the power supply:
• Feed
• Downstream connection
This enables the cabling of EtherCAT Box modules in a line structure:
Fig.1: EtherCAT Box modules: Example of cabling in a line structure
EP6002-00028Version: 1.0
2.2Introduction
Product overview
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.
The data is transferred via the fieldbus using a simple handshake protocol. This does not have any effect on
the protocol of the serial interface. The active serial communication channel functions independently of the
higher-level bus system in full duplex mode at up to 115,200 baud, while a 864 byte receive buffer and a 128
byte send buffer are available.
The connector assignment depends on the interface. For each channel, RS232 or RS422/RS485 can be
selected.
In conjunction with the TwinCAT Virtual Serial COM Driver (see TwinCAT Supplements – Communication)
the EP6002 can be used as a normal Windows COM interface.
EP6002-00029Version: 1.0
Product overview
2.3Technical data
All values are typical values at 25°C, unless otherwise stated.
Technical dataEP6002-0002
Fieldbus
FieldbusEtherCAT
Connection2x M8 socket, green
Electrical isolation500V (fieldbus/ IO)
Supply voltages
ConnectionFeed: 1 x M8 plug, 4-pin, black
Downstream connection: 1 x M8 socket, 4-pin, black
Control voltage U
Nominal voltage24VDC (-15%/ +20%)
Sum currentmax. 4A
Consumers• Module electronics: 130mA
Peripheral voltage U
Nominal voltage24VDC (-15%/ +20%)
Sum currentmax. 4A
Consumers-
Serial interface
Number of channels2
Interface typeIndividually parameterizable for each channel:
Connection1x M12 socket per channel
Remote station supply voltage
Sum current of consumers and power transmission. This value corresponds to the
current carrying capacity of the connections for the supply voltages.
2)
Supply voltage available at the connections of the serial interface.
EP6002-000210Version: 1.0
Technical dataEP6002-0002
Environmental conditions
Ambient temperature
during operation
Ambient temperature
during storage
Vibration / shock resistanceconforms to EN 60068-2-6 / EN 60068-2-27
EMC immunity / emissionconforms to EN 61000-6-2 / EN 61000-6-4
Protection classIP65, IP66, IP67 conforms to EN 60529
Make sure that the following components are included in the scope of delivery:
Product overview
• 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)
• 1x protective cap for supply voltage output, M8, black (pre-assembled)
• 10x labels, blank (1 strip of 10)
Pre-assembled protective caps do not ensure IP67 protection
Protective caps are pre-assembled at the factory to protect connectors during transport. They may
not be tight enough to ensure IP67 protection.
Ensure that the protective caps are correctly seated to ensure IP67 protection.
EP6002-000211Version: 1.0
Product overview
2.5Process image
COM TxPDO-Map Inputs
The following figure shows an example of the process data object for serial channel 1. The process data
object for channel 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.
EP6002-000212Version: 1.0
Product overview
COM RxPDO-Map Outputs
The following figure shows an example of the process data object for serial channel 1. The process data
object for channel 2 is structured in exactly the same way.
Ctrl
Control word [}14] for transmit data.
Data Out [n]
The output variables "Data Out 0" .. "Data Out 22"
can each be filled with one byte of send data.
The content of "Data Out 0" is transmitted first.
2.5.1Assignment of connectors to process data
Connector Chan-
nel
X01
X02
X03
X04
1
2
receive datasend 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-000213Version: 1.0
Product overview
2.5.2Control word
Bit1514131211109876543210
NameOL7OL6OL5OL4OL3OL2OL1OL0----SCIRRATR
Bit no.NameDescription
15.. 8OL7.. OL0
(OutLength)
7..4reserved
3SC
(SendContinuous)
2IR
(InitRequest)
1RA
(ReceiveAccepted)
0TR
(TransmitRequest)
1
dec
.. 22
Number of output bytes available for transfer from the controller to the box.
dec
riseContinuous sending of data from the FIFO.
The send buffer is filled (up to 128 bytes) by the controller. The buffer content is sent
with rising edge of bit SC. Once the data has been transferred, this is acknowledged
by the box to the controller by setting the SW.2 bit. SW.2 is cancelled with CW.3.
1
bin
The controller requests the box to initialize. The send and receive functions are
blocked, the FIFO pointers are reset, and the interface is initialized with the values of
the responsible objects (baud rate 4073, data frame 4074, feature bits 4075). The
execution of the initialization is acknowledged by the box with the SW.2 (IA) bit.
0
bin
The controller once again requests the box to prepare for serial data exchange.
toggleThe controller acknowledges receipt of data by changing the state of this bit. Only
then can new data be transferred from the box to the controller.
toggleVia a change of state of this bit the controller notifies the box that the DataOut bytes
contain the number of bytes indicated via the OL bits. The box acknowledges receipt
of the data in the status byte by changing the state of the SW.0 (TA) bit. Only then
can new data be transferred from the controller to the box.
2.5.3Status word
Bit1514131211109876543210
NameIL7 IL6IL5 IL4IL3 IL2IL1 IL0-OVERRUN
ERR
Key
Bit no.NameDescription
15...8IL7... IL0
(InLength)
7reserved
6OVERRUN ERR0 .. 1An overrun error has occurred. The data concerned is not loaded to the receive
5FRAMING ERR0 .. 1A framing error has occurred. The data concerned is not loaded to the receive FIFO
4PARITY ERR0 .. 1A parity error has occurred. The data concerned is not loaded to the receive FIFO of
3BUF_F1The receive FIFO is full. All further incoming data will be lost!
2IA
(InitAccepted bit)
1RR
(ReceiveRequest)
0TA
(TransmitAccepted)
1
dec
.. 22
Number of input bytes available for transfer from the box to the controller.
dec
FIFO of the box and is lost.
of the box and is lost.
the box and is lost
1The initialization has been executed by the box.
0The box is ready again for serial data exchange.
toggleVia a change of state of this bit the box notifies the controller that the DataIn bytes
contain the number of bytes indicated via the IL bits. The controller has to acknowledge receipt of the data in the control byte via a change of state of bit CW.1 (RA).
Only then can new data be transferred from the box to the controller.
toggleThe box acknowledges the receipt of data by changing the state of this bit. Only then
can new data be transferred from the controller to the box.
FRAMING
ERR
PARITY
ERR
BUF_FIARR TA
EP6002-000214Version: 1.0
2.6Technology
Product overview
Fig.3: Level of RS232, RS422, RS485 interfaces
Data transfer rate
The process image contains 22bytes of user data. It is possible to transmit or receive these 22bytes every
second PLC cycle at the most:
• The data is transferred from the box to the controller in the first PLC cycle.
• In the second PLC cycle, the controller must acknowledge that it has accepted the data.
Therefore, if the cycle time is 10ms, 50times 22bytes can be transmitted per second.
If the data format is set to 8N1, each transmitted byte is made up of a start bit, eight data bits and a stop bit.
This is equivalent to 10bits per byte of user data.
With the above-mentioned settings, a continuous data transfer rate of:
• 50[1/s] x 22[bytes] x 10[bits] = 11000 baud (bit/s)
can be achieved.
The next lower standard data transfer rate is 9600baud. Accordingly, continuous transfer at a maximum
baud rate of 9600 can be secured with a cycle time of 10ms.
If only low quantities of data are transmitted or received sporadically (e.g. barcode scanner), the baud rate
can also be set higher, or the cycle time can be enlarged.
If the controller cannot collect the data quickly enough from the box, the data will be stored intermediately in
the internal buffer of the box. The buffer for received data has a size of 864bytes. If this is exhausted, all
further data will be lost.
A buffer is also available for the transmit data. With a baud rate of 300 and a data format of 8N1, the box can
only transmit 30bytes per second. However, if more than these 30bytes per second are received, a
128bytes transmit buffer will be written to first in this case also. Once this is full, all further data will be lost.
EP6002-000215Version: 1.0
Mounting and connection
119
126
23
30
26.5
13.5
Ø 3.5
3Mounting and connection
3.1Mounting
3.1.1Dimensions
Fig.4: Dimensions
All dimensions are given in millimeters.
Housing features
Housing materialPA6 (polyamide)
Sealing compoundpolyurethane
Mountingtwo fastening holes Ø3.5mm for M3
Metal partsbrass, nickel-plated
ContactsCuZn, gold-plated
Power feed throughmax. 4A
Installation positionvariable
Protection classIP65, IP66, IP67 (conforms to EN60529) when screwed together
Dimensions (HxWxD)approx. 126 x 30 x 26.5mm (without connectors)
EP6002-000216Version: 1.0
Mounting and connection
3.1.2Fixing
NOTE
Dirt during assembly
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-000217Version: 1.0
Mounting and connection
Plug
Feed-in
Socket
Forwarding
31
24
31
24
3.2Supply voltages
The EtherCAT Box is supplied with two supply voltages. The supply voltages are electrically isolated in the
EtherCAT Box.
• Control voltage U
• Peripheral voltage U
S
P
Redirection of the supply voltages
The IN and OUT power connections are bridged in the module (not IP204x-Bxxx and IE204x). The supply
voltages US and UP can thus easily be transferred from EtherCATBox to EtherCATBox.
NOTE
Pay attention to the maximum permissible current!
Pay attention also for the redirection of the supply voltages US and UP, the maximum permissible current for
M8 connectors of 4A must not be exceeded!
3.2.1Connectors
NOTE
Risk of confusion: supply voltages and EtherCAT
Defect possible through incorrect insertion.
• Observe the color coding of the connectors:
black: Supply voltages
green: EtherCAT
Fig.5: Connectors for supply voltages
Fig.6: M8 connector
ContactFunctionDescriptionCore color
1U
2U
3GND
4GND
1)
The core colors apply to cables of the type: Beckhoff ZK2020-xxxx-xxxx
S
P
S
P
Control voltageBrown
Peripheral voltageWhite
GND to U
GND to U
S
P
Blue
Black
1)
EP6002-000218Version: 1.0
Mounting and connection
Vert. Faktor: 0,45 cm / V
5101520
2
4
6
8
10
250
0
12
30
Vert. Faktor: 0,45 cm / V
Voltage drop (V)
Cable length (m)
35
0,25 mm²
0,34 mm²
0,5 mm²
0,75 mm²
I = 2 A
Vert. Faktor: 0,45 cm / V
5101520
2
4
6
8
10
250
0
12
30
Vert. Faktor: 0,45 cm / V
Voltage drop (V)
Cable length (m)
35
0,25 mm²
0,34 mm²
0,5 mm²
0,75 mm²
I = 4 A
3.2.2Status LEDs
Fig.7: Status LEDs for the power supply
LEDDisplayMeaning
US (control voltage)offSupply voltage, US, is not present
green illuminatedSupply voltage, US, is present
UP (peripheral voltage)offSupply voltage, UP, is not present
green illuminatedSupply voltage, UP, is present
3.2.3Conductor losses
Take into account the voltage drop on the supply line when planning a system. Avoid the voltage drop being
so high that the supply voltage at the box lies below the minimum nominal voltage.
Variations in the voltage of the power supply unit must also be taken into account.
Voltage drop on the supply line
EP6002-000219Version: 1.0
Mounting and connection
31
24
3.3EtherCAT
3.3.1Connectors
EtherCAT Box Modules have two green M8 sockets for the incoming and downstream EtherCAT
connections.
Fig.8: EtherCAT connector
Connection
Fig.9: M8 socket
EtherCATM8
SignalContactZB9010, ZB9020, ZB9030, ZB9032,
Tx +1yellow
Tx -4orange
Rx +2white
Rx -3blue
ShieldHousingShieldShieldShield
1)
Core colors according to EN61918
connector
Core colors
ZK1090-6292,
ZK1090-3xxx-xxxx
1)
1)
1)
1)
ZB9031 and old versions of
ZB9030, ZB9032, ZK1090-3xxxxxxx
orange/whitewhite/orange
orangeorange
blue/whitewhite/green
bluegreen
TIA-568B
Adaptation of core colors for cables ZB9030, ZB9032 and ZK1090-3xxxx-xxxx
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.
EP6002-000220Version: 1.0
Mounting and connection
3.3.2Status LEDs
Fig.10: EtherCAT status LEDs
L/A (Link/Act)
A green LED labelled "L/A" is located next to each EtherCAT socket. The LED indicates the communication
state of the respective socket:
LEDMeaning
offno connection to the connected EtherCAT device
litLINK: connection to the connected EtherCAT device
flashesACT: communication with the connected EtherCAT device
Run
Each EtherCAT slave has a green LED labelled "Run". The LED signals the status of the slave in the
EtherCAT network:
LEDMeaning
offSlave is in "Init" state
flashes uniformlySlave is in "Pre-Operational“ state
flashes sporadicallySlave is in "Safe-Operational" state
litSlave is in "Operational" state
Description of the EtherCAT slave states
3.3.3Cables
For connecting EtherCAT devices only shielded Ethernet cables that meet the requirements of at least
category5 (CAT5) according to EN50173 or ISO/IEC11801 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-000221Version: 1.0
Mounting and connection
1
2
3
4
5
X02X04
3.4RS232
3.4.1Connectors
Fig.11: M12 socket
M12 sockets X02 and X04
PinWire colorSignalDescription
1brown5V
2whiteTxDsend data
3blueGNDGround
4blackRxDreceive data
5greyShieldShield
DC
End device supply voltage
3.4.2Status LEDs
Fig.12: RS232 Status LEDs
LEDDisplayMeaning
R
left
T
right
green illuminated The serial port is ready to receive data.
orange illuminated The serial port is receiving data.
green illuminated The serial port is ready to transmit data.
orange illuminated The serial port is transmitting data.
EP6002-000222Version: 1.0
Mounting and connection
1
2
3
4
5
X01X03
3.5RS422 / RS485
3.5.1Connectors
Fig.13: M12 socket
M12 sockets X01 and X03
PinCore color
1brownTx-send data- / AInverted data line
2whiteTx+send data+ / BNon-inverted data line
3blueRx-receive datado not connect
4blackRx+receive datado not connect
5greyShieldShieldShieldShield
1)
RS422RS485
SignalDescriptionSignalDescription
RS485 bus structure - use termination resistors
A linear bus with more than two devices can be set-up in RS485 mode. To prevent reflections during the data transmission, it is necessary to terminate the line ends of the bus cable with resistors
(120 Ω).
Signal designations "A" and "B" are not clear
With some devices the designations of the data lines "A" and "B" are swapped.
3.5.2Status LEDs
Fig.14: RS422 / RS485 Status LEDs
LEDDisplayMeaning
R
left
T
right
green illuminated The serial port is ready to receive data.
orange illuminated The serial port is receiving data.
green illuminated The serial port is ready to transmit data.
orange illuminated The serial port is transmitting data.
EP6002-000223Version: 1.0
Mounting and connection
3.6UL Requirements
The installation of the EtherCAT Box Modules certified by UL has to meet the following requirements.
Supply voltage
CAUTION
CAUTION!
This UL requirements are valid for all supply voltages of all marked EtherCAT Box Modules!
For the compliance of the UL requirements the EtherCAT Box Modules should only be supplied
• by a 24 VDC supply voltage, supplied by an isolating source and protected by means of a fuse (in accordance with UL248), rated maximum 4 Amp, or
• by a 24 VDC power source, that has to satisfy NEC class 2.
A NEC class 2 power supply shall not be connected in series or parallel with another (class 2) power
source!
CAUTION
CAUTION!
To meet the UL requirements, the EtherCAT Box Modules must not be connected to unlimited power
sources!
Networks
CAUTION
CAUTION!
To meet the UL requirements, EtherCAT Box Modules must not be connected to telecommunication networks!
Ambient temperature range
CAUTION
CAUTION!
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
EP6002-000224Version: 1.0
Commissioning/Configuration
4Commissioning/Configuration
4.1Configuration in TwinCAT
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:
Via CoE objects the following settings can be done for the interfaces:
Parameterization
The module is parameterized via the CoE - Online tab (with a double-click on the corresponding object). Only the mandatory parameters for the respective interface mode are specified here. Further
settings may be possible.
4.2.1.1RS232
RS232: point-to-point connection to an RS232 device
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
IndexNameMeaningData typeFlagsSetting
F800:0nInterface Type Ch n0x00RS232BIT1RW0x00 (0
0x01RS485/422
(default)
)
dec
EP6002-000226Version: 1.0
Commissioning/Configuration
4.2.1.2RS422
RS422: 4-wire point-to-point connection to an RS422 device
Direct connection to an RS422 end device, full duplex data transmission.
Data can be transmitted in full duplex in RS422 mode. Only point-to-point connections can be established.
Fig.17: 4-wire point-to-point connection to an RS422 device
The following CoE objects must be set
IndexNameMeaningData typeFlags Setting
F800:0n Interface type
Ch n
0x00RS232BIT1RW0x01
0x01RS485/422
(1
dec
)
IndexNameMeaningData typeFlags Setting
80n0:07 Enable point-to-
point connection (RS422)
Channel n
0
The module is used in a bus structure in accordance with the RS485
bin
standard.
1
The module is used for a point-to-point connection (RS422).
bin
BOOLEAN RW1
bin
EP6002-000227Version: 1.0
Commissioning/Configuration
4.2.1.3RS485
You can operate the RS845 communication in two variants:
• Without diagnosis
• With diagnosis of the transmit data [}29]
RS485: 2-wire connection in bus structure to RS485 device(s)
Bus structure, half duplex data transmission
Fig.18: 2-wire connection in bus structure to RS485 device(s)
The following CoE objects must be set
IndexNameMeaningData typeFlags Setting
F800:0n Interface type
Ch n
0x00RS232BIT1RW0x01
(1
0x01RS485/422
dec
)
IndexNameMeaningData typeFlags Setting
80n0:06 Enable half du-
plex
channel n
0
Full duplex: transmitted data are monitored. The bit has no effect in
bin
RS232 and RS422 mode
1
Half duplex: The reception of the data transmitted by the box itself is
bin
suppressed
BOOLEAN RW1
bin
(default)
IndexNameMeaningData typeFlags Setting
80n0:07 Enable point-to-
point connection (RS422)
Channel n
0
The module is used in a bus structure in accordance with the RS485
bin
standard.
1
The module is used for a point-to-point connection (RS422).
bin
BOOLEAN RW0
bin
EP6002-000228Version: 1.0
Commissioning/Configuration
RS485: 2-wire connection with external bridge in bus structure to RS485 device(s)
Bus structure, half duplex data transmission with diagnosis of the transmitted data
Fig.19: 2-wire connection with external bridge in bus structure to RS485 device(s)
The following CoE objects must be set
IndexNameMeaningData typeFlags Setting
F800:0n Interface type
Ch n
IndexNameMeaningData typeFlags Setting
80n0:06 Enable half du-
plex
channel n
0x00RS232BIT1RW0x01
(1
0x01RS485/422
0
Full duplex: transmitted data are monitored. The bit has no effect in
bin
RS232 and RS422 mode
1
Half duplex: The reception of the data transmitted by the box itself is
bin
suppressed
BOOLEAN RW0
dec
bin
)
IndexNameMeaningData typeFlags Setting
80n0:07 Enable point-to-
point connection (RS422)
Channel n
0
The module is used in a bus structure in accordance with the RS485
bin
standard.
1
The module is used for a point-to-point connection (RS422).
bin
BOOLEAN RW0
bin
EP6002-000229Version: 1.0
Commissioning/Configuration
4.2.2Setting the interface parameters
The parameterization of the module can be set in the CoE (CAN over EtherCAT) list.
Parameterization via the CoE list (CAN over EtherCAT)
Please note the following general CoE notes when using/manipulating the CoE parameters: - Keep
a startup list if components have to be replaced - Differentiation between online/offline dictionary,
existence of current 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)
EP6002-000230Version: 1.0
Commissioning/Configuration
4.2.3Communication by PLC program
Sending data
You can transmit up to 22bytes of data to the module in one PLC cycle.
1. Write the data to be transmitted in the output variables DataOut0 ... DataOut21.
2. Set the Output Length parameter in the Control word [}14] to the number of bytes to be transmitted.
3. Toggle the Transmit Request bit in the Control word [}14].
ð The module acknowledges the data transmission in the Status word [}14] via the Transmit Accepted
parameter.
Receiving data
If the module toggles the Receive Request bit in the Status word [}14], this means that there are new
receive data.
1. Read the Input Length parameter from the Status word [}14]. It contains the number of bytes to be
received.
ð The data are provided in DataOut0 ... DataOut21. The first datum is contained in DataIn0.
2. After reading the data, acknowledge this by toggling the Receive Request bit in the Control word [}14].
The module only makes new data available after that.
Optimization of transfer rates
In normal operating mode the data received will be adopted immediately into the process image. In order to
enable a contiguous data stream, the "Enable transfer rate optimization" option in the Settings object is
activated by default. Due to this switch, the data will first be stored intermediately in the receive buffer
(864bytes).
The data will only be copied into the process image if no further character is received for 16 bit times or if the
buffer is full.
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
(128bytes) of the box can be filled first by setting this switch. After that the entire contents of the buffer can
be transmitted without interruption. To this end, data will be sent from the controller to the box as in a normal
transmission. The data from the buffer is only sent with a rising edge of the "Send continuous" bit. If the data
has been transferred, the box informs the controller by setting the "Init accepted" bit. "Init accepted" is
cleared with "SendContinuous".
Prioritization
Since received data normally cannot be repeated from the other transmitter, they have a higher priority in the
module than data to be transmitted.
Furthermore, the priority decreases as the channel number increases. Hence, the reception of data on
channel 1 has the highest priority.
EP6002-000231Version: 1.0
Commissioning/Configuration
4.2.3.1Samples
Initialization
Initialization is performed prior to the first transmission/reception. The module is thereby parameterized with
the data from the corresponding Settings object.
Procedure:
1. Set "Init request" to 1
2. The module confirms successful initialization by setting "Init accepted".
3. Reset "Init request"
4. The module sets "Init accepted" to 0.
The module is now ready for data exchange.
Data transmission from the controller to the module (send 2 characters)
1. Set "Output length" to 2
2. Fill "Data Out 0" and "Data Out 1" with user data
3. Change the state of "Transmit request"
4. The module acknowledges receipt by changing the state of the "Transmit accepted" bit.
Data transmission from the module to the controller (receive characters)
1. The module indicates that there is new data in the process image by changing the state of the "Receive 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”.
EP6002-000232Version: 1.0
Commissioning/Configuration
4.2.4Communication via a virtual COM port
Application Note DK9322-0411-0041 describes the communication via a virtual COM port.
EP6002-000233Version: 1.0
Commissioning/Configuration
4.3CoE objects
4.3.1Directory
Index (hex)Name
1000
1008
1009
100A
1011
1018
10F0
1400
1401
1404
1405
1600
1601
1604
1605
1800
1801
1804
1805
1A00
1A01
1A04
1A05
1C00
1C12
1C13
1C32
1C33
6000
6001
6010
6011
7000
7001
7010
7011
8000
8010
A000
A010
F000
F008
F010
F800
Device type [}38]
Device name [}38]
Hardware version [}38]
Software version [}38]
Restore default parameters [}35]
Identity [}38]
Backup parameter handling [}38]
COM RxPDO-Par Outputs Ch. 1 [}38]
COM RxPDO-Par Outputs Ch. 2 [}38]
COM RxPDO-Par Outputs Ch. 1 [}39]
COM RxPDO-Par Outputs Ch. 2 [}39]
COM RxPDO-Map Outputs Ch. 1 [}40]
COM RxPDO-Map Outputs Ch. 2 [}41]
COM RxPDO-Map Outputs Ch. 1 [}42]
COM RxPDO-Map Outputs Ch. 2 [}43]
COM TxPDO-Par Inputs Ch. 1 [}43]
COM TxPDO-Par Inputs Ch. 2 [}44]
COM TxPDO-Par Inputs Ch. 1 [}44]
COM TxPDO-Par Inputs Ch. 2 [}44]
COM TxPDO-Map Inputs Ch. 1 [}45]
COM TxPDO-Map Inputs Ch. 2 [}46]
COM TxPDO-Map Inputs Ch. 1 [}47]
DIG TxPDO-Map Inputs Ch. 2 [}48]
Sync manager type [}48]
RxPDO assign [}49]
TxPDO assign [}49]
SM output parameter [}50]
SM input parameter [}51]
COM Inputs Ch. 1 [}52]
Status Ch. 1 [}52]
COM Inputs Ch. 2 [}53]
Status Ch. 2 [}53]
COM Outputs Ch. 1 [}54]
Ctrl Ch. 1 [}54]
COM Outputs Ch. 2 [}55]
Ctrl Ch. 2 [}55]
COM Settings Ch. 1 [}36]
COM Settings Ch. 2 [}37]
COM Diag data Ch. 1 [}55]
COM Diag data Ch. 2 [}56]
Modular device profile [}56]
Code word [}56]
Module list [}56]
COM Settings [}37]
EP6002-000234Version: 1.0
4.3.2Object description and parameterization
EtherCAT XML Device Description
The display matches that of the CoE objects from the EtherCAT XML Device Description. We recommend downloading the latest XML file from the download area of the Beckhoff website and in-
stalling it according to installation instructions.
Parameterization via the CoE list (CAN over EtherCAT)
The EtherCAT device is parameterized via the CoE-Online tab (double-click on the respective object) or via the Process Data tab (allocation of PDOs). Please note the following general CoE notes
when using/manipulating the CoE parameters:
• Keep a startup list if components have to be replaced
• Differentiation between online/offline dictionary, existence of current XML description
• use “CoE reload” for resetting changes
Introduction
The CoE overview contains objects for different intended applications:
• Objects required for parameterization [}35] during commissioning
• Objects required for the selection of the interface type [}37]
• Objects intended for regular operation, e.g. through ADS access
• Objects for indicating internal settings [}37] (may be fixed)
• Further profile-specific objects [}51] indicating inputs, outputs and status information
Commissioning/Configuration
The following section first describes the objects required for normal operation, followed by a complete
overview of missing objects.
Objects to be parameterized during commissioning
Index 1011 Restore default parameters
Index (hex) NameMeaningData typeFlagsDefault
1011:0Restore default pa-
rameters
1011:01SubIndex 001If this object is set to "0x64616F6C" in the set value
Restore default settingsUINT8RO0x01 (1
UINT32RW0x00000000 (0
dialog, all backup objects are reset to their delivery
state.
)
dec
)
dec
EP6002-000235Version: 1.0
Commissioning/Configuration
Index 8000 COM Settings Ch.1
Index (hex) NameMeaningData typeFlagsDefault
8000:0COM Settings Ch.1UINT8RO0x1A (26
8000:02Enable XON/XOFF
supported tx data
8000:03Enable XON/XOFF
supported rx data
8000:04Enable send FIFO
data continuous
8000:05Enable transfer rate
optimization
8000:06Enable half duplexHalf duplex for RS485 mode (this bit is not evaluated
XON/XOFF is supported for send dataBOOLEANRW0x00 (0
XON/XOFF is supported for receive dataBOOLEANRW0x00 (0
Continuous sending of data from the FIFO enabledBOOLEANRW0x00 (0
Switch on the transfer rate optimizationBOOLEANRW0x01 (1
BOOLEANRW0x00 (0
in RS232 and RS422 mode)
0Full duplex: The module monitors its transmit-
ted data.
1Half duplex: The module does not monitor the
data that it has transmitted itself.
0The module is used in a bus structure in ac-
BOOLEANRW0x00 (0
cordance with the RS485 standard.
1The module is used as a point-to-point con-
nection (RS422)
0x01300 baud
0x02600 baud
0x031200 baud
0x042400 baud
0x054800 baud
0x069600 baud
0x0719200 baud
0x0838400 baud
0x0957600 baud
0x0A 115200 baud
0x017E1
0x027O1
0x038N1
0x048E1
0x058O1
0x097E2
0x0A 7O2
0x0B 8N2
0x0C 8E2
0x0D 8O2
The value specifies the number of data in the receive
UINT16RW0x0360 (864
FIFO, from which the bit "buffer full" is set.
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
Index F800 COM Settings
Index (hex) NameMeaningData typeFlagsDefault
F800:0COM SettingsUINT8RO0x03 (3
F800:01Interface Type Ch 1 0x00RS232BIT1RW0x00 (0
0x01RS485/422
F800:02Interface Type Ch 2 0x00RS232BIT1RW0x00 (0
0x01RS485/422
Additional objects
Standard objects (0x1000-0x1FFF)
The standard objects have the same meaning for all EtherCAT slaves.
EP6002-000237Version: 1.0
)
dec
)
dec
)
dec
Commissioning/Configuration
Index 1000 Device type
Index (hex) NameMeaningData typeFlagsDefault
1000:0Device typeDevice type of the EtherCAT slave: The Lo-Word con-
tains the CoE profile used (5001). The Hi-Word con-
UINT32RO0x02581389
(39326601
tains the module profile according to the modular device profile.
Index 1008 Device name
Index (hex) NameMeaningData typeFlagsDefault
1008:0Device nameDevice name of the EtherCAT slaveSTRINGROEP6002-0002
Index 1009 Hardware version
Index (hex) NameMeaningData typeFlagsDefault
1009:0Hardware versionHardware version of the EtherCAT slaveSTRINGRO00
Index 100A Software Version
Index (hex) NameMeaningData typeFlagsDefault
100A:0Software versionFirmware version of the EtherCAT slaveSTRINGRO00
)
dec
Index 1018 Identity
Index (hex) NameMeaningData typeFlagsDefault
1018:0IdentityInformation for identifying the slaveUINT8RO0x04 (4
)
dec
1018:01Vendor IDVendor ID of the EtherCAT slaveUINT32RO0x00000002 (2
1018:02Product codeProduct code of the EtherCAT slaveUINT32RO0x17724052
(393363538
1018:03RevisionRevision numberof the EtherCAT slave; the Low Word
(bit 0-15) indicates the special terminal number, the
High Word (bit 16-31) refers to the device description
1018:04Serial numberSerial number of the EtherCAT slave; the Low Byte (bit
UINT32RO0x00100002
(1048578
)
dec
UINT32RO0x00000000 (0
0-7) of the Low Word contains the year of production,
the High Byte (bit 8-15) of the Low Word contains the
week of production, the High Word (bit 16-31) is 0
Index 10F0 Backup parameter handling
Index (hex) NameMeaningData typeFlagsDefault
10F0:0Backup parameter
handling
10F0:01ChecksumChecksum across all backup entries of the EtherCAT
Information for standardized loading and saving of
backup entries
UINT8RO0x01 (1
)
dec
UINT32RO0x00000000 (0
slave
Index 1400 COM RxPDO-Par Outputs Ch.1
Index (hex) NameMeaningData typeFlagsDefault
1400:0COM RxPDO-Par
Outputs Ch.1
1400:06Exclude RxPDOsSpecifies the RxPDOs (index of RxPDO mapping ob-
PDO Parameter RxPDO 1UINT8RO0x06 (6
jects) that must not be transferred together with Rx-
OCTET-
STRING[2]
RO04 16
PDO 1
)
dec
)
dec
)
dec
)
dec
)
dec
Index 1401 COM RxPDO-Par Outputs Ch.2
Index (hex) NameMeaningData typeFlagsDefault
1401:0COM RxPDO-Par
PDO Parameter RxPDO 2UINT8RO0x06 (6
Outputs Ch.2
1401:06Exclude RxPDOsSpecifies the RxPDOs (index of RxPDO mapping ob-
jects) that must not be transferred together with Rx-
OCTET-
STRING[2]
RO05 16
PDO 2
EP6002-000238Version: 1.0
)
dec
Commissioning/Configuration
Index 1404 COM RxPDO-Par Outputs Ch.1
Index (hex) NameMeaningData typeFlags Default
1404:0COM RxPDO-Par
Outputs Ch.1
1404:06Exclude RxPDOsSpecifies the RxPDOs (index of RxPDO mapping ob-
PDO Parameter RxPDO 5UINT8RO0x06 (6
jects) that must not be transferred together with RxPDO 5
OCTET-
STRING[2]
RO00 16
Index 1405 COM RxPDO-Par Outputs Ch.2
Index (hex) NameMeaningData typeFlags Default
1405:0COM RxPDO-Par
Outputs Ch.2
1405:06Exclude RxPDOsSpecifies the RxPDOs (index of RxPDO mapping ob-
PDO Parameter RxPDO 6UINT8RO0x06 (6
jects) that must not be transferred together with RxPDO 6
1C12:01Subindex 0011. allocated RxPDO (contains the index of the associ-
UINT16RW0x1604 (5636
ated RxPDO mapping object)
1C12:02Subindex 0022. allocated RxPDO (contains the index of the associ-
UINT16RW0x1605 (5637
ated RxPDO mapping object)
Index 1C13 TxPDO assign
Index (hex) NameMeaningData typeFlags Default
1C13:0TxPDO assignPDO Assign InputsUINT8RW0x02 (2
1C13:01Subindex 0011. allocated TxPDO (contains the index of the associ-
ated TxPDO mapping object)
1C13:02Subindex 0022. allocated TxPDO (contains the index of the associ-
ated TxPDO mapping object)
UINT16RW0x1A04 (6660
UINT16RW0x1A05 (6661
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
EP6002-000249Version: 1.0
Commissioning/Configuration
Index 1C32 SM output parameter
Index (hex) NameMeaningData typeFlags Default
1C32:0SM output parame-
ter
1C32:01Sync modeCurrent synchronization mode:
1C32:02Cycle timeCycle time (in ns):
1C32:03Shift timeTime between SYNC0 event and output of the outputs
1C32:04Sync modes sup-
ported
1C32:05Minimum cycle time Minimum cycle time (in ns)UINT32RO0x00002710
1C32:06Calc and copy time Minimum time between SYNC0 and SYNC1 event (in
1C32:07Minimum delay timeUINT32RO0x00000384
1C32:08Command• 0: Measurement of the local cycle time is
1C32:09Maximum Delay
time
1C32:0BSM event missed
counter
1C32:0CCycle exceeded
counter
1C32:0DShift too short
counter
1C32:20Sync errorThe synchronization was not correct in the last cycle
Synchronization parameters for the outputsUINT8RO0x20 (32
UINT16RW0x0000 (0
• 0: Free Run
• 1: Synchron with SM 2 Event
• 2: DC-Mode - Synchron with SYNC0 Event
• 3: DC-Mode - Synchron with SYNC1 Event
UINT32RW0x000F4240
• Free Run: Cycle time of the local timer
(1000000
• Synchron with SM 2 Event: Master cycle time
• DC mode: SYNC0/SYNC1 Cycle Time
UINT32RO0x00000384
(in ns, DC mode only)
Supported synchronization modes:
UINT16RO0xC007 (49159
(900
dec
• Bit 0 = 1: free run is supported
• Bit 1 = 1: Synchron with SM 2 Event is supported
• Bit 2-3 = 01: DC mode is supported
• Bit 4-5 = 10: Output Shift with SYNC1 event
(only DC mode)
• Bit 14 = 1: dynamic times (measurement through
writing of 1C32:08 [}50])
(10000
UINT32RO0x00000000 (0
ns, DC mode only)
(900
dec
UINT16RW0x0000 (0
stopped
• 1: Measurement of the local cycle time is started
The entries 1C32:03 [}50], 1C32:05 [}50], 1C32:06
[}50], 1C32:09 [}50], 1C33:03 [}51], 1C33:06
[}50], 1C33:09 [}51] are updated with the maximum
measured values.
For a subsequent measurement the measured values
are reset
Time between SYNC1 event and output of the outputs
(in ns, DC mode only)
Number of missed SM events in OPERATIONAL (DC
UINT32RO0x00000384
(900
dec
UINT16RO0x0000 (0
mode only)
Number of occasions the cycle time was exceeded in
UINT16RO0x0000 (0
OPERATIONAL (cycle was not completed in time or the
next cycle began too early)
Number of occasions that the interval between SYNC0
UINT16RO0x0000 (0
and SYNC1 event was too short (DC mode only)
BOOLEANRO0x00 (0
(outputs were output too late; DC mode only)
dec
)
dec
)
)
dec
)
)
dec
)
dec
)
dec
)
)
dec
)
dec
)
dec
)
dec
)
dec
)
EP6002-000250Version: 1.0
Commissioning/Configuration
Index 1C33 SM input parameter
Index (hex) NameMeaningData typeFlags Default
1C33:0SM input parameter Synchronization parameters for the inputsUINT8RO0x20 (32
1C33:01Sync modeCurrent synchronization mode:
UINT16RW0x0000 (0
• 0: Free Run
• 1: Synchron with SM 3 Event (no outputs
available)
• 2: DC - Synchron with SYNC0 Event
• 3: DC - Synchron with SYNC1 Event
• 34: Synchron with SM 2 Event (outputs
available)
1C33:02Cycle time
as 1C32:02 [}50]
1C33:03Shift timeTime between SYNC0 event and reading of the inputs
(in ns, only DC mode)
1C33:04Sync modes sup-
ported
Supported synchronization modes:
• Bit 0: free run is supported
UINT32RW0x000F4240
(1000000
UINT32RO0x00000384
(900
UINT16RO0xC007 (49159
• Bit 1: Synchron with SM 2 Event is supported
(outputs available)
• Bit 1: Synchron with SM 3 Event is supported (no
outputs available)
• Bit 2-3 = 01: DC mode is supported
• Bit 4-5 = 01: Input Shift through local event
(outputs available)
• Bit 4-5 = 10: Input Shift with SYNC1 event (no
outputs available)
• Bit 14 = 1: dynamic times (measurement through
writing of 1C32:08 [}50] or 1C33:08 [}51])
1C33:05Minimum cycle time
as 1C32:05 [}50]
1C33:06Calc and copy time Time between reading of the inputs and availability of
UINT32RO0x00002710
(10000
UINT32RO0x00000000 (0
the inputs for the master (in ns, only DC mode)
1C33:07Minimum delay timeUINT32RO0x00000384
(900
1C33:08Command
1C33:09Maximum Delay
time
1C33:0BSM event missed
counter
1C33:0CCycle exceeded
counter
1C33:0DShift too short
counter
1C33:20Sync error
as 1C32:08 [}50]
Time between SYNC1 event and reading of the inputs
(in ns, only DC mode)
as 1C32:11 [}50]
as 1C32:12 [}50]
as 1C32:13 [}50]
as 1C32:32 [}50]
UINT16RW0x0000 (0
UINT32RO0x00000384
(900
UINT16RO0x0000 (0
UINT16RO0x0000 (0
UINT16RO0x0000 (0
BOOLEANRO0x00 (0
dec
)
dec
dec
)
dec
)
dec
dec
)
)
dec
)
dec
)
dec
)
)
dec
)
dec
)
dec
)
dec
)
dec
)
Profile-specific objects (0x6000-0xFFFF)
The profile-specific objects have the same meaning for all EtherCAT slaves that support the profile 5001.
EP6002-000251Version: 1.0
Commissioning/Configuration
Index 6000 COM Inputs Ch.1
Index (hex) NameMeaningData typeFlags Default
6000:0COM Inputs Ch.1UINT8RO0x26 (38
6000:01Transmit acceptedThe module acknowledges receipt of data by changing
the state of this bit
6000:02Receive requestBy changing the state of this bit, the module informs the
controller that the DataIn bytes contain the number of
bytes displayed in "Input length"
6000:03Init AcceptedThe initialization is carried out from the terminalBOOLEANRO0x00 (0
6000:04Buffer fullThe receive FIFO is fullBOOLEANRO0x00 (0
6000:05Parity errorA parity error has occurredBOOLEANRO0x00 (0
6000:06Framing errorA framing error has occurredBOOLEANRO0x00 (0
6000:07Overrun errorAn overrun error has occurredBOOLEANRO0x00 (0
6000:09Input lengthNumber of input bytes available for transfer from the ter-
minal to the controller
6000:11Data In 0Input dataUINT8RO0x00 (0
6000:12Data In 1Input dataUINT8RO0x00 (0
6000:13Data In 2Input dataUINT8RO0x00 (0
6000:14Data In 3Input dataUINT8RO0x00 (0
6000:15Data In 4Input dataUINT8RO0x00 (0
6000:16Data In 5Input dataUINT8RO0x00 (0
6000:17Data In 6Input dataUINT8RO0x00 (0
6000:18Data In 7Input dataUINT8RO0x00 (0
6000:19Data In 8Input dataUINT8RO0x00 (0
6000:1AData In 9Input dataUINT8RO0x00 (0
6000:1BData In 10Input dataUINT8RO0x00 (0
6000:1CData In 11Input dataUINT8RO0x00 (0
6000:1DData In 12Input dataUINT8RO0x00 (0
6000:1EData In 13Input dataUINT8RO0x00 (0
6000:1FData In 14Input dataUINT8RO0x00 (0
6000:20Data In 15Input dataUINT8RO0x00 (0
6000:21Data In 16Input dataUINT8RO0x00 (0
6000:22Data In 17Input dataUINT8RO0x00 (0
6000:23Data In 18Input dataUINT8RO0x00 (0
6000:24Data In 19Input dataUINT8RO0x00 (0
6000:25Data In 20Input dataUINT8RO0x00 (0
6000:26Data In 21Input dataUINT8RO0x00 (0
BOOLEANRO0x00 (0
BOOLEANRO0x00 (0
UINT8RO0x00 (0
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
Index 6001 Status Ch.1
Index (hex) NameMeaningData typeFlags Default
6001:0Status Ch.1UINT8RO0x01 (1
6001:01StatusStatus word for compatible process imageUINT16RO0x0000 (0
EP6002-000252Version: 1.0
)
dec
)
dec
Commissioning/Configuration
Index 6010 COM Inputs Ch.2
Index (hex) NameMeaningData typeFlags Default
6010:0COM Inputs Ch.2UINT8RO0x26 (38
6010:01Transmit acceptedThe module acknowledges receipt of data by changing
the state of this bit
6010:02Receive requestBy changing the state of this bit, the module informs the
controller that the DataIn bytes contain the number of
bytes displayed in "Input length"
6010:03Init AcceptedThe initialization is carried out from the terminalBOOLEANRO0x00 (0
6010:04Buffer fullThe receive FIFO is fullBOOLEANRO0x00 (0
6010:05Parity errorA parity error has occurredBOOLEANRO0x00 (0
6010:06Framing errorA framing error has occurredBOOLEANRO0x00 (0
6010:07Overrun errorAn overrun error has occurredBOOLEANRO0x00 (0
6010:09Input lengthNumber of input bytes available for transfer from the ter-
minal to the controller
6010:11Data In 0Input dataUINT8RO0x00 (0
6010:12Data In 1Input dataUINT8RO0x00 (0
6010:13Data In 2Input dataUINT8RO0x00 (0
6010:14Data In 3Input dataUINT8RO0x00 (0
6010:15Data In 4Input dataUINT8RO0x00 (0
6010:16Data In 5Input dataUINT8RO0x00 (0
6010:17Data In 6Input dataUINT8RO0x00 (0
6010:18Data In 7Input dataUINT8RO0x00 (0
6010:19Data In 8Input dataUINT8RO0x00 (0
6010:1AData In 9Input dataUINT8RO0x00 (0
6010:1BData In 10Input dataUINT8RO0x00 (0
6010:1CData In 11Input dataUINT8RO0x00 (0
6010:1DData In 12Input dataUINT8RO0x00 (0
6010:1EData In 13Input dataUINT8RO0x00 (0
6010:1FData In 14Input dataUINT8RO0x00 (0
6010:20Data In 15Input dataUINT8RO0x00 (0
6010:21Data In 16Input dataUINT8RO0x00 (0
6010:22Data In 17Input dataUINT8RO0x00 (0
6010:23Data In 18Input dataUINT8RO0x00 (0
6010:24Data In 19Input dataUINT8RO0x00 (0
6010:25Data In 20Input dataUINT8RO0x00 (0
6010:26Data In 21Input dataUINT8RO0x00 (0
BOOLEANRO0x00 (0
BOOLEANRO0x00 (0
UINT8RO0x00 (0
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
Index 6011 Status Ch.2
Index (hex) NameMeaningData typeFlags Default
6011:0Status Ch.2UINT8RO0x01 (1
6011:01StatusStatus word for compatible process imageUINT16RO0x0000 (0
EP6002-000253Version: 1.0
)
dec
)
dec
Commissioning/Configuration
Index 7000 COM Outputs Ch.1
Index (hex) NameMeaningData typeFlags Default
7000:0COM Outputs Ch.1UINT8RO0x26 (38
7000:01Transmit requestBy changing the state of this bit, the controller informs
the terminal that the DataOut bytes contain the number
of bytes displayed in "Output length".
7000:02Receive acceptedThe controller acknowledges receipt of data by chang-
ing the state of this bit.
7000:03Init requestThe controller requests the module to initialize.BOOLEANRO0x00 (0
7000:04Send continuousContinuous sending of data from the FIFO.BOOLEANRO0x00 (0
7000:09Output lengthNumber of output bytes available for transfer from the
controller to the terminal.
7000:11Data Out 0Output dataUINT8RO0x00 (0
7000:12Data Out 1Output dataUINT8RO0x00 (0
7000:13Data Out 2Output dataUINT8RO0x00 (0
7000:14Data Out 3Output dataUINT8RO0x00 (0
7000:15Data Out 4Output dataUINT8RO0x00 (0
7000:16Data Out 5Output dataUINT8RO0x00 (0
7000:17Data Out 6Output dataUINT8RO0x00 (0
7000:18Data Out 7Output dataUINT8RO0x00 (0
7000:19Data Out 8Output dataUINT8RO0x00 (0
7000:1AData Out 9Output dataUINT8RO0x00 (0
7000:1BData Out 10Output dataUINT8RO0x00 (0
7000:1CData Out 11Output dataUINT8RO0x00 (0
7000:1DData Out 12Output dataUINT8RO0x00 (0
7000:1EData Out 13Output dataUINT8RO0x00 (0
7000:1FData Out 14Output dataUINT8RO0x00 (0
7000:20Data Out 15Output dataUINT8RO0x00 (0
7000:21Data Out 16Output dataUINT8RO0x00 (0
7000:22Data Out 17Output dataUINT8RO0x00 (0
7000:23Data Out 18Output dataUINT8RO0x00 (0
7000:24Data Out 19Output dataUINT8RO0x00 (0
7000:25Data Out 20Output dataUINT8RO0x00 (0
7000:26Data Out 21Output dataUINT8RO0x00 (0
BOOLEANRO0x00 (0
BOOLEANRO0x00 (0
UINT8RO0x00 (0
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
Index 7001 Ctrl Ch.1
Index (hex) NameMeaningData typeFlags Default
7001:0Ctrl Ch.1UINT8RO0x01 (1
7001:01CtrlControl word for compatible process imageUINT16RO0x0000 (0
)
dec
)
dec
EP6002-000254Version: 1.0
Commissioning/Configuration
Index 7010 COM Outputs Ch.2
Index (hex) NameMeaningData typeFlags Default
7010:0COM Outputs Ch.2UINT8RO0x26 (38
7010:01Transmit requestBy changing the state of this bit, the controller informs
the terminal that the DataOut bytes contain the number
of bytes displayed in "Output length".
7010:02Receive acceptedThe controller acknowledges receipt of data by chang-
ing the state of this bit.
7010:03Init requestThe controller requests the module to initialize.BOOLEANRO0x00 (0
7010:04Send continuousContinuous sending of data from the FIFO.BOOLEANRO0x00 (0
7010:09Output lengthNumber of output bytes available for transfer from the
controller to the terminal.
7010:11Data Out 0Output dataUINT8RO0x00 (0
7010:12Data Out 1Output dataUINT8RO0x00 (0
7010:13Data Out 2Output dataUINT8RO0x00 (0
7010:14Data Out 3Output dataUINT8RO0x00 (0
7010:15Data Out 4Output dataUINT8RO0x00 (0
7010:16Data Out 5Output dataUINT8RO0x00 (0
7010:17Data Out 6Output dataUINT8RO0x00 (0
7010:18Data Out 7Output dataUINT8RO0x00 (0
7010:19Data Out 8Output dataUINT8RO0x00 (0
7010:1AData Out 9Output dataUINT8RO0x00 (0
7010:1BData Out 10Output dataUINT8RO0x00 (0
7010:1CData Out 11Output dataUINT8RO0x00 (0
7010:1DData Out 12Output dataUINT8RO0x00 (0
7010:1EData Out 13Output dataUINT8RO0x00 (0
7010:1FData Out 14Output dataUINT8RO0x00 (0
7010:20Data Out 15Output dataUINT8RO0x00 (0
7010:21Data Out 16Output dataUINT8RO0x00 (0
7010:22Data Out 17Output dataUINT8RO0x00 (0
7010:23Data Out 18Output dataUINT8RO0x00 (0
7010:24Data Out 19Output dataUINT8RO0x00 (0
7010:25Data Out 20Output dataUINT8RO0x00 (0
7010:26Data Out 21Output dataUINT8RO0x00 (0
BOOLEANRO0x00 (0
BOOLEANRO0x00 (0
UINT8RO0x00 (0
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
Index 7011 Ctrl Ch.2
Index (hex) NameMeaningData typeFlags Default
7011:0Ctrl Ch.2UINT8RO0x01 (1
7011:01CtrlControl word for compatible process imageUINT16RO0x0000 (0
Index A000 COM Diag data Ch.1
Index (hex) NameMeaningData typeFlags Default
A000:0COM Diag data
Ch.1
A000:01Buffer overflowA buffer overflow has occurred.BOOLEANRO0x00 (0
A000:02Parity errorA parity error has occurred.BOOLEANRO0x00 (0
A000:03Framing errorA framing error has occurred.BOOLEANRO0x00 (0
A000:04Overrun errorAn overrun error has occurred.BOOLEANRO0x00 (0
A000:05Buffer fullThe receive FIFO is full.BOOLEANRO0x00 (0
A000:11Data bytes in send
Number of data bytes in the send FIFOUINT16RO0x0000 (0
buffer
A000:21Data bytes in re-
Number of data bytes in the receive FIFOUINT16RO0x0000 (0
ceive buffer
UINT8RO0x21 (33
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
EP6002-000255Version: 1.0
Commissioning/Configuration
Index A010 COM Diag data Ch.2
Index (hex) NameMeaningData typeFlags Default
A010:0COM Diag data
UINT8RO0x21 (33
Ch.2
A010:01Buffer overflowA buffer overflow has occurred.BOOLEANRO0x00 (0
A010:02Parity errorA parity error has occurred.BOOLEANRO0x00 (0
A010:03Framing errorA framing error has occurred.BOOLEANRO0x00 (0
A010:04Overrun errorAn overrun error has occurred.BOOLEANRO0x00 (0
A010:05Buffer fullThe receive FIFO is full.BOOLEANRO0x00 (0
A010:11Data bytes in send
Number of data bytes in the send FIFOUINT16RO0x0000 (0
buffer
A010:21Data bytes in re-
Number of data bytes in the receive FIFOUINT16RO0x0000 (0
ceive buffer
Index F000 Modular device profile
Index (hex) NameMeaningData typeFlags Default
F000:0Modular device pro-
file
F000:01Module index dis-
tance
F000:02Maximum number of
modules
General information for the modular device profileUINT8RO0x02 (2
Index distance of the objects of the individual channels UINT16RO0x0010 (16
Number of channelsUINT16RO0x0002 (2
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
)
dec
Index F008 Code word
Index (hex) NameMeaningData typeFlags Default
F008:0Code wordUINT32RW0x00000000 (0
Index F010 Module list
Index (hex) NameMeaningData typeFlags Default
F010:0Module listUINT8RW0x02 (2
F010:01SubIndex 001UINT32RW0x00000258
(600
F010:02SubIndex 002UINT32RW0x00000258
(600
)
dec
)
dec
)
dec
)
dec
EP6002-000256Version: 1.0
Commissioning/Configuration
4.4Restoring the delivery state
To restore the delivery state for backup objects in ELxxxx terminals / EPxxxx- and EPPxxxx boxes, the CoE
object Restore default parameters, SubIndex 001 can be selected in the TwinCAT System Manager (Config
mode).
Fig.21: Selecting the Restore default parameters PDO
Double-click on SubIndex 001 to enter the Set Value dialog. Enter the value 1684107116 in field Dec or the
value 0x64616F6C in field Hex and confirm with OK.
All backup objects are reset to the delivery state.
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-000257Version: 1.0
Commissioning/Configuration
4.5Decommissioning
WARNING
Risk of electric shock!
Bring the bus system into a safe, de-energized state before starting disassembly of the devices!
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 & Co. KG
Service Department
Stahlstraße 31
D-33415 Verl
EP6002-000258Version: 1.0
Appendix
5Appendix
5.1General operating conditions
Protection degrees (IP-Code)
The standard IEC 60529 (DIN EN 60529) defines the degrees of protection in different classes.
1. Number: dust protection and
touch guard
0Non-protected
1Protected against access to hazardous parts with the back of a hand. Protected against solid
2Protected against access to hazardous parts with a finger. Protected against solid foreign ob-
3Protected against access to hazardous parts with a tool. Protected against solid foreign objects
4Protected against access to hazardous parts with a wire. Protected against solid foreign objects
5Protected against access to hazardous parts with a wire. Dust-protected. Intrusion of dust is not
6Protected against access to hazardous parts with a wire. Dust-tight. No intrusion of dust.
Definition
foreign objects of Ø50mm
jects of Ø12.5mm.
Ø2.5mm.
Ø1mm.
totally prevented, but dust shall not penetrate in a quantity to interfere with satisfactory operation
of the device or to impair safety.
2. Number: water* protectionDefinition
0Non-protected
1Protected against water drops
2Protected against water drops when enclosure tilted up to 15°.
3Protected against spraying water. Water sprayed at an angle up to 60° on either side of the ver-
4Protected against splashing water. Water splashed against the disclosure from any direction
5Protected against water jets
6Protected against powerful water jets
7Protected against the effects of temporary immersion in water. Intrusion of water in quantities
tical shall have no harmful effects.
shall have no harmful effects
causing harmful effects shall not be possible when the enclosure is temporarily immersed in water for 30min. in 1m depth.
*) These protection classes define only protection against water!
Chemical Resistance
The Resistance relates to the Housing of the IP 67 modules and the used metal parts. In the table below you
will find some typical resistance.
CharacterResistance
Steamat temperatures >100°C: not resistant
Sodium base liquor
(ph-Value > 12)
Acetic acidnot resistant
Argon (technical clean)resistant
at room temperature: resistant
> 40°C: not resistant
Key
• resistant: Lifetime several months
• non inherently resistant: Lifetime several weeks
• not resistant: Lifetime several hours resp. early decomposition
EP6002-000259Version: 1.0
Appendix
5.2EtherCAT Box- / EtherCATPBox - Accessories
Fixing
Ordering informationDescription
ZS5300-0001Mounting rail (500mmx129mm)
Marking material, plugs
Ordering informationDescription
ZS5000-0000Fieldbus Box set M8 (contact labels, plugs)
ZS5000-0002Fieldbus Box set M12 (contact labels, plugs)
ZS5000-0010plugs M8, IP67 (50 pieces)
ZS5000-0020plugs M12, IP67 (50 pieces)
ZS5100-0000marking labels, not printed, 4 stripes at 10 pieces
ZS5100-xxxxprinted marking labels, on request
Tools
Ordering informationDescription
ZB8800torque wrench for M8 cables with knurl, incl. ratchet
ZB8800-0001M12 ratchet for torque wrench ZB8800
ZB8800-0002M8 ratchet (field assembly) for torque wrench ZB8800
ZB8801-0000torque wrench for hexagonal plugs, adjustable
ZB8801-0001torque cable key, M8/wrench size 9, for torque wrench ZB8801-0000
ZB8801-0002torque cable key, M12/wrench size 13, for torque wrench ZB8801-0000
ZB8801-0003torque 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 internet under https://www.beckhoff.com
EP6002-000260Version: 1.0
Appendix
5.3General note on the introduction of the Beckhoff
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.
The introduction of the Data Matrix Code (called BIC [Beckhoff Identification Code] at Beckhoff) is taking
place gradually across all product groups.
The information in the BICs is oriented to the ANSI standard MH10.8.2-2016
Representation and contents of the BIC
The BIC can be found in the following places, depending on the product:
• on the packaging unit
• directly on the product (if space suffices)
• on the packaging unit and the product
The BIC is readable and contains information that you can use for your internal handling and administration
of the products. When scanning the BICs you will find the following information:
Coded information on the BIC
Item
no.
1Beckhoff order numberBeckhoff order number
2Beckhoff Traceability
3Article descriptionBeckhoff article description, e.g. EL1008
4QuantityQuantity in packaging unit, e.g. 1, 10, etc.
5Batch numberOptional: Year and week of production
6ID/serial numberOptional: Present-day serial number system, e.g. with safety
7Variant numberOptional: Product variant number on the basis of standard products
8DatecodeInternal
9Job/batch numberInternal
10Serial numberInternal
...
Each item of information is clearly identifiable on the basis of the data identifier (ANSI MH10.8.2-2016). The
data identifier is followed by a character string. Both together have a maximum length according to the
following table. If the items of information are shorter, they are replaced by spaces. The data under positions
1-4 always exist (temporary restriction, see BTN below).
Example of an item of information made up of positions 1 – 4 and 6. The data identifiers are each marked in
red for clearer illustration:
BTN
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.
EP6002-000262Version: 1.0
Appendix
5.4Support and Service
Beckhoff and their partners around the world offer comprehensive support and service, making available fast
and competent assistance with all questions related to Beckhoff products and system solutions.
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.
Support offers you comprehensive technical assistance, helping you not only with the application of
individual Beckhoff products, but also with other, wide-ranging services:
• support
• design, programming and commissioning of complex automation systems
• and extensive training program for Beckhoff system components