document

advertisement
<<< NewSketch TECHNICAL REFERENCE >>>
Version 1.0
*** I. COMMUNICATION:
THE GENIUS DIGITIZER AND YOUR COMPUTER
====================================
STEPS IN WRITING A SOFTWARE DRIVER
====================================
In order to run your digitzer with your computer, you must have a driver
specifically for the digitizer. This driver lets your computer utilize
the data obtained through the digitizer.
----------------------------------------------------------------A. REPORT FORM in MM series
----------------------------------------------------------------With the HR series, you have two report forms available; one is the Packed
Binary and the other is the ASCII BCD.
ASCII BCD
--------The ASCII BCD form can vary due to several different factors. These factors
include resolution and if the tablet is in Relative mode or in Absolute mode.
With a resolution of 1 to 508 lpi,
the report form when in Absolute mode is:
XXXX, YYYY, F<CR><LF>
With a resolution of 1000 or 2540 lpi,
the report form when in Absolute mode is:
XXXXX, YYYYY, F<CR><LF>
All the items within the report form involve ASCII codes:
, means comma
X means X coordinate (can be any number from 0 to 9)
Y means Y coordinate (can be any number from 0 to 9)
F means flag character
<CR> means return
<LF> means line feed
The flag character mentioned above identifies button presses from the tablet's
puck or pen. The button presses and ASCII code are indicated below.
MM Series:
ASCII Code
---------0
1
2
3
4
3
3
5
3
6
3
7
7
7
4-Button Puck Presses
-----------------------------no press
1
2
3
4
1 + 2
1 + 3
1 + 4
2 + 3
2 + 4
1 + 2 + 3
1 + 2 + 4
2 + 3 + 4
1 + 2 + 3 + 4
UIOF mode:
ASCII Code
---------0
16-Button Puck Presses
-----------------------------no press
2-Button Pen Presses
-------------------no press
Tip
Barrel
Tip + Barrel
---------------------------------------
1
1
2
2
3
3
4
C
5
4
6
5
7
6
8
D
9
7
A
8
B
9
C
E
D
A
E
0
F
B
G
F
PACKED BINARY
------------This report form can vary due to the presence of the Relative mode.
If in
Relative, the report is made up of three bytes. If in Absolute, the report
is made up of five bytes. Note the following:
IN ABSOLUTE MODE (MM Series)
Bytes
Transmitted
----------1st Byte
2nd Byte
3rd Byte
4th Byte
5th Byte
Least
Most
Significant
Significant
Bit
Bit
0
1
2
3
4
5
6
7
8
----- --------------------------------------------0
Fa Fb Fc Sy
Sx
T
PR
PH P
0
X0 X1 X2 X3
X4
X5
X6
0
P
0
X7 X8 X9 X10 X11 X12 X13 0
P
0
Y0 Y1 Y2 Y3
Y4
Y5
Y6
0
P
0
Y7 Y8 Y9 Y10 Y11 Y12 Y13 0
P
Bit to
Start
IN RELATIVE MODE
Bytes
Transmitted
----------1st Byte
2nd Byte
3rd Byte
Bit to
Stop
-----1
1
1
1
1
(MM Series)
Least
Most
Significant
Significant
Bit
Bit
0
1
2
3
4
5
6
7
8
----- ---------------------------------------0
Fa Fb Fc Sy
Sx
T
PR
PH P
0
X0 X1 X2 X3
X4
X5 X6
0
P
0
Y0 Y1 Y2 Y3
Y4
Y5 Y6
0
P
Bit to
Start
Bit to
Stop
-----1
1
1
IN ABSOLUTE MODE (UIOF mode)
Bytes
Transmitted
----------1st Byte
2nd Byte
3rd Byte
4th Byte
5th Byte
6th Byte
7th Byte
8th Byte
Least
Most
Significant
Significant
Bit
Bit
0
1
2
3
4
5
6
7
----- --------------------------------------------0
PR T
0
0
0
0
PH
P
0
Fa Fb Fc Fd
Fe
0
0
P
0
X0 X1 X2 X3
X4
X5
0
P
0
X6 X7 X8 X9
X10 X11 0
P
0
X12 X13 X14 X15 Sx
0
0
P
0
Y0 Y1 Y2 Y3
Y4
Y5
0
P
0
Y6 Y7 Y8 Y9
Y10 Y11 0
P
0
Y12 Y13 Y14 Y15 Sy
0
0
P
Bit to
Start
Bit to
Stop
-----1
1
1
1
1
1
1
1
IN RELATIVE MODE
Bytes
Transmitted
----------1st Byte
2nd Byte
3rd Byte
4th Byte
5th Byte
6th Byte
7th Byte
8th Byte
(UIOF mode)
Least
Most
Significant
Significant
Bit
Bit
0
1
2
3
4
5
6
7
----- --------------------------------------------0
PR T
0
0
0
0
PH
P
0
Fa Fb Fc Fd
Fe
0
0
P
0
X0 X1 X2 X3
X4
X5
0
P
0
X6 X7 X8 X9
X10 X11 0
P
0
X12 X13 X14 X15 Sx
0
0
P
0
Y0 Y1 Y2 Y3
Y4
Y5
0
P
0
Y6 Y7 Y8 Y9
Y10 Y11 0
P
0
Y12 Y13 Y14 Y15 Sy
0
0
P
Bit to
Start
Bit to
Stop
-----1
1
1
1
1
1
1
1
For the items listed above:
Sx and Sy mean X, Y coordinate sign bit; in Relative mode, the sign is +
or - ; when in absolute mode, the sign is +
T means Tablet I.D.Call; 0 or 1 is chosen by a remote command
PR means proximity; 0 is in proximity, 1 is not in proximity
PH means phasing bit equals 1
P means optional parity bit
X0 to X13(X15) means bits for the X coordinate
Y0 to Y13(Y15) means bits for the Y coordinate
Fa, Fb, and Fc(Fd,Fe) identify button presses from the tablet's puck or pen.
The
button presses and binary code are indicated below.
Binary Code (MM Series)
Fc
Fb
Fa
4-Button Puck Presses
-------------------------------0
0
0
no press
0
0
1
1
0
1
0
2
0
1
1
3
1
0
0
4
0
1
1
1 + 2
0
1
1
1 + 3
1
0
1
1 + 4
0
1
1
2 + 3
1
1
0
2 + 4
0
1
1
1 + 2 + 3
1
1
1
1 + 2 + 4
1
1
1
2 + 3 + 4
1
1
1
1 + 2 + 3 + 4
2-Button Pen Presses
-------------------no press
Tip
Barrel
Tip + Barrel
---------------------------------------
Binary Code (UIOF MODE)
Fe Fd Fc Fb Fa
16-Button Puck Presses
---------------------------------------0 0 0 0 0
All buttons released
1 0 0 0 0
1
1 0 0 0 1
2
1 0 0 1 0
3
1 0 0 1 1
C
1 0 1 0 0
4
1 0 1 0 1
5
1 0 1 1 0
6
1 0 1 1 1
D
1 1 0 0 0
7
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
1
1
1
1
0
1
1
0
0
1
1
1
0
1
0
1
0
1
8
9
E
A
0
B
F
----------------------------------------------------------------B. BAUD RATE
----------------------------------------------------------------Data is read from the Genius Tablet to your computer in terms of signals per
second. If one signal equals one bit, the baud rate can be measured as
bits per second.
The baud rate can be configured by sending z <sp> <sp> command to your
digitzer when MM series. You can select one of the following rates :
--------------------------------------------------------------------------------------A. Baud Rate
MM Series
UIOF mode
--------------------------------------------------------------------------------------ASCII
Hex
ASCII
HEX
Mode
Command Set
Command
Command
--------------------------------------------------------------------------------------19.2K
<command>
<ESC>B0
1B
42 30
9600
<command>
<ESC>B1
1B
42 31
4800
<command>
<ESC>B2
1B
42 32
2400
<command>
<ESC>B3
1B
42 33
1200
<command>
<ESC>B4
1B
42 34
600
<command>
<ESC>B5
1B
42 35
300
<command>
<ESC>B6
1B
42 36
150
<command>
<ESC>B7
1B
42 37
110
<command>
<ESC>B8
1B
42 38
A fixed rate of 9600 bps or a variable rate (between 150 and 19200) that
conforms to the host's baud rate. The Genius Tablet comes from the factory
set at a baud rate of 9600.
Be sure to note that at the time your digitzer is powered up or from the
time the Reset command is given, a minuscule delay occurs before the Genius
Tablet is ready to receive messages from the computer.
----------------------------------------------------------------C. HARDWARE USED
----------------------------------------------------------------The digitizer has an RS232C serial port which is fully asynchronous.
For data transfer with a -3V to -12V, the binary state is 1 (meaning ON)
and the signal is marked. For data transfer with a +3V to +12V, the
binary state is 0 (meaning OFF) and the signal is spaced. The binary code is
the most convenient way for a computer to handle information because its
electronic circuits (in their simplest forms) have only two states: ON and OFF.
*** II. OPERATION AND REMOTE COMMANDS
In order to run the digitizer, you must set it up for operation. This
involves giving commands through your computer and designating the details of
operation. These commands, which are read through your computer, are defined
in the following pages. They are given in both ASCII and hexadecimal codes for
your convenience.
Most commands are one byte long, while some require more bytes.
Please note that one start bit,eight data bits, a parity bit (optional),
and a stop bit are used in each command bytes sequence.
=========================================
MANAGING THE REPORT CONTENT AND FLOW RATE
=========================================
Through the operational details , you can determine when reports are
given and the speed at which they are given;as well as; you can control the
coordinate system. In addition, through Start and End commands, reports
can be allowed to flow or they can be halted. These basic operational details
are set through the Primary modes: Stream , Switch Stream , Point
and Remote Request. Other operational details are set with Combinational
modes (meaning a mode is combined with a Primary mode). A Combinational mode
includes one of the following: Relative, Increment Distance, Axis updated,
and Rate of Report.
--------------------------------------------------------------------------------------A. PRIMARY MODES
MM Series
UIOF mode
--------------------------------------------------------------------------------------ASCII
Hex
ASCII
HEX
Mode
Command Set
Command
Command
--------------------------------------------------------------------------------------Stream
<command>
@
40
<ESC>M0
1B
4D 30
Switch Stream
<command>
A
41
<ESC>M2
1B
4D 32
Point
<command>
B
42
<ESC>M1
1B
4D 31
Remote Request
<mode command><trigger command>
mode command
D
44
<ESC>M3
1B
4D 33
trigger command
P
50
<ESC>G
1B
47
To summarize the Primary modes:
Stream MODE - The digitzer gives continuous reports without any button
was pressed on the puck or pen. If a button is pressed , the last true
report with button state is given continuously. If you like to halt this
continual report , enter Increment Distance mode and the increment value
is set to one or more.
Switch Stream MODE - The digitzer gives reports when a puck or pen button is
pressed. If the puck or pen is not in proximity, the last true report
is given continuously when a button is pressed.
Point MODE - The digitzer gives one report when a puck or pen button is
pressed. If the puck or pen is not in proximity, the last true report
is once again given when a button is pressed.
Remote request MODE - The digitzer gives a report each time when it receives a
trigger command from computer. The trigger command follows the
mode command. (The mode command only needs to be given initially).
For subsequent reports, it is only necessary to send a trigger command.
If the puck or pen is not in proximity, the last true report is
given again with each new trigger command.
NOTE: In all the Primary modes and the Relative mode, the
proximity bit is set to one if the report form is packed binary.
This indicates that the puck or pen is not in proximity.
---------------------------------------------------------------------------------------B. REPORT COORDINATES
MM Series
UIOF
mode
---------------------------------------------------------------------------------------ASCII
Hex
ASCII
HEX
---------------------------------------------------------------------------------------Absolute Coordinates
F
46
<ESC>M5
1B 4D 35
Relative Coordinates
E
45
<ESC>M4
1B 4D 34
--------------------------------------------------------------------------------------Use the Report Content commands to specify reports to be in absolute or
relative coordinates. Absolute coordinates are measured relative to the
tablet origin. Relative coordinates are measured relative to the last
issued report.
Relative coordinate reports issued while the puck or pen is out of proximity
are zero. (If the report format is binary, the digitzer sets the proximity
bit to one, indicating that the cursor or stylus is out of proximity.)
--------------------------------------------------------------------------------------C. COMBINATIONAL MODES
MM Series
UIOF
mode
--------------------------------------------------------------------------------------ASCII
Hex
ASCII
HEX
Mode
Command Set
Command
Command
--------------------------------------------------------------------------------------Absolute mode
<command>
F
46
<ESC>M5
1B 4D 35
Relative mode
<command>
E
45
<ESC>M4
1B 4D 34
Increment Distance <mode command><set distance value>
mode command
I
49
<ESC>I
1B 49
set distance value
from 000 to 255
Axis Advance
Rate of Report
<mode command><advance value>
mode command
advance value
<command>
equal to: max. rate
max. rate/2
max. rate/8
max. rate/32
;
80 RPS
Sp to z
20 to 7A
G
Sp to z
47
20 to 7A
Q
R
S
T
;
51
52
53
54
;;
[bbb]
<ESC>R7
1B 52 37
75 RPS
<ESC>R6
60 RPS
<ESC>R5
30 RPS
<ESC>R4
10 RPS
<ESC>R3
5
RPS
<ESC>R2
2
RPS
<ESC>R1
1
RPS
<ESC>R0
1B 52 36
1B 52 35
1B 52 34
1B 52 33
1B 52 32
1B 52 31
1B 52 30
To summarize the Combinational modes:
INCREMENT DISTANCE MODE - The digitzer sends a report when the puck or pen
has traveled a certain distance in either the X or Y direction. This
distance is determined by you.
Explanation :
With the last given report, this point becomes the center from
which movement can be traced. The puck or pen can move in any direction
with no report being given as long as it does not travel the
distance you have set. If it does reach the set distance along either
axis, the NewSketch conveys the actual X and Y coordinates of this
new point. The new point becomes the center from which movement can
be traced again.
Movement from (0,0) to (5,3): The puck or pen has moved the set
distance (5) along the X axis, but not along the Y axis. Both
values are transmitted by the tablet as (5,3).
If the puck or pen has not moved the set distance in either
direction, no new point is issued.
In using this mode, send the mode command first. Then follow it with the set
distance value. This value is counts of resolution and can be any number from
0 to 90 (whole numbers). The default for this mode is zero. A requirement
of 32 must be added to the desired set distance.
For example, use the following:
5 (desired set distance) + 32 = 37
= 25
= %
(value in decimal)
(value in hexadecimal)*
(value in ASCII)*
* Refer to the ASCII Conversion Chart in the appendix.
If you desire to disable this mode, you can set the desired set distance
to zero using the ASCII space character (SP).
AXIS ADVANCE - This mode is similar to the Increment Distance mode. The
digitzer sends a report when puck or pen movement reaches a set
distance (advance value) in either the X or Y direction. Movement for
the advance must be achieved on both axes for a total new value to be given.
If the advance value is not fulfilled (the puck or pen has not moved a
set distance), the Genius Tablet sends the last transmitted value of
that axis.
Movement from (0,0) to (5,3): The puck or pen has moved
the set distance (advance value) along the X axis, but not
along the Y axis. Both values are reported by the tablet as (5,0).
Movement from (5,3) to (10,5): The puck or pen has moved the set
distance (advance value) along the X and Y axes, according to the last
given report. Both values are reported by the tablet as (10,5).
In using this mode, send the mode command first. Then follow it with the
advance value. This value is counts of resolution and can be any
number from 0 to 90 (whole numbers). The default for this mode is zero.
A required offset of 32 must be added to the desired advance value.
For example, use the following:
5 (desired advance) + 32 = 37
= 25
= %
(value in decimal)
(value in hexadecimal)*
(value in ASCII)*
* Refer to the ASCII Conversion Chart in the appendix.
If you desire to disable this mode, you can set the advance value to
zero using the ASCII space character (SP).
RATE OF REPORT - The Rate of Report is the number of reports that can
be given by the digitzer (used in combination with the Stream mode or
the Switch Stream mode).
Please note the following possible combinations for the Primary modes and
Combinational modes. " + " indicates that these modes are compatible. "- "
indicates that these modes are not compatible.
Combinational
Primary
Trail
Change Trail
Location
Remote Request
---------------------------------------------------------------Rate of Report
+
+
Relative
+
+
+
Increment Distance
+
+
+
Axis Update
+
+
+
For combinations, please note:
During operation, the Remote Request mode and the Point mode take priority
over the Rate of Report.
The Rate of Report affects combined modes: Switch Stream and Stream with
Increment Distance or Axis Advance. The digitzer regulates the rate of
report with an internal trigger. If values are met before the digitzer
issues a trigger, the report is equal to or higher than the necessary value
fulfillment for Increment Distance or Axis Advance. If values are not met
before the digitzer issues a trigger, no report is given.
For Increment Distance and Axis Advance used with Stream or Switch Stream ,
the last report is given with each button press.
For the Remote Request mode used with Increment Distance or Axis Update,
several factors must be noted. With values met before an issued trigger,
the report equals or exceeds the last report. With values not met before
an issued trigger, no report is read following an issued trigger. With
values not met before an issued trigger, and the trigger is given with a
simultaneous button press, the last true report is given again.
---------------------------------------------------------------D. COMMUNICATION CONTROL
(Both MM Series and UIOF mode)
---------------------------------------------------------------ASCII
Hex
Command Set
Command
---------------------------------------------------------------Transmission Control
<command>
begin transmission
DC1
11
end
transmission
DC3
13
Begin Transmission and End Transmission commands (equal to transmission
protocols, XOFF and XON) allow reports to be sent or not sent from
the digitzer to your computer. End Transmission puts the digitzer
on hold (useful when the tablet is not being used continuously).
----------------------------------------------------------------E. RESOLUTION SETTING
----------------------------------------------------------------The digitzer resolution can be set using: Resolution, Grid,
Setup, or Set X,Y Dimension.
MM Series
UIOF
mode
--------------------------------------------------------------------------------------ASCII
Hex
ASCII
HEX
Command Set
Command
Command
--------------------------------------------------------------------------------------Resolution
<command>
Setting:
10 lpmm (254 lpi)
f
66
<ESC>C1
1B 43 31
20 lpmm (508 lpi)
i
69
<ESC>C5
1B 43 35
40 lpmm (1016 lpi)
q
71
<ESC>C3
1B 43 33
100 lpi
d
64
<ESC>C7
200 lpi
e
65
<ESC>C0
400 lpi
g
67
<ESC>C6
500 lpi
h
68
<ESC>C4
1000 lpi
j
6A
<ESC>C5
1B 43 37
1B 43 30
1B 43 36
1B 43 34
1B 43 35
2000 lpi
s
73
<ESC>CS
2032 lpi
u
75
<ESC>CB
2540 lpi
v
76
<ESC>CD
1 lpi
l
6C
<ESC>C8
2 lpi
n
6E
<ESC>C9
4 lpi
p
70
<ESC>CA
1B 43 53
1B 43 42
1B 43 44
Grid Setup
<command>
Setting:
1B 43 38
1B 43 39
1B 43 41
Set X,Y Dimension
<mode command><X low byte><X high byte><Y low
mode command
X axis resolution low byte
Y axis resolution low byte
X axis resolution high byte
Y axis resolution high byte
byte><Y high
r
72
NA
00 to
NA
00 to
NA
00 to
NA
00 to
byte>
FF
FF
FF
FF
With the Resolution command, the 1212HRII's resolution can be set.
Grid Setup sections the tablet into a one-inch, a half-inch, or a
quarter-inch grid with a setting of 1, 2, or 4 lines per inch.
In order to match the digitzer resolution to the resolution of another
item, the X,Y Dimension must be set. You are allowed to set each axis
independently.
First, determine the resolution for the length of the axis. (Round any
fraction higher to a whole number.) If the item's resolution making
up the axis is expressed as one number, the corresponding Genius Tablet
axis' length should divide evenly into it. If not, the Tablet will
reduce the value to a whole number.
To illustrate:
The item's resolution is divided by the axis length:
100/6 inches = 16.6 per inch (rounded to 16)
200/9 inches = 22.2 per inch (rounded to 22)
Multiply the number by the axis length:
16 x 6 inches = 96 (resolution for the X axis)
22 x 9 inches = 198 (resolution for the Y axis)
If the item's resolution is expressed in units per inch (for example, 30
lines per inch), multiply 30 by the corresponding NewSketch axis' length
(12):
30 lpi x 12 = 360 (axis resolution)
Second, once the axis resolution value has been obtained, it can be
changed to a hexadecimal number: 96 decimal = 60 hexadecimal.
Third, if the number doesn't happen to consist of 4 digits, place zeros
to the left. 60 becomes 0060. This number is separated into 2 two-digits;
one (00) becomes the most significant byte and the other (60) becomes the
least significant byte: 00 is the high byte and 60 is the low byte.
The other axis is obtained in the same manner as the first.
Last of all, send the Set X,Y Dimension commands in the following
order: <mode command><X low byte><X high byte><Y low byte><Y high byte>.
If you do not choose to change the resolution for one axis, you can send
zeros in the command set.
The resolution can be confirmed with the Read Configuration command
discussed in the following section.
----------------------------------------------------------------F. CHANGE REPORT FORMAT
----------------------------------------------------------------The digitzer can emulate the report formats of several popular input device
format for the purpose of software compatibility.
Mode switching from MM to UIOF: z u
Mode switching from UIOF to MM: <ESC> z 1
----------------------------------------------------------------G. OTHER REMOTE COMMANDS
----------------------------------------------------------------These Remote commands include Origin, Tablet I.D. Call, and Read
Configuration.
MM Series
UIOF
mode
--------------------------------------------------------------------------------------ASCII
Hex
ASCII
HEX
Remote Commands
Command Set
Command
Comamnd
--------------------------------------------------------------------------------------Origin
<command>
location:
upper left
b
62
<ESC>F3
1B 46 33
lower left
c
63
<ESC>F0
1B 46 30
center
<ESC>F2
1B 46 32
user defined
<ESC>F1
1B 46 31
Tablet I.D. Call
<command>
Tablet I.D. Call is zero
0
30
<ESC>T0
1B 54 30
Tablet I.D. Call is on
1
31
<ESC>T1
1B 54 31
Reset
<command>
NUL
00
<ESC>Z
1B 5A
Change Reset character
<ESC>r[b]
Disable Reset
<command>
z r
7a 72
Read Configuration
<command>
a
61
<ESC>a
1B 61
Increment confirmation <command>
z i
7a 69
Firmware identification<command>
z ?
7a 3f
<ESC>U0
1B 55 30
ASCII
report
<command>
z a
7a 61
<ESC>MB
1B 4D 42
Binary report
<command>
z b
7a 62
<ESC>MA
1B 4D 41
8 data bits,none parity <command>
z 8
7a 38
8 data bits,odd parity <command>
7 data bits,none parity <command>
1B 70 30
7 data bits,odd parity <command>
1B 70 31
7 data bits,even parity <command>
1B 70 32
Decimal Point(inch format)
1B 64 30
Decimal Point(mm
format)
1B 64 31
To summarize the Remote commands:
z 9
7a 39
<ESC>p0
<ESC>p1
<ESC>p2
<ESC>d0
<ESC>d1
ORIGIN - This command defines the location of the tablet's origin as (0,0) in
the lower left corner (default) or the upper left corner. If the
origin exists in the upper left corner, the Y coordinates are " + ".
TABLET I.D. CALL - This command is used to set a bit to one or zero in the
packed binary form. This helps distinguish where the reports are coming
from.
RESET - This command is used to run the Self-Test and set the digitzer to its
factory default settings: the resolution is 500 lpi(1000 lpi in UIOF),
the Rate of Report is maximum, the Report mode is Switch Stream ,the Increment
Distance is 0,
the Axis Advance is 0, the Origin is in the lower left corner, and
the Tablet I.D. Call is 0.
Disable Reset - This command is used to disable system reset command . After
this command was issued , the reset command "NULL" will be ignored except
hardware reseting .
READ CONFIGURATION - This command sends a report to the computer specifying
the axes resolutions and the Tablet I.D. Call.
Increment Confirmation - This command send two ASCII word to computer specifying
current increment distance on each axis .
Firmware identificatio - This command sends a string to the computer specifying
current firmware version .
ASCII report - This command is used to change TABLET report to ASCII BCD format.
Binary report - This command is used to change TABLET report to packed binary
format.
8 data bits , none parity - This command is used to disable parity bit .
8 data bit , odd parity - This command is used to change TABLET report return
to default status .
The Read Configuration Report form is: (MM Series)
Bytes
Transmitted
Bit to
Start
----------Flag
Byte
X Low Byte
X High Byte
Y Low Byte
Y High Byte
----0
0
0
0
0
Least
Most
Significant
Significant
Bit
Bit
0
1
2
3
4
5
6
7
8
-------------------------------------------0
0
0
Sy
Sx
T
PR
PH
P
b0 b1
b2
b3
b4
b5
b6
0
P
b7 b8
b9
b10 b11 b12 b13
0
P
b0 b1
b2
b3
b4
b5
b6
0
P
b7 b8
b9
b10 b11 b12 b13
0
P
Bit to
Stop
----1
1
1
1
1
The Read Configuration Report form is: (UIOF mode)
Least
Most
Bytes
Bit to Significant
Significant
Transmitted
Start
Bit
Bit
0
1
2
3
4
5
6
7
--------------- --------------------------------------------1st Byte
0
PR T
0
0
0
0
PH
P
2nd Byte
0
Fa Fb Fc Fd
Fe
0
0
P
3rd Byte
0
X0 X1 X2 X3
X4
X5
0
P
4th Byte
0
X6 X7 X8 X9
X10 X11 0
P
5th Byte
0
X12 X13 X14 X15 Sx
0
0
P
6th Byte
0
Y0 Y1 Y2 Y3
Y4
Y5
0
P
7th Byte
0
Y6 Y7 Y8 Y9
Y10 Y11 0
P
8th Byte
0
Y12 Y13 Y14 Y15 Sy
0
0
P
Bit to
Stop
-----1
1
1
1
1
1
1
1
For the items listed above:
b0 to b13 means maximum X or Y value at set resolution
Sx and Sy mean sign bits; 1 (positive)
T means Tablet I.D. Call bit; 1 or 0
PR means proximity bit; 0
PH means phasing bit; 1
P means optional parity
----------------------------------------------------------------H. DIAGNOSTIC FUNCTIONS
----------------------------------------------------------------The Diagnostic Functions include: Self-Test, Send Test Results, Echo.
MM Series
UIOF
mode
--------------------------------------------------------------------------------------ASCII
Hex
ASCII
HEX
Diagnostic Functions
Command Set
Command
Command
--------------------------------------------------------------------------------------Self-Test
<command>
t
74
Send Test Results
<command>
w
77
<ESC>w
Echo
<command>
k
6B
To summarize the Diagnostic Functions:
SELF-TEST - This test is used to check the tablet and puck or pen. Self-Test
checks the circuitry; and the puck or pen connection, operation, and
location. With power-up, the Self-Test is automatically run. It is also
run if a Reset command is given or a Self-Test command is given. The
results are stored in the tablet and can be obtained through the Send
Test Results command.
SEND TEST RESULTS - The Send Test Results command gives the most recent
results of the Self-Test to the computer. The results are transmitted
in one byte:
Bit
to begin
---------0
For the above:
Least
Most
Significant
Significant
Bit
Bit
0
1
2
3
4
5
6
7
8
---------------------------------------A
C
D PR
0
0
0
T
P
Bit
to Stop
------1
A
C
means analog circuitry test; pass is 1, fail is 0
means puck or pen connection and coil operation test; pass is 1,
fail is 0
D means digital circuitry test; pass is 1, fail is 0
PR means puck or pen is on/off tablet; ON is 1, OFF is 0
T means total test result (involves tests A, C, and D only); pass is 1,
fail is 0
ECHO - This command makes sure the NewSketch and the computer are in
compatible operation. The Echo command is issued then followed by any
character sequence. If the character transmitted to the NewSketch is
returned back to the computer, both are operating correctly. The character
sequence causes no action to be taken upon it when it passes through the
NewSketch. Any commands given by the computer during this procedure are
ignored. To end this command, use the Reset command or simply power down
the system.
DEFAULT OPERATING CHARACTERISTICS
MM Series:
Axis Advance
Increment Distance
Origin
Report Mode
Report Rate
Resolution
Tablet I.D. Call
=
=
=
=
=
=
=
0
0
Lower left corner
Switch Stream
Maximum
500 lpi
0
=
=
=
=
=
=
0
Lower left corner
Switch Stream
Maximum
1000 lpi
0
UIOF mode:
Increment Distance
Origin
Report Mode
Report Rate
Resolution
Tablet I.D. Call
Download