Professional Documents
Culture Documents
Board Software
User's Manual
English (en)
04/2021
Contents
Contents
1 Fundamentals....................................................................................................................................5
1.1 Overview................................................................................................................................................. 6
2 Software installation........................................................................................................................9
2.1 Overview............................................................................................................................................... 10
3 Design.............................................................................................................................................. 13
3.1 Overview............................................................................................................................................... 14
4 User interface..................................................................................................................................17
4.1 Overview............................................................................................................................................... 18
4.5 Workspace............................................................................................................................................. 20
4.5.1 Search function........................................................................................................................ 21
4.5.2 Home........................................................................................................................................22
4.5.3 Settings.................................................................................................................................... 24
4.5.4 Foreground............................................................................................................................... 25
4.5.5 Background...............................................................................................................................26
4.5.6 Memory....................................................................................................................................27
4.5.7 LPF Config............................................................................................................................... 28
4.5.8 Registers.................................................................................................................................. 30
4.5.9 Recorder...................................................................................................................................31
4.5.10 Recordings............................................................................................................................... 32
4.5.11 BG Filter................................................................................................................................... 33
4.5.12 Manipulator.............................................................................................................................. 34
5 Index.................................................................................................................................................43
6 List of Figures................................................................................................................................. 44
1.1 Overview
This chapter contains information about the product and this manual.
Please note the information on improper use in the EnDat 3 Evaluation Board Operating
Instructions.
Documentation Description
Addendum An addendum supplements or supersedes the corresponding
contents of the Operating Instructions and, if applicable, of the
Installation Instructions.
If an addendum is included in the shipment, it has the highest priority
for reading. All other contents of the documentation retain their
validity.
Operating Instructions The Operating Instructions contain all of the information and
safety instructions for the proper and intended operation of the
device. The Operating Instructions can be downloaded from
www.heidenhain.de. The Operating Instructions must be read prior
to commissioning the device.
The Operating Instructions have the third highest priority for reading.
User's Manual The User's Manual provides all information required for installing
the software on a computer and for using it as intended. The User's
Manual can be downloaded from www.heidenhain.de.
Have you found any errors or would you like to suggest changes?
We continuously strive to improve our documentation for you. Please help us by sending your
suggestions to the following e-mail address:
userdoc@heidenhain.de
Format Meaning
... Identifies an action and
... the result of this action
Example:
Tap OK
The message is closed
... Identifies an item of a list
... Example:
TTL interface
EnDat interface
...
Bold Identifies menus, displays and buttons
Example:
Tap Shut down
The operating system shuts down
Turn the power switch off
2.1 Overview
This chapter provides all information needed in order to download the software as well as the necessary
driver, and to properly install them on a computer.
Please note the license terms from FTDI for the D2XX driver at www.ftdichip.com.
Available folders
When the software is extracted and the program is started the first time, the following subfolders are
created:
\api: Contains files that allow an external program to access the master registers (API). The
folder contains the dynamic library (.dll) for Microsoft Windows (32-bit and 64-bit), the associated
description files, and a simple example in the programming language C
\exports: Default folder for CSV files created in the display area 1)
\firmware: Default folder for firmware files
\ftdi: Contains the D2XX driver from the company FTDI necessary in order to communicate with the
device
Further information: "Installing the FTDI driver", Page 10
\memory: Default folder for saving memory contents 1)
\recordings: Default folder for saving communication data 1)
\registers: Default folder for saving accesses to registers and snapshots of the master registers 1)
1) Folder is created the first time the program is started
The Advanced version, in conjunction with the API, additionally allows you to access the
Manipulator module; an additional folder (\manipulator) is created: it is the default folder for
saving Manipulator commands and provides simple examples.
3.1 Overview
This chapter describes the fundamental design of your device and the available features.
The API and the software can access the master registers in parallel. The software does not
monitor for possible conflicts. Conflicts can result in an unpredictable state of the master or
even a slave. The user is responsible for avoiding conflicts.
You can use the device and the software as an internal master or as an external master with one or
more encoders (slaves). The following graphics show the possible configurations and the selection of
the power supply for the encoders.
12V internal
External Supply
Figure 1: Internal master
The internal master of the device is used. The internal master is identical to the master that is offered
as VHDL code by HEIDENHAIN. This means that the register addresses and register contents for
addressing the master are identical.
In this configuration, active communication with the connected slave is possible. Additionally,
communication between the software and an external API that is also running on the device is possible.
The following functions are supported:
EnDat 3 communication (Foreground and Background)
Display and editing of EnDat 3 memory contents
Recorder mode
Manipulator mode
Access to the EnDat 3 master registers (snapshot, tracing, triggering)
External control of the EnDat 3 master registers via the API
PC
Software
Evaluation Board
EnDat 3
An external master is used. The device is inserted between the control unit (master) and the encoder
for listening-in to the EnDat 3 communication.
The following functions are supported:
Recorder mode
Manipulator mode
The device increases the propagation time between the external master and the encoder by
about 60 ns. If the Manipulator module is activated, then the increase in propagation time is
about 250 ns.
4.1 Overview
This chapter describes the user interface, operating elements, and basic functions of the software.
The following sections describe only topics that are not directly related to EnDat 3. For topics
specific to EnDat 3, such as functions, addresses, data contents, etc., refer to the EnDat 3
Specification.
Global
settings
Global messages
and progress indicator
Workspace
Reporting pane
Operating elements
Display
Display Description
Encoder Power Shows whether encoders are being supplied with power
Messages
Message Description
API Open An external program accesses the EnDat 3 master registers via the API
Recording The EnDat 3 communication is recorded
Listening The software listens in to the EnDat 3 communication, but it does not record it
Manipulating The EnDat 3 communication is manipulated
Tracing Registers Accesses to the EnDat 3 master registers are recorded
Firmware Update The firmware of the device is being updated or needs to be updated
Operating elements
4.5 Workspace
The user interface of the workspace is divided into individual control elements. The software displays
additional control elements as needed.
4.5.2 Home
Display Function
Supply CU Encoders powered via external control.
Supply DC Encoders powered via external plug-in power supply.
Supply USB Encoders powered via USB port of a computer.
Overcurrent USB Overcurrent protection of the USB port.
Signal Routing
Topology
Make sure to enter the correct information for the slaves. This setting has far-reaching
consequences within the software and the EnDat 3 master.
Window Handling
Version Info
Information about the ID number, serial number, firmware version, software version, and the FTDI driver
The main version number of the software version and firmware version must be identical,
otherwise no communication with the device is possible.
Firmware Update
4.5.3 Settings
The Settings control element allows you to read out the connected encoders.
4.5.4 Foreground
The Foreground control element enables the Foreground communication with one or more encoders.
Control pane
The buttons correspond to the requests according to the EnDat 3 specification, sometimes with transfer
parameters. If RATE and RESET requests are successful, then the data rate in the global settings will be
adapted as necessary.
Display area
The communication cycles that have been sent and any errors that have occurred are shown in the
display area. In addition, data that are contained in REQ, HPF, LPH, and the LPFs are displayed.
4.5.5 Background
The Background control element enables the Background communication with one or more encoders.
The Foreground communication necessary for this is executed automatically, and is displayed in the
Foreground control element.
Operating elements
The other buttons correspond to those of the requests in the EnDat 3 Specification, including
the transfer parameters where applicable.
4.5.6 Memory
The Memory control element enables access to the memory contents of the connected encoder. You
can save the memory contents or load information from a file.
Operating elements
Messages
Message Description
Unsaved A memory area contains data that has not yet been written to a file or an
encoder
Wrong CS A checksum is incorrect
LPF Config A send list was configured incorrectly
Interpreter The memory interpreter found a problem. Details are shown in the Interpreta-
tion column
The LPF Config control element offers functions for editing of a send list.
Operating elements
Messages
Message Description
Duplicate FID An FID (except for NOP) can be requested only once per communication
cycle.
Exceeding memory The send list exceeds the size of the available memory.
POS1 after POS2 POS1 is requested after POS2 within one communication cycle.
POS2 after SF_POS1 POS2 is requested after SF_POS1 within one communication cycle.
Memory space The amount of memory space assigned and available is shown.
A send list can also be configured even if no encoder is connected. To do so, you must open
a stored memory file and call it with LPF Config.
4.5.8 Registers
The Registers control element grants you read- and write-access to the registers of the internal master.
For addresses and contents, see the description of the EnDat 3 master.
Operating elements
4.5.9 Recorder
The Recorder control element allows you to record the EnDat 3 communication.
Operating elements
Live Display
The last values received for HPF and LPF are shown in HPF Live Display and LPF Live Display.
In Bus Address, you can enter the slave from which you wish to receive values. In HPF Live Display,
you can select the display format. In LPF Live Display, you can select the frame ID to be displayed.
Live Counters
The corresponding events are counted and shown here. The Data Transfer area gives information on the
utilization of the USB connection.
4.5.10 Recordings
The Recordings control element allows you to analyze a recorded EnDat 3 communication.
Recorded data sets can be very large; as a result, the corresponding analysis and conversion
functions can take very long.
Operating elements
Larger data sets are divided into several pages. The vertical
scrollbar is used for navigation within one page. Only one page
at a time is in the memory. If multiple pages are available, then a
horizontal scrollbar is shown beneath the list control element. This
scrollbar is used to navigate to other pages.
4.5.11 BG Filter
The BG Filter control element is used to display the Background communication that was extracted
from a recording using Extract Bg from the Recordings control element.
Operating elements
4.5.12 Manipulator
The Manipulator control element allows you to verify error test cases or a specific encoder behavior in
the control software. You can test how the control responds to the behavior of the encoder. The current
communication can be falsified for test purposes.
Communication can be conducted either directly by the device as a master or in feed-through mode
(external master).
You select an external master in the Home control element under Signal Routing.
Further information: "Home", Page 22
Messages
Message Description
Trigger Conditions Trigger conditions are activated in the Trigger Conditions control element.
Not Allowed A trigger condition cannot be evaluated until a modification has been carried
out. Please adapt the manipulator settings as needed.
Possibly Ignored The data of an LPF are used to evaluate the trigger conditions and the data of
another LPF are modified. The configuration of the send list thus determines
whether an LPF modification is carried out or ignored.
The LPF is modified only if the LPF to be modified is transmitted chronologi-
cally after the triggering LPF and within the same communication cycle as the
triggering LPF.
Modifications
The counters that are displayed as a green number indicate how many frames of the area
have already been modified.
HPF area
Operating element Function
Set F Sets F to 0 or 1 in the HPF.
Set W Sets W to 0 or 1 in the HPF.
Set RM Sets RM to 0 or 1 in the HPF.
Set Clearable F Sets F to 1 until a CLEAR request, in which ClearF is set, is received.
F1 and F2 are also set in SF_POS1 for as long as F is set, and ERMSG returns
the error message A0.
This modification resets all trigger conditions and all other modifications.
Set Clearable W Sets W to 1 until a CLEAR request, in which ClearW is set, is received.
ERRMSG returns the warning W0 for as long as W is set.
This modification resets all trigger conditions and all other modifications.
Modify Data Sets HPFV to 0 and replaces the HPF data with a given error code.
+ option !V
Modify Data Replaces the HPF data with the data from the input field.
+ option =
Modify Data Adds a given value to the HPF data.
+ option
+ (Advanced version)
Invert CS Inverts the checksum of the HPF.
Modify Bits Modifies individual bits of the HPF based on the scheme defined in the
(Advanced version) Bitwise function.
LPH area
Operating element Function
Invert CS Inverts the checksum of the LPH.
Modify Bits Modifies individual bits of the LPH based on the scheme defined in the
(Advanced version) Bitwise function.
LPF area
Operating element Function
FID combo box The LPF to be modified is selected based on the frame identifier (FID).
Modify Data Sets LPFV to 0 and replaces the LPF data with a given error code.
+ option !V
Modify Data Replaces the LPF data with the data from the input field.
+ option =
Modify SOL Inverts the sign of life (SOL) of the safety frame.
+ option Invert
Modify SOL Replaces the sign of life (SOL) of the safety frame with the data from the input
+ option = field.
Modify SOL The current sign of life (SOL) remains frozen for as long as this modification is
+ option Freeze active.
Modify SOL A constant, given value is added to the currently transmitted sign of life (SOL)
+ option Jump for as long as this modification is active.
Activating the modification therefore leads to a jump of the SOL, whereas the
deactivation of the modification leads to a corresponding return jump.
Invert CSS Inverts the safety-relevant checksum (CSS) of the safety frame.
Scenario Description
Extend IgF1 / Extends the first IgF1/IgF2 phase that occurs to a given period.
Extend IgF2
IgF1 after IgF2 / After the first IgF2/IgF1 phase that occurs, an IgF1/IgF2 phase is added at a
IgF2 after IgF1 given interval.
No F1 / No F2 The bit F1/F2 remains inactive for as long as this modification is active.
IgF1 and IgF2 The bits IgF1 and IgF2 are both set.
These scenarios support you in verifying FDSTest and SFStatusTest procedures for functional safety.
Bitwise
In the display, you can set or invert any bits of a frame to a value of 0 or 1. You can select whether the
checksum (CS) of the frame should be recalculated after modification.
The corresponding Modify Bits operating element in the Modifications function must be activated for
this modification to take effect.
The shown sequence of bytes and bits does not correspond to the sequence in which the bits are
transmitted in the line; instead, it corresponds to the sequence in which they are also shown in other
operating elements.
The FID bits in the LPF cannot be modified, because they are used to check whether this LPF should be
modified. Modifications are not possible until this check has been completed. The FID bits of the LPF
have already been forwarded to the master at this point.
Background
The Background control element allows you to modify the information transmitted in the background
channel. Simultaneous modification of the foreground channel and the background channel is not
possible. The counter number that is displayed as a green number indicates how many background
communication cycles have already been modified. The counters in the LPH and LPF areas of the
Modifications control element will also be updated as needed.
Trigger Conditions
The trigger signal initiating a modification is usually active for as long as Trigger Enable is set. Additional
limitations and conditions for the trigger signal can be set in the Trigger Conditions control element.
The following values apply for the trigger pin X18 2a:
Max. voltage: 5.5 V
High level at > 2 V
Low level at < 0.8 V
Commands
The Commands function displays the active commands. These commands correspond to the API
commands, including the API command parameters needed to reach the current status. The commands
can be saved or imported as a text file.
Using the commands, you can control operation via a separate program as an alternative to the GUI. You
can write and use a program for this. You need to integrate the included .dll in your program and use it
to address the Manipulator API.
The Commands function is available only in the Advanced version with Manipulator API.
Simultaneous operation of the Manipulator module using the GUI and the API may lead to
undesirable conditions due to the unpredictable processing sequence of the commands.
Function Command
Activation of Manipulator module e3m_manipulator_enable
or
e3m_manipulator_enable_with_
special_safety
Programming notes:
The first command basically activates the Manipulator module. The Manipulator module remains active
until it is explicitly deactivated.
Every new Manipulator sequence starts with a Reset of the Manipulator module in order to set it to
a defined state. Then the individual trigger conditions and modifications that describe the desired
manipulation follow.
One of the start commands activates the Manipulator sequence. This corresponds to an activation of
the Trigger Enable operating element in the GUI.
The stop command deactivates the Manipulator sequence. The same Manipulator sequence can be
restarted by a start command.
You need to deactivate the previous Manipulator sequence before entering a new Manipulator
sequence. You need not deactivate the Manipulator module in the time between entering the last
sequence and the new sequence. You should always program a modified Manipulator sequence by
entering the complete sequence starting from Reset.
Operating elements
5 Index
D
Documentation
Addendum............................... 7
Operating Instructions............. 7
User's Manual......................... 7
I
Information on the product.......... 6
Installing the FTDI driver............ 10
M
Manipulator................................ 34
background............................ 39
bitwise................................... 38
commands............................. 41
modifications......................... 35
Trigger Conditions.................. 40
Master
External.................................. 15
Internal................................... 14
R
Running the software................. 10
S
Scope of function of the software 6
Search function.......................... 21
Symbols and fonts used for
marking text................................. 7
System design........................... 14
System requirements................. 10
U
Use
improper.................................. 6
intended................................... 6
User interface............................ 18
Global messages and progress
indicator................................. 19
Global settings....................... 19
Reporting pane...................... 42
Workspace............................. 20
W
Workspace
Background............................ 26
BG filter................................. 33
Foreground............................. 25
Home..................................... 22
LPF Config............................. 28
Manipulator............................ 34
Memory................................. 27
Recorder................................ 31
Recordings............................. 32
Registers................................ 30
Settings.................................. 24
6 List of Figures
Figure 1: Internal master.........................................................................................................................14
Figure 2: External master........................................................................................................................15
Figure 3: User interface of EnDat 3 Evaluation Board Software ........................................................... 18
Figure 4: Search function........................................................................................................................ 21
Figure 5: Home control element.............................................................................................................22
Figure 6: Settings control element......................................................................................................... 24
Figure 7: Foreground control element.................................................................................................... 25
Figure 8: Background control element....................................................................................................26
Figure 9: Memory control element.........................................................................................................27
Figure 10: LPF Config control element.....................................................................................................28
Figure 11: Registers control element....................................................................................................... 30
Figure 12: Recorder control element........................................................................................................ 31
Figure 13: Recordings control element.....................................................................................................32
Figure 14: BG Filter control element........................................................................................................ 33
Figure 15: Manipulator control element................................................................................................... 34
Figure 16: Modifications function............................................................................................................. 35
Figure 17: Bitwise function.......................................................................................................................38
Figure 18: Background function................................................................................................................ 39
Figure 19: Trigger Conditions function......................................................................................................40
Figure 20: Commands function.................................................................................................................41
Original document
1262301 · 02 · A · 02 · 04/2021 · PDF
*I1262301*