Programming
44
6" Color Video 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 39).
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