3M™ MicroTouch™ Controller EX Dual Mode Reference Guide
33
3M Touch Systems, Inc. Proprietary Information – TSD-40848A
Table 21. Firmware Commands for EX Serial Controller Development
Command
Code
Description
Calibrate
Extended
CX
Initiates an interactive 2-point calibration.
Calibrate Raw
CR
Collects the raw X and Y coordinates before normal scaling,
linearization, and filtering process.
Format Raw
FR
Returns the signal level (amount of touch) of each of the four sensor
corners in digital format.
Format Tablet
FT
Outputs the X/Y touch coordinate data in a five-byte packet.
Preferred for current development.
Mode Stream
MS
Sends a continuous stream of X/Y coordinate data when you touch
the sensor.
Name
NM
Returns a controller identifier string.
Null Command
Z
Queries the controller and waits for a response.
Output Identity
OI
Identifies the controller type and the firmware version.
Parameter Set
P
pds
[
b
]
Lets you adjust the communication parameters (parity, data bits, and
stop bits) of the controller.
Reset
R
Initializes the hardware and the firmware, causes the controller to
stop sending data, and recalculates the environmental conditions.
Restore Defaults
RD
Returns the controller to the factory default operating parameters.
Note: the serial port is reset to N81 format tablet and 2-point
calibration is lost.
Unit Type Verify UV
Identifies the touch controller on your system.
Calibrate Extended
Syntax:
<SOH>
CX
<CR>
Note:
This command should not be used when 3M™ MicroTouch™ Software is being
used. The CX command will interfere with the auto orientation algorithm. To calibrate,
use the calibration routine in 3M™ MicroTouch™ Software.
Description:
Initiates an interactive 2-point calibration.
During the calibration process, you define the active area of the sensor by mapping
locations to an absolute X/Y coordinate system. You touch two
target areas
on the
sensor. Touching the target areas sends the X/Y coordinates for those touch points to the
controller. The controller calculates all other touch points based on these two points.
The Calibrate Extended command sets the calibration targets (points) inward from the
corner of the video image. Setting the targets inward makes the calibration process easier
and more accurate.
Guidelines for Calibrate Extended
Here are several guidelines for using the Calibrate Extended command: