Shorthand Send Commands - panja Black/White LCD Instruction Manual

Black/white lcd mini-touch panels (firmware version g3 or higher)
Table of Contents

Advertisement

Shorthand Send Commands

The shorthand commands operate control equipment just like standard Send_Commands still used
in a wide variety of Panja products. However, shorthand commands are smaller byte-for-byte, and
thus are processed more efficiently.
The table below lists the shorthand Send_Commands you can use with the black/white touch
panels. The shorthand command data is 1-byte, non-ASCII format except for pages, passwords,
text, and bitmap names.
Shorthand Send_Commands
@CBF
Sets the OFF
feedback border
color to the speci-
fied color.
@CBN
Sets the ON feed-
back border color
to the specified
color.
@CFF
Sets the OFF
feedback fill color
to the specified
color.
@CFN
Sets the ON feed-
back fill color to
the specified
color.
Black/White LCD Mini-Touch Panels
This works only if the specified background color is not the same as the current color.
Syntax:
"'@CBF',<variable text address>,<color_number>"
Variables:
variable text address = 1 - 255
color number = See the Colors and Programming Numbers table on page 26.
Example:
SEND_COMMAND TP,"'@CBF',1,0"
Sets the OFF feedback border color to Red for the variable text button 1.
This works only if the specified background color is not the same as the current color.
Syntax:
"'@CBN',<variable text address>,<color_number>
Variables:
variable text address = 1 - 255
color number = See the Colors and Programming Numbers table on page 26.
Example:
SEND_COMMAND TP,"'@CBN',2,78"
Sets the ON feedback border color to Gray for variable text button 2.
This only works if the specified background color is not the same as the current color.
Syntax:
"'@CFF',<variable text address>,<color_number>"
Variables:
variable text address = 1 - 255
color number = See the Colors and Programming Numbers table on page 26.
Example:
SEND_COMMAND TP,"'@CFF',1,72"
Sets the OFF feedback fill color to White for variable text button 1.
This only works if the specified background color is not the same as the current color.
Syntax:
"'@CFN',<variable text address>,<color_number>"
Variables:
variable text address = 1 - 255
color number = See the Colors and Programming Numbers table on page 26.
Example:
SEND_COMMAND TP,"'@CFN',1,87"
Sets the ON feedback fill color to Black for variable text button 1.
Programming
27

Advertisement

Table of Contents
loading

Table of Contents