IDK MSD-54 Series Command Guide User Manual
Page 137
![background image](https://www.manualsdir.com/files/790490/content/doc137.png)
MSD-54 Series Users Guide (Command Guide)
137
@SBB
Set bitmap background color
Command format
@SBB, ch_1, bitmap_1, red_1, green_1, blue_1 (, ch_2, bitmap_2, red_2,
green_2
, blue_2・・・)
Return value
format
@SBB, ch_1, bitmap_1, red_1, green_1, blue_1 (, ch_2, bitmap_2, red_2,
green_2
, blue_2・・・)
Parameter
ch_1-16
: Output
0 = All outputs, 1 = OUT1 to 4 = OUT4
bitmap_1-16
: Bitmap number
0 = All bitmaps, 1 = Bitmap 1, 2 = Bitmap 2, 3 = Bitmap 3,
4 = Bitmap 4
Only registered numbers can be specified as bitmaps.
red_1-16
: Background color (Red)
green_1-16
: Background color (Green)
blue_1-16
: Background color (Blue)
0 to 255 [Default]: 0
Example Send
Receive
@SBB,1,1,255,255,255
@SBB,1,1,255,255,255
Set background color for when bitmap
1 is output to OUT1 to 255 (white) for
all RGB.
Terminated normally.
Related info.
8.16.3 Background color
@GBB
Get bitmap background color
Command format
@GBB, ch
Return value
format
@GBB, ch, red1, green1, blue1 (, red_2, green_2, blue_2・・・)
Parameter
ch
: Output
1 = OUT1 to 4 = OUT4
red_1-4
: Background color of each bitmap (Red)
green_1-4
: Background color of each bitmap (Green)
blue_1-4
: Background color of each bitmap (Blue)
0 to 255 [Default]: 0
Settings of registered bitmaps are sent in order.
Example Send
Receive
@GBB,2
@GBB,2,255,0,0
Get background color of OUT2.
R: 255, G and B: 0 (Red).
Send
Receive
@GBB,2
@GBB,2,255,0,0,0,255,0
If 2 bitmaps are registered, get
background color of OUT2.
Bitmap 1: R is 255, G and B are 0
(Red); Bitmap 2: G is 255, R and B
are 0 (Green)
Related info.
8.16.3 Background color