Programming
65
AXB-TPI/3 Touch Panel Interface 3
Button String Commands (Cont.)
$SC
Send 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 1:
SEND COMMAND Panel,"$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.
You cannot perform ASCII-number conversions within the commands.
Example 2:
SEND COMMAND Panel,"$SC 1,"'SLEEP'"
Sets a touch panel to sleep.
$SP
Send data out
through the serial
port of the source
panel to a
destination panel.
Translates the ¦ and translates it as a carriage return to the next line. Sends data out the
serial port with trailing CR and LF.
Syntax:
"$SP"<data>""
Variables:
data = Serial string command.
Example:
SEND COMMAND Panel,"$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.
$TO
Send touch
coordinates out
through the
Program port.
Syntax:
"$TO <touch output enabling via the program port>"
Variable:
touch output enabling = 0 (Input Touch Only), 1 (Input and Output Touch), or 2 (Output
Touch Only).
Example:
SEND COMMAND Panel,"$TO 0"
Sets the panel only to input touch.
WORKING?
Verify the
communication
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.
Summary of Contents for AXB-TPI/3
Page 6: ...iv AXB TPI 3 Touch Panel Interface 3 Table of Contents ...
Page 32: ...TPI Configuration and Usage 26 AXB TPI 3 Touch Panel Interface 3 ...
Page 72: ...Programming 66 AXB TPI 3 Touch Panel Interface 3 ...
Page 80: ...Upgrading the Firmware 74 AXB TPI 3 Touch Panel Interface 3 ...
Page 84: ...Troubleshooting 78 AXB TPI 3 Touch Panel Interface ...