Ssi-Interface; Initiation Of The Ssi-Interface; Parameter Sample Frequency (Clock Stretch); Parameter Encoder Monitoring (Check Encoder) - DEUTSCHMANN AUTOMATION UNIGATE MB EtherCAT Instruction Manual

Universal fieldbus-gateway
Table of Contents

Advertisement

Deutschmann Automation GmbH & Co. KG
6

SSI-interface

®
The UNIGATE
also supports the connection of applications or products, that communicate via
SSI.
6.1

Initiation of the SSI-interface

The configuration of the SSI-interface is executed in the config mode with the WINGATE soft-
ware, Protocol SSI. The encoder type and the sampling frequency are defined via the parameter
"Resolution" (1 bit..15 bit, 24 bit...25 bit), "SSI Encoder Type" (Binary or Gray code) and "Clock
stretch".
6.1.1

Parameter sample frequency (Clock stretch)

You can change the sampling frequency. For this purpose a "Stretch value" is passed that inserts
a waiting period after each clock edge.
If a 0 is passed, there is no waiting time.
Thus the following SSI sample frequencies may vary slightly:
Waiting time = 0
Waiting time = 1
Waiting time = 2
Waiting time = 3
Waiting time = 4
Waiting time = 5
Waiting time = 6
Waiting time = 7
Waiting time = 8
Waiting time = 9
Waiting time = A
Waiting time = B
Waiting time = C
Waiting time = D
Waiting time = E
Waiting time = F
The bit time from which these frequencies were derived, calculate as follows:
t = 3μs + (2* (+ 0.6µs (n* 0.6µs))), where n corresponds to the "Stretch value" (1.. F).
Without clock extension (n = 0) remains at 3μs → 333kHz!
The max. Bit length of 32 bits and the slowest clock this results in a total readout time of
32 * = 22μs ~ 700μs.
6.1.2

Parameter Encoder monitoring (Check Encoder)

An encoder monitoring can be activated via the parameter "Check encoder", as long as the used
SSI-encoder supports this function. After the last read encoder bit it is verified if the data line is
still at Low for at least one bit. If the UNIGATE
issued. For example it can detect a cable break or a not connected encoder. However, it can also
be a misconfigured bit length, or a too slow read out clock.
17.7.17
UNIGATE
→ SSI-Clock ~ 333kHz (No Stretch)
→ SSI-Clock ~ 185kHz
→ SSI-Clock ~ 150kHz
→ SSI-Clock ~ 125kHz
→ SSI-Clock ~ 110kHz
→ SSI-Clock ~ 100kHz
→ SSI-Clock ~ 88kHz
→ SSI-Clock ~ 80kHz
→ SSI-Clock ~ 72kHz
→ SSI-Clock ~ 67kHz
→ SSI-Clock ~ 62kHz
→ SSI-Clock ~ 58kHz
→ SSI-Clock ~ 54kHz
→ SSI-Clock ~ 50kHz
→ SSI-Clock ~ 48kHz
→ SSI-Clock ~ 45kHz
®
fieldbus gateway UNIGATE
®
does NOT detect this bit on Low, error 12 is
®
MB - EtherCAT
SSI-interface
®
V. 1.4
15

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UNIGATE MB EtherCAT and is the answer not in the manual?

This manual is also suitable for:

Unigate mb ethernet/ip 2port

Table of Contents