Section I – Technology
(Online at http://www.beckhoff.com)
Section II – Register Description
Register overview and detailed
description
Section III – Hardware Description
(Online at http://www.beckhoff.com)
Version 2.7
Date: 2013-07-01
DOCUMENT ORGANIZATION
Trademarks
Beckhoff®, TwinCAT®, EtherCAT®, Safety over EtherCAT®, TwinSAFE® and XFC® 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 German patent applications and patents:
DE10304637, DE102004044764, DE102005009224, DE102007017835 with corresponding applications or registrations in
various other countries.
Disclaimer
The documentation has been prepared with care. The products described are, however, constantly under development. For that
reason the documentation is not in every case checked for consistency with performance data, standards or other
characteristics. In the event that it contains technical or editorial errors, we retain the right to make alterations at any time and
without warning. 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.
The Beckhoff EtherCAT Slave Controller (ESC) documentation covers the following Beckhoff ESCs:
ET1200
ET1100
EtherCAT IP Core for Altera® FPGAs
EtherCAT IP Core for Xilinx® FPGAs
ESC20
The documentation is organized in three sections. Section I and section II are common for all Beckhoff
ESCs, Section III is specific for each ESC variant.
The latest documentation is available at the Beckhoff homepage (http://www.beckhoff.com).
Section I – Technology (All ESCs)
Section I deals with the basic EtherCAT technology. Starting with the EtherCAT protocol itself, the
frame processing inside EtherCAT slaves is described. The features and interfaces of the physical
layer with its two alternatives Ethernet and EBUS are explained afterwards. Finally, the details of the
functional units of an ESC like FMMU, SyncManager, Distributed Clocks, Slave Information Interface,
Interrupts, Watchdogs, and so on, are described.
Since Section I is common for all Beckhoff ESCs, it might describe features which are not available in
a specific ESC. Refer to the feature details overview in Section III of a specific ESC to find out which
features are available.
Section II – Register Description (All ESCs)
Section II contains detailed information about all ESC registers. This section is also common for all
Beckhoff ESCs, thus registers, register bits, or features are described which might not be available in
a specific ESC. Refer to the register overview and to the feature details overview in Section III of a
specific ESC to find out which registers and features are available.
Section III – Hardware Description (Specific ESC)
Section III is ESC specific and contains detailed information about the ESC features, implemented
registers, configuration, interfaces, pinout, usage, electrical and mechanical specification, and so on.
Especially the Process Data Interfaces (PDI) supported by the ESC are part of this section.
Additional Documentation
Application notes and utilities like pinout configuration tools for ET1100/ET1200 can also be found at
the Beckhoff homepage.
II-II Slave Controller – Register Description
DOCUMENT HISTORY
Version
Comment
1.0
Initial release
1.1
Latch0/1 state register bit 0x09AE.2 and 0x09AF.2 added (ET1100 and IP
Core)
On-chip Bus configuration for Avalon®: Extended PDI configuration register
0x0152[1:0] added
1.2
On-chip Bus configuration: Extended PDI configuration register 0x0152[1:0]
now valid for both Avalon and OPB
ESC DL Status: PDI Watchdog Status constantly 1 for ESC10
EEPROM Control/Status: Selected EEPROM Algorithm not readable for
ESC10/20
1.3
EEPROM/MII Management Interface: Added self-clearing feature of command
register
SPI extended configuration (0x0152:0x0153): Reset Value is EEPROM ADR
0x0003, not 0x0001
ESC DL Control (0x0100.0): Added details about Source MAC address change
Power-On Values ET1100 (0x0E000): P_CONF does not correspond with
physical ports
1.4
Sync/Latch PDI configuration register: Latch configuration clarified
AL Control register: mailbox behavior described
Editorial changes
1.5
ESC DL Control (0x0100:0x0103): FIFO Size description enhanced
IP Core: Extended Features (reset value of User RAM 0x0F80:0x0FFF) added
MII Management Interface: Write access by PDI is only possible for ET1100 if
Transparent Mode is enabled. Corrected register read/write descriptions.
MII Management Control/Status register (0x0510:0x0511): Error bit description
clarified. Write Enable bit is self-clearing.
ESC DL Control (0x0100:0x0103): Temporary setting DL not available for
ESC10/20
EEPROM PDI Access State register (0x0501): write access depends on
EEPROM configuration
EEPROM Control/Status register (0x0502:0x0503): Error bit description
clarified. Write Enable bit is self-clearing.
Registers initialized from EEPROM have Reset value 0, and EEPROM value
EEPROM Control/Status register (0x0502:0x0503): Error bit description clarified
EEPROM Interface and MII Management Interface: access to special registers
is blocked while interface is busy
EEPROM Interface: EEPROM emulation by PDI added
Extended IP Core features (0x0F80:0x0FFF): reset values moved to Section III
Reset values of DC Receive Time registers are undefined
MI Control/Status register bit 0x510.7 is read only
FMMUs supported (0x0004): ET1200 has 3 FMMUs, not 4
AL Event Request register: SyncManager changed flag (0x220.4) is not
available in IP Core versions before and including 1.1.1/1.01b
Configured Station Alias (0x0012:0x0013) is only taken over at first EEPROM
load after power-on or reset
Moved available PDIs depending on ESC to Section I
SyncManager PDI Control (0x807 etc.): difference between read and write
access described
General Purpose I/O registers (0x0F10:0x0F1F) width variable (1/2/4/8 Byte)
MII Management Interface enhancement: link detection and assignment to PDI
added
Write access to DC Time Loop Control unit by PDI configurable for IP Core
System time register (0x0910:0x0917): clarified functionality
Process Data RAM (0x1000 ff.): accessible only if EEPROM is loaded
Digital I/O extended configuration (0x0152:0x0153): Set to 0 in bidirectional
mode
Editorial changes
1.8
DC register accessibility depends on DC power saving settings in PDI Control
register (0x0140[11:10])
AL Event Request register (0x0220): AL Control Event (Bit 0) is cleared by
reading AL Control register (0x0120), not AL Event Request register
EEPROM Control/Status register bit 0x0502.12 renamed to EEPROM loading
status
Description of Push-Pull/Open-Drain output drivers for SPI, µController, and
Speed Counter Diff register (0x0932:0x0933): Deviation calculation added
DC Start Time Cyclic operation (0x0990:0x0997) and Next Sync1 Pulse
(0x0998:0x099F) relate to the System time
Reset DC Control loop (write 0x0930:0x0931) after changing filter depths
(0x0934 or 0x0935)
Editorial changes
1.9
Update to EtherCAT IP Core Release 2.2.0/2.02a
Register availability added
Writing to DC Filter Depth registers 0x0934:0x0935 resets filters
DC Activation register (0x0981) enhanced
DC Activation state register (0x0984) added
Reserved registers or register bits: write 0, ignore read values
Enhanced link detection 0x0140.9 has compatibility issues with EBUS ports, not
MII ports
Port dependent Enhanced link detection (0x0140[15:12] added
PHY Port y Status bit 5 added (port configuration updated)
ESC10 removed
Editorial changes
II-IV Slave Controller – Register Description
DOCUMENT HISTORY
Version
Comment
2.0
DC SYNC Activation register (0x0981.6): bit polarity corrected
Deviation calculation formula for Speed Counter Diff register (0x0932:0x0933)
corrected
AL Event Mask register (0x0204:0x0207): corresponding to AL Event Request
register bits, not to ECAT Event Request register bits
Register availability noted in ESC availability tabs
Register Digital I/O configuration (0x0150): corrected OUTVALID mode = 1
description
Power-on values ET1200 (0x0E00.6): CLK25OUT on PDI[6], not PDI[31]
Editorial changes
2.1
Register bit 0x0220.4 is not available for ESC20
DC System Time (0x0910:0x0917): read value differs between ECAT and PDI
DC Latch Times and DC Event Times are internally latched when lowest byte is
read
DC Speed Counter Start (0x0930:0x0931): minimum value is 0x80
Editorial changes
2.2
ESC20: Register Configured Station Alias (0x0012:0x0013) is taken over after
each EEPROM reload command
MII Management Control register 0x0510[0]: Updated to ET1100-0002
Registers 0x0020 and 0x0030 are readable for ET1100 and ET1200
Editorial changes
2.3
Update to EtherCAT IP Core Release 2.3.0/2.03a (registers 0x0138/0x0139,
Separated registers 0x0140 (PDI Control) and 0x0141 (now: ESC
Configuration)
Editorial changes
2.4
ESC DL Control register (0x0100.0): Source MAC address bit is set regardless
of forwarding rule.
Added ESC Feature Bits 0x0008[11:9]
Update to EtherCAT IP Core Release 2.3.2/2.03c
ESC Features 0x0008 and ESC Configuration 0x0141[1]: Enhanced Link
Detection must not be activated for ET1100/ET1200 if EBUS ports are used.
Editorial changes
2.5
Update to EtherCAT IP Core Release 2.4.0/2.04a
ESC20: 0x0140[1:0] and [5:4] are available for SPI PDI
Range for DC Speed Counter Start (0x0930:0x0931) and Speed Counter Diff
(0x0932:0x0933) corrected, representation of Speed Counter Diff mentioned.
2.6
Update to EtherCAT IP Core Release 3.0.0
Added Register DC Receive Time Latch Mode 0x0936
Device Identification in AL Control/Status register 0x0120/0x0130 added
Editorial changes
2.7
Update to EtherCAT IP Core Release 2.4.3/2.04d and 3.0.2/3.00c
Editorial changes
Table 135: Register Digital I/O Output Data (0x0F00:0x0F03) ............................................................. 80
Table 136: Register General Purpose Outputs (0x0F10:0x0F17) ......................................................... 80
Table 137: Register General Purpose Inputs (0x0F18:0x0F1F) ........................................................... 80
Table 138: User RAM (0x0F80:0x0FFF) ............................................................................................... 81
Table 139: Extended ESC Features (Reset values of User RAM) ........................................................ 81
Table 140: Digital I/O Input Data (0x1000:0x1003) ............................................................................... 85
Table 141: Process Data RAM (0x1000:0xFFFF) ................................................................................. 85
Slave Controller – Register Description II-XI
ABBREVIATIONS
ADR
Address
AL
Application Layer
APRW
Auto Increment Physical ReadWrite
BHE
Bus High Enable
BWR
Broadcast Write
DC
Distributed Clock
DL
Data Link Layer
ECAT
EtherCAT
ESC
EtherCAT Slave Controller
ESI
EtherCAT Slave Information
FCS
Frame Check Sequence
FMMU
Fieldbus Memory Management Unit
FPRD
Configured Address Physical Read
FPRW
Configured Address Physical ReadWrite
FPWR
Configured Address Physical Write
GPI
General Purpose Input
GPO
General Purpose Output
IP
Intellectual Property
µC
Microcontroller
MI
(PHY) Management Interface
MII
Media Independent Interface
OPB
On-Chip Peripheral Bus
PDI
Process Data Interface
RMII
Reduced Media Independent Interface
SII
Slave Information Interface
SM
SyncManager
SoC
System on a Chip
SOF
Start of Frame
SoPC
System on a Programmable Chip
SPI
Serial Peripheral Interface
WD
Watchdog
ABBREVIATIONS
II-XII Slave Controller – Register Description
Address Space Overview
Address1
Length
(Byte)
Description
ESC Information
0x0000
1
Type
0x0001
1
Revision
0x0002:0x0003
2
Build
0x0004
1
FMMUs supported
0x0005
1
SyncManagers supported
0x0006
1
RAM Size
0x0007
1
Port Descriptor
0x0008:0x0009
2
ESC Features supported
Station Address
0x0010:0x0011
2
Configured Station Address
0x0012:0x0013
2
Configured Station Alias
Write Protection
0x0020
1
Write Register Enable
0x0021
1
Write Register Protection
0x0030
1
ESC Write Enable
0x0031
1
ESC Write Protection
Data Link Layer
0x0040
1
ESC Reset ECAT
0x0041
1
ESC Reset PDI
0x0100:0x0103
4
ESC DL Control
0x0108:0x0109
2
Physical Read/Write Offset
0x0110:0x0111
2
ESC DL Status
Application Layer
0x0120:0x0121
2
AL Control
0x0130:0x0131
2
AL Status
0x0134:0x0135
2
AL Status Code
0x0138
1
RUN LED Override
0x0139
1
ERR LED Override
PDI / ESC Configuration
0x0140
1
PDI Control
0x0141
1
ESC Configuration
0x014E:0x014F
2
PDI Information
0x0150
1
PDI Configuration
0x0151
1
SYNC/LATCH[1:0] PDI Configuration
0x0152:0x0153
2
Extended PDI Configuration
1
1 Address Space Overview
An EtherCAT Slave Controller (ESC) has an address space of 64KByte. The first block of 4KByte
(0x0000:0x0FFF) is dedicated for registers. The Process Data RAM starts at address 0x1000, its size
depends on the ESC. The availability of the registers depends on the ESC.
Table 1: ESC address space
Address areas not listed here are reserved. They are not writable. Read data from reserved addresses has to be
ignored. Reserved addresses must not be written.
Slave Controller – Register Description II-1
Address Space Overview
Address1
Length
(Byte)
Description
Interrupts
0x0200:0x0201
2
ECAT Event Mask
0x0204:0x0207
4
PDI AL Event Mask
0x0210:0x0211
2
ECAT Event Request
0x0220:0x0223
4
AL Event Request
Error Counters
0x0300:0x0307
4x2
Rx Error Counter[3:0]
0x0308:0x030B
4x1
Forwarded Rx Error counter[3:0]
0x030C
1
ECAT Processing Unit Error Counter
0x030D
1
PDI Error Counter
0x030E
1
PDI Error Code
0x0310:0x0313
4x1
Lost Link Counter[3:0]
Watchdogs
0x0400:0x0401
2
Watchdog Divider
0x0410:0x0411
2
Watchdog Time PDI
0x0420:0x0421
2
Watchdog Time Process Data
0x0440:0x0441
2
Watchdog Status Process Data
0x0442
1
Watchdog Counter Process Data
0x0443
1
Watchdog Counter PDI
SII EEPROM Interface
0x0500
1
EEPROM Configuration
0x0501
1
EEPROM PDI Access State
0x0502:0x0503
2
EEPROM Control/Status
0x0504:0x0507
4
EEPROM Address
0x0508:0x050F
4/8
EEPROM Data
MII Management Interface
0x0510:0x0511
2
MII Management Control/Status
0x0512
1
PHY Address
0x0513
1
PHY Register Address
0x0514:0x0515
2
PHY Data
0x0516
1
MII Management ECAT Access State
0x0517
1
MII Management PDI Access State
0x0518:0x051B
4
PHY Port Status
0x0600:0x06FF
16x16
FMMU[15:0]
+0x0:0x3
4
Logical Start Address
+0x4:0x5
2
Length
+0x6
1
Logical Start bit
+0x7
1
Logical Stop bit
+0x8:0x9
2
Physical Start Address
+0xA
1
Physical Start bit
+0xB
1
Type
+0xC
1
Activate
+0xD:0xF
3
Reserved
II-2 Slave Controller – Register Description
Address Space Overview
Address1
Length
(Byte)
Description
0x0800:0x087F
16x8
SyncManager[15:0]
+0x0:0x1
2
Physical Start Address
+0x2:0x3
2
Length
+0x4
1
Control Register
+0x5
1
Status Register
+0x6
1
Activate
+0x7
1
PDI Control
0x0900:0x09FF
Distributed Clocks (DC)
DC – Receive Times
0x0900:0x0903
4
Receive Time Port 0
0x0904:0x0907
4
Receive Time Port 1
0x0908:0x090B
4
Receive Time Port 2
0x090C:0x090F
4
Receive Time Port 3
DC – Time Loop Control Unit
0x0910:0x0917
4/8
System Time
0x0918:0x091F
4/8
Receive Time ECAT Processing Unit
0x0920:0x0927
4/8
System Time Offset
0x0928:0x092B
4
System Time Delay
0x092C:0x092F
4
System Time Difference
0x0930:0x0931
2
Speed Counter Start
0x0932:0x0933
2
Speed Counter Diff
0x0934
1
System Time Difference Filter Depth
0x0935
1
Speed Counter Filter Depth
0x0936
1
Receive Time Latch Mode
DC – Cyclic Unit Control
0x0980
1
Cyclic Unit Control
DC – SYNC Out Unit
0x0981
1
Activation
0x0982:0x0983
2
Pulse Length of SyncSignals
0x0984
1
Activation Status
0x098E
1
SYNC0 Status
0x098F
1
SYNC1 Status
0x0990:0x0997
4/8
Start Time Cyclic Operation/Next SYNC0 Pulse
0x0998:0x099F
4/8
Next SYNC1 Pulse
0x09A0:0x09A3
4
SYNC0 Cycle Time
0x09A4:0x09A7
4
SYNC1 Cycle Time
DC – Latch In Unit
0x09A8
1
Latch0 Control
0x09A9
1
Latch1 Control
0x09AE
1
Latch0 Status
0x09AF
1
Latch1 Status
0x09B0:0x09B7
4/8
Latch0 Time Positive Edge
0x09B8:0x09BF
4/8
Latch0 Time Negative Edge
0x09C0:0x09C7
4/8
Latch1 Time Positive Edge
0x09C8:0x09CF
4/8
Latch1 Time Negative Edge
Slave Controller – Register Description II-3
Address Space Overview
Address1
Length
(Byte)
Description
DC – SyncManager Event Times
0x09F0:0x09F3
4
EtherCAT Buffer Change Event Time
0x09F8:0x09FB
4
PDI Buffer Start Event Time
0x09FC:0x09FF
4
PDI Buffer Change Event Time
ESC specific
0x0E00:0x0EFF
256
ESC specific registers:
ET1100, ET1200, (Power-On Values)
IP Core (Product and Vendor ID)
ESC20 (FPGA Update)
For Registers longer than one byte, the LSB has the lowest and MSB the highest address.
II-4 Slave Controller – Register Description
Address Space Overview
1.1 Scope of Section II
Section II contains detailed information about all ESC registers. This section is also common for all
Beckhoff ESCs, thus registers, register bits, or features are described which might not be available in
a specific ESC. Refer to the register overview in Section III of a specific ESC to find out which
registers are available. Additionally, refer to the feature details overview in Section III of a specific ESC
to find out which features are available.
The following Beckhoff ESCs are covered by Section II:
ET1200-0003
ET1100-0003
EtherCAT IP Core for Altera FPGAs (V2.4.3 / V3.0.2)
EtherCAT IP Core for Xilinx FPGAs (V2.04d / V3.00c)
ESC20 (Build 22)
1.2 Reserved Registers/Reserved Register Bits
Reserved registers must not be written, reserved register bits have to be written as 0. Read values of
reserved registers or register bits have to be ignored. Reserved registers or register bits initialized by
EEPROM values have to be initialized with 0.
Reserved EEPROM words of the ESC configuration area have to be 0.
Slave Controller – Register Description II-5
Address Space Overview
ESC20
ET1100
ET1200
IP Core
[5]
V2.0.0/
V2.00a
ESC20
ET1100
ET1200
IP Core
write
config.
[5]
V2.0.0/
V2.00a
ESC20
ET1100
ET1200
IP Core
[63:16]
config.
V2.0.0/
V2.00a
1.3 ESC Availability Tab Legend
The availability of registers and exceptions for individual register bits or IP Core versions are indicated
in a small area at the top right edge of each register table.
Example 1:
Register is not available for ESC20 (reserved)
Register is available for ET1100 (all bits mentioned below)
Register is available for ET1200, except for bit 5 which is reserved
Register is available for IP Core since V2.0.0/V2.00a, reserved for previous versions
Example 2:
Register is available for ET1100 (read), write access is optionally available (e.g. ESI EEPROM or
IP Core configuration)
Register is available for IP Core, bit 5 is available since V2.0.0/V2.00a, bit 5 is not available for
previous versions (and reserved)
Example 3:
Register is available for ET1100, bits [63:16] are optionally available (e.g. ESI EEPROM or IP
Core configuration)
Register is optionally available/configurable for IP Core since V2.0.0/V2.00a (“IP Core” is not
bold)
II-6 Slave Controller – Register Description
ESC Register Availability
Address
Length
(Byte)
Description
ET1200
ET1100
IP Core
V3.0.2/
V3.00c
ESC20
0x0000
1
Type
x x x x 0x0001
1
Revision
x x x x 0x0002:0x0003
2
Build
x x x x 0x0004
1
FMMUs supported
x x x x 0x0005
1
SyncManagers supported
x x x x 0x0006
1
RAM Size
x x x
x
0x0007
1
Port Descriptor
x x x
-
0x0008:0x0009
2
ESC Features supported
x x x x 0x0010:0x0011
2
Configured Station Address
x x x x 0x0012:0x0013
2
Configured Station Alias
x x x x 0x0020
1
Write Register Enable
x x c x 0x0021
1
Write Register Protection
x x c x 0x0030
1
ESC Write Enable
x x c x 0x0031
1
ESC Write Protection
x x c x 0x0040
1
ESC Reset ECAT
x x c - 0x0041
1
ESC Reset PDI
- - c - 0x0100:0x0101
2
ESC DL Control
x x x x 0x0102:0x0103
2
Extended ESC DL Control
x x x x 0x0108:0x0109
2
Physical Read/Write Offset
x x c x 0x0110:0x0111
2
ESC DL Status
x x x
x
0x0120
5 bits
[4:0]
AL Control
x x x
x
0x0120:0x0121
2
AL Control
x x x
-
0x0130
5 bits
[4:0]
AL Status
x x x
x
0x0130:0x0131
2
AL Status
x x x - 0x0134:0x0135
2
AL Status Code
x x c x 0x0138
1
RUN LED Override
- - c - 0x0139
1
ERR LED Override
- - c - 0x0140
1
PDI Control
x x x x 0x0141
1
ESC Configuration
x x x x 0x014E:0x014F
2
PDI Information
- - c
-
0x0150
1
PDI Configuration
x x x x 0x0151
1
DC Sync/Latch Configuration
x x x x 0x0152:0x0153
2
Extended PDI Configuration
x x x x 0x0200:0x0201
2
ECAT Event Mask
x x x x 0x0204:0x0207
4
PDI AL Event Mask
x x r/c
x
0x0210:0x0211
2
ECAT Event Request
x x x
x
0x0220:0x0223
4
AL Event Request
x x x x 0x0300:0x0307
4x2
Rx Error Counter[3:0]
x x x
x
2 ESC Register Availability
Table 2: ESC Register Availability
Slave Controller – Register Description II-7
ESC Register Availability
Address
Length
(Byte)
Description
ET1200
ET1100
IP Core
V3.0.2/
V3.00c
ESC20
0x0308:0x030B
4x1
Forwarded Rx Error
counter[3:0]
x x x - 0x030C
1
ECAT Processing Unit Error
Counter
- x c
0x030D
1
PDI Error Counter
- x c - 0x030E
1
PDI Error Code
- - c - 0x0310:0x0313
4x1
Lost Link Counter[3:0]
x x c x 0x0400:0x0401
2
Watchdog Divider
x x r/c x 0x0410:0x0411
2
Watchdog Time PDI
x x c x 0x0420:0x0421
2
Watchdog Time Process Data
x x x x 0x0440:0x0441
2
Watchdog Status Process Data
x x x
x
0x0442
1
Watchdog Counter Process
Data
x x c
-
0x0443
1
Watchdog Counter PDI
x x c - 0x0500:0x050F
16
SII EEPROM Interface
x x x x 0x0510:0x0515
6
MII Management Interface
x x c x 0x0516:0x0517
2
MII Management Access State
- - c - 0x0518:0x051B
4
PHY Port Status[3:0]
- - c - 0x0600:0x06FC
16x13
FMMU[15:0]
3 8 0-8
4
0x0800:0x087F
16x8
SyncManager[15:0]
4 8 0-8
4
0x0900:0x090F
4x4
DC – Receive Times[3:0]
x x rt x 0x0910:0x0917
8
DC – System Time
x
s/l
dc x 0x0918:0x091F
8
DC – Receive Time EPU
x
s/l
dc x 0x0920:0x0935
24
DC – Time Loop Control Unit
x
s/l
dc
x
0x0936
1
DC – Receive Time Latch
mode
x - -
x
0x0980
1
DC – Cyclic Unit Control
x s dc x 0x0981
1
DC – Activation
x s dc
x
0x0982:0x0983
2
DC – Pulse length of
SyncSignals
x s dc
x
0x0984
1
DC – Activation Status
- - dc
-
0x098E:0x09A7
26
DC – SYNC Out Unit
x s dc x 0x09A8
1
DC – Latch0 Control
x l dc x 0x09A9
1
DC – Latch1 Control
x l dc x 0x09AE
1
DC – Latch0 Status
x l dc
x
0x09B0:0x09B7
8
DC – Latch0 Positive Edge
x l dc
x
0x09B8:0x09BF
8
DC – Latch0 Negative Edge
x l dc
x
0x09C0:0x09C7
8
DC – Latch1 Positive Edge
x l dc
x
0x09C7:0x09CF
8
DC – Latch1 Negative Edge
x l dc
x
0x09F0:0x09F3
0x09F8:0x09FF
12
DC – SyncManager Event
Times
-
s/l c 0x0E00:0x0E03
4
Power-On Values (Bits)
8
16 - -
0x0E00:0x0E07
8
Product ID
- - x - 0x0E08:0x0E0F
8
Vendor ID
- - x
-
II-8 Slave Controller – Register Description
ESC Register Availability
Address
Length
(Byte)
Description
ET1200
ET1100
IP Core
V3.0.2/
V3.00c
ESC20
0x0F00:0x0F03
4
Digital I/O Output Data
x x io
x
0x0F10:0x0F17
8
General Purpose Outputs
[Byte]
2 2 0-8
-
0x0F18:0x0F1F
8
General Purpose Inputs [Byte]
- 2 0-8
-
0x0F80:0x0FFF
128
User RAM
x x x x 0x1000:0x1003
4
Digital I/O Input Data
io
io
io
io
0x1000 ff.
Process Data RAM [Kbyte]
1 8 0-60
4
Symbol
Description
x
Available
-
Not available
r
Read only
c
Configurable
dc
Available if Distributed Clocks with all
Sync/Latch signals are enabled
rt
Available if Receive Times or Distributed Clocks
are enabled (always available for 3-4 ports)
s
Available if DC SYNC Out Unit enabled
(Register 0x0140.10=1)
l
Available if DC Latch In Unit enabled
(Register 0x0140.11=1)
s/l
Available if DC SYNC Out Unit enabled and/or
DC Latch In Unit enabled
(Register 0x0140.10=1 and/or 0x0140.11=1)
io
Available if Digital I/O PDI is selected
Table 3: ESC Register Availability Legend
Slave Controller – Register Description II-9
Type (0x0000)
ESC20
ET1100
ET1200
IP Core
Bit
Description
ECAT
PDI
Reset Value
7:0
Type of EtherCAT controller
r/-
r/-
Beckhoff:
First terminals : 0x01
ESC10, ESC20: 0x02
First EK1100: 0x03
IP Core: 0x04
Terminals: 0x05
ET1100: 0x11
ET1200: 0x12
Other vendors:
Hilscher: 0x80-0x88
TI: 0x90
Test: 0xEE
ESC20
ET1100
ET1200
IP Core
Bit
Description
ECAT
PDI
Reset Value
7:0
Revision of EtherCAT controller.
IP Core: major version X
r/-
r/-
ESC dep.
ESC20
ET1100
ET1200
IP Core
Bit
Description
ECAT
PDI
Reset Value
15:0
Actual build of EtherCAT controller.
IP Core: [7:4] = minor version Y,
[3:0] = maintenance version Z
r/-
r/-
ESC dep.
ESC20
ET1100
ET1200
IP Core
Bit
Description
ECAT
PDI
Reset Value
7:0
Number of supported FMMU channels (or
entities) of the EtherCAT Slave Controller.
r/-
r/-
ESC20: 4
IP Core: depends on
configuration
ET1100: 8
ET1200: 3
3 Register description
3.1 Type (0x0000)
Table 4: Register Type (0x0000)
3.2 Revision (0x0001)
Table 5: Register Revision (0x0001)
3.3 Build (0x0002:0x0003)
Table 6: Register Build (0x0002:0x0003)
3.4 FMMUs supported (0x0004)
Table 7: Register FMMUs supported (0x0004)
II-10 Slave Controller – Register Description
SyncManagers supported (0x0005)
ESC20
ET1100
ET1200
IP Core
Bit
Description
ECAT
PDI
Reset Value
7:0
Number of supported SyncManager channels
(or entities) of the EtherCAT Slave Controller
r/-
r/-
ESC20: 4
IP Core: depends on
configuration
ET1100: 8
ET1200: 4
ESC20
ET1100
ET1200
IP Core
Bit
Description
ECAT
PDI
Reset Value
7:0
Process Data RAM size supported by the
EtherCAT Slave Controller in KByte
r/-
r/-
ESC20: 4
IP Core: depends on
configuration
ET1100: 8
ET1200: 1
ESC20
ET1100
ET1200
IP Core
Bit
Description
ECAT
PDI
Reset Value
Port configuration:
00: Not implemented
01: Not configured (SII EEPROM)
10: EBUS
11: MII / RMII / RGMII
1:0
Port 0
r/-
r/-
ESC and ESC
configuration dep.
3:2
Port 1
r/-
r/-
5:4
Port 2
r/-
r/-
7:6
Port 3
r/-
r/-
3.5 SyncManagers supported (0x0005)
Table 8: Register SyncManagers supported (0x0005)
3.6 RAM Size (0x0006)
Table 9: Register RAM Size (0x0006)
3.7 Port Descriptor (0x0007)
Table 10: Register Port Descriptor (0x0007)
Slave Controller – Register Description II-11
ESC Features supported (0x0008:0x0009)
ESC20
ET1100
ET1200
IP Core
[8]
V2.2.0/
V2.02a
Bit
Description
ECAT
PDI
Reset Value
0
FMMU Operation:
0: Bit oriented
1: Byte oriented
r/-
r/-
0
1
Reserved
r/-
r/-
0
2
Distributed Clocks:
0: Not available
1: Available
r/-
r/-
ESC20: 1
IP Core: depends on
configuration
ET1100: 1
ET1200: 1
3
Distributed Clocks (width):
0: 32 bit
1: 64 bit
r/-
r/-
ET1100: 1
ET1200: 1
IP Core: depends on
configuration
Others : 0
4
Low Jitter EBUS:
0: Not available, standard jitter
1: Available, jitter minimized
r/-
r/-
ET1100: 1
ET1200: 1
Others : 0
5
Enhanced Link Detection EBUS:
0: Not available
1: Available
r/-
r/-
ET1100: 1
ET1200: 1
Others : 0
6
Enhanced Link Detection MII:
0: Not available
1: Available
r/-
r/-
ET1100: 1
ET1200: 1
Others : 0
7
Separate Handling of FCS Errors:
0: Not supported
1: Supported, frames with wrong FCS and
additional nibble will be counted
separately in Forwarded RX Error
Counter
r/-
r/-
IP Core: 1
ET1100: 1
ET1200: 1
Others : 0
8
Enhanced DC SYNC Activation
0: Not available
1: Available
NOTE: This feature refers to registers 0x981[7:3],
0x0984
r/-
r/-
IP Core:
depends on version
Others : 0
9
EtherCAT LRW command support:
0: Supported
1: Not supported
r/-
r/-
0
10
EtherCAT read/write command support
(BRW, APRW, FPRW):
Table 11: Register ESC Features supported (0x0008:0x0009)
II-12 Slave Controller – Register Description
Configured Station Address (0x0010:0x0011)
ESC20
ET1100
ET1200
IP Core
Bit
Description
ECAT
PDI
Reset Value
15:0
Address used for node addressing (FPxx
commands)
r/w
r/-
0
ESC20
ET1100
ET1200
IP Core
Bit
Description
ECAT
PDI
Reset Value
15:0
Alias Address used for node addressing
(FPxx commands).
The use of this alias is activated by Register
DL Control Bit 24 (0x0100.24/0x0103.0)
NOTE: EEPROM value is only taken over at first
EEPROM load after power-on or reset.
ESC20 exception: EEPROM value is taken over
after each EEPROM reload command.
r/-
r/w
0 until first EEPROM
load, then EEPROM
ADR 0x0004
ESC20
ET1100
ET1200
IP Core
read
read:
V2.4.0/
V2.04a
Bit
Description
ECAT
PDI
Reset Value
0
If write register protection is enabled, this
register has to be written in the same
Ethernet frame (value does not care) before
other writes to this station are allowed. Write
protection is still active after this frame (if
Write Register Protection register is not
changed).
If ESC write protection is enabled, this
register has to be written in the same
Ethernet frame (value does not care) before
other writes to this station are allowed. ESC
write protection is still active after this frame
(if ESC Write Protection register is not
changed).
Progress of the reset procedure:
01: after writing 0x52
10: after writing 0x45 (if 0x52 was written
before)
00: else
r/w
r/-
00
7:2
Reserved, write 0
r/-
r/-
0
ESC20
ET1100
ET1200
IP Core
V2.2.0/
V2.02a
Bit
Description
ECAT
PDI
Reset Value
Write
7:0
A reset is asserted after writing 0x52 (‘R’),
0x45 (‘E’) and 0x53 (‘S’) in this register with 3
consecutive commands.
r/-
r/w
0
Read
1:0
Progress of the reset procedure:
01: after writing 0x52
10: after writing 0x45 (if 0x52 was written
before)
00: else
r/-
r/w
00
7:2
Reserved, write 0
r/-
r/-
0
3.15 ESC Reset ECAT (0x0040)
Table 18: Register ESC Reset ECAT (0x0040)
3.16 ESC Reset PDI (0x0041)
Table 19: Register ESC Reset PDI (0x0041)
Slave Controller – Register Description II-15
ESC DL Control (0x0100:0x0103)
ESC20
ET1100
ET1200
IP Core
[1]
[23:19]
[23:20]
-0003
[23:20]
-0003
[24] config.
V2.4.0/
V2.04a
[23:20]
V2.4.3/
V2.04d
[19]
Bit
Description
ECAT
PDI
Reset Value
0
Forwarding rule:
0: EtherCAT frames are processed,
Non-EtherCAT frames are forwarded
without processing
1: EtherCAT frames are processed, Non-
EtherCAT frames are destroyed
The source MAC address is changed for
every frame (SOURCE_MAC[1] is set to 1 –
locally administered address) regardless of
the forwarding rule.
r/w
r/-
1
1
Temporary use of settings in Register 0x101:
0: permanent use
1: use for about 1 second, then revert to
previous settings
r/w
r/-
0
7:2
Reserved, write 0
r/-
r/-
0
9:8
Loop Port 0:
00: Auto
01: Auto Close
10: Open
11: Closed
NOTE:
Loop open means sending/receiving over this port
is enabled, loop closed means sending/receiving
is disabled and frames are forwarded to the next
open port internally.
Auto: loop closed at link down, opened at link up
Auto Close: loop closed at link down, opened with
writing 01 again after link up (or receiving a valid
Ethernet frame at the closed port)
Open: loop open regardless of link state
Closed: loop closed regardless of link state
r/w*
r/-
00
11:10
Loop Port 1:
00: Auto
01: Auto Close
10: Open
11: Closed
r/w*
r/-
00
13:12
Loop Port 2:
00: Auto
01: Auto Close
10: Open
11: Closed
r/w*
r/-
00
3.17 ESC DL Control (0x0100:0x0103)
Table 20: Register ESC DL Control (0x0100:0x0103)
II-16 Slave Controller – Register Description
ESC DL Control (0x0100:0x0103)
Bit
Description
ECAT
PDI
Reset Value
15:14
Loop Port 3:
00: Auto
01: Auto Close
10: Open
11: Closed
r/w*
r/-
ET1200: 11
others: 00
18:16
RX FIFO Size (ESC delays start of
forwarding until FIFO is at least half full).
RX FIFO Size/RX delay reduction** :
Value: EBUS: MII:
0: -50 ns -40 ns (-80 ns***)
1: -40 ns -40 ns (-80 ns***)
2: -30 ns -40 ns
3: -20 ns -40 ns
4: -10 ns no change
5: no change no change
6: no change no change
7: default default
NOTE: EEPROM value is only taken over at first
EEPROM load after power-on or reset
r/w
r/-
7
IP Core since
V2.4.3/V2.04d:
7, later EEPROM
ADR 0x0005[11:9]
inverted
19
EBUS Low Jitter:
0: Normal jitter
1: Reduced jitter
r/w
r/-
0
21:20
Reserved, write 0
r/w
r/-
0, later EEPROM
ADR 0x0005[5:4]
22
EBUS remote link down signaling time:
0: Default (~660 ms)
1: Reduced (~80 µs)
r/w
r/-
0, later EEPROM
ADR 0x0005[6]
23
Reserved, write 0
r/w
r/-
0, later EEPROM
ADR 0x0005[7]
24
Station alias:
0: Ignore Station Alias
1: Alias can be used for all configured
address command types (FPRD,
FPWR, …)
r/w
r/-
0
31:25
Reserved, write 0
r/-
r/-
0
* Loop configuration changes are delayed until the end of a currently received or transmitted frame at the port.
** The possibility of RX FIFO Size reduction depends on the clock source accuracy of the ESC and of every
connected EtherCAT/Ethernet devices (master, slave, etc.). RX FIFO Size of 7 is sufficient for 100ppm accuracy,
FIFO Size 0 is possible with 25ppm accuracy (frame size of 1518/1522 Byte).
*** IP Core since V3.0.0/V3.00c only
Slave Controller – Register Description II-17
Physical Read/Write Offset (0x0108:0x0109)
ESC20
ET1100
ET1200
IP Core
Bit
Description
ECAT
PDI
Reset Value
15:0
Offset of R/W Commands (FPRW, APRW)
between Read address and Write address.
RD_ADR = ADR and WR_ADR = ADR +
R/W-Offset