Programming
64
AXB-TPI/3 Touch Panel Interface 3
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.
Shorthand Variable Text Commands (Cont.)
@SHO
Set a specific
button to On or
Off.
Syntax:
"'@SHO',<variable text address>,<button state>"
Variables:
variable text address = 1 - 255.
button state: 0 (Button Off/hide) or 1 (Button On/show).
Example:
SEND COMMAND Panel,"'@SHO',128,0"
Sets button 128 Off.
@TXT
Add text to a
button.
Use the | character to display text on multiple lines.
Syntax:
"'@TXT',<variable text address>,'<new button text>'"
Variables:
variable text address = 1 - 255.
new button text = 1 -50 alphanumeric characters. Enter button text to appear on the
button.
Example:
SEND COMMAND Panel,"'@TXT',2,'VCR|PLAY'"
Sets the VCR and PLAY text on variable button 2. The | character places VCR on a text
line above PLAY on the button.
@UNI
Add Unicode text
to a button.
Characters for Middle Eastern languages, such as Arabic, are not supported within the
Unicode fonts because they are bi-directional. Buttons with Unicode fonts can only be cre-
ated and edited using TPDesign3 Touch Panel Design Program.
Syntax:
"'@UNI',<variable text address>,'<new button text>'"
Variables:
variable text address = 1 - 255.
new button text = 1 -50 alphanumeric characters. Enter button text to appear on the
button.
Example:
SEND COMMAND Panel,"'@UNI',2,'Foreign Text'"
Sets the Foreign Text on variable button 2.
Button String Commands
$CU
Turn the cursor
display On and
Off.
Syntax:
"$CU <cursor display state>"
Variable:
cursor display state = 0 (Off) and 1 (On).
Example:
SEND COMMAND Panel,"$CU 0"
Turns the cursor Off.
Содержание AXB-TPI/3
Страница 1: ...instruction manual Touch Panels and Accessories AXB TPI 3 Touch Panel Interface 3 Firmware version G3 ...
Страница 6: ...iv AXB TPI 3 Touch Panel Interface 3 Table of Contents ...
Страница 32: ...TPI Configuration and Usage 26 AXB TPI 3 Touch Panel Interface 3 ...
Страница 72: ...Programming 66 AXB TPI 3 Touch Panel Interface 3 ...
Страница 79: ...Upgrading the Firmware 73 AXB TPI 3 Touch Panel Interface 3 9 Press F10 to exit the SoftROM program ...
Страница 80: ...Upgrading the Firmware 74 AXB TPI 3 Touch Panel Interface 3 ...
Страница 84: ...Troubleshooting 78 AXB TPI 3 Touch Panel Interface ...
Страница 87: ...Appendix 81 AXB TPI 3 Touch Panel Interface ...