9
6. SSI-interface
The Fieldbus Gateway 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 Developer-extension (Cust_ssi.xml) are available free
of charge from our website at www.wenglor.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 has to be defined in the Script itself under "Set number of bits" and "Set typ" (default = 12-Bit-Single-Turn-
Gray):
/// Set number of bits (1..16 = Single Turn, 17..32 = Multi Turn)
moveconst (bAnzBit, 12); // i. e. 12 Bit single turn
// Set typ
// Values of bTyp:
// 0 = Reserved
// 1 = Output-value without change (i. e. binary encoder)
// 2 = Output-value changed from Gray to Binary (i. e. Gray encoder)
// >2 = Reserved
moveconst ( wTyp, 2); // i. e. 12 Bit Gray
•
Load the Script into the device. Open WINGATE and activate the device in the configuation mode (see chapter 4.1, Configurati-
on mode (config mode)) - an actuation message appears, that looks in line with the following (example CL-PB):
•
Special Firmware (23) not loaded
•
RS-PBV1-CL (232/422/485) V7.31[30] (c)dA Switch=0x02FF Script(8k)="SSI" Author="wenglor sensoric" Version="V 1.0"
Date=20.03.2008 SN=47110002 ID=2
•
Konfigmode…
•
The note "Special Firmware (23) not loaded" means that the firmware-extension is not yet loaded. The extension is loaded
through Extras
Firmware Script Extension. Select the file "Cust0023 (Cmd 23 + 24 for SSI).hex" and choose "write extensi-
on".
•
Re-start the device
now only the device’s actual actuation message appears and not the note any more.
•
Bring the device into the data exchange mode (see chapter 4.3, Data exchange mode)
DONE!
6.2
Hardware-wiring
The clock wires of the SSI-interface are placed onto the Tx-wires of the RS-422-interface and the data wires onto the Rx-wires at
the Fieldbus Gateway.
X1 (3pin + 4pin screw-plug-connector):
Pin no.
Name
Function at SSI
1
Rx 232
n. c.
2
Tx 232
n. c.
3
AP-GND
n. c.
4
RX 422+
SSI DAT+
5
Rx 422–
SSI DAT–
6
Tx 422+
SSI CLK+
7
Tx 422–
SSI CLK–
Sensoren für Ihren Erfolg
www.
wenglor
.com
Sensoren für Ihren Erfolg
www.
wenglor
.com