3M M2256PW manual Sending Commands to the Controller, Receiving Responses from the Controller

Page 31

3M™ Multi-touch Display M2256PW User Guide

31

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 appendix 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.

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.

3M Touch Systems, Inc. Proprietary Information – 37531 Rev D

Image 31
Contents 3M Touch Systems, Inc. Proprietary Information 37531 Rev D 3M Multi-touch Display M2256PW User Guide Contents Appendix B 3M PX Serial Controller Communications Appendix a 3M PX USB Controller CommunicationsAppendix C Regulatory Information Intended Use Important Safety InformationIntroduction OverviewExplanation of Signal Word Consequences Maintaining Your Touch Display Important Notes3M Touch Systems Support Services Touch Sensor Care and CleaningContact 3M Touch Systems System Requirements Setting up Your M2256PW Multi-touch DisplayCables Included with Your M2256PW Multi-touch Display Unpacking Your Touch DisplayTesting the M2256PW Multi-touch Display Connecting the Touch DisplayArm Mounting Option Supported Video Display Modes and Refresh Rates Using the Standard Controls for the Video CardApplicable Display Mode and Refresh Rate Refresh Rate Hz Video Card RequirementsMenu/Select Down Up Auto/Exit Power LED Configuring the Display SettingsMultimedia Features Access to the Video ControlsChoices Description Adjusting the M2256PW Video DisplayAudio Tools Multitouch Application Support Enabling Your M2256PW Multi-touch DisplayWindows 7 USB Compatibility All Other PlatformsVideo Alignment Installing 3M MicroTouch Software3M Multi-touch Display M2256PW User Guide Overview of USB Firmware Communications 3M PX USB Controller CommunicationsCommunication Basics HID Class Requests Command SetSet Feature Calibration Receiving Reports from the ControllerData Stage Offset Field Size Value Description Calibration Setup Stage Offset Field Size Value DescriptionCalibration Response Command Status Byte Description Determining Target AreasGet Feature GetStatus Setup Stage Offset Field Size Value Description Get Feature GetMaxCountPower On Check Bit Fields Bit Number Description Valid Command Status Field Entries Response DescriptionReset Setup Stage Offset Field Size Value Description Set Feature ResetReset Data Stage Offset Field Size Value Description Offset Field Size Value Description Set Feature -Restore DefaultsCoordinate Data MultiTouch Digitizer mode Async Report Asynchronous ReportsValue Description Touch Report Structure Offset Field3M PX Serial Controller Communications Overview of Firmware CommandsCommunication Parameters Controller Default SettingsOperating Mode Communicating with the ControllerReceiving Responses from the Controller Sending Commands to the ControllerController Initialization Firmware CommandsSOH Cxcr Command Code DescriptionCalibrate MDUCalibrate Procedure Guidelines for Calibrate CommandGet Copyright Mode Down UpMode Inactive Mode StreamOutput Identity Name CommandNull Command Soft ResetSOH Rdcr Restore DefaultsOperating Parameter Default Unit TypeBit Description Touch Data FormatData Sequence Bits Data Sequence Bits Regulatory Agency Approvals Regulatory InformationFCC-B CE Conformity for Europe FCC Warning