Programming - Send Commands
80
Modero G5 Touch Panels - Configuration and Programming
Button State Commands (Cont.)
?BCB
Get Border Color Command. Get the current border color.
Syntax:
"'?BCB-<vt addr range>,<button states range>'"
Variables:
variable text address range = 1 - 4000.
button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons, 1 = Off state and
2 = On state).
custom event type 1011:
Flag - zero
Value1 - Button state number
Value2 - Actual length of string (should be 9)
Value3 - Zero
Text - Hex encoded color value (ex: #000000FF)
Text length - Color name length (should be 9)
Example:
SEND COMMAND Panel,"'?BCB-529,1'"
Gets the button 'OFF state' border color. information.
The result sent to the Master would be:
ButtonGet Id = 529 Type = 1011
Flag = 0
VALUE1 = 1
VALUE2 = 9
VALUE3 = 0
TEXT = #222222FF
TEXT LENGTH = 9
^BCF
Background Color Fill Command. Set the background color fill to specified color in state(s)
Syntax:
"'^BCF-<vt addr range>,<button state range>,<color value>'"
Variables:
Variable text addr range = 1-4000
button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons 1 = Off state and
2 = On state).
color value - Refer to
RGB Triplets and Names For Basic 88 Colors
on page 114 for more information.
Example:
SEND_COMMAND Panel,"'^BCF-500.504&510.515,1,Blue'"
Sets the OFF state background color fill for the buttons with variable text ranges of 500-504 & 510-515 to
Blue.
Summary of Contents for Modero G5
Page 58: ...Settings Menu 48 Modero G5 Touch Panels Configuration and Programming ...
Page 62: ...Gestures 52 Modero G5 Touch Panels Configuration and Programming ...
Page 66: ...MXA MP and MXA MPL Programming 56 Modero G5 Touch Panels Configuration and Programming ...
Page 138: ...Appendix B Bargraph Functions 128 Modero G5 Touch Panels Configuration and Programming ...