MSD-804FD Users Guide (Command Guide)
120
@SBA
Set bitmap input channel assignment
Command
format
@SBA,
ch_1
,
input_1, bitmap_1 (
,
ch_2
,
input_2, bitmap_2
・・・
)
Return value
format
@SBA,
ch_1
,
input_1, bitmap_1 (
,
ch_2
,
input_2, bitmap_2
・・・
)
Parameter
ch_1-36
: Output
0 = All outputs, 1 = OUT1 to 4 = OUT4
input_1-36
: Input channel
0 = All inputs, 1 = IN1 to 9 = IN9
bitmap_1-36
: Bitmap assignment
0 = NONE [Default], 1 = Bitmap 1, 2 = Bitmap 2, 3 = Bitmap 3, 4 = Bitmap
4
*Only registered numbers can be specified as bitmaps.
Example Send
Receive
@SBA,1,8,1
@SBA,1,8,1
OUT1: Assign Bitmap 1 to IN8. (If you select IN8,
Bitmap 1 is output.)
Terminated normally.
Send
Receive
@SBA,2,8,1,9,2
@SBA,2,8,1,9,2
OUT2: Assigns Bitmap 1 to IN8 and Bitmap 2 to
IN9. (If you select IN8, Bitmap 1 is output; if you
select IN9, Bitmap 2 is output.)
Terminated normally.
Related info.
8.16.6 Input channel assignment
@GBA
Get bitmap input channel assignment
Command
format
@GBA,
ch
Return value
format
@GBA,
ch
,
in_1
,
in_2
,
in_3
,
in_4
,
in_5
,
in_6
,
in_7
,
in_8
,
in_9
Parameter
ch
: Output
1 = OUT1 to 4 = OUT4
in_1-9
: Bitmap assignment of each input channel
0 = NONE [Default], 1 = Bitmap 1, 2 = Bitmap 2, 3 = Bitmap 3,
4 =Bitmap 4
Example Send
Receive
@GBA,1
@GBA,1,0,0,0,0,0,0,0,1,0
Get bitmap assignment of OUT1.
OUT1: Bitmap 1 is assigned to IN8; other
input channels: no bitmap is assigned.
Related info.
8.16.6 Input channel assignment