39
MAS-6100 / MAS-6100A
Write Packets
Below is a representation of data bytes in a single packet for a ‘Write’ to the unit to set a value:
SOP
CMD
CHA
WINDOW
OUTPUT/FUNCTION
FUNCTION
PAYLOAD x 3
CS
EOP
The table below details the function of each part of the packet:
Packet part
Function
SOP
(Start of
packet)
This is always the ASCII letter ‘F’ to indicate the packet start.
CMD
(Command)
ASCII-hex byte to indicate the type of command being sent.
Each bit in the byte has a different function
Bit 7 = Write (0) or Read (1) request. Messages from the unit are always Writes.
Bit 6 = ACK bit. Should be set to 0 for messages to the unit.
ACK=1 returned means message was okay. ACK=0 returned means an error
was present in the message.
Bit 5..3 = 0 Reserved for future use.
Bit 2 = 1 This bit *must* be set.
Bit 1..0 = 0 Reserved for future use.
SOURCE
This byte has multiple uses, and defaults to 0 unless used for:.
SOURCE
Byte to indicate the source channel to be altered (if appropriate).
0x10 = RGB1
0x11 = RGB2
0x30 = VIDEO1
0x31 = VIDEO2
0x40 = S-VID1
0x41 = S-VID2
WINDOW /
LOGO
Bit 7 = 0 (Reserved).
Bit 6..0 = Window ‘A’ is sent as ‘41’ since 0x41 is ASCII for ‘A’
OUTPUT
&
FUNCTION
HIGH
Bit 7..4 = 0
Bit 3..2 = Reserved (set to 0).
Bit 1..0 = Bits 9 & 8 of the function code. (Remainder of bits [7..0] are in FUNC LOW.)
Example: If the function code is 0x234, then these bits are 0x02
FUNCTION
LOW
ASCII-hex byte to indicate the lowest 8 bits of the actual function to set or receive.
A later table details all the functions available.
PAYLOAD
x 3 bytes
A series of three ASCII-hex bytes carrying the data to send, MSB fi rst.
Example: ‘000001’ is 1 in decimal, ‘010000’ is 65536 in decimal, and ‘FFFFF0’ is -16 in
decimal.
CS
ASCII-hex, see above.
EOP
<CR>
FRONT PANEL BUTTON EXAMPLES
If the user is using the serial commands to simulate the front panel of the MAS-6100, the following commands
are provided. They have been tested.
The commands are to be sent out in the following manner, with no spaces between the fi elds.
F4410410082000010??<CR>
Would switch the source to RGB.
Содержание MAS-6100
Страница 36: ...36 MAS 6100 MAS 6100A...
Страница 50: ...50 MAS 6100 MAS 6100A...
Страница 53: ...MAS 6200...
Страница 54: ...MAS 6200...