Communication Protocol
39
Table 18: Instruction Codes
INSTRUCTION
DEFINITION FOR SPECIFIC INSTRUCTION
NOTE
#
DESCRIPTION
INPUT
OUTPUT
0 RESET
MACHINE
0
0
1
1
SWITCH GROUPS
1-4 Set equal to video and audio
inputs to be switched for the
relative group
1-8 Set equal to group to
which output is to be
switched
2
2
SWITCH AUDIO OUTPUTS
1-10* Set equal to audio output to
be switched to Master Audio out
1 2
5
REQUEST GROUP STATUS
0
1-8 Set equal to the group of
which status is required
3
6
REQUEST STATUS OF
MASTER AUDIO OUTPUT
0 1
3
8
BREAKAWAY SETTING
0
0 – Audio-follow-video
1 – Audio breakaway
2
11 REQUEST
BREAKAWAY
SETTING
0 0
3
16
ERROR
Don’t care
0 – Invalid instruction
1 – Out of range
4
18 RESET
MACHINE
0
0
1
22
SET AUDIO GAIN OF AUDIO
OUTPUT
1-10* Gain
value
7
24 INCREASE/DECREASE
AUDIO
GAIN
1-10*
0 – Increase gain
1 – Decrease gain
8
25
REQUEST GAIN
1-10*
0 – Video gain
1 – Audio gain
3, 9
30
LOCK FRONT PANEL
0 – Panel unlocked
1 – Panel locked
0
31 REQUEST
WHETHER
PANEL
IS LOCKED
0 0
3
57
SET AUTO SAVE
1 – Autosave
2 – No save
Don’t care
5
61
IDENTIFY MACHINE
1 or 2 – Machine name
3 or 4 – Program version
0 – request first 4 digits
1 – request first suffix
10 – request first prefix
6
62
DEFINE MACHINE
1 – Number of inputs
2 – Number of outputs
1 – For video
2 – For audio
3
* 1 – for VGA1, 2 – for CV1, 3 – for SV1, 4 – for YUV1, 5 – for VGA2, 6 – for CV2, 7 – for SV2, 8 – for YUV2, 9 – for
master audio, 10 – for microphone
NOTES on to
Table 18
:
NOTE 1
When the master switcher is reset, (e.g. when it is turned on), the reset code is sent to the PC. If this code is sent to the
switchers, it will reset according to the present power-down settings.
NOTE 2
These are bi-directional definitions. That is, if the switcher receives the code, it will perform the instruction; and if the
instruction is performed (due to a keystroke operation on the front panel), then these codes are sent. For example, if:
0000 0001
Instruction “Switch Groups”
1000 0010
Input #2
1000 1001
in composite video group
1000 0001
Machine #1 (master)
Was sent from the PC, then the switcher (machine #1) will switch input 2 in composite video group to its output. If the user
switched input 4 in the VGA group via the front panel keypad, then the switcher will send:
0100 0001
1000 0100
1000 0011
1000 0001 to the PC.
When the PC sends instruction #1 or #2 to the switcher, then, if the instruction is valid, the switcher replies by sending the
same four bytes to the PC that were sent (except for the first byte, where the DESTINATION bit is set high).