Button String Commands - AMX AXD-CP4/PB Instruction Manual

4" color touch panels
Table of Contents

Advertisement

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 control system receives the string command
when you press a button.
Button String Commands
$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.
$ST
Sets the idle time
to activate sleep
mode for a touch
panel in 1-minute
increments.
48
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>""
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.
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.
4" Color Touch Panels

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Axt-cp4pbAxd-cp4Axd-pbAxt-cp4

Table of Contents