Button string commands – AMX 8.5" Color Passive LCD Touch Panels User Manual
Page 43
Programming
39
Color Passive-Matrix LCD Touch Panel
Button String Commands
The table below lists string commands you can assign to buttons using the touch panel editor. Select
the PROPERTIES option in the Edit bar, press the target button, and enter the string command with
the Touch Panel keyboard. The string command is sent to the control system when you press the
button.
Button String Commands
$ID
Sets the Wave-
Pack group ID
number.
Syntax:
"’$ID
Variables:
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 text #>,’"" 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 Example: $SC 1,"’SLEEP’" Sets a touch panel to sleep. $SL Activates sleep 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 $SP Sends data out Syntax: "’$SP""’" 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
crucial that all the correct ’ and " be used with no spaces after the commas.
mode on a
wireless touch
panel.
SmartPack/WavePack).
through the serial
port of the source
panel to a destina-
tion panel.
Serial Port.