Extron Electronics RGB 300 User Manual
Page 25
![background image](/manuals/312324/25/background.png)
Appendix A • Programmer's Guide
Appendix A • Programmer's Guide
Extron RGB 300 Universal Interface • User’s Manual
Extron RGB 300 Universal Interface • User’s Manual
CMD2 (32) Report RGB Code (video input detector)
The Host asks the RGB 300 which video signals are detected
on the R, G, and B inputs. The RGB 300 sends one data byte,
with a bit assigned to each color.
Format:
CMD2, CKS1, CKS2, EOT
(32h), (80h), (B2h), (04h)
Response:
CMD2, ERC, data1, CKS1, CKS2, EOT
Where:
data1 is bit encoded as follows:
If bit 0 = 0, Red is detected, if 1, Red is not detected.
If bit 1 = 0, Green is detected, if 1, it is not detected.
If bit 2 = 0 Blue is detected, if 1, it is not detected.
bits 3 - 6 = not defined (can be 0’s or 1’s).
bit 7 = 1
Bit #s in byte:
7
6
5
4
3
2
1
0
Hex 8xh =
1
n/a n/a n/a n/a B
G
R
If Red, Green and Blue are detected, data1 = 80d.
If bits 3-6 =0s, the result will give one of the following results:
80h = Red, Green, and Blue are all detected
81h = Green and Blue are detected
82h = Red and Blue are detected
83h = Blue is detected
84h = Red and Green are detected
85h = Green is detected
86h = Red is detected
87h = None is detected
A-9
Using Commands - CMD2
CMD3 (33) - Report Programmed Sync Code
The Host asks the RGB 300 to report which sync code has
been set. The RGB 300 responds with a data byte containing
sync information.
Format:
CMD3, CKS1, CKS2, EOT
(33h), (80h), (B3h), (04h)
Response:
CMD3, ERC, data1, CKS1, CKS2
Where:
data1 is bit encoded as follows:
bit0 = if 0, serrations are removed; if 1, they are passed.
bit1 = if 0, sync is forced negative; if 1, polarity follows input.
bit2 = if 0, original sync is active; if 1, sync is processed.
bit3 = if 0, no sync is added to green; if 1, composite sync is
added to the green video channel.
bit4 = if 0, composite sync is output on the H/HV connector;
if 1, horizontal sync only appears at the H/HV connector.
bit5-6 = reserved (can be 1’s or 0’s)
bit 7 = 1 must be set.)
____ These are the programmed sync options and will be overridden
by the RGB 300’s termination detection circuit. This circuit can
change where the sync is sent, regardless of bits 3 and 4.
CMD4 (34) - Report Software Version
The Host asks the RGB 300 for the software version number.
The RGB 300 responds with the version encoded in a data
byte.
Format:
CMD4, CKS1, CKS2, EOT
(34h), (80h), (B4h), (04h)
Response:
CMD4, ERC, data1, CKS1, CKS2, EOT
Where:
data1 = software version times 10, + 128
Bit #s in byte:
7
6
5
4
3
2
1
0
Dec. value = 128 64 32
16 8
4
2
1
If data1 = 8Dh = 1
0
0
0
1
1
0
1
Decimal equivalent = 128 + 8 + 4 + 1 = 141d.
A-10
Using Commands - CMD3,4