MSD-402 Command Guide
75
@GBA / @SBA
Bitmap assignment
Function
Getting
Setting
Format
@GBA, ch
@SBA, ch_1, input_1, bitmap_1 (, ch_2,
input_2, bitmap_2
・・・
)
Return value
@GBA, ch, bitmap_1, bitmap_2,
bitmap_3, bitmap_4
@SBA, ch_1, input_1, bitmap_1 (, ch_2,
input_2, bitmap_2
・・・
)
Parameter
ch: Output channel
1 = OUT1, 2 = OUT2, 3 = PinP1, 4 = PinP2
ch_1-16: Output channel
0 = All outputs, 1 = OUT1, 2 = OUT2, 3 = PinP1, 4 = PinP2
bitmap_1-16: Assigning bitmap
0 = NONE [Default], 1 = Bitmap 1,
2 = Bitmap 2,
3 = Bitmap 3,
4 = Bitmap 4
Only registered numbers can be specified.
input_1-16: Input channel
0 = All inputs, 1 = IN1 to 4 = IN4
Example
@GBA,1
@GBA,1,0,0,0,1
Getting OUT1 bitmap assignment
OUT1: bitmap1 is assigned to IN4.
@SBA,1,4,1
@SBA,1,4,1
Setting OUT1: assigning bitmap1 to IN4
(if IN4 is selected, bitmap 1 will be
output.)
Completed normally.
Remarks
-
@GPB / @SPB
Outputting bitmap at startup
Function
Getting
Setting
Format
@GPB
@SPB, ch_1, out_1 (, ch_2, out_2
・・・
)
Return value
@GPB, out_1, out_2, out_3, out_4
@SPB, ch_1, out_1 (, ch_2, out_2
・・・
)
Parameter
out_1-4: Outputting bitmap
0 = OFF [Default],
1 = Bitmap1 ON,
2 = Bitmap2 ON,
3 = Bitmap3 ON,
4 = Bitmap4 ON
Only registered numbers can be specified.
ch_1-4: Output channel
0 = All outputs, 1 = OUT1, 2 = OUT2, 3 = PinP1, 4 = PinP2
Example
@GPB
@GPB,0,1,3,4
Getting bitmap output at startup.
Bitmap1 will be output to OUT2.
Bitmap3 will be output to PinP1.
Bitmap4 will be output to PinP2.
@SPB,1,0
@SPB,1,0
OUT1: not output a bitmap at startup.
Completed normally.
Remarks
-