![background image](http://html1.mh-extra.com/html/amx/axd-mcp/axd-mcp_instruction-manual_2939185030.webp)
Programming
26
5.5" Color Passive Mini-Touch Panels
System Send_Commands (Cont.)
CLOCK
Sets the time and
date.
Syntax:
"’CLOCK <mm-dd-yy> <hh:mm:ss>’"
Variables:
mm = 01 - 12, dd = 01 - 31, yy = 00 - 99
hh = 00 - 23, mm = 00 - 59, ss = 00 - 59
Example:
SEND_COMMAND TP,"’CLOCK 02-08-98 19:16:00’"
Sets the touch panel’s date to February 8, 1998, and time to 7:16 p.m.
CURSOR
Turns the cursor
display On or Off if
the touch device
has a cursor.
Syntax:
"’CURSOR <OFF/ON>’"
Variables:
Off = 0 and On = 1
Example:
SEND_COMMAND TP,"’CURSOR 0’"
Turns the cursor display Off.
DBEEP
Gives a double
beep output.
This command only works if the Double Beep value in the Protected Setup page is set to
On.
Syntax:
"’DBEEP’"
Example:
SEND_COMMAND TP,"’DBEEP’"
Double beeps the panel.
ILEV
Inverts the joystick
axis.
Syntax:
"’ILEV <joystick axis to invert>’"
Variables:
joystick axis to invert =
0 = Normal G3 joystick (origin: top left)
1 = Invert horizontal axis (origin: top right)
2 = Invert vertical axis (origin: bottom left)
3 = Invert both axes (origin: bottom right)
Example:
SEND_COMMAND TP,"’ILEV 3’"
Inverts the joystick axis to move the origin to another corner.
MOUSE
Turns on serial
mouse or other
touch devices.
Syntax:
"’MOUSE <mouse condition>’"
Variables:
mouse condition =
00: Mouse cursor Off
01: Microsoft
®
serial mouse/cursor On
Example:
SEND_COMMAND TP,"’MOUSE 01’"
Turns on Microsoft
®
compatible serial mouse. Refer to the
@MOU
section on page 33 for
the chart describing the BIT information and definitions.