Programming
45
10.4" Touch Panels
Variable Text Send_Commands
Use variable text Send_Commands to set the borders, fonts, and text.
Variable Text Send_Commands
!B
Sets a specific
button to On or
Off.
Syntax:
"
’!B’,<variable text address>,<ON/OFF>"
Variables:
variable text address = 1 - 255
ON = 0
OFF = 1
Example:
SEND_COMMAND TP,"’!B’,128,1"
Sets button 128 Off.
BTOF
Sets a specific
button's active
state to Off.
Syntax:
"
’BTOF<variable text address>’"
Variables:
variable text address = 1 - 255
Example:
SEND_COMMAND TP,"’BTOF255’"
Sets the state for button 255 to Off.
BTON
Sets a specific
button's active
state to On.
Syntax:
"’BTON<variable text address>’"
Variable:
variable text address = 1 - 255
Example:
SEND_COMMAND TP,"’BTON128’"
Sets the state for button 128 to On.
!C
Sets the border,
font, and text in
one command.
Syntax:
"’!C’,<variable text address>,<border style>,<font
size>,’<new button text>’"
Variables:
variable text address = 1 - 255
border style = See the Border Styles and Programming Numbers table on page 38.
font size = See the Font Styles and Programming Numbers table on page 37.
new button text = Enter button text to appear on button.
Example:
SEND_COMMAND TP,"’!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 ver-
sion of
’
FONT
’
command.
Syntax:
"’!F’,<variable text address>,’<font size>’"
Variables:
variable text address = 1 - 255
font size = See the Font Styles and Programming Numbers table on page 37.
Example:
SEND_COMMAND TP,"’!F’,1,’6’"
Changes variable text button one font to hollow medium.
Summary of Contents for AXD-CA10
Page 1: ...instruction manual Touch Panels and Accessories 10 4 Touch Panels Firmware version G3 ...
Page 17: ...Installation 13 10 4 Touch Panels ...
Page 18: ...Installation 14 10 4 Touch Panels ...
Page 28: ...Designing Touch Panel Pages 24 10 4 Touch Panels ...