Programming
60
AXB-TPI/3 Touch Panel Interface 3
Variable Text Send_Commands (Cont.)
!C
Combination
command that
sets the border,
font, and text in
one shorthand
command.
NOTE: The border style and font are single byte non-ascii data!!
Syntax:
"'!C',<variable text address>,<border style>,<font
size>,'<new button text>'"
Variables:
variable text address = 1 - 255.
border style = 0 - 41. See the Border Styles and Programming Numbers table on
page 51.
font size = 1 - 255. See the Font Styles and Programming Numbers table on page 50.
new button text = 1 - 50 alphanumeric. Enter button text to appear on button.
Example:
SEND COMMAND Panel,"'!C',1,6,6,’VCR PLAY'"
Sets the variable text button one title to VCR PLAY using a hollow medium font, and
changes the border attribute to double rounded.
!F
Shorthand
version of ’FONT’
command.
Syntax:
"'!F',<variable text address>,'<font size>'"
Variables:
variable text address = 1 - 255.
font size = 1 - 255. See the Font Styles and Programming Numbers table on page 50.
Example:
SEND COMMAND Panel,"'!F',1,'6'"
Changes variable text button one font to hollow medium.
FONT
Changes the font
size (or style) of
the text in a
specific text
button.
Syntax:
"'FONT<variable text address>-<font size>'"
Variables:
variable text address = 1 - 255.
font size = 1- 255. See the Font Styles and Programming Numbers table on page 50.
Fixed Fonts are as follows:
1 = x-small
2 = small
3 = medium
4 = large
5 = x-large
6 = hollow medium
8 = hollow x-large
Variable Fonts start at 32.
Example:
SEND COMMAND Panel,"'FONT1-6'"
Changes variable text button one font to hollow medium.
!I
Shorthand
version of 'ICON'
command.
Syntax:
"'!I',<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,"'!I',1,'6'"
Changes the variable text button one border style to double rounded.