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), the firmware- (Cust0023) and PROTOCOL DEVEL-
PER-extension (Cust_ssi.xml) are available free of charge from our website at
www.deutschmann.de, as well as the softwaretool Protocol Developer and the configuration soft-
ware 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-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
16
UNIGATE
// i.e. 12 bit single turn
®
fieldbus gateway UNIGATE
Deutschmann Automation GmbH & Co. KG
®
CM - CANopen V. 1.4
23.6.17
Need help?
Do you have a question about the UNIGATE CM-CANopen and is the answer not in the manual?