Diagnostic Command; Format Raw - 3M MicroTouch EX113 Reference Manual

Dual-mode controller
Table of Contents

Advertisement

36
Yy = Y (vertical) coordinate data; fourth and fifth bytes of data.
Table 22. Data Sequence
Data Sequence
S- Byte 1
X- Byte 2
x- Byte 3
Y- Byte 4
y- Byte 5
*MSB = Most Significant Bit, LSB = Least Significant Bit
** s = sign bit
The following table describes the meaning of the bits in the status byte (Byte 1).
Table 23. Calibrate Raw Status Bits
Bit
Description
S0 – S5 Reserved
S6
Proximity (touch state)
S7
Packet synchronization

Diagnostic Command

Syntax:
<SOH>DX<CR>
Description:
This command requests that the controller check for sensor failures such as broken
corners, broken wires, etc.
Response:
<SOH>0<CR>
<SOH>1<CR>
<SOH>2<CR>

Format Raw

Syntax:
<SOH>FR<CR>
Description:
Returns the signal level (amount of touch) of each of the four sensor corners in digital
format. The returned values are not corrected for stray values.
The Format Raw data is a 41-byte packet that includes 1 status byte and 40 bytes of
binary corner data. The first byte of each packet always has its high bit (Bit 7) set to
provide synchronization with the host system. Refer to the following table for General
Packet Formats. Each corner data is composed of a pair of 32-bit I and Q values, which
are delivered in 10 bytes.
MSB*
7
6
1
S6
0
X3
0
Xs** X9
0
Y3
0
Ys** Y9
Values
1 = Sensor is being touched (a touchdown or a continued touch).
0 = Sensor is not being touched (a touch liftoff or inactive).
When the proximity bit changes from 1 to 0 (touch liftoff), the
controller outputs one final set of X/Y coordinate data with the bit
equal to 0 and the X/Y coordinate data equal to the last touch point.
Always 1.
Positive response.
Command not supported.
Failure detected.
3M Touch Systems, Inc. Proprietary Information – TSD-40848A
3M™ MicroTouch™ Controller EX Dual Mode Reference Guide
Bits
5
4
3
Reserved
X2
X1
X0
X8
X7
Y2
Y1
Y0
Y8
Y7
LSB*
2
1
0
Reserved
X6
X5
X4
Reserved
Y6
Y5
Y4

Advertisement

Table of Contents
loading

Table of Contents