![background image](http://html1.mh-extra.com/html/amx/axd-mcp/axd-mcp_instruction-manual_2939185047.webp)
Programming
43
5.5" Color Passive Mini-Touch Panels
Button String Commands (Cont.)
$ID
Sets the group ID
number.
Syntax:
"$ID,<group ID>"
Variable:
group ID = 0 (Off) - 15
Example:
$ID 15
Sets the Group ID to 15.
$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.
data = 0 - 59 characters
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.
$SL
Activates sleep
mode on a
wireless touch
panel.
This command does not set the panel to sleep, but actually puts a wavepack to sleep.
Syntax:
"$SL"
Example:
$SL
Activates sleep mode on a wireless touch panel (ViewPoint or other panel using a
SmartPack/WavePack).
$SP
Sends data out
through the serial
port of the source
panel to a destina-
tion panel.
Syntax:
"$SP"<data>""
Variables:
data = Serial string command
Examples:
$SP "CALIBRATE"
Sends the Calibrate command to another panel through the Serial Port.
$SP "$SC 1,"’@TXT’,1,’TEST’""
Uses the $SP command to send a Send Command ($SC ***) to another panel through the
Serial Port. This is an on-panel button string that is entered using on-screen keyboard.
$ST
Sets the idle time
to activate sleep
mode for a touch
panel in 1-minute
increments.
When the touch panel’s input time matches the sleep time, the panel goes to sleep.
Syntax:
"$ST<sleep timeout>"
Variable:
sleep timeout = 1 (Off) - 120 (in minutes)
Example:
$ST 5
Sets the touch panel’s sleep time to 5 minutes.