Dt sheet Issue 4, 24 th ugust 2015 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 Power consumption Encoder power supply Inputs Mximum count rte USB connector Drivers Cble length 5 V over USB port Operting temperture 0 C to +45 C Environmentl seling Mss 65 m (without encoder connected) 5 V or lower s supplied from the computer. Consider voltge drop over USB cble, USB hubs nd encoder cble. Output is fused. RS422 differentil, B, Z,, B, Z or single ended, B, Z with 5 V TTL levels 5 MHz, if using reference mrks 30 MHz, if not using reference mrks * USB 1.1 Full Speed; USB 5 pin mini-b connector Virtul Com Port (VCP) drivers vilble for 32-bit nd 64-bit Windows (XP, Vist, 7 nd 8/8.1) Linux uses generic CDC drivers. 1 m stndrd to mini-b USB cble (supplied). Mximum length 5 m. IP20 indoor use only 42 g (interfce without USB cble) * Units produced fter My 2015 re comptible with high-speed opticl encoders 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 Power consumption Encoder power supply Dt outputs Dt inputs USB connector Drivers Cble length 5 V over USB port Operting temperture 0 C to +45 C Environmentl seling Mss 65 m (without encoder connected) 5 V or lower s supplied from the computer. Consider voltge drop over USB cble, USB hubs nd encoder cble. Output is fused. Clock/M (differentil pir RS422) Dt/SLO (differentil pir RS422) USB 1.1 Full Speed; USB 5 pin mini-b connector Virtul Com Port (VCP) drivers vilble for 32-bit nd 64-bit Windows (XP, Vist, 7 nd 8/8.1) Linux uses generic CDC drivers. 1 m stndrd to mini-b USB cble (supplied). Mximum length 5 m. IP20 indoor use only 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) nd Linux. The E201 USB interfce should be utomticlly recognized on the Linux system. It uses the»communiction Device Clss driver (CDC)«. VID = 0483 & PID = 5740 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)? Encoder position E201-9Q returns 3 deciml vlues (width not fixed) seprted by colons nd terminted with CR! Encoder position E201-9Q returns 4 deciml vlues (width not fixed) seprted by colons nd terminted with CR > Encoder position E201-9Q returns 24 chrcter hexdeciml string + CR comprising 3 sets of 8 chrcter hexdeciml strings < Encoder position 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 e n E201-9Q sets current count vlue to zero (this lso ffects reference mrk position) E201-9Q clers zero offset vlue stored by z commnd Red encoder supply sttus, voltge nd current consumption (fixed width) Turn on power supply to encoder (defult t power-up) 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 - - - 1 : 4.975 V : 0070 m + CR s :. V : bbbb m + CR ON + CR 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 - 1234 + CR nnnn + CR ssocite compny 5
Dt sheet Commnd set E201-9S SCII COMMND CTION v E201-9S returns softwre version + CR E201-9S 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)? Encoder position E201-9S returns encoder position in deciml representtion (width not fixed) > Encoder position E201-9S returns 8 Hex digits with encoder position! Encoder position E201-9Q returns 2 deciml vlues (width not fixed) seprted by colon nd terminted with CR 4 Encoder position 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) 78J077 + CR nnnnnn + CR where: n = product seril number 1234 + CR nnnn + CR where: b Red current word width tht is red from encoder 31 bit + CR nn bit + CR 00000d54 + CR nnnnnnnn + CR where: (signed 32 bit) 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.* 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 SSI encoder BiSS encoder m Red current encoder clock frequency 3 = 140 khz + CR or 9 = ERROR n = xxx khz + CR Mn e n Set SSI nd BiSS clock frequency: 8 = 4.4 MHz 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) Turn on power supply to encoder (defult t powerup) 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 ON + CR f Turn off power supply to encoder OFF + 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). dditionl informtion cn be found in the document E201D02 E201-9S ppliction note: Decoding the BiSS informtion vilble for downlod t www.rls.si/e201 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 4 24. 8. 2015 2, 5, 6 Minor text chnges in Commnd set tbles, 4.4 MHz dded on the E201-9S interfce, E201-9Q count frequency mended. Cble length dded. Linux support dded. 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. 2015 RLS d.o.o. ssocite compny