Chapter 6 - Setting Up Your PL OS
6-10
PL-5900 Series User Manual
0402h
Coordinate code non-destructive input
Returns coordinates of the area/position touched. Does not update the touch panel
input buffer.
Input
AX
= 0402h
Output
AH
= 0: Input on (“1” when input is off)
BH
= Y coordinate range in PL-386 family compatibility mode (0 - 26)
BL
= X coordinate range in PL-386 family compatibility mode (0 - 30)
CX
= Number of valid data sets in input buffers on touch panel
DX
= Coordinate code
To use function 0402h, it is necessary to first register the coordinate codes.
0500h
Touch panel status detection
Returns the touch panel’s current status
Input
AX
= 0500h
Output
AH
= Status in PL-386 compatibility mode
How to use function 0500h
Start
Function 0100h
Processing until touch
panel area is released
Touch panel
area
held down
Function 0500h
Bit 0
Bit 1
To next touch panel input
Coordinates
changed while
touch panel area
is pressed.
or
Function 0101h
Input?
Processing until touch
panel area is pressed
No
Yes
0
0
1
1
Bit 1
Bit 0
Description
0
0
Area pressed
0
1
Unchanged
1
0
Not available
1
1
Area released
Содержание PL-5900 Series
Страница 1: ...PL 5900 Series User Manual Digital Electronics Corporation...
Страница 13: ...Preface 12 PL 5900 Series User Manual Memo...
Страница 45: ...3 10 PL 5900 Series User Manual Memo...
Страница 57: ...4 12 PL 5900 Series User Manual Memo...