15.8.14
UNIGATE
®
fieldbus gateway UNIGATE
®
CL PROFINET 2Port V. 1.6
14
Deutschmann Automation GmbH & Co. KG
SSI-interface
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 required Script (
example_SSI
), also the PROTOCOL DEVELOPER-extension
(
Cust_ssi.xml
) are available free of charge from our website at www.deutschmann.com, as
well as the softwaretool PROTOCOL DEVELOPER and the configuration software WINGATE.
•
In the PROTOCOL DEVELOPER (see chapter 7, The Debug-interface) the ConfigFile
"
Cust_ssi.xml
" has to be added. At Options -> Settings -> ConfigFiles.
•
Load the Script "
example_SSI.dss
" into the PROTOCOL DEVELOPER.
•
The encoder type and the clock frequency has to be defined in the Script itself under "
Set
number of bits
" and "
Set type and clock stretch value
" (default = 12-Bit-Sin-
gle-Turn-Gray, max. clock stretch):
// Set number of bits
// 1..16 = Single Turn
// 17..32 = Multi Turn
moveconst (bNumBits, 12); // i.e. 12 bit single turn
// 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