Chapter 8 - Using MS-DOS
8-2
PL-5910 Series User Manual
Relationship between touch panel coordinates and display coordinates when using
the PL-386 Series compatibility mode
To ensure compatibility with 16 x 14 (31 x 27 by double precision) touch panels used
on the Digital PL-386 family of Panel Computers, the TPH.EXE (PL-386 command)
function can be used as is.
The relationship between touch panel coordinates and display coordinates is as follows.
Touch panel coordinates in
PL-386 family compatibility mode
Input coordinate range
X = 0 ~ 30
Display area in
Y = 0 ~ 26
640 x 480 mode
A 2-point touch gives the midpoint coordinate between the two coordi-
nate values.
Start-up
ATPH59 [Parameter]
[
[
↵
]
]
* Parameters
-a<n>
Specifies the I/O base address of the touch panel’s SIO port.
Hexadecimal, Default: 2e8 (COM4)
n=
3f8
(COM1)
n
2f8
(COM2)
3e8 (COM3)
2e8 (COM4)
-q<n>
Specifies the interrupt level (IRQ) of the touch panel’s SIO port.
Default: 10 (COM4)
n= 4
(COM1)
3
(COM2)
11
(COM3)
10
(COM4)
-i<n>
Sets the software interrupt vector number when calling up functions.
Hexadecimal, Default: n=59
-r
Cancels the resident command.
-c <path name>
Specifies the data file containing the calibrated value obtained
from CALIB59.EXE (touch panel data calibration). When
defaulted to, ATPH59.CAL of the current directory is used.
∗
Example
atph59 -a2e8 -q10 -cc:\atph59.cal
(2,1)
(0,2)
(0,1)
(1,1)
(0,0)
(30,24)
(30,25)
(30,26)
: Touch panel effective area