Dt sheet Issue 3, 14 th July 2014 E201 USB Encoder Interfce E201-9Q - incrementl E201-9S - bsolute bsolute SSI BiSS-C mode (unidirectionl) B Z Clock Dt M SLO The E201 is single chnnel USB encoder interfce suitble for use with wide vriety of 5 V rotry nd liner encoders. It llows encoders to be esily interfced nd powered from PC using only USB cble. The E201 is vilble in 2 versions: E201-9Q supporting incrementl encoders E201-9S supporting bsolute SSI nd BiSS-C mode (unidirectionl) encoders Both stndrd versions re pin comptible with RLS rotry nd liner mgnetic encoders. The interfces cn lso be used with Renishw encoders. Two sttus LEDs re included to indicte USB sttus nd encoder ctivity. Demo softwre instlltion Downlod nd instll the demo softwre from www.rls.si/e201. During the instlltion ll necessry drivers re instlled. When instlltion is completed, connect the E201 interfce nd configure the softwre for the encoder you will be using. Encoder supply voltge nd current consumption cn be red out by the softwre. Power supply to the encoder cn be switched on/off by the softwre. For custom development of softwre, detiled explntion of the SCII commnds cn be found in this dtsheet under the Progrmming commnds section. pplictions Encoder functionl test Encoder demonstrtion Metrology Guging PC bsed mchinery ssocite compny
16 Dt sheet E201-9Q - for 5 V incrementl encoders The E201-9Q counts edges from 5 V incrementl encoders nd llows the count vlue to be red by PC using simple SCII commnds over USB connection. Dimensions Dimensions nd tolernce in mm. 32.9 59.5 ±1 mini USB 52.2 DB9 femle Technicl specifictions Power supply 5 V Power consumption 65 m (without encoder connected) Inputs RS422 differentil, B, Z, -, B-, Z- or single ended, B, Z with 5 V TTL levels Mximum count rte 2 MHz, if using reference mrks 30 MHz, if not using reference mrks Not suitble for high speed opticl encoders or encoders with noise USB connector USB 1.1 Full Speed; USB 5 pin mini-b connector Drivers Virtul Com Port (VCP) drivers vilble for 32-bit nd 64-bit Windows (XP, Vist, 7 nd 8/8.1) Cble length 1 meter stndrd to mini-b USB cble (supplied) Operting temperture 0 C to +45 C Environmentl seling IP20 - indoor use only Mss 42 g (interfce without USB cble) Connections Pin Function 1 0 V 2 Z+ 3 B+ 4 + 5 5 V 6 Z- 7 B- 8-9 0 V Encoder input ( D type connector - 9 wy) NOTE: Connections re directly comptible with the pin-out for RLS encoders. When used with Renishw encoder, the encoder pin-out might need to be modified. Sttus LEDs LED colour USB Encoder Red Disconnected Reference mrk found Yellow Connected Encoder not moving Green Communiction in progress Encoder moving Ordering code E201-9Q USB interfce for use with incrementl encoders 2
E201-9S - for 5 V bsolute SSI/BiSS-C mode (unidirectionl) encoders The E201-9S interrogtes n SSI/BiSS encoder nd llows the dt to be red by PC using simple SCII commnds over USB connection. Dimensions Dimensions nd tolernce in mm. 32.9 59.5 ±1 16 mini USB 52.2 DB9 femle Technicl specifictions Power supply 5 V Power consumption 65 m (without encoder connected) Dt outputs Clock/M (differentil pir - RS422) Dt inputs Dt/SLO (differentil pir - RS422) USB connector USB 1.1 Full Speed; USB 5 pin mini-b connector Drivers Virtul Com Port (VCP) drivers vilble for 32-bit nd 64-bit Windows (XP, Vist, 7 nd 8/8.1) Cble length 1 meter stndrd to mini-b USB cble (supplied) Operting temperture 0 C to +45 C Environmentl seling IP20 - indoor use only Mss 42 g (interfce without USB cble) Connections Pin SSI encoder Function BiSS encoder 1 0 V 0 V 2 Clock+ M+ 3 Clock- M- 4 NC NC 5 5 V 5 V 6 Dt+ SLO+ 7 Dt- SLO- 8 NC NC 9 0 V 0 V NOTE: BiSS is hrdwre comptible to SSI. NOTE: Connections re directly comptible with the pin-out for RLS encoders. When used with Renishw encoder, the encoder pin-out might need to be modified. Sttus LEDs LED colour USB Encoder Red Disconnected Encoder not connected Yellow Connected - Green Communiction in progress Encoder connected Ordering code E201-9S USB interfce for use with bsolute SSI nd BiSS-C mode (unidirectionl) encoders ssocite compny 3
Dt sheet Progrmming commnds NOTE: Note this section is only needed if you wish to develop your own softwre. The E201 is provided with simple disply softwre. This section contins detiled informtion on the communiction between the E201 interfce nd PC which is needed to develop customised softwre. Instlltion of USB Drivers Downlod the E201 softwre which includes the USB drivers from www.rls.si/e201 nd follow the instlltion steps. The drivers will be instlled during the softwre instlltion. The E201 interfce will pper s new Virtul COM port on the computer. The ctul port number ssigned depends on how mny COM ports re lredy in use on the PC. In Windows 7 this cn be found under: Control Pnel > System > Device Mnger > Ports (COM & LPT) Supported operting systems: 32-bit nd 64-bit Windows (XP, Vist, 7 nd 8/8.1) Communictions The E201 interfce responds to SCII commnds received over the USB cting s virtul seril port. No CR chrcter is required fter ny commnd. Speed settings of the virtul seril port cn be ny vlue. 4
Commnd set E201-9Q SCII COMMND CTION v E201-9Q returns softwre version + CR E201-9Q V1.18 + CR INTERFCE RESPONSE (with exmple) s Interfce seril number in 8 Hex numbers : bbbbbbbb : cccccccc + CR r Interfce product seril number (6 chrcters; written on Interfce housing)? E201-9Q returns 3 deciml vlues (width not fixed) seprted by colons nd terminted with CR! E201-9Q returns 4 deciml vlues (width not fixed) seprted by colons nd terminted with CR > E201-9Q returns 24 chrcter hexdeciml string + CR comprising 3 sets of 8 chrcter hexdeciml strings < E201-9Q returns 32 chrcter hexdeciml string + CR comprising 4 sets of 8 chrcter hexdeciml strings I i Begin Index mode. On every reference/index E201-9Q returns position s 8 chrcter hexdeciml string Stop Index mode (stops returning position on every reference/index) c E201-9Q clers reference sttus flg - z E201-9Q sets current count vlue to zero (this lso - ffects reference mrk position) E201-9Q clers zero offset vlue stored by z - commnd e Red encoder supply sttus, voltge nd current consumption (fixed width) 1 : 4.975 V : 0070 m + CR s :. V : bbbb m + CR n Turn on power supply to encoder (defult t ON + CR power-up) f Turn off power supply to encoder OFF + CR p Sttus of hrdwre input pins on interfce (0 or 1) 110 + CR bz + CR 1 Begin uto trnsmission of encoder position in deciml form t 1 khz rte 0 Stop uto trnsmission - 51X499 + CR nnnnnn + CR where: n = product seril number 3412:2596:1 + CR nnnn:rrrr:ssss + CR where: r = count vlue when reference/index ws lst seen s = sttus (sttus vlue of 1 shows tht reference ws detected - use c commnd to cler) 3412:2596:1:3574 + CR nnnn:rrrr:ssss:tttt + CR where: r = count vlue when reference/index ws lst seen s = sttus (sttus vlue of 1 shows tht reference ws detected - use c commnd to cler) t = timestmp of position in µs Note: vilble in E201 interfce version 1.18 (nd lter) 00000d54000002400000001 + CR nnnnnnnnrrrrrrrrssssssss + CR where: (signed 32 bit) r = count vlue when reference/index lst seen (signed 32 bit) s = sttus (sttus vlue of 1 shows tht reference ws detected - use c commnd to cler) 0000000000000000000000003425fcd8 + CR nnnnnnnnrrrrrrrrsssssssstttttttt + CR where: r = count vlue when reference/index ws lst seen s = sttus t = timestmp of position in µs Note: vilble in E201 interfce version 1.18 (nd lter) On commnd: no response On index: I = 00000ec9 + CR I = nnnnnnnn + CR where: on reference/index - 1234 + CR nnnn + CR ssocite compny 5
Dt sheet Commnd set E201-9S SCII COMMND CTION INTERFCE RESPONSE (with exmple) v E201-9S returns softwre version + CR E201-9S V1.18 + CR s Interfce seril number in 8 Hex numbers : bbbbbbbb : cccccccc + CR r Interfce product seril number (6 chrcters; written on Interfce housing)? E201-9S returns encoder position in deciml representtion (width not fixed) 78J077 + CR nnnnnn + CR where: n = product seril number 1234 + CR nnnn + CR where: > E201-9S returns 8 Hex digits with encoder position 00000d54 + CR nnnnnnnn + CR where: (signed 32 bit)! E201-9Q returns 2 deciml vlues (width not fixed) seprted by colon nd terminted with CR 4 E201-9S returns 16 chrcter hexdeciml string + CR comprising 64 SLO bits, synchronised to 64 M clocks Used for BiSS C-mode (unidirectionl) encoders Note: vilble in E201 interfce version 1.16 (nd lter) 1234:5678 + CR nnnn:tttt + CR where: t = position timestmp in µs c004c9b71753000 + CR nnnnnnnnnnnnnnnn + CR where: n = SLO bits in 16 Hex digits, comprising ck, Strt, Cds (lwys 0 ) in BiSS C mode (unidirectionl), Position, Sttus nd CRC bits.* SSI encoder BiSS encoder b Red current word width tht is red from encoder 31 bit + CR nn bit + CR Bnn+CR Set word width; n cn be one or two chrcters OK 31 bit + CR or B prm error + CR OK nn bit + CR N = 1 to 31 m Red current encoder clock frequency 3 = 140 khz + CR or 9 = ERROR n = xxx khz + CR Mn e Set SSI nd BiSS clock frequency: 7 = 2.2 MHz 6 = 1.1 MHz 5 = 560 khz 4 = 280 khz 3 = 140 khz (defult) 2 = 70 khz 1 = 35 khz Red encoder supply sttus, voltge nd current consumption (fixed width) n Turn on power supply to encoder (defult t power-up) ON + CR f Turn off power supply to encoder OFF + CR frequency 5 + CR or M prm error + CR frequency n + CR where: n = 1 to 7 1 : 4.975 V : 0070 m + CR s :. V : bbbb m + CR p Sttus of hrdwre input pins on interfce _11 + CR xcd + CR x = spce chrcter c = clock pin (0 or 1), should be 1 d = dt pin (0 or 1), should be 1 1 Begin uto trnsmission of encoder position in deciml form t 1 khz rte 0 Stop uto trnsmission - 1234 + CR nnnn + CR * The user must decode the SLO bits into Position, Sttus nd CRC ccording to the corresponding bit lengths. Eg.: If the Position, Sttus nd CRC length is 26 bits, 2 bits nd 6 bits respectively, the response c004c9b71753000 is decoded s 0x19374E2 (Position), 0x03 (Sttus) nd 0x2 (CRC, x 6 + x + 1 polynomil, inverted). 6
Hed office RLS meriln tehnik d.o.o. Poslovn con Žeje pri Komendi Pod vrbmi 2 SI-1218 Komend Sloveni T +386 1 5272100 F +386 1 5272129 E mil@rls.si www.rls.si Document issues Issue Dte Pge Corrections mde 1 12. 4. 2011 - New document 2 14. 3. 2013 5 nd 6 dded BiSS - C mode nd Commnd set in E201-9S nd E201-9Q 3 14. 7. 2014 2, 3, 4 Dimension drwings dded; windows comptibility updted is our worldwide sles support prtner for Mgnetic Encoders. ustrli T +61 3 9521 0922 E ustrli@renishw.com Germny T +49 7127 9810 E germny@renishw.com The Netherlnds T +31 76 543 11 00 E benelux@renishw.com Sweden T +46 8 584 90 880 E sweden@renishw.com ustri T +43 2236 379790 E ustri@renishw.com Hong Kong T +852 2753 0638 E hongkong@renishw.com Polnd T +48 22 577 11 80 E polnd@renishw.com Switzerlnd T +41 55 415 50 60 E switzerlnd@renishw.com Brzil T +55 11 4195 2866 E brzil@renishw.com Hungry T +36 23 502 183 E hungry@renishw.com Russi T +7 495 231 1677 E russi@renishw.com Tiwn T +886 4 2473 3177 E tiwn@renishw.com Cnd T +1 905 828 0104 E cnd@renishw.com Indi T +91 20 6674 6751 E indi@renishw.com Singpore T +65 6897 5466 E singpore@renishw.com UK T +44 1453 524524 E uk@renishw.com The People s Republic of Chin T +86 10 8448 5306 E beijing@renishw.com Isrel T +972 4 953 6595 E isrel@renishw.com Sloveni T +386 1 52 72 100 E mil@rls.si US T +1 847 286 9953 E us@renishw.com Czech Republic T +420 5 4821 6553 E czech@renishw.com Frnce T +33 1 64 61 84 84 E frnce@renishw.com Itly T +39 011 966 10 52 E itly@renishw.com Jpn T +81 3 5366 5316 E jpn@renishw.com South Kore T +82 2 2108 2830 E southkore@renishw.com Spin T +34 93 663 34 20 E spin@renishw.com For ll other countries Plese contct RLS hed office T +386 1 52 72 100 E mil@rls.si RLS meriln tehnik d.o.o. hs mde considerble effort to ensure the content of this document is correct t the dte of publiction but mkes no wrrnties or representtions regrding the content. RLS meriln tehnik d.o.o. excludes libility, howsoever rising, for ny inccurcies in this document. 2014 RLS d.o.o.