01 A 02 - EnDat2 Implementation Guide
01 A 02 - EnDat2 Implementation Guide
2
Implementation Guide
English (en)
09/2021
Contents
Contents
1 Fundamentals....................................................................................................................................3
2.5 FAQ...........................................................................................................................................................9
5 References....................................................................................................................................... 15
1 Fundamentals
For further information, please refer to: www.endat.de ► EnDat 2.1 and 2.2
For individual advice on optimal implementation of the EnDat 2.2 interface, please consult
with your HEIDENHAIN contact person.
For the implementation of Stage 1, HEIDENHAIN recommends that you use one of the
available EnDat Masters.
Further information: "EnDat 2.2 Master", Page 10
For individual advice on optimal implementation of the EnDat interface, please consult with
your HEIDENHAIN contact person.
Documentation Description
EnDat 2.2 Technical Information This Technical Information document provides an overview
of the interface. It is not an interface specification.
EnDat 2.2 Implementation Guide The Implementation Guide provides an overview of which
documents and document content are intended for which
readers, and which aids are available for implementation.
EnDat 2.2 Interface Specification The Interface Specification contains detailed and complete
information regarding the physical interface, timing, and
transmitted data contents. This information is required for
implementation of the EnDat 2.2 interface.
EnDat 2.2 Master Instructions The Master Instructions describe the EnDat 2.2 Master
provided by HEIDENHAIN.
EnDat 2.2 Application Notes The Application Notes describe the functionalities, process-
es, mechanisms, encoder functions, and other topics from
the perspective of the application.
Electrical safety and electromagnetic Information about electrical safety and electromagnetic
compatibility compatibility can be found in the corresponding section of
the “Interfaces of HEIDENHAIN Encoders” brochure.
The documentation for the respective encoder must be
observed as well.
EnDat Seminar The EnDat Seminar provides detailed information surround-
ing the various aspects of the EnDat 2.2 interface, such
as the EnDat 2.2 interface specification, information on
cables and connecting elements, information about the
EnDat Master, practical exercises for communicating with
EnDat encoders via mode commands, and information on
online diagnostics, datum shift, etc.
Functional safety Documents for the implementation of functional safety
with the EnDat 2.2 interface:
Catalog of measures, requirements for position value
comparison, supplementary catalog of measures for SIL 3,
use of a non-functionally-safe EnDat 2.2 Master, etc.
For further information, please refer to: www.endat.de ► EnDat 2.1 and 2.2
To request the EnDat 2.2 documentation package, please use the contact form at
www.endat.de
The EnDat 2.2 Master Instructions are part of the items supplied with the corresponding
EnDat Master.
If you have any questions, please contact your HEIDENHAIN contact person.
Would you like to see any changes, or have you found any errors?
We are continuously striving to improve our documentation for you. Please help us by sending your
requests to the following e-mail address:
[email protected]
2.1.1 Stage 1: physical layer, digital design, timing / "bits and bytes"
Physical layer
The following aids can be used for the implementation of the physical layer:
EnDat 2.2 Interface Specification
Chapter "Electrical safety" in "Interfaces of HEIDENHAIN Encoders"
Chapter "Electromagnetic compatibility" in "Interfaces of HEIDENHAIN Encoders"
Digital design
The following aids can be used for the implementation of the digital design:
EnDat 2.2 Interface Specification
For the implementation of Stage 1, HEIDENHAIN recommends that you use one of the
solutions described in the chapter "EnDat 2.2 Master".
Further information: "EnDat 2.2 Master", Page 10
Using one of these solutions reduces the time to market and ensures error-free
communication.
It also minimizes the effort needed for testing.
2.2.3 Stage 4: Integration of EnDat 2.2 communication into the controller structure
In Stage 4 of the implementation, the processes must be integrated into the controller structure, taking
the various encoder profiles into consideration (absolute, incremental, linear, rotatory, etc.).
For functionally safe applications, additional documents must be taken into consideration.
Further information: "Notes on reading the documentation", Page 4
Regarding the EnDat 2.2 Master, in functionally safe applications, both the EnDat 2.2 Master
Safe and the non-functionally safe versions can be used, of which the EnDat 2.2 Master
Basic is specifically designed for this.
For further information, please refer to: www.endat.de ► EnDat 2.1 and 2.2
Read-out and cycle times Calculation of readout time and Definition of the configuration
cycle time for the EnDat Master, e.g., clock
frequency (with regard to the
required cycle time), ...
Basic communication
Advanced functions
Battery buffered multiturn "Rotary encoders with battery- Which other encoder profiles are
buffered revolution counter" to be supported?
2.5 FAQ
The Frequently Asked Questions (FAQ) are a collection of frequently asked questions and their
answers regarding specific topics. FAQ can also be used as an aid for the implementation of the EnDat
2.2 interface, if needed.
HEIDENHAIN provides a comprehensive list of frequently asked questions in connection with the
implementation of the EnDat 2.2 interface at www.endat.de.
3.1.1 Overview
The EnDat 2.2 Master controls communication with the EnDat 2.2 encoders from HEIDENHAIN. This
makes it easy to transfer the information transmitted via the EnDat 2.2 interface to the higher-level
application. The EnDat 2.2 Master can be integrated via either a microcontroller (µC) or an FPGA (Field
Programmable Gate Array) or ASIC.
The solutions with a µC are used when the desired clock frequencies are relatively low. For integration
into a µC, HEIDENHAIN offers a sample code for the implementation of the EnDat mode commands.
There are also µC-based solutions with an integrated EnDat 2.2 Master (e.g., from Texas Instruments,
Renesas Electronics, or Hilscher).
Integration into an FPGA or ASIC is usually opted for when high transmission frequencies are desired
with purely serial data transmission. Different versions are available for integration into an FPGA or
ASIC.
For further information, please refer to: www.endat.de ► EnDat 2.1 and 2.2
EIB 700
The EIB 700 series are external signal converters for precise position measurement, especially for
inspection stations and multipoint inspection apparatuses, as well as for mobile data acquisition, such
as during machine calibration. For the sake of processing measured values on a PC, the items supplied
include driver software for Windows, Linux and LabVIEW, as well as example programs and the EIB
application software. The driver software enables customers to easily program their own applications.
For the EIB 700, an example program is available that demonstrates how various EnDat 2.2 features can
be implemented from the perspective of the subsequent electronics.
If you require more information on the error injector, please consult with your HEIDENHAIN
contact person.
For further information, please refer to: www.endat.de ► EnDat 2.1 and 2.2
5 References
References
Title Document no.
EnDat 2.2 Interface Specification 297403-xx
EnDat 2.2 Application Notes 722024-xx
EnDat 2.2 Application Conditions for Functional Safety 533095-xx
Safety with EnDat 2.2 and Non-Safe EnDat Master 1128897-xx
Original document
1302637 · 01 · A · 02 · 09/2021 · PDF
*I1302637*