Deutschmann Automation GmbH & Co. KG
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 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 <$AbsNum,<$paratext muss das ConfigFile
"Cust_ssi.xml" hinzugefügt werden. Unter Options -> Settings -> ConfigFiles.
•
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
//moveconst ( wTyp, 0x02); // i.e. Gray encoder, no clock stretch (High-Nibble=0)
®
19.6.17
UNIGATE
// i.e. 12 bit single turn
Feldbus-Gateway UNIGATE
®
CL - PROFINET 1Port V. 3.2
SSI-Schnittstelle
15