![background image](http://html1.mh-extra.com/html/amx/axd-mcp/axd-mcp_instruction-manual_2939185039.webp)
Programming
35
5.5" Color Passive Mini-Touch Panels
Color Send_Commands
Use the color Send_Commands to set the colors for text, buttons, and pages. Use the same
command for setting gray scale values only change the color number value to reflect the gray scale
(72-86) value.
Shorthand Send_Commands (Cont.)
@SWK
Changes the
Wakeup string
sent to the Con-
troller when the
touch panel is
activated.
Syntax:
"’@SWK-<string>’"
Variable:
string = alphanumeric characters
Example:
SEND_COMMAND TP,"’@SWK-Touch Panel Activated’"
Sends Touch Panel Activated to the Central Controller.
Color Send_Commands
CALL
Sets the colors for
a variable text but-
ton.
You must use the variable text assignments to change button colors (see the Colors and
Programming Numbers table on page 30).
Syntax:
"’CALL<variable text address>-<data>’"
Variables:
variable text address = 1 - 255
data = 6 color number series for:
FILL COLOR ON
FILL COLOR OFF
BORDER COLOR ON
BORDER COLOR OFF
TEXT COLOR ON
TEXT COLOR OFF
Example:
SEND_COMMAND TP,"’CALL1-1 3 0 0 72 74’"
Sets variable text button 1 to:
FILL COLOR ON = Red one shade from brightest
FILL COLOR OFF = Red three shades from brightest
BORDER COLOR ON = Red brightest
BORDER COLOR OFF = Red brightest
TEXT COLOR ON = White brightest
TEXT COLOR OFF = White two shades from brightest
CBOFF
Sets the OFF
feedback border
color to the speci-
fied color.
Syntax:
"’CBOFF<variable text address>-<color_number>’"
Variables:
variable text address = 1 - 255
color number = See the Colors and Programming Numbers table on page 30.
Example:
SEND_COMMAND TP,"’CBOFF1-0’"
Sets the OFF feedback border color to Red for the variable text button 1.