Programming - Send Commands
79
Modero G5 Touch Panels - Configuration and Programming
Button State Commands (Cont.)
^BBR
Button State Bitmap Resource Command.
Assign a resource to those buttons with a defined address range.
Syntax:
"'^BBR-<vt addr range>,<button states range>,<resource name>,[bitmap index],
[optional justification]'"
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).
name of resource = ASCII characters.
Optional bitmap index = 1 - 5, the state bitmap index to assign the resource. If not present, will place the
referenced resource in index 1. The indexes are defined as:
0 - Chameleon Image (if present)
1 - Bitmap 1
2 - Bitmap 2
3 - Bitmap 3
4 - Bitmap 4
5 - Bitmap 5
Optional justification = 0-10 where:
0 - Absolute position
1 - top left
2 - top center
3 - top right
4 - middle left
5 - middle center
6 - middle right
7 - bottom left
8 - bottom center
9 - bottom right
10 - scale to fit.
If absolute justification is set, the next two parameters are the X and Y offset of the bitmap for the referenced
index. If no justification is specified, the current justification is used.
Example:
SEND_COMMAND Panel,"'^BBR-500.504&510.515,1,image_xray'"
Sets the OFF state picture for the buttons with variable text ranges of 500-504 & 510-515.
^BCB
Set Border Color Command.
Set the border color to the specified color.
Only if the specified border color is not the same as the current color.
Syntax:
"'^BCB-<vt addr range>,<button states range>,<color value>'"
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).
color value = Refer to
RGB Triplets and Names For Basic 88 Colors
on page 114 for more information.
Example:
SEND_COMMAND Panel,"'^BCB-500.504&510,1,12'"
Sets the Off state border color to 12 (Yellow). Colors can be set by Color Numbers, Color name, R,G,B,
alpha colors (RRGGBBAA) and R, G & B colors values (RRGGBB).
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 ...