AMX 8.5" Color Passive LCD Touch Panels User Manual

Page 28

Advertising
background image

Programming

24

Color Passive-Matrix LCD Touch Panels

System Send_Commands (Cont.)

SLEEP

Forces the touch
panel to screen
saver mode.

Syntax:

"’SLEEP’"

Example:

SEND_COMMAND TP,"’SLEEP’"

Activates the screen saver mode.

$SC

Sends a serial
port
send_command
within a panel, as
if sent from
Axcess.

Syntax:

"$SC <device offset>,"’<send_command>,<variable

text #>,<data>’""

Variables:

device offset = Device number

variable text # = The variable text number value on the touch panel.

Example:

$SC 1,"’@TXT’,2,’TEXT’"

The string is sends the command to put text on a button with a variable text value of 2. It is
crucial that all the correct ’ and " be used with no spaces after the commas.

Example:

$SC 1,"’SLEEP’"

Sets a touch panel to sleep.

$ST

Sets the power
time-out for
TiltScreen panels.

The command is followed by 1, 2, or 3 ASCII digits.

The entered number is not valid when there is no WAV-PK connected to the TiltScreen pan-
els. The command is sent to the WAV-PK, which then sends it to the panel.

Syntax:

"’$ST <number>’"

Variables:

number = 1 - 255 ASCII characters

Example:

SEND_COMMAND TP, "’$ST 31’"

The number entered is based on the minute increments available within the touch panel
such as 30, 60, 120 minutes. This number will be rounded down to match an increment.

TPAGEOFF

Deactivates page
tracking.

Syntax:

"’TPAGEOFF’"

Example:

SEND_COMMAND TP,"’TPAGEOFF’"

Deactivates the page tracking option.

TPAGEON

Activates page
tracking.

See TPAGEON on page 24 for more information.

WAKE

Deactivates
screen-saver
mode and resets
sleep timer.

Syntax:

"’WAKE’"

Example:

SEND_COMMAND TP,"’WAKE’"

Deactivates the touch panel screen-saver mode and resets the sleep timer.

ZAP!

Clears all mem-
ory; erases but-
tons, pages,
drawings, and
symbols.

Syntax:

"’ZAP!’"

Example:

SEND_COMMAND TP, "’ZAP!’"

Clears all memory and erases all buttons, pages, drawings, and symbols.

Only use the ZAP! command to erase all the saved data in the touch panel; data cannot be recovered
after it is erased.

Advertising