bmcm USB-OI16 Manual Download Page 6

USB-OI16 

Seite 6 

3.5

 

Counters with Pulse Time Measurement 

The USB-OI16 features two 32-bit counters allowing the 
connection of incremental encoders.  
The counter inputs (A, B, and Reset) are configured by 
software and can be reached then at the first digital input 
pins (counter 1: I1-I3; counter 2: I4-I6). 
The following table and figure shows the pin assignment of 
the counter inputs at the 37-pin D-Sub female: 

 
The USB-OI16 counts the number of 
incoming pulses (max. 250kHz) 
sampled at the connection of signal 
A. If the maximum counting range is 
reached, the counter will be reset to 
the minimum value of the counting 
range.  
If the external counter reset is 
connected, the counter can be reset 
at any time. 
In comparison to a counter, the quadrature decoder considers the counting direction by decoding a 
second phase-shifted signal. 
To activate the counting function, the respective digital lines of the USB-OI16 must be assigned to the 
counter via software. 

Function 

Description 

Max. pulse frequ. 

Connection 

Pins/Counter 

Counting range 

Counter 

count 

 

250kHz 

Signal A 

0..2

32

-1 

Up/Down counter 

count 



 

100kHz 

Signal A, Signal B 

-2

31

 .. 2

31

-1 

Incremental encoder  count 



 

100kHz 

Signal A, Signal B 

-2

31

 .. 2

31

-1 

Pulse time  
measurement 

measure time  
betw. 2 edges, 
resolution 
41,67ns 

250kHz 

Signal A 

0 - 178,96s 

 

Please refer to the relevant documentation of your product for further information about connecting 

your incremental encoder. 

 

Counter 1 

D-Sub37 

  Counter 2 

D-Sub37 

Signal A 

11 

  Signal A 

31 

Signal B 

30 

  Signal B 

13 

Reset 

12 

  Reset 

32 

Summary of Contents for USB-OI16

Page 1: ...me measurement function produces precise results especially in the low frequency range Get Connected The digital channels of the application specific hardware sensor machine etc are connected at a 37 pin D Sub female Plug Play The connection to the PC is realized via USB The USB OI16 provides all typical USB features e g Plug Play Hot Plug Up to 127 devices can be connected and installed during op...

Page 2: ...tage higher than the 5V of the USB interface an external power supply providing 7 32V can be connected 3a Step Measuring with NextView To be able to use your measurement system with NextView you just need to download and install the latest version of NextView on www nextview de download In case you did not buy NextView request a free of charge trial version when first starting NextView Find more i...

Page 3: ...USB OI16 Seite 3 2 Block Diagram µCont roller USB OUT 1 16 D D 1 7 32V ext 2 9 8 10 B 16 IN 1 16 1 2 3 16 15 A DC DC Treiber Driver 5V i nt Treiber Driver ...

Page 4: ...icated to the inputs and outputs are turned on when a digital channel is high 3 2 Connection to the PC The standard USB connector type B serves for the connection of the USB OI16 to the PC 5V voltage supply is also provided via the USB interface 3 3 Switching Voltage A 7 32V DC switching voltage for the digital outputs can be connected at the 37 pin D Sub female If there is no external power suppl...

Page 5: ...sensors or other digital signal sources in the 3 32V range at the connections I1 I16 The following table and figure shows the pin assignment of the digital inputs at the 37 pin D Sub female and the related port assignment Digital IN D Sub37 Port Bit Digital IN D Sub37 Port Bit I1 11 A 0 I9 15 A 8 I2 30 A 1 I10 34 A 9 I3 12 A 2 I11 16 A 10 I4 31 A 3 I12 35 A 11 I5 13 A 4 I13 17 A 12 I6 32 A 5 I14 3...

Page 6: ...ted the counter can be reset at any time In comparison to a counter the quadrature decoder considers the counting direction by decoding a second phase shifted signal To activate the counting function the respective digital lines of the USB OI16 must be assigned to the counter via software Function Description Max pulse frequ Connection Pins Counter Counting range Counter count 250kHz Signal A 1 0 ...

Page 7: ... and a lamp to USB OI16 with external supply 4 Compatibility of the USB OI16 to USB PIO with OI16 The USB OI16 incorporates all functions in one device provided by the combination of a USB PIO and OI16 Therefore the USB OI16 can serve as an alternative for this hardware combination All previously used applications are fully compatible ...

Page 8: ... 16 optocouplers with 2 high side drivers Switching voltage 5V DC internal supply or 7 32V DC external supply Voltage drop with ext supply app 1 5V at the high side driver Switching current with ext supply max 0 25A per output max 0 8A in total per 8 bit high side driver at 25 C General Power supply internal 5V DC external 7 32V DC at 37 pin D Sub female Digital connection 37 pin D Sub female USB ...

Reviews: