Control code
MAT8T820:
Outport1
<
“
08
”
>
“
09
”
1
“
00
”
2
“
01
”
3
“
02
”
4
“
03
”
5
“
04
”
6
“
05
”
7
“
06
”
8
“
07
”
Outport2
< “
18
”
> “
19
”
1 “
10
”
2 “
11
”
3 “
12
”
4 “
13
”
5
“
14
”
6
“
15
”
7
“
16
”
8
“
17
”
Outport3
< “
28
”
> “
29
”
1 “
20
”
2 “
21
”
3 “
22
”
4 “
23
”
5
“
24
”
6
“
25
”
7
“
26
”
8
“
27
”
Outport4
< “
38
”
> “
39
”
1 “
30
”
2 “
31
”
3 “
32
”
4 “
33
”
5
“
34
”
6
“
35
”
7
“
36
”
8
“
37
”
Outport5
<
“
48
”
>
“
49
”
1
“
40
”
2
“
41
”
3
“
42
”
4
“
43
”
5
“
44
”
6
“
45
”
7
“
46
”
8
“
47
”
Outport6
< “
58
”
> “
59
”
1 “
50
”
2 “
51
”
3“
52
”
4 “
53
”
5
“
54
”
6
“
55
”
7
“
56
”
8
“
57
”
Outport7
< “
68
”
> “
69
”
1 “
60
”
2 “
61
”
3“
62
”
4 “
63
”
5
“
64
”
6
“
65
”
7
“
66
”
8
“
67
”
Outport8
< “
78
”
> “
79
”
1 “
70
”
2 “
71
”
3 “
72
”
4 “
73
”
5
“
74
”
6
“
75
”
7
“
76
”
8
“
77
”
When you send a control command to the MAT8T820, if successful, it will feedback current
output port status to show which input port is selected. The return status format is as follows:
For example, if you send “cir 44.” to MAT8T820, if succeeds, it will feedback “s55”, meaning
OutPut5 selects InPut5.
Output port
“s”
1st byte
2nd byte
Input port
3rd byte