3M™ MicroTouch™ Controller EX Serial Reference Guide 19
3M Touch Systems, Inc. Proprietary Information – TSD-29087 Rev D
The commands listed in the following table are those that 3M Touch Systems currently
uses for development. 3M Touch Systems recommends that you use only these
commands for 3M™ MicroTouch™ EX serial controller development.
Commands to the controller are sent on the signal Receive Data (RXD) line as a serial
data stream. For each command it receives, the controller sends a response to the host on
the signal Transmit Data (TXD) line also as a serial data stream.
Sending Commands to the Controller
When you send a command to the controller, you must use the correct command format.
The general format of a command is as follows:
<Header>Command<Terminator>
Note: The following descriptions of header, command, and terminator, use 3M Touch
Systems terminal emulator key sequences. You may need to enter the sequence in a
different format, depending on your emulator.
The header is the first character in the command string and is the ASCII start-of-header
control character SOH. The hexadecimal code for the ASCII SOH control character is
01. To start the command sequence, use the key combination Ctrl A (^A). If you are
working with an IBM PC compatible system, the Ctrl A key combination immediately
returns an ASCII character.
The command, which always follows the header, consists of ASCII uppercase letters and
numbers only (printable characters).
The terminator is the last character of each command string and is an ASCII carriage
return CR. An ASCII CR control character is 0D hexadecimal. To enter a carriage return,
ending the command sequence, use Enter or the key combination Ctrl M (^M).
This chapter lists each command as a string of ASCII control characters and printable
characters consisting of a header, the command, and a terminator as follows:
<SOH>Command<CR>
Receiving Responses from the Controller
After executing a command, the controller returns a response or acknowledgment to the
host system. Each controller response consists of a header, the command response, and a
terminator in the following format:
<Header>Command Response<Terminator>
Note: The following descriptions of header, response, and terminator, use 3M Touch
Systems terminal emulator key sequences. The format of controller responses varies
depending on the terminal emulation mode you are using.
20 3M™ MicroTouch™ Controller EX Serial Reference Guide
3M Touch Systems, Inc. Proprietary Information – TSD-29087 Rev D
The header is the first character in the response string and is the ASCII start-of-header
control character SOH. The hexadecimal code for the ASCII SOH control character is
01. If you are working with an IBM PC compatible system in terminal mode, the SOH
control character returns a character to the sensor.
The command response, which always follows the header, is a range of ASCII characters
depending on the type of command sent. Responses can be in many forms. For example,
one standard response is 0 (ASCII character ‘zero’ or 30 hexadecimal). This response
indicates a successful command completion for most commands, while it indicates a
failed completion for other commands. Refer to the firmware reference section for a
description of what the response indicates for each particular command.
Another standard response is 1 (ASCII character ‘one’ or 31 hexadecimal). In most
cases, this response indicates the command failed. The controller received an invalid
command that it could not execute.
Some possible reasons for a command failure include:
The command was not formatted correctly.
The system parameters were not set up to allow command execution.
The controller does not support the command.
The terminator is the last character of each response string and is an ASCII carriage
return CR. The hexadecimal code for the ASCII CR control character is 0D hexadecimal.
The value returned in the response will be the ASCII control character for a carriage
return, displayed on the screen as the cursor moving to the next line.
In this chapter, responses are shown as a string of ASCII characters consisting of a
header, the response, and a terminator as follows:
<SOH>Response<CR>
Controller Initialization
To initialize the EX serial controller for new development, 3M Touch Systems
recommends that the host system issue a Reset command whenever the host system is
powered on and is attempting to establish communication with the controller.
Firmware Commands
Developers may use this information when writing touch applications, developing
custom drivers or touch configurations, or testing their touch systems. Developers can
use firmware commands to initialize the controller, select operating modes, specify data
formats, and execute diagnostic functions.
Most touch systems users do not have to use firmware commands to use their touch
systems. For example, users can use 3M™ MicroTouch™ Software to calibrate the
sensor or to determine the controller type and firmware version.
3M™ MicroTouch™ Controller EX Serial Reference Guide 21
3M Touch Systems, Inc. Proprietary Information – TSD-29087 Rev D
Caution: This document assumes you are familiar with firmware commands and how to
use them. Executing some commands may alter the performance of your touch system
and render it inoperable. You should be aware of the results before executing any
firmware commands.
To optimize the performance of the touch controller and simplify the development of
custom drivers, 3M Touch Systems recommends you use the commands listed in Table 5
for current development. Using these commands ensures compatibility with all 3M™
MicroTouch™ controllers.
Note: When you enter commands in terminal mode, precede each command with
<CTRL> A to enter the start of header.
Table 5 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
Ppds[
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.

98000332621

Mfr. #:
Manufacturer:
3M
Description:
TOUCH SCREEN CAPACITIVE 19.73"
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet