User Guide

Programming
51
10.4" Touch Panels
Button String Commands (Cont.)
$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/WavePack
in 1-minute incre-
ments.
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.
$TO
Sends touch coor-
dinates out
through the pro-
gram port.
Syntax:
"$TO <touch output enabling via the program port>"
Variable:
touch output enabling = 0 (Input Touch Only), 1 (Input and Output Touch)
Example:
$TO 0
Sets the panel only to input touch.
WORKING?
Verifies the com-
munication
between touch
panels through
the use of the on-
panel editor.
Responding touch panels tell the sending touch panel to change its Main page to the color
white.
Syntax:
"WORKING?"
Example:
10.4" panel serial port is connected to TPI program port.
10.4" panel wants to verify communication between the TPI and itself.
10.4" panel issues "WORKING?" to its serial port. It will be sent as ’$SP "WORKING?".
TPI receives the command and responds to the 10.4" panel by telling it to set the Main
page background to white.