Calibrate Raw - 3M MicroTouch EX113 Reference Manual

Dual-mode controller
Table of Contents

Advertisement

3M™ MicroTouch™ Controller EX Dual Mode Reference Guide
3. Touch the sensor at an upper right target, which is located 12.5% (1/8) in from the
corner of the video image. The controller returns an acknowledgment of
<SOH>1<CR>. This is a positive response. If you receive a negative response, you
must start over again.
Touching the two valid calibration points results in a successful calibration. If either
calibration point is invalid, the calibration fails. The EX113 dual-mode controller restores
the previous calibration values. If the Calibrate Extended failed, repeat the CX process.
Response:
<SOH>1<CR>
Indicates that the controller received a valid touch coordinate (point) when the target was
touched. Two valid touch points indicate a successful calibration.
<SOH>0<CR>
Indicates that the touch point is out of range of the expected target area. If you receive a
negative response, you must start over again.
No Response
Indicates that you did not touch the target long enough to provide an accurate calibration
point.

Calibrate Raw

Syntax:
<SOH>CR<CR>
Description:
Allows the collection of raw (signed) X and Y coordinates before the normal scaling,
linearization, and filtering processes. The controller sends a continuous stream of data in
Calibrate Raw mode.
The Calibrate Raw data is a 5-byte packet that includes 1 status byte and 4 bytes of
binary X/Y coordinate data. Each X/Y coordinate includes 10 binary bits and 1 sign bit.
The 10 bits represent coordinates within a range of -1024 to +1023.
To use the Calibrate Raw command, the controller and host system must be in an 8-bit
data communication mode. The Calibrate Raw command returns a negative response if
the controller is not using an 8-bit communication mode. To end Calibrate Raw mode,
issue a Reset command.
3M Touch Systems uses the Calibrate Raw command during manufacturing and testing,
and recommends you only use this command for diagnostics when you want raw data.
Response:
<SOH>0<CR>
After the controller is in Calibrate Raw mode, the controller returns a response in the
following format:
SXxYy where:
= Status byte, first byte of data. Refer to the following table.
S
Xx = X (horizontal) coordinate data; second and third bytes of data
Positive response.
Negative response
Positive response.
3M Touch Systems, Inc. Proprietary Information – TSD-40848A
35

Advertisement

Table of Contents
loading

Table of Contents