|Heidenhain Order Code||AKD FB1.SELECT||S300/S700 FBTYPE||S400/S600 FBTYPE||Instruction Set||Incremental Signals|
|EnDat 01||30, 21||4,7,21||3,4,6,7,16||EnDat 2.1 / 2.2
|EnDat 02||30,21||4,7,21||6,7,16||EnDat 2.2||with|
|EnDat 22||31||32, 34||-||EnDat 2.2||without|
The EnDat interface of HEIDENHAIN is a digital, bidirectional interface for gauges. It is able both to distribute position values of incremental and absolute gauges and to select stored information in the gauge, update information or download new information. Due to the serial data transmission 4 signal lines are sufficient. The data are transmitted synchronously to the timing signal provided by subsequent electronics. The selection of the transmission mode (position value, parameters, diagnosis ...) is carried out with mode commands which are sent by subsequent electronics to the guage.
- Absolute position values
- Send and receive parameter
- Test command
- Test values
The extended interface version EnDat 2.2 has compatible communication, command sets and time conditions to the previous version 2.1, offers however clear advantages. It is e.g. possible to transmit additional information with the position value without starting a special query for this. The protocol of the interface was enlarged for this functionality and the time conditions optimized have been as follows:
- Increase clock frequency (CLOCK) 8MHz
- Optimize computing time (position determination in 5µs)
- Minimize recovery time (1.25 to 3.75 µs)
- Position values for increment ale and absolute gauges
- Additional information via the position value
- Diagnosis, test value
- Absolute position values for homing of incremental gauges
- Sending and receiving parameters
- Limit position signal
The EnDat interface transfers position values or additional physical values in unique timely sequence and serves for selecting and describing the gauges of internal memory.
- Position values can be transferred with or without additional information. The additional information itself are selectable by memory area and address. Together with the position value also other functions like parameters read and write can be started after previous selection of the memory area. By the simultaneous transmission with the position value, additional information of the axes situated in the control circuit can be requested and functions can be executed.
- Parameters read and write both as a separate function and in connection with the position value is possible. After the selection of the memory area parameters can be read or written.
- Reset functions serve for resetting the gauge at malfunctions. A reset is possible instead of or during the position value transfer.
- A setup diagnosis already makes a check of the position value possible in the standstill. A test command arranges for the guage to send the corresponding test values.
For the synchronization of the data transmission time a clock is provided by subsequent electronics. The time line is set to high level in the rest condition.
Without run time compensation the clock frequency is variable between 100kHz and 2MHz. The at most permitted clock frequency depends on the cable length between gauge and subsequent electronics (see diagram). Since the signal run time shows high level disturbing level particularly at large cable lengths and higher clock frequencies for the clear assignment of the data, the run time can be checked and compensated by a correction sequence. With this run time compensation in subsequent electronics, clock frequencies up to 8 MHz are possible with a cable length of up to 100m. Special measures have to be taken with a cable length from 30m.
The permitted clock frequencies indicated in the diagrams are valid with a clock duty ratio of 1:1. That means, lengths of high and low levels of the clock are identical. At a divergent clock duty ratio the theoretical clock frequency can be calculated from fc=1/2 tmin.
After every hardware change of the transmission link the signal run time must be found out, best automatically after every power break.
Subsequent electronics sends the mode command "gauge sends position values to the gauge without additional information" to the gauge. After the gauge has changed to sending, i.e. after 10 clock pulse periods, a counter starts with every rising clock pulse edge in the subsequent electronics. This determines the distance between the last rising clock pulse edge and the flank of the start bit as a signal run time. The process should at least be repeated three times to exclude disturbances during the run time determination and check the value for consistency. The signal run time is determined at reduced clock frequency (100 kHz to 200 kHz). To obtain a sufficient precision, however,you must use an internal frequency that is at least eight times higher than the clock frequency that is used for the data transmission later.
Technische Information Heidenhain GmbH,