background image

SSI 1417

PCI-Card for SSI-En co der

In struc ti on  Manual

Summary of Contents for SSI 1417

Page 1: ...SSI 1417 PCI Card for SSI Encoder Instruction Manual ...

Page 2: ...he product to ERMA the sender is respon sible for shipping charges freight insurance and proper packaging to prevent breakage in transit ERMA s warranty does not apply to defects resulting from action of thebuyer such mishandling improper interfa cing operation outside of design limits improper repair or unauthorized modification Trademarks Turbo Pascal Delphi are registered trademarks of Borland ...

Page 3: ...allation 7 6 1 Hardware configuration 7 6 1 1 Component layout 8 6 1 2 Connection of encoders 9 6 1 3 Connection of inputs 10 6 2 Open PC 10 6 3 Card insertion 11 6 4 Close PC 11 6 5 Driver installation 11 6 5 1 Windows 95 98 ME 11 6 5 2 Windows NT4 0 11 6 5 3 Windows 2000 12 6 5 4 Windows XP 12 6 6 Configure software 12 ERMA Electronic GmbH 2 ...

Page 4: ...thin own applications 18 7 3 1 Visual Basic 18 7 3 2 Visual C LabWindowsCVI 18 7 3 3 Delphi 19 7 4 Direct programming 19 7 4 1 Registers of SSI 1417 20 7 4 2 Tips and Tricks 22 8 Troubleshooting 22 9 Technical datas 23 10 Ordering information 24 11 Notices 25 3 ERMA Electronic GmbH Stand 03 2010 ssi1417_man_en vp Technical subjects to change ...

Page 5: ...ully No liability will be assumed for any damage caused by improper installation Inspect the instrument module carton for obvious damage Be shure there are no shipping and handling damages on the module before processing Do not apply power to the instrument if it has damaged The warranty does not apply to defects resulting from action of buyer such as mishandling improper interfacing operation out...

Page 6: ... function and 16 x 32 bit IO adresses for the PCI target controller You can use any number of SSI 1417 within one pc de pends on number of PCI slots The standard drivers supports up to 4 cards If more than 4 cards should be used you can ask for a driver for more cards The card has one 9 pin SUB D male connector for the inputs and two 9 pin SUB D fe male connectors for the encoders The functions of...

Page 7: ...use shielded twisted pair cables The wiring of shields and ground 0V should be star shaped The distance to interference sources should be as far as possible If necessa ry protective screen or metal enclosures must be provided Coils of relays must be supplied with filters Parallel wiring of input signals and AC power lines should be avoided ERMA Electronic GmbH 6 4 Block diagram FPGA PCI Target Con...

Page 8: ...fore installation all components have to be disconnected from power supply Because within PC s and the peripherals are high volta ges it is dangerous to life 6 1 Hardware configuration The SSI 1417 uses plug and play and so there is no need for any settings 7 ERMA Electronic GmbH 6 Installation ...

Page 9: ...6 1 1 Component layout ERMA Electronic GmbH 8 6 Installation male female female SV1 SV2 SV3 SSI0 SSI1 Trig Zero component layout ...

Page 10: ...IDATA Vs NSSITAKT SSITAKT 0V Encoder Illustration 1 Connection with onboard encoder supply UBat Vs 0V NSSIDATA SSIDATA Vs NSSITAKT SSITAKT 0V Encoder Encoder supply Illustration 2 Connection for external encoder supply 1 2 UEncoder Encoder U SSI 1417 Encoder UBat Vs 0V NSSIDATA SSIDATA Vs NSSICLOCK SSICLOCK 0V SUB D 9 pol female User designation Illustration 3 Pinning of SSI female connector ...

Page 11: ... Trigger 1 1 Trigger 2 6 Zero 1 3 Zero 2 8 5 5V high side inputs Trigger 1 2 Trigger 2 7 Zero 1 4 Zero 2 9 5 low side inputs 0V NSetZero_2 NSetZero_1 SetZero_2 SetZero_1 NTrig_2 NTrig_1 Trig_2 Trig_1 SUB D 9 pol male User designation Illustration 4 Trigger 1 1 2 Trigger 2 6 7 Zero 1 3 4 Zero 2 8 9 differential inputs RS422 1 Trigger 1 2 6 Trigger 2 7 3 Zero 1 4 8 Zero 2 9 5V differential inputs RS...

Page 12: ...s of shielding and card and PC will be more sensitive to EMC Additionaly the card won t be held in slot position when external force will happen to the connec ted cables Then the card could move within the slot and that can re sult in damage to the SSI 1417 and the PC So don t remove the slot plate 6 4 Close PC The case should be closed as described by the manufacturer of the PC 6 5 Driver install...

Page 13: ...ble and source code With the Conf button you can assign encoder numbers to each encoder All example programs will only work with encoders 1 and 2 6 7 Test of the card After installation the card could be tested Therefor you can use the example programs on the disc 7 Programming 7 1 Programming under Windows To build applications for Windows the disc includes different drivers for all Win dows vers...

Page 14: ...will be triggerred after a very small time The position values can be up to 44 bit Therefore all programming languages should have 64 bit integer types But that is not possible so a structure of 2 x 32 bit integer is used The structure is devided into a multiturn part number of revoluti ons and a signleturn part position within one revolution Programs written for use with ERMA_SSI DLL will run und...

Page 15: ...er should be 0 for future functions SSIAutoConf This function will try to identify the selected encoders and get all parameters of them The input parameter is a single encoder number or a summed ored value of multiple encoder numbers The function SSIInit uses this function with all possible encoder numbers to find all encoders Example SSIAutoConf EncoderNr2 SSIAutoConf EncoderNr1 or EncoderNr2 or ...

Page 16: ...er speed is to high The maximum trigger speed depends on the used operating system running threads and speed of the PC ZEROED Not used at the moment SSIGetResolution This function returns the resolution of an encoder The structure contains separa te bitcounts for revolutions MT and position ST Expl Resolution MT 0 Resolution ST 17 17 Bit Singleturn Encoder Resolution MT 12 Resolution ST 13 25 Bit ...

Page 17: ... possible for each encoder See the datasheet of the encoders for possible clock rates SSIGetTrigger This function returns the triggermodes of an encoder The mode is bitwise coded so multiple trigger are possible Bits are coded as follows TRIGGERSOFT This is the software trigger Is this bit set the encoder can be triggered using the function SSILatch TRIGGERTIME If this bit is set the encoder is tr...

Page 18: ...hould be taken that the time between 2 transmissions has to be shorter than the timer frequency or you will loose some trigger events SSIGetMfTime This function returns the monofloptime of one encoder Possible values are 2 to 63 µs MFTIME2US Monofloptime 2 µs MFTIME3US Monofloptime 3 µs MFTIME62US Monofloptime 62 µs MFTIME63US Monofloptime 63 µs SSISetMfTime This function will set the monofloptime...

Page 19: ... Within directory Include VB on the cd there is the file ERMA_SSI BAS If this file is included within a VisualBasic project all DLL functions for SSI 1417 are available in the project 7 3 2 Visual C LabWindowsCVI For C C applications there are an import library ERMA_SSI LIB and an hea der file ERMA_SSI H The library has to be inserted in the linker options of the project settings see documentation...

Page 20: ...of the PCI bus these data should be found out Therefore functions of the BIOS has to be used like described in PCI BIOS SPECIFICATION Revision 2 1 The SSI 1417 uses a configuration space header type 00h The datas could be found in the PCI configuration space on BaseAddress0 BaseAddress1 and In terruptLine With BIOS function the data could be read out of the configuration space BaseAddress0 is used...

Page 21: ...n Encoder1 Low DWord BaseAddr1 0x0C Position Encoder1 High DWord Status register Read Write BaseAddr1 0x10 Bit 0 Encoder0 Encoder present Bit 1 Encoder0 Changes on Encoder present Interrupt Bit 2 Encoder0 Interrupt position values present Bit 3 Encoder0 Interrupt overflow Bit 4 7 not used Bit 8 Encoder1 Encoder present Bit 9 Encoder1 Changes on Encoder present Interrupt Bit 10 Encoder1 Interrupt p...

Page 22: ...uration register Bit 0 5 Resolution bitcount max 44 Bit 6 7 not used Bit 8 14 SSIClock Frequency 5 MHz this value Bit 15 20 Monofloptime 2 to 63 µs Bit 21 24 not used Bit 25 Master Slave Mode 0 Master 1 Slave Bit 26 Enable trigger input 1 for this encoder Bit 27 Enable trigger input 2 for this encoder Bit 28 Enable zero input 1 for this encoder Bit 29 Enable zero input 2 for this encoder Bit 30 En...

Page 23: ...rd doesn t work That must not be a failure of the board There are many minor details when a new board doesn t work In that case at first some points should be paid attention to One of the most frequent failures are dirty slots It is recommended to clean the connector of the board with a cloth and a little spirit Further it can happen that the board doesn t fit correctly into the slot or into the P...

Page 24: ...2 x EIA RS422 low and high side also possible Zero Inputs 2 x EIA RS422 low and high side also possible Encoder Power Supply Optional 5 V 2 x 300 mA or 12 V 2 x 125 mA or 24 V 2 x 60 mA Isolation 500 VDC only with option galv isolation Connectors 2 x 9 pol SUB D female for SSI 1 x 9 pol SUB D male for Trigger and Zero Inputs EMC corresponding to 2004 108 EG Operating Temperature 0 bis 40 C Storage...

Page 25: ...ply 0 05 With 5 V power supply 0 12 With 12 V power supply 0 24 With 24 V power supply Galvanic opto Isolation 0 Without galvanic isolation 1 With galvanic isolation Accessory cable for external encoder supply 1 for each encoder KA 1417 ERMA Electronic GmbH 24 10 Ordering information ...

Page 26: ...11 Notices 25 ERMA Electronic GmbH 11 Notices ...

Page 27: ......

Page 28: ...ERMA Electronic GmbH Max Eyth Str 8 D 78194 Immendingen Telefon 07462 2000 0 Fax 07462 2000 29 email info erma electronic de Web www erma electronic de ...

Reviews: