background image

3M™ MicroTouch™ Controller RX142 Reference Guide 

17 

 

3M Touch Systems, Inc. Proprietary Information 

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

The 

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. See 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 sensor as the cursor moving to the next line. 

Summary of Contents for MicroTouch RX142

Page 1: ...ystems Inc Proprietary Information 3M MicroTouch Controller RX142 Reference Guide Formerly SC400 Serial Resistive Read and understand all safety information contained in this document before using this product 3 ...

Page 2: ...not warranted 3M Touch Systems Inc products and software are not specifically designed for use in medical devices as defined by United States federal law 3M Touch Systems Inc products and software should not be used in such applications without 3M Touch Systems Inc express written consent User should contact its sales representative if User s opportunity involves a medical device application IMPOR...

Page 3: ...Establishing the Data Connection 10 Mounting the Controller 11 Supplying Power to the Controller 11 Mounting the Sensor 12 Sensor Cable Connector 12 Status Light LED Diagnostics 13 Turning On Your System 13 Installing 3M MicroTouch Software 14 Chapter 2 RX142 Controller Communications Controller Default Settings 15 Communicating with the Controller 16 Firmware Commands 18 Calibrate 3 Point 19 Guid...

Page 4: ...ouch Systems Inc Proprietary Information Restore Defaults 24 Set Controller Number Error Bookmark not defined Unit Type 24 Appendix A RX142 Controller Specifications Technical Specifications 28 Storage and Operating Temperature with Humidity Conditions 29 ...

Page 5: ...tted to being a premier supplier in touch systems throughout the world As a 3M Touch Systems customer you are aware that we have strong internal programs that meet or exceed environmental regulations of our customers and the regions in which we conduct business What You Need to Know This document assumes you are familiar with firmware commands and how to use them Executing some commands may alter ...

Page 6: ...jury or death Do not use a damaged power supply Do not use a power cord that is frayed or otherwise damaged CAUTION To reduce the risks associated with improper disposal which if not avoided may result in minor or moderate injury from ground water contamination Dispose of components in accordance with federal state and local regulations To reduce the risk of possible environmental contamination wh...

Page 7: ... through Friday 8 30 a m to 5 30 p m with limited call back service after 5 30 p m until 8 00 p m US Eastern Standard Time 9 a m to 5 p m throughout Europe You can contact 3M Touch Systems Technical Support US only Eastern Standard Time by calling the hot line sending email or a fax Technical Support Hot Line 978 659 9200 Technical Support Fax 978 659 9400 Toll Free 1 866 407 6666 Option 3 Email U...

Page 8: ......

Page 9: ...and 1 stop bit To integrate and test the RX142 controller you need the following items A 4 wire resistive sensor A method of establishing the serial data communication between the controller and your system The standard 3M MicroTouch RS 232 plug and play serial cable P N 7319630 is recommended A power source A software utility or driver with a calibration routine Note You can use MicroTouch Softwa...

Page 10: ...ard 3M MicroTouch RS 232 plug and play cable P N 7319630 or an equivalent interconnect One end of this cable plugs into the RS 232 connector JP2 on the RX142 controller The other end which has a 9 pin D connector plugs directly into a serial COM port on your PC The 9 pin D connector also has an input in the connector body for an external 5V power supply Table 1 describes the interconnections for t...

Page 11: ...with the sensor cable exit point to minimize cable flexing The controller should be mounted internally behind or on the side of the display on stand offs to allow room for the sensor cable connector Ensure that the tail and controller are aligned such that the tail remains straight 90 not pulled or twisted in an odd angle from the sensor Good engineering design avoids awkward electrical connection...

Page 12: ...n actual cable connections Unlike using JP4 to supply power you can only use 5VDC at the serial interface 1 Obtain an 8 pin Molex connector 51004 0800 2 Attach power and ground to the connector Pin 6 5V Pin 7 Ground Mounting the Sensor The RX142 controller will work with sensors that meet the following specifications The sensor may work beyond these limits but with reduced performance Minimum Maxi...

Page 13: ...2 LED Diagnostic Codes for RX142 Controllers Flashes Self Test Condition Self Test Bit Description What to do 1 Reserved 0 Reserved 2 ROM Error 1 Firmware EPROM checksum verification error No recovery Replace the controller 3 Reserved 2 Reserved 4 Block 1 checksum Error 3 Operating parameters invalid using defaults Cycle power off and on 5 Hardware error 4 Power up sensor connector voltages out of...

Page 14: ...fer to the website for a complete listing You must be sure to install the correct software for your operating system 3M MicroTouch Software includes a control panel for setting your sensor preferences and a diagnostic utility If you are experiencing problems with the sensor you can use the diagnostic utilities provided to locate the controller and test the sensor For more information on connecting...

Page 15: ...nd includes the command syntax the default value how the command works and the expected response from the controller Controller Default Settings Communication Parameters The RX142 controller communication parameters are N81 no parity 8 data bits and 1 stop bit at 9600 baud Data Format Data format refers to the type of packet the controller uses to send the X Y touch coordinates to the host system ...

Page 16: ...ted in the following table are those that 3M Touch Systems currently uses for development and recommends that you use only these commands 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 Con...

Page 17: ...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 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 ...

Page 18: ...itialize the controller select operating modes specify data formats and execute diagnostic functions Most touch system users do not have to use firmware commands to use their touch systems For example users can use MicroTouch software or equivalent software to calibrate the sensor or to determine the controller type and firmware version Note This document assumes you are familiar with firmware com...

Page 19: ... Number W002 Used to determine a controller ID number for multiple monitor applications Unit Type UT Returns controller unit type string and status Calibrate 3 Point Syntax SOH C3 CR Response SOH 0 CR Positive response to initializing the command When C3 is first issued the controller responds with SOH 0 CR After that as the user touches each of the three targets the controller issues an SOH 1 CR ...

Page 20: ...egister a calibration touch Therefore you can touch the coordinate target hold for a few seconds and then lift off Instructing users to touch this way results in a more accurate calibration The controller stores the data in non volatile memory Therefore you do not have to calibrate the sensor each time you power on the system You should however recalibrate the sensor any time the video display are...

Page 21: ...in the following format SXxYy S Status byte first byte of data Refer to Table 4 Xx X horizontal coordinate data second and third bytes of data Yy Y vertical coordinate data fourth and fifth bytes of data Description Outputs the X Y touch coordinate data in a 5 byte packet The packet includes 1 status byte and 4 bytes of binary X Y coordinate data The protocol also establishes the X and Y coordinat...

Page 22: ...ity 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 S7 Packet synchronization Always 1 Get Controller Number Syntax SOH Q002 CR Response SOH XXXXXXXX CR Where each X is a hexadecimal digit most significant digit first Description This command is used to get a controll...

Page 23: ... Returns a 6 character identifier which describes the controller type and the firmware version number The output identity for the RX142 controller is SCXxxx Reset Syntax SOH R CR Response SOH 0 CR Positive response Description Initializes the hardware and the firmware causes the controller to stop sending data and recalculates the environmental conditions for example stray and offset values The Re...

Page 24: ...t Tablet Operating Mode Mode Stream Return to Factory Calibration Yes Note After you issue a Restore Defaults command you must recalibrate your sensor Set Controller Number a multi step command Syntax SOH W002 CR Response SOH 0 CR Positive response Syntax xxxxxxxx CR Where each x is a hexadecimal digit most significant digit first Response SOH 0 CR Positive response Description This command is use...

Page 25: ...ther 4 wire controller RX142 or an 8 wire controller RX182 Indicates no additional features configured Ss Two ASCII characters that provide status information about the controller hardware The two characters represent one byte Each character is in the range 0 to 9 and A to F Table 2 defines the meaning of each bit in the status byte Each bit can be set to 1 or 0 where 1 an error and 0 no error So ...

Page 26: ......

Page 27: ...specifications such as power requirements environmental requirements and cable connectors The RX142 controller is a compact RS 232 serial controller This controller was designed to be mounted inside your monitor The following figures show the overall dimensions of the RX142 controller and the locations of the mounting holes and connectors Figure 3 RX142 Touch Controller ...

Page 28: ...NZS 3548 1995 CISPR 22 Class B ITE Emissions Aus Class B Compliant RFI EN 61000 4 3 ENV 50140 Class A Compliant CRFI EN 61000 4 6 N A Cable 3 meters long N A EFT Burst Immunity EN 61000 4 4 Class B Compliant ESD Susceptibility IEC 61000 4 2 Class 1 Compliant Surge EN 61000 4 5 Class B Compliant Harmonics EN 61000 3 2 Class A Compliant Flicker EN 61000 3 3 Compliant Power Frequency Magnetic Field E...

Page 29: ...ion 9 of IEC 61000 4 2 Compliant 1 false touch allowed 20 kV Air Discharge Class 1 per section 9 of IEC 61000 4 2 Compliant Normal Operation No false touches ESD discharges to a sensor connected to the controller MTBF by MIL Std 217F Calculation 400 000 Hours Touch System Parameters Accuracy vs Dynamic Temperature Change Maintains 1 Accuracy tested at 0 deg C to 60 deg C with a 0 5 deg C minute te...

Reviews: