background image

EX II Controller Communications 

19 

3M Touch Systems 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 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 screen. 

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

Summary of Contents for EX II 1710SC

Page 1: ...ietary Information EX II Serial Controllers Reference Guide EX II 1710SC EX II 1720SC EX II 1750SC EX II 7720SC 3M Touch Systems Read and understand all safety information contained in this document before using this product ...

Page 2: ...ccuracy or completeness is 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 medic...

Page 3: ...X II 7720SC Dimensions 10 Handling and ESD Protection 11 Establishing the Data Connection 11 Mounting the Controller 12 Supplying Power to the Controller 12 Mounting the Touch Screen 13 Turning On Your System 13 Status Light LED Diagnostics 14 Installing Software 15 Chapter 3 EX II Controller Communications Controller Default Settings 17 Communicating with the Controller 18 Firmware Commands 20 Ca...

Page 4: ...rify 30 Appendix A EX II 17xxSC Controller Specifications Technical Specifications 34 Physical Dimensions 34 Female Connector on the Touch Screen Cable 36 Communication Connector 36 Appendix B EX II 7720SC Controller Specifications Touch Screen Cable Connections 38 Communication Connector 38 Technical Specifications 39 Physical Dimensions 39 ...

Page 5: ...h Systems is committed 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 As such our approach to the European Union Directives 2002 96 EC WEEE and 2002 95 EC RoHS the directives is being addres...

Page 6: ...n any outdoor environment unless NEMA or other similar standards such as IP rating are followed 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 local state and federal regulations To avoid the potentially hazardous situations associated with the use of ...

Page 7: ...he most out of your touch screen by providing extensive Technical Support Visit the 3M Touch Systems Inc website at http www 3Mtouch com where you can download touch screen software and drivers obtain regularly updated technical documentation on 3M Touch Systems Inc products and learn more about our company Whenever you contact Technical Support please provide the following information Display man...

Page 8: ......

Page 9: ...d options Status LED codes Overview of the EX II Touch Screen Controllers The EX II controllers and touch screens are supplied separately A 25 point linearization procedure has been performed to determine the physical properties of the touch screen and the data is stored in a 2D bar code label attached to the touch screen flex cable The EX II 1710SC and 1750SC are available in N81 Format Tablet ei...

Page 10: ...75 inches with a total height of approximately 1 inch when the touch screen cable is attached The cased version comes with a standard serial cable The EX II 17xxSC uncased version measures 2 25 x 3 6 inches with a total height profile of 0 5 inches from the thru hole pins on the trace side of the board to the top of the highest component on the opposite side The EX II 17xxSC has a NOVRAM touch scr...

Page 11: ...tly that may occur during normal operation of the touch screen Refer to Appendix A for further specifications Establishing the Data Connection The EX II controllers require that an RS 232 serial communication cable be attached to connector JP1 You can use a standard 3M Touch Systems RS 232 cable P N 7310101 or an equivalent interconnect One end of this cable plugs into the RS 232 connector JP1 on ...

Page 12: ... controller using the two diagonal mounting holes in the board The controller is mounted in line with the touch screen cable exit point to minimize cable flexing The controller is mounted behind or on the side of the display on stand offs to allow room for the touch screen cable connector Refer to Figure 1 for more details on controller mounting Supplying Power to the Controller You must supply th...

Page 13: ...Molex connector refer to Table 12 for more information on actual cable connections 1 Obtain a 7 pin Molex connector 51004 0700 2 Attach power and ground to the connector Pin 6 5V to 12V Pin 7 Ground Using an External Wall Mount Power Supply If you are using a standard 3M Touch Systems RS 232 serial cable P N 7310101 consult your applications engineer for power supply specifications Mounting the To...

Page 14: ...f test failed Refer to Table 2 for a description of each error code Table 2 LED Diagnostic Codes for EX II Controllers Flashes Error Description What to do 1 Reserved 2 Reserved 3 Setup error Unable to establish operating range at power up Nonrecoverable error Replace controller If error reoccurs might be a touch screen problem 4 Controller NOVRAM error The operating parameters in the controller N...

Page 15: ...must be sure to install the touch screen software for your operating system Both TouchWare and MT 7 software include a control panel for setting your touch screen preferences and a diagnostic utility If you are experiencing problems with the touch screen you can use the diagnostic utilities provided to locate the touch screen controller and test the touch screen For more information on connecting ...

Page 16: ......

Page 17: ...troller Default Settings Communication Parameters The default operation of the EX II controllers is N81 no parity 8 data bits and 1 stop bits at 9600 baud The EX II 1720SC can be programmed to work with even odd parity 7 data bits and 1 or 2 stop bits Data Format Data format refers to the type of packet the controller uses to send the X Y touch coordinates to the host system Format Tablet is the d...

Page 18: ...oller returns 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 EX II 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 Tra...

Page 19: ...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 screen 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 20: ...specify data formats and execute diagnostic functions Most touch screen users do not have to use firmware commands to use their touch systems For example users can use either TouchWare or MT 7 software to calibrate the touch screen or to determine the controller type and firmware version Caution This document assumes you are familiar with firmware commands and how to use them Executing some comman...

Page 21: ...efault 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 screen controller on your system Calibrate Extended Syntax SOH CX CR Note This command should not be used when TouchWare or MT 7 software is being used The CX command will interfere with the auto orientation algorithm To calibrate use the 2 or 4 po...

Page 22: ...d the second calibration target inward from the upper right corner The following illustration shows how the calibration targets are calculated The coordinates are in video terms with the origin 0 0 in the upper left corner of the screen Examples from the controller s perspective however place the origin at the lower left corner of the screen numbers in brackets The controller outputs 0 to 1024 on ...

Page 23: ...sponse Indicates that the user 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...

Page 24: ...e meaning of the bits in the status byte Byte 1 Table 5 Calibrate Raw Status Bits Bit Description Values S0 S5 Reserved S6 Proximity touch state 1 Touch screen is being touched a touchdown or a continued touch 0 Touch screen is not being touched a touch liftoff or inactive When the proximity bit changes from 1 to 0 touch liftoff the controller outputs one final set of X Y coordinate data with the ...

Page 25: ...f the controller is not using an 8 bit communication mode To terminate Format Raw issue a Reset command The controller may return several bytes of data between the time you issue a Reset command and the controller receives it You can either scan the data stream for the Reset acknowledgment or you can ignore the response to the first Reset command and then issue a second Reset after approximately 1...

Page 26: ... The protocol also establishes the X and Y coordinate output as 14 binary bits providing a range of 0 to 16 383 The low order bits X3 X0 and Y3 Y0 are not significant in a 1024 by 1024 touch screen because data can fluctuate with each touch and therefore may not be completely accurate To use Format Tablet the controller and host system must be in an 8 bit data communication mode The Format Tablet ...

Page 27: ...ftoff 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 synchronizationAlways 1 Mode Stream Syntax SOH MS CR Description Sends a continuous stream of X Y coordinate data when you touch the screen The controller continues to send data as long as you touch the screen The controller sends the data ev...

Page 28: ...ch Systems controller Xxxx Four ASCII characters that indicate a build identifier Parameter Set Syntax SOH Ppds b CR where P Parity type N No parity O Odd parity E Even parity D Number of data bits 7 or 8 S Number of stop bits 1 or 2 B Communication rate 1 19200 baud 4 2400 baud 2 9600 baud 5 1200 baud 3 4800 baud Description Lets you adjust the communication parameters parity data bits and stop b...

Page 29: ...s It is possible to set the parameters to values that prevent future communication with the controller Response SOH 0 CR Positive response Reset Syntax SOH R CR 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 Reset command also cancels the Format Raw Calibrate Raw ...

Page 30: ...ires approximately 1 8 seconds Therefore the application program should wait the maximum amount of time and be sure it receives the command response before issuing another command to the controller Note After you issue a Restore Defaults command you must recalibrate your touch screen using a 2 point calibration Response SOH 0 CR Positive response Unit Type Verify Syntax SOH UV CR Description Respo...

Page 31: ...nfigured 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 LED minus 1 in the status byte Each bit can be set to 1 or 0 where 1 Error 0 No error 00 No diagnostic errors normal response ...

Page 32: ......

Page 33: ...C controller is a compact 3 5 x 2 25 x 0 3 inches RS 232 serial controller This controller can be internally mounted in your monitor or enclosed in a molded plastic case 3 75 x 2 5 x 0 9 inches and mounted to the back or side of your monitor The following figures show the overall dimensions of the EX II 17xxSC controller and the locations of the mounting holes and connectors Figure 3 Uncased EX II...

Page 34: ... Directive compliant 2002 95 EC Physical Dimensions Uncased 3 50 in x 2 30 in x 0 45 in 88 9 mm x 58 4 mm x 11 4 mm Cased 3 75 in x 2 50 in x 0 90 in 95 3 mm x 63 5 mm x 22 9 mm Board Level Functions Power 5 VDC 80 mA typical 100 mA maximum 5 regulation 50 mVpp maximum ripple and noise 12 VDC 85 mA typical 100 mA maximum 10 regulation 50 mVpp maximum ripple and noise Regulatory Requirements CE Com...

Page 35: ...ll Humidity is Non Condensing Operating Temperature Range 40 C to 70 C Operating Humidity Range 36 C 0 95 RH 36 C Storage Temperature Range 50 C to 85 C Storage Humidity Range 36 C 0 80 RH 36 C Performance and Reliability Minimum Touch Duration As low as 3 msec Touch Resolution Maximum addressable coordinates generated by the controller 16K x 16K ESD Susceptibility 8 kV Contact Discharge Class 2 p...

Page 36: ... corner Upper left UL corner Lower left LL corner Communication Connector All EX II 17xxSC controllers have an attached RS 232 communication cable with a 9 pin D female connector Table 12 describes the pins for this cable which connects to a serial communication COM port on the PC A 9 pin to 25 pin adapter is available Table 12 COM Connector for EX II 1700SC Controllers 9 pin D 7 pin Molex Wire Co...

Page 37: ...ements environmental requirements and cable connectors The EX II 7720SC controller is a compact RS 232 serial controller This controller can be internally mounted in your monitor The following figures show the overall dimensions of the EX II 7720SC controller and the locations of the mounting holes and connectors Figure 4 EX II 7720SC Touch Screen Controller ...

Page 38: ...ntroller and your system You can build your own or purchase the standard 3M Touch Systems RS 232 serial cable P N 7310101 Table 14 describes the pins for this cable which connects to a serial communication COM port on the PC Table 14 COM Connector for EX II 7720SC Controllers 9 pin D 7 pin Molex Wire Color Description 1 No connection Data Carrier Detect DCD Connected to DTR and DSR 2 2 Brown Trans...

Page 39: ...Lines Conducted Emissions N A N A FCC Class B CISPR22 Class B Class B Compliant VCCI Class B ITE Emissions Japan Class B Compliant AS 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 Class A 80 Screen Area Class B 80 Screen Area N A EFT Burst Immunity EN 61000 4 4 Class B Compliant ESD Suscepti...

Page 40: ... 2 Compliant 1 false touch allowed 27 kV Air Discharge Class 1 per section 9 of IEC 61000 4 2 Compliant Normal Operation No false touches ESD discharges to a 3M Touch Systems touch screen connected to the controller MTBF by MIL Std 217F Calculation 700 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...

Reviews: