Texas Instruments CBL 2 Reference Manual page 40

Ti cbl 2 data collector: reference guide
Hide thumbs Also See for CBL 2:
Table of Contents

Advertisement

After "getting" the analog channels, send the following commands to return the data
from the CBL 2 to the host:
Command Syntax:
{12,41,5}
{12,41,0}
{12,41,.1,Start,Stop}
Notes on Operation
The Sonic Timer is re-configured as a counter and will count the input transitions. The
transitions count is limited to 65535 transitions per cycle. The cycle time is the same as
the sample time. In other words, one count will be returned for each analog sample
returned.
Rotary Motion Mode Syntax: {12,41 , 6 ,scalefactor , startpos }
Scale Factor
Number of user units to
increment/decrement
for each count change
This mode is designed to measure the position of a rotary motion sensor. Rotational
motion information is determined by counting clockwise and counterclockwise signals
from the Vernier Rotary Motion Sensor. See Figure 5.
Each rising edge of the CWCNT (D1) line will cause the position to be incremented by 1.
Each rising edge of the CCWCNT (D0) line will cause the position to be decremented
by 1. The position will start at StartPos. Only a 16-bit counter will be used, giving a
count range from .32K to +32K.
One data point will be saved for each sample. Sampling will be commanded by the
normal Command 3.
40
Comment:
collect data in counter mode; send before Command 3
return number of points collected on next get
statement; send after "getting" the analog channels
return count list on next get statement
Start Position
Initial position
(in user units)
CWCNT (DI)
CCWCNT (D0)
Figure 6. Rotary Motion Mode
CBL 2 Technical Reference

Advertisement

Table of Contents
loading

Table of Contents