Programming
Button String Commands
The table below lists string commands you can assign to buttons by 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 group ID
number (including
that of the Wave-
Pack).
$SC
Sends a serial
port
send_command
within a panel, as
if sent from
Axcess.
$SL
Activates sleep
mode on a
wireless touch
panel.
$SP
Sends data out
through the serial
port of the source
panel to a destina-
tion panel.
36
Syntax:
"$ID,<group ID>"
Variables:
group ID = 0 (Off) - 15
Example:
$ID 15
Sets the Group ID to 15.
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.
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).
Syntax:
"'$SP"<data>"'"
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.
Electroluminescent LCD Touch Panels