Function principles and notes

The EL5001/EL5002 is an SSI master terminal for cyclic polling of SSI devices. The EL5002 can operate two slaves.

The EL500x is generally operated such that each I/O cycle triggers an SSI communication and thus supplies a new encoder position to the application. If the time falls below a minimum EtherCAT cycle time that depends on the settings and the hardware, this interrelationship can no longer be guaranteed and the SSI transfers are no longer synchronous to the EtherCAT cycle and the DC cycle (see below: EtherCAT cycle time).

SSI principles

SSI communication sequence

The last data bit can be a PowerFail bit, i.e. the slave signals a power failure. This output depends on the slave.

The number of bit changes equals the clock frequency, i.e. the maximum data transfer rate for a 1 MHz cycle is 1 Mbit/s.

The EL500x devices have a 120 Ω termination resistor in the incoming data line.

Various parameters have to be set in the EL500x SSI master in order to ensure that the data of the SSI slave are transferred correctly:

This information can be found in the data sheet for the SSI slave and must be set in the CoE directory of the EL500x.

Function principles and notes 1:
Schematic diagram

Referencing an SSI signal

An SSI encoder is an absolute encoder, which means, that the position value is available without referencing immediately after switching on.
Many SSI encoders offer the option of referencing or zeroing the position value via an additional digital input. Depending on the signal voltage of the digital input on the encoder, this can be set, for example via a digital output terminal EL2xxx.

EL500x functionality

Technical development enables expansion of the EL5001 functionality. The following extensions are available, depending on the hardware/firmware version:

EL5001 up to firmware (FW) 10 (up to EL5001-0000-0001)

EL5001 from firmware (FW) 11 (from EL5001-0000-1017) and EL5002 (from EL5002-0000-0016)

Function principles and notes 2:

Firmware update

Older EL5001 devices with firmware version 10 cannot be updated with later firmware! 

EL5002 from firmware (FW) 03 (from EL5002-0000-0020)

The firmware of EL5002 has been extended by the following functions:

Improved Jitter

In the DC Synchronous mode the process data handling in the slave is triggered by the hardware SYNC events, generated in the slave, based on the DC system time. The local clock in each slave is synchronized by the master to the DC system time during initialization phase. Based on DC system time, hardware SYNC events are generated within each slave.

The EL5002 trigger with the SYNC0 / SYNC1 event the SSI Clock output to the SSI slave. The triggered event has a device specific time jitter. This time jitter is optimized in the EL5002 to the value: max. ±100 ns.

The jitter compensation can be enabled for each channel individually with via object 0x80n0:0C.

Index (hex)

Name

Meaning

80n0:0C

Enable SSI clock jitter compensation

0: SSI clock jitter compensation is disabled (default)

1: SSI clock jitter compensation is enabled

Multiple transmission mode

The following modes can be used with the SSI protocol:

The single transmission is implemented according to the SSI protocol standard. The multiple transmission is an extension of the single transmission and can be activated by the user for each channel independently.

For the multiple transmission the SSI master sends additional clock pulses / clock bursts (at least additional one) within the monoflop time. As response the complete data word, that was already transmit after the first rising clock edge, is expected. The received data values are compared. If there is a difference between the received data value, an error state indicated by an error bit is set. Therefore the multiple transmission is ideally suited to check the data integrity.

The multiple transmission can be activated by a CoE object, for each channel independently. The number of additional send clock bursts can be set by the user.

Index 0x80n0 SSI settings

Index (hex)

Name

Meaning

80n0:14

Number of clock bursts

1: single transmission is active (Default)

2: multiple transmission with 2 clock bursts

3: multiple transmission with 3 clock bursts

The additional clock bursts are send within the monoflop time tm, these time is specified:

The multiple transmission functionality cannot be guaranteed for monoflop time tm < 15 µs.

The number of the additionally send clock bursts is restricted by the baudrate. The higher the baudrate, more clock bursts can be sent.

While during single transmission received value is directly written to the counter value, for multiple transmission the first valid value is written to the counter value. This means:

multiple transmission with 2 clock bursts (0x80n0:14):

multiple transmission with 3 clock bursts (0x80n0:14):

The status byte (SB) is located in the input process image, and is transmitted from the terminal to the controller.

Bit

Name

Meaning

SB.7

TxPDO Toggle

0/1bin

The TxPDO toggle is toggled by the slave when the data of the associated TxPDO is updated.

SB.6

TxPDO State

0/1bin

Validity of the data of the associated TxPDO
0 = valid
1 = invalid

SB.5

Sync error

0/1bin

The Sync error bit is only required for DC mode. It indicates whether a synchronization error has occurred during the previous cycle.

This means a SYNC signal was triggered in the EL500x, although no new process data were available
0 = OK
1 = not OK

SB. 4

-

0bin

reserved

SB.3

Data mismatch

0/1bin

A value error (tbd) bit is only displayed, if it was previously activated through index 0x80n0:xx (tbd): multiple transmission with n clock bursts.

0 = The multiple transmitted and received data values are same
1 = The multiple transmitted and received data values are different

SB.2

Power failure

0/1bin

An encoder-specific error is displayed, if it was activated beforehand by index 0x80n0:02.

0 = no encoder-specific error
1 = encoder-specific error occurred

SB.1

Frame error

0/1bin

The data frame is wrong, i.e. the data frame was not terminated with zero (perhaps wire breakage on clock cables).

0 = no frame error
1 = frame error occurred

SB.0

Data error

0/1bin

SSI input error:

  • power supply for the encoder is missing
  • broken wire at SSI data inputs D+ or D-
  • Data cables interchanged

If no data communication takes place, the SSI input of the terminal is on LOW level