beautypg.com

Extron Electronics RGB 300 User Manual

Page 27

background image

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

CMD9 (39) - Set Horizontal Shift

The Host tells the RGB 300 to set the horizontal shift. This
command is like CMD8, but the data is going the other way.
The command includes three data bytes for the horizontal
shift information.

Format:

CMD9, data1, data2, data3, CKS1, CKS2, EOT

(39h), (xx), (xx), (xx), (ck), (ck), (04h)

Where:

data1 = enable byte, 80h turns off shift, 81h turns on shift.
data2 = sign byte, 81h sets a positive horizontal shift;

82h sets a negative horizontal shift.

data3 = shift number, + 80h

Example:

CMD9, data1, data2, data3, CKS1, CKS2, EOT
(39h), (81h), (81h), (A2h), (83h), (DDh), (04h)
To set the horizontal shift to +34 (34d = 32+2 =22h) then:

a. data2 = 81h (sign is positive)
b. data3 = 34 (22h) + bit7 = A2h
c. send the following transmission

Response:

CMD9, ERC, CKS1, CKS2, EOT

CMD10 (3A) - Report Vertical Shift

The Host asks the RGB 300 for the current vertical shift
information. The RGB 300 responds with three data bytes:
one for “enabled” status, one for polarity (±) and one for the
numeric value.

Format:

CMD10, CKS1, CKS2, EOT
(3Ah) , (80h), (B8h), (04h)

Response:

CMD10, ERC, data1, data2, data3, CKS1, CKS2, EOT

Where:

data1 = enable byte: 80h = shift is off; 81h = shift is on.
data2 = sign byte: 81h = shift is positive; 82h = shift is
negative.
data3 = vert. shift + 80h

____ If data3 is 80h, the level number is zero and the vertical

adjustment is in its center position.

Example:

if Vert. Shift = +22 and On then response will be:
CMD10, ERC, data1, data2, data3, CKS1, CKS2, EOT
(3Ah), (80h), (81h), (81h), (96h), (84h), (D2h), (04h)

A-13

Using Commands CMD9,10

CMD11 (3B) - Set Vertical Shift

The Host tells the RGB 300 to set the vertical shift
information. This is like CMD10, but the data is going the
other direction. The command includes three data bytes to
provide the vertical settings.

Format:

CMD11, data1, data2, data3, CKS1, CKS2, EOT
(3Bh), (xx), (xx), (xx), (xx), (xx), (04h)

Where:

data1 = enable byte: 80h = shift is off; 81h = shift is on.
data1 = sign byte ; 81h = positive shift; 82h = negative shift.
data2 = shift + 80h

Response:

CMD11, ERC, CKS1, CKS2, EOT

Example:

To set the vertical shift to +34 (34d = 32+2 =22h) then:
a. data2 = 81h (sign is positive)
b. data3 = 34 (22h) + bit7 = A2h
c. send the following transmission
CMD11, data1, data2, data3, CKS1, CKS2, EOT
(3Bh), (81h), (81h), (A2h), (83h), (DFh), (04h)

CMD12 (3C) - Report Peaking Level

The Hosts asks the RGB 300 for the current peaking level.
The RGB 300 responds with a data byte containing the
peaking level value.

Format:

CMD12, CKS1, CKS2, EOT
(3Ch) , (80h), (BCh), (04h)

Response:

CMD12, ERC, data1, CKS1, CKS2, EOT

Where:

data1 = peaking level (0-7) + bit7 = 80-87h

CMD13 (3D) - Set Peaking Level

The Host tells the RGB 300 to set the peaking level. This is
like CMD12, but the Host sends the peaking level value in a
data byte.

Format:

CMD13, data1, CKS1, CKS2, EOT
(3Dh), (xx), (xx), (xx), (04h)

Where:

data1 = peaking level (0-7) + 80h

A-14

Using Commands - CMD11,12,13