SSI-Schnittstelle
6
SSI-Schnittstelle
®
Das UNIGATE
unterstützt auch den Anschluss von Applikationen bzw. Produkten, die über SSI
kommunizieren.
6.1
Inbetriebnahme der SSI-Schnittstelle
Das benötigte Script (example_SSI) sowie die Firmware- (Cust0023) und Protocol Developer-
Erweiterung (Cust_ssi.xml) können kostenfrei aus dem Internet unter www.deutschmann.de
bezogen werden. Ebenso das Softwaretool Protocol Developer und die Konfigurationssoftware
WINGATE.
•
Im Protocol Developer (siehe auch Kapitel 7, Die Debug Schnittstelle) muss das ConfigFile
"Cust_ssi.xml" hinzugefügt werden. Unter Options
•
Script "example_SSI.dss" in Protocol Developer laden.
•
Im Script selbst muss unter "Set number of bits" und "Set type and clock
stretch value" der Gebertyp (und die Clock-Frequenz) definiert werden (default = 12-Bit-
Single-Turn-Gray, max clock stretch):
// Set number of bits
//
1..16 = Single Turn
// 17..32 = Multi Turn
moveconst (bNumBits, 12);
// MT SSI 4096 x 4096 = 16777216 = 0b1000000000000000000000000 => 24 bit
//------------------------------------------------------------------------------
// Set type and clock stretch value
// Type (low nibble):
//
0 = Reserved
//
1 = output value as is (i.e. binary encoder)
//
2 = convert Gray encoded output value to binary (i.e. Gray encoder)
//
>2 = Reserved
//
// Clock stretch value (high nibble):
// Please note that the given frequency values are only a rough estimate. The
// exact frequency varies depending on the devices underlying architecture.
//
0 = No Stretch --> ~300 kHz
//
1 = ~185 kHz
//
2 = ~150 kHz
//
3 = ~125 kHz
//
4 = ~110 kHz
//
5 = ~100 kHz
//
6 = ~ 88 kHz
//
7 = ~ 80 kHz
//
8 = ~ 72 kHz
//
9 = ~ 67 kHz
//
A = ~ 62 kHz
//
B = ~ 58 kHz
//
C = ~ 54 kHz
//
D = ~ 50 kHz
//
E = ~ 48 kHz
//
F = ~ 45 kHz
16
UNIGATE
// i.e. 12 bit single turn
®
Feldbus-Gateway UNIGATE
Deutschmann Automation GmbH & Co. KG
→
→
Settings
ConfigFiles.
®
CM - Fast Ethernet V. 1.3
23.6.17