Programming
61
AXB-TPI/3 Touch Panel Interface 3
Shorthand Variable Text Commands
The table below lists the shorthand variable text commands you can use with the touch panel. The
shorthand command data is one-byte, non-ASCII format except for pages, passwords, text, and
bitmap names.
Variable Text Send_Commands (Cont.)
ICON
Change the
border style of a
specific button.
Syntax:
"'ICON<variable text address>-<border style>'"
Variables:
variable text address = 1 - 255.
border style = 0 -41. See the Border Styles and Programming Numbers table on
page 51.
Example:
SEND COMMAND Panel,"'ICON25-6'"
Changes the variable text button 25 border style to double-rounded.
!T
Shorthand
version of
'
TEXT
'
command.
Syntax:
"'!T’,<variable text address>,’<new button text>'"
Variables:
variable text address = 1 - 255.
new button text = 1 - 60 alphanumeric characters.
Example:
SEND COMMAND Panel,"'!T',1,'VCR PLAY'"
Changes the variable text button one title to VCR PLAY.
TEXT
Enter new text on
specific button.
Use the | character to display text on multiple lines. All text remains permanent even
during power outage until changed with another TEXT command.
Syntax:
"'TEXT<variable text address>-<new button text>'"
Variables:
variable text address = 1 - 255.
new button text = 1 - 50 alphanumeric. Enter button text to appear on button.
Example:
SEND COMMAND Panel,"'TEXT2-VCR|PLAY'"
Sets the VCR and PLAY text on variable button 2. The | character places VCR above
PLAY on the button.
Shorthand Variable Text Commands
@BMP
Add a bitmap file
to a button.
Bitmap files are imported into TPDesign3; the numbers are assigned by the touch panel
during the download process.
Syntax:
"'@BMP',<variable text address>,’<bitmap name>'"
Variables:
variable text address = 1 - 255.
bitmap = Bitmap chosen from a file location.
Example:
SEND COMMAND Panel,"'@BMP',85,’Bitmap1'"
Adds the Bitmap1 file to button 85.
Содержание 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 ...